Package ucar.gcdm
Class GcdmNetcdfProto.Attribute.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Attribute.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.Attribute.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.AttributeOrBuilder
- Enclosing class:
- GcdmNetcdfProto.Attribute
public static final class GcdmNetcdfProto.Attribute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Attribute.Builder> implements GcdmNetcdfProto.AttributeOrBuilder
Protobuf typeucar.gcdm.Attribute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GcdmNetcdfProto.Attribute
build()
GcdmNetcdfProto.Attribute
buildPartial()
GcdmNetcdfProto.Attribute.Builder
clear()
GcdmNetcdfProto.Attribute.Builder
clearData()
.ucar.gcdm.Data data = 4;
GcdmNetcdfProto.Attribute.Builder
clearDataType()
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRINGGcdmNetcdfProto.Attribute.Builder
clearLength()
uint32 length = 3;
GcdmNetcdfProto.Attribute.Builder
clearName()
string name = 1;
GcdmNetcdfProto.Data
getData()
.ucar.gcdm.Data data = 4;
GcdmNetcdfProto.Data.Builder
getDataBuilder()
.ucar.gcdm.Data data = 4;
GcdmNetcdfProto.DataOrBuilder
getDataOrBuilder()
.ucar.gcdm.Data data = 4;
GcdmNetcdfProto.DataType
getDataType()
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRINGint
getDataTypeValue()
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRINGGcdmNetcdfProto.Attribute
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getLength()
uint32 length = 3;
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
boolean
hasData()
.ucar.gcdm.Data data = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GcdmNetcdfProto.Attribute.Builder
mergeData(GcdmNetcdfProto.Data value)
.ucar.gcdm.Data data = 4;
GcdmNetcdfProto.Attribute.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GcdmNetcdfProto.Attribute.Builder
mergeFrom(com.google.protobuf.Message other)
GcdmNetcdfProto.Attribute.Builder
mergeFrom(GcdmNetcdfProto.Attribute other)
GcdmNetcdfProto.Attribute.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GcdmNetcdfProto.Attribute.Builder
setData(GcdmNetcdfProto.Data value)
.ucar.gcdm.Data data = 4;
GcdmNetcdfProto.Attribute.Builder
setData(GcdmNetcdfProto.Data.Builder builderForValue)
.ucar.gcdm.Data data = 4;
GcdmNetcdfProto.Attribute.Builder
setDataType(GcdmNetcdfProto.DataType value)
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRINGGcdmNetcdfProto.Attribute.Builder
setDataTypeValue(int value)
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRINGGcdmNetcdfProto.Attribute.Builder
setLength(int value)
uint32 length = 3;
GcdmNetcdfProto.Attribute.Builder
setName(String value)
string name = 1;
GcdmNetcdfProto.Attribute.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
GcdmNetcdfProto.Attribute.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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.Attribute.Builder>
-
clear
public GcdmNetcdfProto.Attribute.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.Attribute.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.Attribute.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.Attribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.Attribute build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.Attribute buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.Attribute.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.Attribute.Builder>
-
mergeFrom
public GcdmNetcdfProto.Attribute.Builder mergeFrom(GcdmNetcdfProto.Attribute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Attribute.Builder>
-
mergeFrom
public GcdmNetcdfProto.Attribute.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.Attribute.Builder>
- Throws:
IOException
-
getName
public String getName()
string name = 1;
- Specified by:
getName
in interfaceGcdmNetcdfProto.AttributeOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceGcdmNetcdfProto.AttributeOrBuilder
- Returns:
- The bytes for name.
-
setName
public GcdmNetcdfProto.Attribute.Builder setName(String value)
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GcdmNetcdfProto.Attribute.Builder clearName()
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public GcdmNetcdfProto.Attribute.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDataTypeValue
public int getDataTypeValue()
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataTypeValue
in interfaceGcdmNetcdfProto.AttributeOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public GcdmNetcdfProto.Attribute.Builder setDataTypeValue(int value)
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.ucar.gcdm.DataType data_type = 2;
- Parameters:
value
- The enum numeric value on the wire for dataType to set.- Returns:
- This builder for chaining.
-
getDataType
public GcdmNetcdfProto.DataType getDataType()
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataType
in interfaceGcdmNetcdfProto.AttributeOrBuilder
- Returns:
- The dataType.
-
setDataType
public GcdmNetcdfProto.Attribute.Builder setDataType(GcdmNetcdfProto.DataType value)
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.ucar.gcdm.DataType data_type = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public GcdmNetcdfProto.Attribute.Builder clearDataType()
cant use STRUCTURE or SEQUENCE or OPAQUE or ENUM; CHAR deprecated, use STRING
.ucar.gcdm.DataType data_type = 2;
- Returns:
- This builder for chaining.
-
getLength
public int getLength()
uint32 length = 3;
- Specified by:
getLength
in interfaceGcdmNetcdfProto.AttributeOrBuilder
- Returns:
- The length.
-
setLength
public GcdmNetcdfProto.Attribute.Builder setLength(int value)
uint32 length = 3;
- Parameters:
value
- The length to set.- Returns:
- This builder for chaining.
-
clearLength
public GcdmNetcdfProto.Attribute.Builder clearLength()
uint32 length = 3;
- Returns:
- This builder for chaining.
-
hasData
public boolean hasData()
.ucar.gcdm.Data data = 4;
- Specified by:
hasData
in interfaceGcdmNetcdfProto.AttributeOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public GcdmNetcdfProto.Data getData()
.ucar.gcdm.Data data = 4;
- Specified by:
getData
in interfaceGcdmNetcdfProto.AttributeOrBuilder
- Returns:
- The data.
-
setData
public GcdmNetcdfProto.Attribute.Builder setData(GcdmNetcdfProto.Data value)
.ucar.gcdm.Data data = 4;
-
setData
public GcdmNetcdfProto.Attribute.Builder setData(GcdmNetcdfProto.Data.Builder builderForValue)
.ucar.gcdm.Data data = 4;
-
mergeData
public GcdmNetcdfProto.Attribute.Builder mergeData(GcdmNetcdfProto.Data value)
.ucar.gcdm.Data data = 4;
-
clearData
public GcdmNetcdfProto.Attribute.Builder clearData()
.ucar.gcdm.Data data = 4;
-
getDataBuilder
public GcdmNetcdfProto.Data.Builder getDataBuilder()
.ucar.gcdm.Data data = 4;
-
getDataOrBuilder
public GcdmNetcdfProto.DataOrBuilder getDataOrBuilder()
.ucar.gcdm.Data data = 4;
- Specified by:
getDataOrBuilder
in interfaceGcdmNetcdfProto.AttributeOrBuilder
-
setUnknownFields
public final GcdmNetcdfProto.Attribute.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.Attribute.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.Attribute.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.Attribute.Builder>
-
-