Package ucar.nc2.stream
Class NcStreamProto.DataRow.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
clear
public NcStreamProto.DataRow.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
getDefaultInstanceForType
public NcStreamProto.DataRow getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.DataRow build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.DataRow buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NcStreamProto.DataRow.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
setField
public NcStreamProto.DataRow.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
clearField
public NcStreamProto.DataRow.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
clearOneof
public NcStreamProto.DataRow.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
setRepeatedField
public NcStreamProto.DataRow.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
addRepeatedField
public NcStreamProto.DataRow.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
mergeFrom
public NcStreamProto.DataRow.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NcStreamProto.DataRow.Builder>
-
mergeFrom
public NcStreamProto.DataRow.Builder mergeFrom(NcStreamProto.DataRow other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NcStreamProto.DataRow.Builder>- Throws:
IOException
-
getFullName
public String getFullName()
string fullName = 1;- Specified by:
getFullNamein interfaceNcStreamProto.DataRowOrBuilder- Returns:
- The fullName.
-
getFullNameBytes
public com.google.protobuf.ByteString getFullNameBytes()
string fullName = 1;- Specified by:
getFullNameBytesin 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:
getDataTypeValuein 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:
getDataTypein 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:
hasSectionin interfaceNcStreamProto.DataRowOrBuilder- Returns:
- Whether the section field is set.
-
getSection
public NcStreamProto.Section getSection()
.Section section = 3;- Specified by:
getSectionin 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:
getSectionOrBuilderin interfaceNcStreamProto.DataRowOrBuilder
-
getBigend
public boolean getBigend()
bool bigend = 4;- Specified by:
getBigendin 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:
getVersionin 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:
getIsVlenin 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:
getNelemsin 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:
getPrimdatain 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:
getStringdataListin interfaceNcStreamProto.DataRowOrBuilder- Returns:
- A list containing the stringdata.
-
getStringdataCount
public int getStringdataCount()
string dataType
repeated string stringdata = 11;- Specified by:
getStringdataCountin interfaceNcStreamProto.DataRowOrBuilder- Returns:
- The count of stringdata.
-
getStringdata
public String getStringdata(int index)
string dataType
repeated string stringdata = 11;- Specified by:
getStringdatain 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:
getStringdataBytesin 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:
getVlensListin interfaceNcStreamProto.DataRowOrBuilder- Returns:
- A list containing the vlens.
-
getVlensCount
public int getVlensCount()
vlen lengths
repeated uint32 vlens = 12;- Specified by:
getVlensCountin interfaceNcStreamProto.DataRowOrBuilder- Returns:
- The count of vlens.
-
getVlens
public int getVlens(int index)
vlen lengths
repeated uint32 vlens = 12;- Specified by:
getVlensin 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:
getOpaquedataListin interfaceNcStreamProto.DataRowOrBuilder- Returns:
- A list containing the opaquedata.
-
getOpaquedataCount
public int getOpaquedataCount()
opaque dataTypes
repeated bytes opaquedata = 13;- Specified by:
getOpaquedataCountin interfaceNcStreamProto.DataRowOrBuilder- Returns:
- The count of opaquedata.
-
getOpaquedata
public com.google.protobuf.ByteString getOpaquedata(int index)
opaque dataTypes
repeated bytes opaquedata = 13;- Specified by:
getOpaquedatain 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:
hasStructdatain interfaceNcStreamProto.DataRowOrBuilder- Returns:
- Whether the structdata field is set.
-
getStructdata
public NcStreamProto.ArrayStructureRow getStructdata()
structure/seq dataType
.ArrayStructureRow structdata = 14;- Specified by:
getStructdatain 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:
getStructdataOrBuilderin interfaceNcStreamProto.DataRowOrBuilder
-
setUnknownFields
public final NcStreamProto.DataRow.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
mergeUnknownFields
public final NcStreamProto.DataRow.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.DataRow.Builder>
-
-