Package ucar.gcdm
Class GcdmNetcdfProto.StructureMemberProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.StructureMemberProto.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.StructureMemberProto.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.StructureMemberProtoOrBuilder
- Enclosing class:
- GcdmNetcdfProto.StructureMemberProto
public static final class GcdmNetcdfProto.StructureMemberProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.StructureMemberProto.Builder> implements GcdmNetcdfProto.StructureMemberProtoOrBuilder
Protobuf typeucar.gcdm.StructureMemberProto
-
-
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.StructureMemberProto.Builder>
-
clear
public GcdmNetcdfProto.StructureMemberProto.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.StructureMemberProto.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.StructureMemberProto.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.StructureMemberProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.StructureMemberProto build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.StructureMemberProto buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.StructureMemberProto.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.StructureMemberProto.Builder>
-
mergeFrom
public GcdmNetcdfProto.StructureMemberProto.Builder mergeFrom(GcdmNetcdfProto.StructureMemberProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.StructureMemberProto.Builder>
-
mergeFrom
public GcdmNetcdfProto.StructureMemberProto.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.StructureMemberProto.Builder>
- Throws:
IOException
-
getName
public String getName()
string name = 1;
- Specified by:
getName
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
public GcdmNetcdfProto.StructureMemberProto.Builder setName(String value)
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GcdmNetcdfProto.StructureMemberProto.Builder clearName()
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public GcdmNetcdfProto.StructureMemberProto.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()
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataTypeValue
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public GcdmNetcdfProto.StructureMemberProto.Builder setDataTypeValue(int value)
.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()
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataType
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- The dataType.
-
setDataType
public GcdmNetcdfProto.StructureMemberProto.Builder setDataType(GcdmNetcdfProto.DataType value)
.ucar.gcdm.DataType data_type = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public GcdmNetcdfProto.StructureMemberProto.Builder clearDataType()
.ucar.gcdm.DataType data_type = 2;
- Returns:
- This builder for chaining.
-
getShapesList
public List<Integer> getShapesList()
repeated int32 shapes = 3;
- Specified by:
getShapesList
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- A list containing the shapes.
-
getShapesCount
public int getShapesCount()
repeated int32 shapes = 3;
- Specified by:
getShapesCount
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- The count of shapes.
-
getShapes
public int getShapes(int index)
repeated int32 shapes = 3;
- Specified by:
getShapes
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The shapes at the given index.
-
setShapes
public GcdmNetcdfProto.StructureMemberProto.Builder setShapes(int index, int value)
repeated int32 shapes = 3;
- Parameters:
index
- The index to set the value at.value
- The shapes to set.- Returns:
- This builder for chaining.
-
addShapes
public GcdmNetcdfProto.StructureMemberProto.Builder addShapes(int value)
repeated int32 shapes = 3;
- Parameters:
value
- The shapes to add.- Returns:
- This builder for chaining.
-
addAllShapes
public GcdmNetcdfProto.StructureMemberProto.Builder addAllShapes(Iterable<? extends Integer> values)
repeated int32 shapes = 3;
- Parameters:
values
- The shapes to add.- Returns:
- This builder for chaining.
-
clearShapes
public GcdmNetcdfProto.StructureMemberProto.Builder clearShapes()
repeated int32 shapes = 3;
- Returns:
- This builder for chaining.
-
hasMembers
public boolean hasMembers()
.ucar.gcdm.StructureMembersProto members = 4;
- Specified by:
hasMembers
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- Whether the members field is set.
-
getMembers
public GcdmNetcdfProto.StructureMembersProto getMembers()
.ucar.gcdm.StructureMembersProto members = 4;
- Specified by:
getMembers
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
- Returns:
- The members.
-
setMembers
public GcdmNetcdfProto.StructureMemberProto.Builder setMembers(GcdmNetcdfProto.StructureMembersProto value)
.ucar.gcdm.StructureMembersProto members = 4;
-
setMembers
public GcdmNetcdfProto.StructureMemberProto.Builder setMembers(GcdmNetcdfProto.StructureMembersProto.Builder builderForValue)
.ucar.gcdm.StructureMembersProto members = 4;
-
mergeMembers
public GcdmNetcdfProto.StructureMemberProto.Builder mergeMembers(GcdmNetcdfProto.StructureMembersProto value)
.ucar.gcdm.StructureMembersProto members = 4;
-
clearMembers
public GcdmNetcdfProto.StructureMemberProto.Builder clearMembers()
.ucar.gcdm.StructureMembersProto members = 4;
-
getMembersBuilder
public GcdmNetcdfProto.StructureMembersProto.Builder getMembersBuilder()
.ucar.gcdm.StructureMembersProto members = 4;
-
getMembersOrBuilder
public GcdmNetcdfProto.StructureMembersProtoOrBuilder getMembersOrBuilder()
.ucar.gcdm.StructureMembersProto members = 4;
- Specified by:
getMembersOrBuilder
in interfaceGcdmNetcdfProto.StructureMemberProtoOrBuilder
-
setUnknownFields
public final GcdmNetcdfProto.StructureMemberProto.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.StructureMemberProto.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.StructureMemberProto.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.StructureMemberProto.Builder>
-
-