Package ucar.gcdm
Class GcdmNetcdfProto.Structure.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Structure.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.Structure.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.StructureOrBuilder
- Enclosing class:
- GcdmNetcdfProto.Structure
public static final class GcdmNetcdfProto.Structure.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Structure.Builder> implements GcdmNetcdfProto.StructureOrBuilder
Protobuf typeucar.gcdm.Structure
-
-
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.Structure.Builder>
-
clear
public GcdmNetcdfProto.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<GcdmNetcdfProto.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<GcdmNetcdfProto.Structure.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.Structure getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.Structure build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.Structure buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.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<GcdmNetcdfProto.Structure.Builder>
-
mergeFrom
public GcdmNetcdfProto.Structure.Builder mergeFrom(GcdmNetcdfProto.Structure other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Structure.Builder>
-
mergeFrom
public GcdmNetcdfProto.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<GcdmNetcdfProto.Structure.Builder>
- Throws:
IOException
-
getName
public String getName()
short name
string name = 1;
- Specified by:
getName
in interfaceGcdmNetcdfProto.StructureOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
short name
string name = 1;
- Specified by:
getNameBytes
in interfaceGcdmNetcdfProto.StructureOrBuilder
- Returns:
- The bytes for name.
-
setName
public GcdmNetcdfProto.Structure.Builder setName(String value)
short name
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GcdmNetcdfProto.Structure.Builder clearName()
short name
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public GcdmNetcdfProto.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
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataTypeValue
in interfaceGcdmNetcdfProto.StructureOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public GcdmNetcdfProto.Structure.Builder setDataTypeValue(int value)
STRUCTURE or SEQUENCE
.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()
STRUCTURE or SEQUENCE
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataType
in interfaceGcdmNetcdfProto.StructureOrBuilder
- Returns:
- The dataType.
-
setDataType
public GcdmNetcdfProto.Structure.Builder setDataType(GcdmNetcdfProto.DataType value)
STRUCTURE or SEQUENCE
.ucar.gcdm.DataType data_type = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public GcdmNetcdfProto.Structure.Builder clearDataType()
STRUCTURE or SEQUENCE
.ucar.gcdm.DataType data_type = 2;
- Returns:
- This builder for chaining.
-
getShapesList
public List<GcdmNetcdfProto.Dimension> getShapesList()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getShapesCount
public int getShapesCount()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesCount
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getShapes
public GcdmNetcdfProto.Dimension getShapes(int index)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapes
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
setShapes
public GcdmNetcdfProto.Structure.Builder setShapes(int index, GcdmNetcdfProto.Dimension value)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
setShapes
public GcdmNetcdfProto.Structure.Builder setShapes(int index, GcdmNetcdfProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
addShapes
public GcdmNetcdfProto.Structure.Builder addShapes(GcdmNetcdfProto.Dimension value)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
addShapes
public GcdmNetcdfProto.Structure.Builder addShapes(int index, GcdmNetcdfProto.Dimension value)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
addShapes
public GcdmNetcdfProto.Structure.Builder addShapes(GcdmNetcdfProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
addShapes
public GcdmNetcdfProto.Structure.Builder addShapes(int index, GcdmNetcdfProto.Dimension.Builder builderForValue)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
addAllShapes
public GcdmNetcdfProto.Structure.Builder addAllShapes(Iterable<? extends GcdmNetcdfProto.Dimension> values)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
clearShapes
public GcdmNetcdfProto.Structure.Builder clearShapes()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
removeShapes
public GcdmNetcdfProto.Structure.Builder removeShapes(int index)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
getShapesBuilder
public GcdmNetcdfProto.Dimension.Builder getShapesBuilder(int index)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
getShapesOrBuilder
public GcdmNetcdfProto.DimensionOrBuilder getShapesOrBuilder(int index)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesOrBuilder
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getShapesOrBuilderList
public List<? extends GcdmNetcdfProto.DimensionOrBuilder> getShapesOrBuilderList()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesOrBuilderList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
addShapesBuilder
public GcdmNetcdfProto.Dimension.Builder addShapesBuilder()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
addShapesBuilder
public GcdmNetcdfProto.Dimension.Builder addShapesBuilder(int index)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
getShapesBuilderList
public List<GcdmNetcdfProto.Dimension.Builder> getShapesBuilderList()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
-
getAttributesList
public List<GcdmNetcdfProto.Attribute> getAttributesList()
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getAttributesCount
public int getAttributesCount()
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesCount
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getAttributes
public GcdmNetcdfProto.Attribute getAttributes(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributes
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
setAttributes
public GcdmNetcdfProto.Structure.Builder setAttributes(int index, GcdmNetcdfProto.Attribute value)
repeated .ucar.gcdm.Attribute attributes = 4;
-
setAttributes
public GcdmNetcdfProto.Structure.Builder setAttributes(int index, GcdmNetcdfProto.Attribute.Builder builderForValue)
repeated .ucar.gcdm.Attribute attributes = 4;
-
addAttributes
public GcdmNetcdfProto.Structure.Builder addAttributes(GcdmNetcdfProto.Attribute value)
repeated .ucar.gcdm.Attribute attributes = 4;
-
addAttributes
public GcdmNetcdfProto.Structure.Builder addAttributes(int index, GcdmNetcdfProto.Attribute value)
repeated .ucar.gcdm.Attribute attributes = 4;
-
addAttributes
public GcdmNetcdfProto.Structure.Builder addAttributes(GcdmNetcdfProto.Attribute.Builder builderForValue)
repeated .ucar.gcdm.Attribute attributes = 4;
-
addAttributes
public GcdmNetcdfProto.Structure.Builder addAttributes(int index, GcdmNetcdfProto.Attribute.Builder builderForValue)
repeated .ucar.gcdm.Attribute attributes = 4;
-
addAllAttributes
public GcdmNetcdfProto.Structure.Builder addAllAttributes(Iterable<? extends GcdmNetcdfProto.Attribute> values)
repeated .ucar.gcdm.Attribute attributes = 4;
-
clearAttributes
public GcdmNetcdfProto.Structure.Builder clearAttributes()
repeated .ucar.gcdm.Attribute attributes = 4;
-
removeAttributes
public GcdmNetcdfProto.Structure.Builder removeAttributes(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
-
getAttributesBuilder
public GcdmNetcdfProto.Attribute.Builder getAttributesBuilder(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
-
getAttributesOrBuilder
public GcdmNetcdfProto.AttributeOrBuilder getAttributesOrBuilder(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesOrBuilder
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getAttributesOrBuilderList
public List<? extends GcdmNetcdfProto.AttributeOrBuilder> getAttributesOrBuilderList()
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesOrBuilderList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
addAttributesBuilder
public GcdmNetcdfProto.Attribute.Builder addAttributesBuilder()
repeated .ucar.gcdm.Attribute attributes = 4;
-
addAttributesBuilder
public GcdmNetcdfProto.Attribute.Builder addAttributesBuilder(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
-
getAttributesBuilderList
public List<GcdmNetcdfProto.Attribute.Builder> getAttributesBuilderList()
repeated .ucar.gcdm.Attribute attributes = 4;
-
getVariablesList
public List<GcdmNetcdfProto.Variable> getVariablesList()
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
- Specified by:
getVariablesList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getVariablesCount
public int getVariablesCount()
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
- Specified by:
getVariablesCount
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getVariables
public GcdmNetcdfProto.Variable getVariables(int index)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
- Specified by:
getVariables
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
setVariables
public GcdmNetcdfProto.Structure.Builder setVariables(int index, GcdmNetcdfProto.Variable value)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
setVariables
public GcdmNetcdfProto.Structure.Builder setVariables(int index, GcdmNetcdfProto.Variable.Builder builderForValue)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
addVariables
public GcdmNetcdfProto.Structure.Builder addVariables(GcdmNetcdfProto.Variable value)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
addVariables
public GcdmNetcdfProto.Structure.Builder addVariables(int index, GcdmNetcdfProto.Variable value)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
addVariables
public GcdmNetcdfProto.Structure.Builder addVariables(GcdmNetcdfProto.Variable.Builder builderForValue)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
addVariables
public GcdmNetcdfProto.Structure.Builder addVariables(int index, GcdmNetcdfProto.Variable.Builder builderForValue)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
addAllVariables
public GcdmNetcdfProto.Structure.Builder addAllVariables(Iterable<? extends GcdmNetcdfProto.Variable> values)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
clearVariables
public GcdmNetcdfProto.Structure.Builder clearVariables()
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
removeVariables
public GcdmNetcdfProto.Structure.Builder removeVariables(int index)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
getVariablesBuilder
public GcdmNetcdfProto.Variable.Builder getVariablesBuilder(int index)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
getVariablesOrBuilder
public GcdmNetcdfProto.VariableOrBuilder getVariablesOrBuilder(int index)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
- Specified by:
getVariablesOrBuilder
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getVariablesOrBuilderList
public List<? extends GcdmNetcdfProto.VariableOrBuilder> getVariablesOrBuilderList()
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
- Specified by:
getVariablesOrBuilderList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
addVariablesBuilder
public GcdmNetcdfProto.Variable.Builder addVariablesBuilder()
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
addVariablesBuilder
public GcdmNetcdfProto.Variable.Builder addVariablesBuilder(int index)
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
getVariablesBuilderList
public List<GcdmNetcdfProto.Variable.Builder> getVariablesBuilderList()
members that are not structs
repeated .ucar.gcdm.Variable variables = 5;
-
getStructsList
public List<GcdmNetcdfProto.Structure> getStructsList()
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
- Specified by:
getStructsList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getStructsCount
public int getStructsCount()
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
- Specified by:
getStructsCount
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getStructs
public GcdmNetcdfProto.Structure getStructs(int index)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
- Specified by:
getStructs
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
setStructs
public GcdmNetcdfProto.Structure.Builder setStructs(int index, GcdmNetcdfProto.Structure value)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
setStructs
public GcdmNetcdfProto.Structure.Builder setStructs(int index, GcdmNetcdfProto.Structure.Builder builderForValue)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
addStructs
public GcdmNetcdfProto.Structure.Builder addStructs(GcdmNetcdfProto.Structure value)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
addStructs
public GcdmNetcdfProto.Structure.Builder addStructs(int index, GcdmNetcdfProto.Structure value)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
addStructs
public GcdmNetcdfProto.Structure.Builder addStructs(GcdmNetcdfProto.Structure.Builder builderForValue)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
addStructs
public GcdmNetcdfProto.Structure.Builder addStructs(int index, GcdmNetcdfProto.Structure.Builder builderForValue)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
addAllStructs
public GcdmNetcdfProto.Structure.Builder addAllStructs(Iterable<? extends GcdmNetcdfProto.Structure> values)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
clearStructs
public GcdmNetcdfProto.Structure.Builder clearStructs()
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
removeStructs
public GcdmNetcdfProto.Structure.Builder removeStructs(int index)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
getStructsBuilder
public GcdmNetcdfProto.Structure.Builder getStructsBuilder(int index)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
getStructsOrBuilder
public GcdmNetcdfProto.StructureOrBuilder getStructsOrBuilder(int index)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
- Specified by:
getStructsOrBuilder
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
getStructsOrBuilderList
public List<? extends GcdmNetcdfProto.StructureOrBuilder> getStructsOrBuilderList()
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
- Specified by:
getStructsOrBuilderList
in interfaceGcdmNetcdfProto.StructureOrBuilder
-
addStructsBuilder
public GcdmNetcdfProto.Structure.Builder addStructsBuilder()
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
addStructsBuilder
public GcdmNetcdfProto.Structure.Builder addStructsBuilder(int index)
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
getStructsBuilderList
public List<GcdmNetcdfProto.Structure.Builder> getStructsBuilderList()
struct members that are structs
repeated .ucar.gcdm.Structure structs = 6;
-
setUnknownFields
public final GcdmNetcdfProto.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<GcdmNetcdfProto.Structure.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.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<GcdmNetcdfProto.Structure.Builder>
-
-