Package ucar.gcdm
Class GcdmNetcdfProto.Dimension.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Dimension.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.Dimension.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.DimensionOrBuilder
- Enclosing class:
- GcdmNetcdfProto.Dimension
public static final class GcdmNetcdfProto.Dimension.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Dimension.Builder> implements GcdmNetcdfProto.DimensionOrBuilder
Protobuf typeucar.gcdm.Dimension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GcdmNetcdfProto.Dimension
build()
GcdmNetcdfProto.Dimension
buildPartial()
GcdmNetcdfProto.Dimension.Builder
clear()
GcdmNetcdfProto.Dimension.Builder
clearIsPrivate()
bool is_private = 5;
GcdmNetcdfProto.Dimension.Builder
clearIsUnlimited()
bool is_unlimited = 3;
GcdmNetcdfProto.Dimension.Builder
clearIsVlen()
bool is_vlen = 4;
GcdmNetcdfProto.Dimension.Builder
clearLength()
optional when vlen, may be zero if unlimitedGcdmNetcdfProto.Dimension.Builder
clearName()
short name - optional when privateGcdmNetcdfProto.Dimension
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIsPrivate()
bool is_private = 5;
boolean
getIsUnlimited()
bool is_unlimited = 3;
boolean
getIsVlen()
bool is_vlen = 4;
long
getLength()
optional when vlen, may be zero if unlimitedString
getName()
short name - optional when privatecom.google.protobuf.ByteString
getNameBytes()
short name - optional when privateprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GcdmNetcdfProto.Dimension.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GcdmNetcdfProto.Dimension.Builder
mergeFrom(com.google.protobuf.Message other)
GcdmNetcdfProto.Dimension.Builder
mergeFrom(GcdmNetcdfProto.Dimension other)
GcdmNetcdfProto.Dimension.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GcdmNetcdfProto.Dimension.Builder
setIsPrivate(boolean value)
bool is_private = 5;
GcdmNetcdfProto.Dimension.Builder
setIsUnlimited(boolean value)
bool is_unlimited = 3;
GcdmNetcdfProto.Dimension.Builder
setIsVlen(boolean value)
bool is_vlen = 4;
GcdmNetcdfProto.Dimension.Builder
setLength(long value)
optional when vlen, may be zero if unlimitedGcdmNetcdfProto.Dimension.Builder
setName(String value)
short name - optional when privateGcdmNetcdfProto.Dimension.Builder
setNameBytes(com.google.protobuf.ByteString value)
short name - optional when privateGcdmNetcdfProto.Dimension.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.Dimension.Builder>
-
clear
public GcdmNetcdfProto.Dimension.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.Dimension.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.Dimension.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.Dimension getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.Dimension build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.Dimension buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.Dimension.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.Dimension.Builder>
-
mergeFrom
public GcdmNetcdfProto.Dimension.Builder mergeFrom(GcdmNetcdfProto.Dimension other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Dimension.Builder>
-
mergeFrom
public GcdmNetcdfProto.Dimension.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.Dimension.Builder>
- Throws:
IOException
-
getName
public String getName()
short name - optional when private
string name = 1;
- Specified by:
getName
in interfaceGcdmNetcdfProto.DimensionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
short name - optional when private
string name = 1;
- Specified by:
getNameBytes
in interfaceGcdmNetcdfProto.DimensionOrBuilder
- Returns:
- The bytes for name.
-
setName
public GcdmNetcdfProto.Dimension.Builder setName(String value)
short name - optional when private
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GcdmNetcdfProto.Dimension.Builder clearName()
short name - optional when private
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public GcdmNetcdfProto.Dimension.Builder setNameBytes(com.google.protobuf.ByteString value)
short name - optional when private
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLength
public long getLength()
optional when vlen, may be zero if unlimited
uint64 length = 2;
- Specified by:
getLength
in interfaceGcdmNetcdfProto.DimensionOrBuilder
- Returns:
- The length.
-
setLength
public GcdmNetcdfProto.Dimension.Builder setLength(long value)
optional when vlen, may be zero if unlimited
uint64 length = 2;
- Parameters:
value
- The length to set.- Returns:
- This builder for chaining.
-
clearLength
public GcdmNetcdfProto.Dimension.Builder clearLength()
optional when vlen, may be zero if unlimited
uint64 length = 2;
- Returns:
- This builder for chaining.
-
getIsUnlimited
public boolean getIsUnlimited()
bool is_unlimited = 3;
- Specified by:
getIsUnlimited
in interfaceGcdmNetcdfProto.DimensionOrBuilder
- Returns:
- The isUnlimited.
-
setIsUnlimited
public GcdmNetcdfProto.Dimension.Builder setIsUnlimited(boolean value)
bool is_unlimited = 3;
- Parameters:
value
- The isUnlimited to set.- Returns:
- This builder for chaining.
-
clearIsUnlimited
public GcdmNetcdfProto.Dimension.Builder clearIsUnlimited()
bool is_unlimited = 3;
- Returns:
- This builder for chaining.
-
getIsVlen
public boolean getIsVlen()
bool is_vlen = 4;
- Specified by:
getIsVlen
in interfaceGcdmNetcdfProto.DimensionOrBuilder
- Returns:
- The isVlen.
-
setIsVlen
public GcdmNetcdfProto.Dimension.Builder setIsVlen(boolean value)
bool is_vlen = 4;
- Parameters:
value
- The isVlen to set.- Returns:
- This builder for chaining.
-
clearIsVlen
public GcdmNetcdfProto.Dimension.Builder clearIsVlen()
bool is_vlen = 4;
- Returns:
- This builder for chaining.
-
getIsPrivate
public boolean getIsPrivate()
bool is_private = 5;
- Specified by:
getIsPrivate
in interfaceGcdmNetcdfProto.DimensionOrBuilder
- Returns:
- The isPrivate.
-
setIsPrivate
public GcdmNetcdfProto.Dimension.Builder setIsPrivate(boolean value)
bool is_private = 5;
- Parameters:
value
- The isPrivate to set.- Returns:
- This builder for chaining.
-
clearIsPrivate
public GcdmNetcdfProto.Dimension.Builder clearIsPrivate()
bool is_private = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GcdmNetcdfProto.Dimension.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.Dimension.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.Dimension.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.Dimension.Builder>
-
-