Package ucar.gcdm
Class GcdmNetcdfProto.DataResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.DataResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.DataResponseOrBuilder
- Enclosing class:
- GcdmNetcdfProto.DataResponse
public static final class GcdmNetcdfProto.DataResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder> implements GcdmNetcdfProto.DataResponseOrBuilder
Protobuf typeucar.gcdm.DataResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
clear
public GcdmNetcdfProto.DataResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.DataResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.DataResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.DataResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.DataResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
mergeFrom
public GcdmNetcdfProto.DataResponse.Builder mergeFrom(GcdmNetcdfProto.DataResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
mergeFrom
public GcdmNetcdfProto.DataResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GcdmNetcdfProto.DataResponse.Builder>
- Throws:
IOException
-
hasError
public boolean hasError()
non-empty on error
.ucar.gcdm.Error error = 1;
- Specified by:
hasError
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public GcdmNetcdfProto.Error getError()
non-empty on error
.ucar.gcdm.Error error = 1;
- Specified by:
getError
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The error.
-
setError
public GcdmNetcdfProto.DataResponse.Builder setError(GcdmNetcdfProto.Error value)
non-empty on error
.ucar.gcdm.Error error = 1;
-
setError
public GcdmNetcdfProto.DataResponse.Builder setError(GcdmNetcdfProto.Error.Builder builderForValue)
non-empty on error
.ucar.gcdm.Error error = 1;
-
mergeError
public GcdmNetcdfProto.DataResponse.Builder mergeError(GcdmNetcdfProto.Error value)
non-empty on error
.ucar.gcdm.Error error = 1;
-
clearError
public GcdmNetcdfProto.DataResponse.Builder clearError()
non-empty on error
.ucar.gcdm.Error error = 1;
-
getErrorBuilder
public GcdmNetcdfProto.Error.Builder getErrorBuilder()
non-empty on error
.ucar.gcdm.Error error = 1;
-
getErrorOrBuilder
public GcdmNetcdfProto.ErrorOrBuilder getErrorOrBuilder()
non-empty on error
.ucar.gcdm.Error error = 1;
- Specified by:
getErrorOrBuilder
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
-
getVersion
public int getVersion()
response version
uint32 version = 2;
- Specified by:
getVersion
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The version.
-
setVersion
public GcdmNetcdfProto.DataResponse.Builder setVersion(int value)
response version
uint32 version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public GcdmNetcdfProto.DataResponse.Builder clearVersion()
response version
uint32 version = 2;
- Returns:
- This builder for chaining.
-
getLocation
public String getLocation()
string location = 3;
- Specified by:
getLocation
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
string location = 3;
- Specified by:
getLocationBytes
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The bytes for location.
-
setLocation
public GcdmNetcdfProto.DataResponse.Builder setLocation(String value)
string location = 3;
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public GcdmNetcdfProto.DataResponse.Builder clearLocation()
string location = 3;
- Returns:
- This builder for chaining.
-
setLocationBytes
public GcdmNetcdfProto.DataResponse.Builder setLocationBytes(com.google.protobuf.ByteString value)
string location = 3;
- Parameters:
value
- The bytes for location to set.- Returns:
- This builder for chaining.
-
getVariableSpec
public String getVariableSpec()
the requested variableSpec
string variable_spec = 4;
- Specified by:
getVariableSpec
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The variableSpec.
-
getVariableSpecBytes
public com.google.protobuf.ByteString getVariableSpecBytes()
the requested variableSpec
string variable_spec = 4;
- Specified by:
getVariableSpecBytes
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The bytes for variableSpec.
-
setVariableSpec
public GcdmNetcdfProto.DataResponse.Builder setVariableSpec(String value)
the requested variableSpec
string variable_spec = 4;
- Parameters:
value
- The variableSpec to set.- Returns:
- This builder for chaining.
-
clearVariableSpec
public GcdmNetcdfProto.DataResponse.Builder clearVariableSpec()
the requested variableSpec
string variable_spec = 4;
- Returns:
- This builder for chaining.
-
setVariableSpecBytes
public GcdmNetcdfProto.DataResponse.Builder setVariableSpecBytes(com.google.protobuf.ByteString value)
the requested variableSpec
string variable_spec = 4;
- Parameters:
value
- The bytes for variableSpec to set.- Returns:
- This builder for chaining.
-
getVarFullName
public String getVarFullName()
Variable full name
string var_full_name = 5;
- Specified by:
getVarFullName
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The varFullName.
-
getVarFullNameBytes
public com.google.protobuf.ByteString getVarFullNameBytes()
Variable full name
string var_full_name = 5;
- Specified by:
getVarFullNameBytes
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The bytes for varFullName.
-
setVarFullName
public GcdmNetcdfProto.DataResponse.Builder setVarFullName(String value)
Variable full name
string var_full_name = 5;
- Parameters:
value
- The varFullName to set.- Returns:
- This builder for chaining.
-
clearVarFullName
public GcdmNetcdfProto.DataResponse.Builder clearVarFullName()
Variable full name
string var_full_name = 5;
- Returns:
- This builder for chaining.
-
setVarFullNameBytes
public GcdmNetcdfProto.DataResponse.Builder setVarFullNameBytes(com.google.protobuf.ByteString value)
Variable full name
string var_full_name = 5;
- Parameters:
value
- The bytes for varFullName to set.- Returns:
- This builder for chaining.
-
hasData
public boolean hasData()
.ucar.gcdm.Data data = 6;
- Specified by:
hasData
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public GcdmNetcdfProto.Data getData()
.ucar.gcdm.Data data = 6;
- Specified by:
getData
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
- Returns:
- The data.
-
setData
public GcdmNetcdfProto.DataResponse.Builder setData(GcdmNetcdfProto.Data value)
.ucar.gcdm.Data data = 6;
-
setData
public GcdmNetcdfProto.DataResponse.Builder setData(GcdmNetcdfProto.Data.Builder builderForValue)
.ucar.gcdm.Data data = 6;
-
mergeData
public GcdmNetcdfProto.DataResponse.Builder mergeData(GcdmNetcdfProto.Data value)
.ucar.gcdm.Data data = 6;
-
clearData
public GcdmNetcdfProto.DataResponse.Builder clearData()
.ucar.gcdm.Data data = 6;
-
getDataBuilder
public GcdmNetcdfProto.Data.Builder getDataBuilder()
.ucar.gcdm.Data data = 6;
-
getDataOrBuilder
public GcdmNetcdfProto.DataOrBuilder getDataOrBuilder()
.ucar.gcdm.Data data = 6;
- Specified by:
getDataOrBuilder
in interfaceGcdmNetcdfProto.DataResponseOrBuilder
-
setUnknownFields
public final GcdmNetcdfProto.DataResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.DataResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.DataResponse.Builder>
-
-