Package ucar.nc2.stream
Class NcStreamProto.Structure.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Structure.Builder>
-
- ucar.nc2.stream.NcStreamProto.Structure.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.StructureOrBuilder
- Enclosing class:
- NcStreamProto.Structure
public static final class NcStreamProto.Structure.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Structure.Builder> implements NcStreamProto.StructureOrBuilder
Protobuf typeStructure
-
-
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<NcStreamProto.Structure.Builder>
-
clear
public NcStreamProto.Structure.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.Structure.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.Structure.Builder>
-
getDefaultInstanceForType
public NcStreamProto.Structure getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.Structure build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.Structure buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.Structure.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.Structure.Builder>
-
mergeFrom
public NcStreamProto.Structure.Builder mergeFrom(NcStreamProto.Structure other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Structure.Builder>
-
mergeFrom
public NcStreamProto.Structure.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.Structure.Builder>
- Throws:
IOException
-
getName
public String getName()
short name
string name = 1;
- Specified by:
getName
in interfaceNcStreamProto.StructureOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
short name
string name = 1;
- Specified by:
getNameBytes
in interfaceNcStreamProto.StructureOrBuilder
- Returns:
- The bytes for name.
-
setName
public NcStreamProto.Structure.Builder setName(String value)
short name
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public NcStreamProto.Structure.Builder clearName()
short name
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public NcStreamProto.Structure.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()
STRUCTURE or SEQUENCE
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceNcStreamProto.StructureOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public NcStreamProto.Structure.Builder setDataTypeValue(int value)
STRUCTURE or SEQUENCE
.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()
STRUCTURE or SEQUENCE
.DataType dataType = 2;
- Specified by:
getDataType
in interfaceNcStreamProto.StructureOrBuilder
- Returns:
- The dataType.
-
setDataType
public NcStreamProto.Structure.Builder setDataType(NcStreamProto.DataType value)
STRUCTURE or SEQUENCE
.DataType dataType = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public NcStreamProto.Structure.Builder clearDataType()
STRUCTURE or SEQUENCE
.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.StructureOrBuilder
-
getShapeCount
public int getShapeCount()
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShapeCount
in interfaceNcStreamProto.StructureOrBuilder
-
getShape
public NcStreamProto.Dimension getShape(int index)
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShape
in interfaceNcStreamProto.StructureOrBuilder
-
setShape
public NcStreamProto.Structure.Builder setShape(int index, NcStreamProto.Dimension value)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
setShape
public NcStreamProto.Structure.Builder setShape(int index, NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Structure.Builder addShape(NcStreamProto.Dimension value)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Structure.Builder addShape(int index, NcStreamProto.Dimension value)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Structure.Builder addShape(NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addShape
public NcStreamProto.Structure.Builder addShape(int index, NcStreamProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
addAllShape
public NcStreamProto.Structure.Builder addAllShape(Iterable<? extends NcStreamProto.Dimension> values)
actual dimension instead of reference
repeated .Dimension shape = 3;
-
clearShape
public NcStreamProto.Structure.Builder clearShape()
actual dimension instead of reference
repeated .Dimension shape = 3;
-
removeShape
public NcStreamProto.Structure.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.StructureOrBuilder
-
getShapeOrBuilderList
public List<? extends NcStreamProto.DimensionOrBuilder> getShapeOrBuilderList()
actual dimension instead of reference
repeated .Dimension shape = 3;
- Specified by:
getShapeOrBuilderList
in interfaceNcStreamProto.StructureOrBuilder
-
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.StructureOrBuilder
-
getAttsCount
public int getAttsCount()
repeated .Attribute atts = 4;
- Specified by:
getAttsCount
in interfaceNcStreamProto.StructureOrBuilder
-
getAtts
public NcStreamProto.Attribute getAtts(int index)
repeated .Attribute atts = 4;
- Specified by:
getAtts
in interfaceNcStreamProto.StructureOrBuilder
-
setAtts
public NcStreamProto.Structure.Builder setAtts(int index, NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
-
setAtts
public NcStreamProto.Structure.Builder setAtts(int index, NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Structure.Builder addAtts(NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Structure.Builder addAtts(int index, NcStreamProto.Attribute value)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Structure.Builder addAtts(NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
-
addAtts
public NcStreamProto.Structure.Builder addAtts(int index, NcStreamProto.Attribute.Builder builderForValue)
repeated .Attribute atts = 4;
-
addAllAtts
public NcStreamProto.Structure.Builder addAllAtts(Iterable<? extends NcStreamProto.Attribute> values)
repeated .Attribute atts = 4;
-
clearAtts
public NcStreamProto.Structure.Builder clearAtts()
repeated .Attribute atts = 4;
-
removeAtts
public NcStreamProto.Structure.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.StructureOrBuilder
-
getAttsOrBuilderList
public List<? extends NcStreamProto.AttributeOrBuilder> getAttsOrBuilderList()
repeated .Attribute atts = 4;
- Specified by:
getAttsOrBuilderList
in interfaceNcStreamProto.StructureOrBuilder
-
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;
-
getVarsList
public List<NcStreamProto.Variable> getVarsList()
members
repeated .Variable vars = 5;
- Specified by:
getVarsList
in interfaceNcStreamProto.StructureOrBuilder
-
getVarsCount
public int getVarsCount()
members
repeated .Variable vars = 5;
- Specified by:
getVarsCount
in interfaceNcStreamProto.StructureOrBuilder
-
getVars
public NcStreamProto.Variable getVars(int index)
members
repeated .Variable vars = 5;
- Specified by:
getVars
in interfaceNcStreamProto.StructureOrBuilder
-
setVars
public NcStreamProto.Structure.Builder setVars(int index, NcStreamProto.Variable value)
members
repeated .Variable vars = 5;
-
setVars
public NcStreamProto.Structure.Builder setVars(int index, NcStreamProto.Variable.Builder builderForValue)
members
repeated .Variable vars = 5;
-
addVars
public NcStreamProto.Structure.Builder addVars(NcStreamProto.Variable value)
members
repeated .Variable vars = 5;
-
addVars
public NcStreamProto.Structure.Builder addVars(int index, NcStreamProto.Variable value)
members
repeated .Variable vars = 5;
-
addVars
public NcStreamProto.Structure.Builder addVars(NcStreamProto.Variable.Builder builderForValue)
members
repeated .Variable vars = 5;
-
addVars
public NcStreamProto.Structure.Builder addVars(int index, NcStreamProto.Variable.Builder builderForValue)
members
repeated .Variable vars = 5;
-
addAllVars
public NcStreamProto.Structure.Builder addAllVars(Iterable<? extends NcStreamProto.Variable> values)
members
repeated .Variable vars = 5;
-
clearVars
public NcStreamProto.Structure.Builder clearVars()
members
repeated .Variable vars = 5;
-
removeVars
public NcStreamProto.Structure.Builder removeVars(int index)
members
repeated .Variable vars = 5;
-
getVarsBuilder
public NcStreamProto.Variable.Builder getVarsBuilder(int index)
members
repeated .Variable vars = 5;
-
getVarsOrBuilder
public NcStreamProto.VariableOrBuilder getVarsOrBuilder(int index)
members
repeated .Variable vars = 5;
- Specified by:
getVarsOrBuilder
in interfaceNcStreamProto.StructureOrBuilder
-
getVarsOrBuilderList
public List<? extends NcStreamProto.VariableOrBuilder> getVarsOrBuilderList()
members
repeated .Variable vars = 5;
- Specified by:
getVarsOrBuilderList
in interfaceNcStreamProto.StructureOrBuilder
-
addVarsBuilder
public NcStreamProto.Variable.Builder addVarsBuilder()
members
repeated .Variable vars = 5;
-
addVarsBuilder
public NcStreamProto.Variable.Builder addVarsBuilder(int index)
members
repeated .Variable vars = 5;
-
getVarsBuilderList
public List<NcStreamProto.Variable.Builder> getVarsBuilderList()
members
repeated .Variable vars = 5;
-
getStructsList
public List<NcStreamProto.Structure> getStructsList()
struct members
repeated .Structure structs = 6;
- Specified by:
getStructsList
in interfaceNcStreamProto.StructureOrBuilder
-
getStructsCount
public int getStructsCount()
struct members
repeated .Structure structs = 6;
- Specified by:
getStructsCount
in interfaceNcStreamProto.StructureOrBuilder
-
getStructs
public NcStreamProto.Structure getStructs(int index)
struct members
repeated .Structure structs = 6;
- Specified by:
getStructs
in interfaceNcStreamProto.StructureOrBuilder
-
setStructs
public NcStreamProto.Structure.Builder setStructs(int index, NcStreamProto.Structure value)
struct members
repeated .Structure structs = 6;
-
setStructs
public NcStreamProto.Structure.Builder setStructs(int index, NcStreamProto.Structure.Builder builderForValue)
struct members
repeated .Structure structs = 6;
-
addStructs
public NcStreamProto.Structure.Builder addStructs(NcStreamProto.Structure value)
struct members
repeated .Structure structs = 6;
-
addStructs
public NcStreamProto.Structure.Builder addStructs(int index, NcStreamProto.Structure value)
struct members
repeated .Structure structs = 6;
-
addStructs
public NcStreamProto.Structure.Builder addStructs(NcStreamProto.Structure.Builder builderForValue)
struct members
repeated .Structure structs = 6;
-
addStructs
public NcStreamProto.Structure.Builder addStructs(int index, NcStreamProto.Structure.Builder builderForValue)
struct members
repeated .Structure structs = 6;
-
addAllStructs
public NcStreamProto.Structure.Builder addAllStructs(Iterable<? extends NcStreamProto.Structure> values)
struct members
repeated .Structure structs = 6;
-
clearStructs
public NcStreamProto.Structure.Builder clearStructs()
struct members
repeated .Structure structs = 6;
-
removeStructs
public NcStreamProto.Structure.Builder removeStructs(int index)
struct members
repeated .Structure structs = 6;
-
getStructsBuilder
public NcStreamProto.Structure.Builder getStructsBuilder(int index)
struct members
repeated .Structure structs = 6;
-
getStructsOrBuilder
public NcStreamProto.StructureOrBuilder getStructsOrBuilder(int index)
struct members
repeated .Structure structs = 6;
- Specified by:
getStructsOrBuilder
in interfaceNcStreamProto.StructureOrBuilder
-
getStructsOrBuilderList
public List<? extends NcStreamProto.StructureOrBuilder> getStructsOrBuilderList()
struct members
repeated .Structure structs = 6;
- Specified by:
getStructsOrBuilderList
in interfaceNcStreamProto.StructureOrBuilder
-
addStructsBuilder
public NcStreamProto.Structure.Builder addStructsBuilder()
struct members
repeated .Structure structs = 6;
-
addStructsBuilder
public NcStreamProto.Structure.Builder addStructsBuilder(int index)
struct members
repeated .Structure structs = 6;
-
getStructsBuilderList
public List<NcStreamProto.Structure.Builder> getStructsBuilderList()
struct members
repeated .Structure structs = 6;
-
setUnknownFields
public final NcStreamProto.Structure.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.Structure.Builder>
-
mergeUnknownFields
public final NcStreamProto.Structure.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.Structure.Builder>
-
-