Package ucar.nc2.stream
Class NcStreamProto.Variable.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Variable.Builder>
-
- ucar.nc2.stream.NcStreamProto.Variable.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.VariableOrBuilder
- Enclosing class:
- NcStreamProto.Variable
public static final class NcStreamProto.Variable.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Variable.Builder> implements NcStreamProto.VariableOrBuilder
Protobuf typeVariable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NcStreamProto.Variable.Builder
addAllAtts(Iterable<? extends NcStreamProto.Attribute> values)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
addAllShape(Iterable<? extends NcStreamProto.Dimension> values)
actual dimension instead of referenceNcStreamProto.Variable.Builder
addAtts(int index, NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
addAtts(int index, NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
addAtts(NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
addAtts(NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
NcStreamProto.Attribute.Builder
addAttsBuilder()
repeated .Attribute atts = 4;
NcStreamProto.Attribute.Builder
addAttsBuilder(int index)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
addShape(int index, NcStreamProto.Dimension value)
actual dimension instead of referenceNcStreamProto.Variable.Builder
addShape(int index, NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of referenceNcStreamProto.Variable.Builder
addShape(NcStreamProto.Dimension value)
actual dimension instead of referenceNcStreamProto.Variable.Builder
addShape(NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of referenceNcStreamProto.Dimension.Builder
addShapeBuilder()
actual dimension instead of referenceNcStreamProto.Dimension.Builder
addShapeBuilder(int index)
actual dimension instead of referenceNcStreamProto.Variable
build()
NcStreamProto.Variable
buildPartial()
NcStreamProto.Variable.Builder
clear()
NcStreamProto.Variable.Builder
clearAtts()
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
clearData()
"immediate" - store small data in headerNcStreamProto.Variable.Builder
clearDataType()
.DataType dataType = 2;
NcStreamProto.Variable.Builder
clearEnumType()
EnumTypedef name, only for enum typesNcStreamProto.Variable.Builder
clearName()
short nameNcStreamProto.Variable.Builder
clearShape()
actual dimension instead of referenceNcStreamProto.Variable.Builder
clearUnsigned()
not used >= 5NcStreamProto.Attribute
getAtts(int index)
repeated .Attribute atts = 4;
NcStreamProto.Attribute.Builder
getAttsBuilder(int index)
repeated .Attribute atts = 4;
List<NcStreamProto.Attribute.Builder>
getAttsBuilderList()
repeated .Attribute atts = 4;
int
getAttsCount()
repeated .Attribute atts = 4;
List<NcStreamProto.Attribute>
getAttsList()
repeated .Attribute atts = 4;
NcStreamProto.AttributeOrBuilder
getAttsOrBuilder(int index)
repeated .Attribute atts = 4;
List<? extends NcStreamProto.AttributeOrBuilder>
getAttsOrBuilderList()
repeated .Attribute atts = 4;
com.google.protobuf.ByteString
getData()
"immediate" - store small data in headerNcStreamProto.DataType
getDataType()
.DataType dataType = 2;
int
getDataTypeValue()
.DataType dataType = 2;
NcStreamProto.Variable
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEnumType()
EnumTypedef name, only for enum typescom.google.protobuf.ByteString
getEnumTypeBytes()
EnumTypedef name, only for enum typesString
getName()
short namecom.google.protobuf.ByteString
getNameBytes()
short nameNcStreamProto.Dimension
getShape(int index)
actual dimension instead of referenceNcStreamProto.Dimension.Builder
getShapeBuilder(int index)
actual dimension instead of referenceList<NcStreamProto.Dimension.Builder>
getShapeBuilderList()
actual dimension instead of referenceint
getShapeCount()
actual dimension instead of referenceList<NcStreamProto.Dimension>
getShapeList()
actual dimension instead of referenceNcStreamProto.DimensionOrBuilder
getShapeOrBuilder(int index)
actual dimension instead of referenceList<? extends NcStreamProto.DimensionOrBuilder>
getShapeOrBuilderList()
actual dimension instead of referenceboolean
getUnsigned()
not used >= 5protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NcStreamProto.Variable.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NcStreamProto.Variable.Builder
mergeFrom(com.google.protobuf.Message other)
NcStreamProto.Variable.Builder
mergeFrom(NcStreamProto.Variable other)
NcStreamProto.Variable.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NcStreamProto.Variable.Builder
removeAtts(int index)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
removeShape(int index)
actual dimension instead of referenceNcStreamProto.Variable.Builder
setAtts(int index, NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
setAtts(int index, NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
NcStreamProto.Variable.Builder
setData(com.google.protobuf.ByteString value)
"immediate" - store small data in headerNcStreamProto.Variable.Builder
setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
NcStreamProto.Variable.Builder
setDataTypeValue(int value)
.DataType dataType = 2;
NcStreamProto.Variable.Builder
setEnumType(String value)
EnumTypedef name, only for enum typesNcStreamProto.Variable.Builder
setEnumTypeBytes(com.google.protobuf.ByteString value)
EnumTypedef name, only for enum typesNcStreamProto.Variable.Builder
setName(String value)
short nameNcStreamProto.Variable.Builder
setNameBytes(com.google.protobuf.ByteString value)
short nameNcStreamProto.Variable.Builder
setShape(int index, NcStreamProto.Dimension value)
actual dimension instead of referenceNcStreamProto.Variable.Builder
setShape(int index, NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of referenceNcStreamProto.Variable.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NcStreamProto.Variable.Builder
setUnsigned(boolean value)
not used >= 5-
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<NcStreamProto.Variable.Builder>
-
clear
public NcStreamProto.Variable.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<NcStreamProto.Variable.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<NcStreamProto.Variable.Builder>
-
getDefaultInstanceForType
public NcStreamProto.Variable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.Variable build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.Variable buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.Variable.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NcStreamProto.Variable.Builder>
-
mergeFrom
public NcStreamProto.Variable.Builder mergeFrom(NcStreamProto.Variable other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Variable.Builder>
-
mergeFrom
public NcStreamProto.Variable.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<NcStreamProto.Variable.Builder>
- Throws:
IOException
-
getName
public String getName()
short name
string name = 1;
- Specified by:
getName
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
short name
string name = 1;
- Specified by:
getNameBytes
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The bytes for name.
-
setName
public NcStreamProto.Variable.Builder setName(String value)
short name
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public NcStreamProto.Variable.Builder clearName()
short name
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public NcStreamProto.Variable.Builder setNameBytes(com.google.protobuf.ByteString value)
short name
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public NcStreamProto.Variable.Builder setDataTypeValue(int value)
.DataType dataType = 2;
- Parameters:
value
- The enum numeric value on the wire for dataType to set.- Returns:
- This builder for chaining.
-
getDataType
public NcStreamProto.DataType getDataType()
.DataType dataType = 2;
- Specified by:
getDataType
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The dataType.
-
setDataType
public NcStreamProto.Variable.Builder setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public NcStreamProto.Variable.Builder clearDataType()
.DataType dataType = 2;
- Returns:
- This builder for chaining.
-
getShapeList
public List<NcStreamProto.Dimension> getShapeList()
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShapeList
in interfaceNcStreamProto.VariableOrBuilder
-
getShapeCount
public int getShapeCount()
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShapeCount
in interfaceNcStreamProto.VariableOrBuilder
-
getShape
public NcStreamProto.Dimension getShape(int index)
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShape
in interfaceNcStreamProto.VariableOrBuilder
-
setShape
public NcStreamProto.Variable.Builder setShape(int index, NcStreamProto.Dimension value)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
setShape
public NcStreamProto.Variable.Builder setShape(int index, NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Variable.Builder addShape(NcStreamProto.Dimension value)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Variable.Builder addShape(int index, NcStreamProto.Dimension value)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Variable.Builder addShape(NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Variable.Builder addShape(int index, NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addAllShape
public NcStreamProto.Variable.Builder addAllShape(Iterable<? extends NcStreamProto.Dimension> values)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
clearShape
public NcStreamProto.Variable.Builder clearShape()
actual dimension instead of reference
repeated .Dimension shape = 3;
-
removeShape
public NcStreamProto.Variable.Builder removeShape(int index)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
getShapeBuilder
public NcStreamProto.Dimension.Builder getShapeBuilder(int index)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
getShapeOrBuilder
public NcStreamProto.DimensionOrBuilder getShapeOrBuilder(int index)
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShapeOrBuilder
in interfaceNcStreamProto.VariableOrBuilder
-
getShapeOrBuilderList
public List<? extends NcStreamProto.DimensionOrBuilder> getShapeOrBuilderList()
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShapeOrBuilderList
in interfaceNcStreamProto.VariableOrBuilder
-
addShapeBuilder
public NcStreamProto.Dimension.Builder addShapeBuilder()
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShapeBuilder
public NcStreamProto.Dimension.Builder addShapeBuilder(int index)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
getShapeBuilderList
public List<NcStreamProto.Dimension.Builder> getShapeBuilderList()
actual dimension instead of reference
repeated .Dimension shape = 3;
-
getAttsList
public List<NcStreamProto.Attribute> getAttsList()
repeated .Attribute atts = 4;
- Specified by:
getAttsList
in interfaceNcStreamProto.VariableOrBuilder
-
getAttsCount
public int getAttsCount()
repeated .Attribute atts = 4;
- Specified by:
getAttsCount
in interfaceNcStreamProto.VariableOrBuilder
-
getAtts
public NcStreamProto.Attribute getAtts(int index)
repeated .Attribute atts = 4;
- Specified by:
getAtts
in interfaceNcStreamProto.VariableOrBuilder
-
setAtts
public NcStreamProto.Variable.Builder setAtts(int index, NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
-
setAtts
public NcStreamProto.Variable.Builder setAtts(int index, NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Variable.Builder addAtts(NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Variable.Builder addAtts(int index, NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Variable.Builder addAtts(NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Variable.Builder addAtts(int index, NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
-
addAllAtts
public NcStreamProto.Variable.Builder addAllAtts(Iterable<? extends NcStreamProto.Attribute> values)
repeated .Attribute atts = 4;
-
clearAtts
public NcStreamProto.Variable.Builder clearAtts()
repeated .Attribute atts = 4;
-
removeAtts
public NcStreamProto.Variable.Builder removeAtts(int index)
repeated .Attribute atts = 4;
-
getAttsBuilder
public NcStreamProto.Attribute.Builder getAttsBuilder(int index)
repeated .Attribute atts = 4;
-
getAttsOrBuilder
public NcStreamProto.AttributeOrBuilder getAttsOrBuilder(int index)
repeated .Attribute atts = 4;
- Specified by:
getAttsOrBuilder
in interfaceNcStreamProto.VariableOrBuilder
-
getAttsOrBuilderList
public List<? extends NcStreamProto.AttributeOrBuilder> getAttsOrBuilderList()
repeated .Attribute atts = 4;
- Specified by:
getAttsOrBuilderList
in interfaceNcStreamProto.VariableOrBuilder
-
addAttsBuilder
public NcStreamProto.Attribute.Builder addAttsBuilder()
repeated .Attribute atts = 4;
-
addAttsBuilder
public NcStreamProto.Attribute.Builder addAttsBuilder(int index)
repeated .Attribute atts = 4;
-
getAttsBuilderList
public List<NcStreamProto.Attribute.Builder> getAttsBuilderList()
repeated .Attribute atts = 4;
-
getUnsigned
public boolean getUnsigned()
not used >= 5
bool unsigned = 5;
- Specified by:
getUnsigned
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The unsigned.
-
setUnsigned
public NcStreamProto.Variable.Builder setUnsigned(boolean value)
not used >= 5
bool unsigned = 5;
- Parameters:
value
- The unsigned to set.- Returns:
- This builder for chaining.
-
clearUnsigned
public NcStreamProto.Variable.Builder clearUnsigned()
not used >= 5
bool unsigned = 5;
- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()
"immediate" - store small data in header
bytes data = 6;
- Specified by:
getData
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The data.
-
setData
public NcStreamProto.Variable.Builder setData(com.google.protobuf.ByteString value)
"immediate" - store small data in header
bytes data = 6;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
public NcStreamProto.Variable.Builder clearData()
"immediate" - store small data in header
bytes data = 6;
- Returns:
- This builder for chaining.
-
getEnumType
public String getEnumType()
EnumTypedef name, only for enum types
string enumType = 7;
- Specified by:
getEnumType
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The enumType.
-
getEnumTypeBytes
public com.google.protobuf.ByteString getEnumTypeBytes()
EnumTypedef name, only for enum types
string enumType = 7;
- Specified by:
getEnumTypeBytes
in interfaceNcStreamProto.VariableOrBuilder
- Returns:
- The bytes for enumType.
-
setEnumType
public NcStreamProto.Variable.Builder setEnumType(String value)
EnumTypedef name, only for enum types
string enumType = 7;
- Parameters:
value
- The enumType to set.- Returns:
- This builder for chaining.
-
clearEnumType
public NcStreamProto.Variable.Builder clearEnumType()
EnumTypedef name, only for enum types
string enumType = 7;
- Returns:
- This builder for chaining.
-
setEnumTypeBytes
public NcStreamProto.Variable.Builder setEnumTypeBytes(com.google.protobuf.ByteString value)
EnumTypedef name, only for enum types
string enumType = 7;
- Parameters:
value
- The bytes for enumType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NcStreamProto.Variable.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Variable.Builder>
-
mergeUnknownFields
public final NcStreamProto.Variable.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Variable.Builder>
-
-