Package ucar.nc2.stream
Class NcStreamProto.Member.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Member.Builder>
-
- ucar.nc2.stream.NcStreamProto.Member.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.MemberOrBuilder
- Enclosing class:
- NcStreamProto.Member
public static final class NcStreamProto.Member.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Member.Builder> implements NcStreamProto.MemberOrBuilder
Protobuf typeMember
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NcStreamProto.Member.Builder
addAllShape(Iterable<? extends Integer> values)
or section?NcStreamProto.Member.Builder
addShape(int value)
or section?NcStreamProto.Member
build()
NcStreamProto.Member
buildPartial()
NcStreamProto.Member.Builder
clear()
NcStreamProto.Member.Builder
clearDataType()
.DataType dataType = 2;
NcStreamProto.Member.Builder
clearIsVlen()
bool isVlen = 4;
NcStreamProto.Member.Builder
clearShape()
or section?NcStreamProto.Member.Builder
clearShortName()
string shortName = 1;
NcStreamProto.DataType
getDataType()
.DataType dataType = 2;
int
getDataTypeValue()
.DataType dataType = 2;
NcStreamProto.Member
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIsVlen()
bool isVlen = 4;
int
getShape(int index)
or section?int
getShapeCount()
or section?List<Integer>
getShapeList()
or section?String
getShortName()
string shortName = 1;
com.google.protobuf.ByteString
getShortNameBytes()
string shortName = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NcStreamProto.Member.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NcStreamProto.Member.Builder
mergeFrom(com.google.protobuf.Message other)
NcStreamProto.Member.Builder
mergeFrom(NcStreamProto.Member other)
NcStreamProto.Member.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NcStreamProto.Member.Builder
setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
NcStreamProto.Member.Builder
setDataTypeValue(int value)
.DataType dataType = 2;
NcStreamProto.Member.Builder
setIsVlen(boolean value)
bool isVlen = 4;
NcStreamProto.Member.Builder
setShape(int index, int value)
or section?NcStreamProto.Member.Builder
setShortName(String value)
string shortName = 1;
NcStreamProto.Member.Builder
setShortNameBytes(com.google.protobuf.ByteString value)
string shortName = 1;
NcStreamProto.Member.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.Member.Builder>
-
clear
public NcStreamProto.Member.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.Member.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.Member.Builder>
-
getDefaultInstanceForType
public NcStreamProto.Member getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.Member build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.Member buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.Member.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.Member.Builder>
-
mergeFrom
public NcStreamProto.Member.Builder mergeFrom(NcStreamProto.Member other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Member.Builder>
-
mergeFrom
public NcStreamProto.Member.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.Member.Builder>
- Throws:
IOException
-
getShortName
public String getShortName()
string shortName = 1;
- Specified by:
getShortName
in interfaceNcStreamProto.MemberOrBuilder
- Returns:
- The shortName.
-
getShortNameBytes
public com.google.protobuf.ByteString getShortNameBytes()
string shortName = 1;
- Specified by:
getShortNameBytes
in interfaceNcStreamProto.MemberOrBuilder
- Returns:
- The bytes for shortName.
-
setShortName
public NcStreamProto.Member.Builder setShortName(String value)
string shortName = 1;
- Parameters:
value
- The shortName to set.- Returns:
- This builder for chaining.
-
clearShortName
public NcStreamProto.Member.Builder clearShortName()
string shortName = 1;
- Returns:
- This builder for chaining.
-
setShortNameBytes
public NcStreamProto.Member.Builder setShortNameBytes(com.google.protobuf.ByteString value)
string shortName = 1;
- Parameters:
value
- The bytes for shortName to set.- Returns:
- This builder for chaining.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceNcStreamProto.MemberOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public NcStreamProto.Member.Builder setDataTypeValue(int value)
.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()
.DataType dataType = 2;
- Specified by:
getDataType
in interfaceNcStreamProto.MemberOrBuilder
- Returns:
- The dataType.
-
setDataType
public NcStreamProto.Member.Builder setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public NcStreamProto.Member.Builder clearDataType()
.DataType dataType = 2;
- Returns:
- This builder for chaining.
-
getShapeList
public List<Integer> getShapeList()
or section?
repeated uint32 shape = 3;
- Specified by:
getShapeList
in interfaceNcStreamProto.MemberOrBuilder
- Returns:
- A list containing the shape.
-
getShapeCount
public int getShapeCount()
or section?
repeated uint32 shape = 3;
- Specified by:
getShapeCount
in interfaceNcStreamProto.MemberOrBuilder
- Returns:
- The count of shape.
-
getShape
public int getShape(int index)
or section?
repeated uint32 shape = 3;
- Specified by:
getShape
in interfaceNcStreamProto.MemberOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The shape at the given index.
-
setShape
public NcStreamProto.Member.Builder setShape(int index, int value)
or section?
repeated uint32 shape = 3;
- Parameters:
index
- The index to set the value at.value
- The shape to set.- Returns:
- This builder for chaining.
-
addShape
public NcStreamProto.Member.Builder addShape(int value)
or section?
repeated uint32 shape = 3;
- Parameters:
value
- The shape to add.- Returns:
- This builder for chaining.
-
addAllShape
public NcStreamProto.Member.Builder addAllShape(Iterable<? extends Integer> values)
or section?
repeated uint32 shape = 3;
- Parameters:
values
- The shape to add.- Returns:
- This builder for chaining.
-
clearShape
public NcStreamProto.Member.Builder clearShape()
or section?
repeated uint32 shape = 3;
- Returns:
- This builder for chaining.
-
getIsVlen
public boolean getIsVlen()
bool isVlen = 4;
- Specified by:
getIsVlen
in interfaceNcStreamProto.MemberOrBuilder
- Returns:
- The isVlen.
-
setIsVlen
public NcStreamProto.Member.Builder setIsVlen(boolean value)
bool isVlen = 4;
- Parameters:
value
- The isVlen to set.- Returns:
- This builder for chaining.
-
clearIsVlen
public NcStreamProto.Member.Builder clearIsVlen()
bool isVlen = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NcStreamProto.Member.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.Member.Builder>
-
mergeUnknownFields
public final NcStreamProto.Member.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.Member.Builder>
-
-