Package ucar.nc2.stream
Class NcStreamProto.DataRow.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
- ucar.nc2.stream.NcStreamProto.DataRow.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.DataRowOrBuilder
- Enclosing class:
- NcStreamProto.DataRow
public static final class NcStreamProto.DataRow.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder> implements NcStreamProto.DataRowOrBuilder
Protobuf typeDataRow
-
-
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<NcStreamProto.DataRow.Builder>
-
clear
public NcStreamProto.DataRow.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.DataRow.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.DataRow.Builder>
-
getDefaultInstanceForType
public NcStreamProto.DataRow getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.DataRow build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.DataRow buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.DataRow.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.DataRow.Builder>
-
mergeFrom
public NcStreamProto.DataRow.Builder mergeFrom(NcStreamProto.DataRow other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
mergeFrom
public NcStreamProto.DataRow.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.DataRow.Builder>
- Throws:
IOException
-
getFullName
public String getFullName()
string fullName = 1;
- Specified by:
getFullName
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The fullName.
-
getFullNameBytes
public com.google.protobuf.ByteString getFullNameBytes()
string fullName = 1;
- Specified by:
getFullNameBytes
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The bytes for fullName.
-
setFullName
public NcStreamProto.DataRow.Builder setFullName(String value)
string fullName = 1;
- Parameters:
value
- The fullName to set.- Returns:
- This builder for chaining.
-
clearFullName
public NcStreamProto.DataRow.Builder clearFullName()
string fullName = 1;
- Returns:
- This builder for chaining.
-
setFullNameBytes
public NcStreamProto.DataRow.Builder setFullNameBytes(com.google.protobuf.ByteString value)
string fullName = 1;
- Parameters:
value
- The bytes for fullName to set.- Returns:
- This builder for chaining.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public NcStreamProto.DataRow.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.DataRowOrBuilder
- Returns:
- The dataType.
-
setDataType
public NcStreamProto.DataRow.Builder setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public NcStreamProto.DataRow.Builder clearDataType()
.DataType dataType = 2;
- Returns:
- This builder for chaining.
-
hasSection
public boolean hasSection()
.Section section = 3;
- Specified by:
hasSection
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- Whether the section field is set.
-
getSection
public NcStreamProto.Section getSection()
.Section section = 3;
- Specified by:
getSection
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The section.
-
setSection
public NcStreamProto.DataRow.Builder setSection(NcStreamProto.Section value)
.Section section = 3;
-
setSection
public NcStreamProto.DataRow.Builder setSection(NcStreamProto.Section.Builder builderForValue)
.Section section = 3;
-
mergeSection
public NcStreamProto.DataRow.Builder mergeSection(NcStreamProto.Section value)
.Section section = 3;
-
clearSection
public NcStreamProto.DataRow.Builder clearSection()
.Section section = 3;
-
getSectionBuilder
public NcStreamProto.Section.Builder getSectionBuilder()
.Section section = 3;
-
getSectionOrBuilder
public NcStreamProto.SectionOrBuilder getSectionOrBuilder()
.Section section = 3;
- Specified by:
getSectionOrBuilder
in interfaceNcStreamProto.DataRowOrBuilder
-
getBigend
public boolean getBigend()
bool bigend = 4;
- Specified by:
getBigend
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The bigend.
-
setBigend
public NcStreamProto.DataRow.Builder setBigend(boolean value)
bool bigend = 4;
- Parameters:
value
- The bigend to set.- Returns:
- This builder for chaining.
-
clearBigend
public NcStreamProto.DataRow.Builder clearBigend()
bool bigend = 4;
- Returns:
- This builder for chaining.
-
getVersion
public int getVersion()
uint32 version = 5;
- Specified by:
getVersion
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The version.
-
setVersion
public NcStreamProto.DataRow.Builder setVersion(int value)
uint32 version = 5;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public NcStreamProto.DataRow.Builder clearVersion()
uint32 version = 5;
- Returns:
- This builder for chaining.
-
getIsVlen
public boolean getIsVlen()
bool isVlen = 7;
- Specified by:
getIsVlen
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The isVlen.
-
setIsVlen
public NcStreamProto.DataRow.Builder setIsVlen(boolean value)
bool isVlen = 7;
- Parameters:
value
- The isVlen to set.- Returns:
- This builder for chaining.
-
clearIsVlen
public NcStreamProto.DataRow.Builder clearIsVlen()
bool isVlen = 7;
- Returns:
- This builder for chaining.
-
getNelems
public int getNelems()
uint32 nelems = 9;
- Specified by:
getNelems
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The nelems.
-
setNelems
public NcStreamProto.DataRow.Builder setNelems(int value)
uint32 nelems = 9;
- Parameters:
value
- The nelems to set.- Returns:
- This builder for chaining.
-
clearNelems
public NcStreamProto.DataRow.Builder clearNelems()
uint32 nelems = 9;
- Returns:
- This builder for chaining.
-
getPrimdata
public com.google.protobuf.ByteString getPrimdata()
rectangular, primitive array
bytes primdata = 10;
- Specified by:
getPrimdata
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The primdata.
-
setPrimdata
public NcStreamProto.DataRow.Builder setPrimdata(com.google.protobuf.ByteString value)
rectangular, primitive array
bytes primdata = 10;
- Parameters:
value
- The primdata to set.- Returns:
- This builder for chaining.
-
clearPrimdata
public NcStreamProto.DataRow.Builder clearPrimdata()
rectangular, primitive array
bytes primdata = 10;
- Returns:
- This builder for chaining.
-
getStringdataList
public com.google.protobuf.ProtocolStringList getStringdataList()
string dataType
repeated string stringdata = 11;
- Specified by:
getStringdataList
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- A list containing the stringdata.
-
getStringdataCount
public int getStringdataCount()
string dataType
repeated string stringdata = 11;
- Specified by:
getStringdataCount
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The count of stringdata.
-
getStringdata
public String getStringdata(int index)
string dataType
repeated string stringdata = 11;
- Specified by:
getStringdata
in interfaceNcStreamProto.DataRowOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The stringdata at the given index.
-
getStringdataBytes
public com.google.protobuf.ByteString getStringdataBytes(int index)
string dataType
repeated string stringdata = 11;
- Specified by:
getStringdataBytes
in interfaceNcStreamProto.DataRowOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the stringdata at the given index.
-
setStringdata
public NcStreamProto.DataRow.Builder setStringdata(int index, String value)
string dataType
repeated string stringdata = 11;
- Parameters:
index
- The index to set the value at.value
- The stringdata to set.- Returns:
- This builder for chaining.
-
addStringdata
public NcStreamProto.DataRow.Builder addStringdata(String value)
string dataType
repeated string stringdata = 11;
- Parameters:
value
- The stringdata to add.- Returns:
- This builder for chaining.
-
addAllStringdata
public NcStreamProto.DataRow.Builder addAllStringdata(Iterable<String> values)
string dataType
repeated string stringdata = 11;
- Parameters:
values
- The stringdata to add.- Returns:
- This builder for chaining.
-
clearStringdata
public NcStreamProto.DataRow.Builder clearStringdata()
string dataType
repeated string stringdata = 11;
- Returns:
- This builder for chaining.
-
addStringdataBytes
public NcStreamProto.DataRow.Builder addStringdataBytes(com.google.protobuf.ByteString value)
string dataType
repeated string stringdata = 11;
- Parameters:
value
- The bytes of the stringdata to add.- Returns:
- This builder for chaining.
-
getVlensList
public List<Integer> getVlensList()
vlen lengths
repeated uint32 vlens = 12;
- Specified by:
getVlensList
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- A list containing the vlens.
-
getVlensCount
public int getVlensCount()
vlen lengths
repeated uint32 vlens = 12;
- Specified by:
getVlensCount
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The count of vlens.
-
getVlens
public int getVlens(int index)
vlen lengths
repeated uint32 vlens = 12;
- Specified by:
getVlens
in interfaceNcStreamProto.DataRowOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The vlens at the given index.
-
setVlens
public NcStreamProto.DataRow.Builder setVlens(int index, int value)
vlen lengths
repeated uint32 vlens = 12;
- Parameters:
index
- The index to set the value at.value
- The vlens to set.- Returns:
- This builder for chaining.
-
addVlens
public NcStreamProto.DataRow.Builder addVlens(int value)
vlen lengths
repeated uint32 vlens = 12;
- Parameters:
value
- The vlens to add.- Returns:
- This builder for chaining.
-
addAllVlens
public NcStreamProto.DataRow.Builder addAllVlens(Iterable<? extends Integer> values)
vlen lengths
repeated uint32 vlens = 12;
- Parameters:
values
- The vlens to add.- Returns:
- This builder for chaining.
-
clearVlens
public NcStreamProto.DataRow.Builder clearVlens()
vlen lengths
repeated uint32 vlens = 12;
- Returns:
- This builder for chaining.
-
getOpaquedataList
public List<com.google.protobuf.ByteString> getOpaquedataList()
opaque dataTypes
repeated bytes opaquedata = 13;
- Specified by:
getOpaquedataList
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- A list containing the opaquedata.
-
getOpaquedataCount
public int getOpaquedataCount()
opaque dataTypes
repeated bytes opaquedata = 13;
- Specified by:
getOpaquedataCount
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The count of opaquedata.
-
getOpaquedata
public com.google.protobuf.ByteString getOpaquedata(int index)
opaque dataTypes
repeated bytes opaquedata = 13;
- Specified by:
getOpaquedata
in interfaceNcStreamProto.DataRowOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The opaquedata at the given index.
-
setOpaquedata
public NcStreamProto.DataRow.Builder setOpaquedata(int index, com.google.protobuf.ByteString value)
opaque dataTypes
repeated bytes opaquedata = 13;
- Parameters:
index
- The index to set the value at.value
- The opaquedata to set.- Returns:
- This builder for chaining.
-
addOpaquedata
public NcStreamProto.DataRow.Builder addOpaquedata(com.google.protobuf.ByteString value)
opaque dataTypes
repeated bytes opaquedata = 13;
- Parameters:
value
- The opaquedata to add.- Returns:
- This builder for chaining.
-
addAllOpaquedata
public NcStreamProto.DataRow.Builder addAllOpaquedata(Iterable<? extends com.google.protobuf.ByteString> values)
opaque dataTypes
repeated bytes opaquedata = 13;
- Parameters:
values
- The opaquedata to add.- Returns:
- This builder for chaining.
-
clearOpaquedata
public NcStreamProto.DataRow.Builder clearOpaquedata()
opaque dataTypes
repeated bytes opaquedata = 13;
- Returns:
- This builder for chaining.
-
hasStructdata
public boolean hasStructdata()
structure/seq dataType
.ArrayStructureRow structdata = 14;
- Specified by:
hasStructdata
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- Whether the structdata field is set.
-
getStructdata
public NcStreamProto.ArrayStructureRow getStructdata()
structure/seq dataType
.ArrayStructureRow structdata = 14;
- Specified by:
getStructdata
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The structdata.
-
setStructdata
public NcStreamProto.DataRow.Builder setStructdata(NcStreamProto.ArrayStructureRow value)
structure/seq dataType
.ArrayStructureRow structdata = 14;
-
setStructdata
public NcStreamProto.DataRow.Builder setStructdata(NcStreamProto.ArrayStructureRow.Builder builderForValue)
structure/seq dataType
.ArrayStructureRow structdata = 14;
-
mergeStructdata
public NcStreamProto.DataRow.Builder mergeStructdata(NcStreamProto.ArrayStructureRow value)
structure/seq dataType
.ArrayStructureRow structdata = 14;
-
clearStructdata
public NcStreamProto.DataRow.Builder clearStructdata()
structure/seq dataType
.ArrayStructureRow structdata = 14;
-
getStructdataBuilder
public NcStreamProto.ArrayStructureRow.Builder getStructdataBuilder()
structure/seq dataType
.ArrayStructureRow structdata = 14;
-
getStructdataOrBuilder
public NcStreamProto.ArrayStructureRowOrBuilder getStructdataOrBuilder()
structure/seq dataType
.ArrayStructureRow structdata = 14;
- Specified by:
getStructdataOrBuilder
in interfaceNcStreamProto.DataRowOrBuilder
-
setUnknownFields
public final NcStreamProto.DataRow.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.DataRow.Builder>
-
mergeUnknownFields
public final NcStreamProto.DataRow.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.DataRow.Builder>
-
-