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