Package ucar.nc2.stream
Class NcStreamProto.DataRow
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ucar.nc2.stream.NcStreamProto.DataRow
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,NcStreamProto.DataRowOrBuilder
- Enclosing class:
- NcStreamProto
public static final class NcStreamProto.DataRow extends com.google.protobuf.GeneratedMessageV3 implements NcStreamProto.DataRowOrBuilder
Protobuf typeDataRow
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NcStreamProto.DataRow.Builder
Protobuf typeDataRow
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
BIGEND_FIELD_NUMBER
static int
DATATYPE_FIELD_NUMBER
static int
FULLNAME_FIELD_NUMBER
static int
ISVLEN_FIELD_NUMBER
static int
NELEMS_FIELD_NUMBER
static int
OPAQUEDATA_FIELD_NUMBER
static int
PRIMDATA_FIELD_NUMBER
static int
SECTION_FIELD_NUMBER
static int
STRINGDATA_FIELD_NUMBER
static int
STRUCTDATA_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
static int
VLENS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getBigend()
bool bigend = 4;
NcStreamProto.DataType
getDataType()
.DataType dataType = 2;
int
getDataTypeValue()
.DataType dataType = 2;
static NcStreamProto.DataRow
getDefaultInstance()
NcStreamProto.DataRow
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFullName()
string fullName = 1;
com.google.protobuf.ByteString
getFullNameBytes()
string fullName = 1;
boolean
getIsVlen()
bool isVlen = 7;
int
getNelems()
uint32 nelems = 9;
com.google.protobuf.ByteString
getOpaquedata(int index)
opaque dataTypesint
getOpaquedataCount()
opaque dataTypesList<com.google.protobuf.ByteString>
getOpaquedataList()
opaque dataTypescom.google.protobuf.Parser<NcStreamProto.DataRow>
getParserForType()
com.google.protobuf.ByteString
getPrimdata()
rectangular, primitive arrayNcStreamProto.Section
getSection()
.Section section = 3;
NcStreamProto.SectionOrBuilder
getSectionOrBuilder()
.Section section = 3;
int
getSerializedSize()
String
getStringdata(int index)
string dataTypecom.google.protobuf.ByteString
getStringdataBytes(int index)
string dataTypeint
getStringdataCount()
string dataTypecom.google.protobuf.ProtocolStringList
getStringdataList()
string dataTypeNcStreamProto.ArrayStructureRow
getStructdata()
structure/seq dataTypeNcStreamProto.ArrayStructureRowOrBuilder
getStructdataOrBuilder()
structure/seq dataTypeint
getVersion()
uint32 version = 5;
int
getVlens(int index)
vlen lengthsint
getVlensCount()
vlen lengthsList<Integer>
getVlensList()
vlen lengthsint
hashCode()
boolean
hasSection()
.Section section = 3;
boolean
hasStructdata()
structure/seq dataTypeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NcStreamProto.DataRow.Builder
newBuilder()
static NcStreamProto.DataRow.Builder
newBuilder(NcStreamProto.DataRow prototype)
NcStreamProto.DataRow.Builder
newBuilderForType()
protected NcStreamProto.DataRow.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NcStreamProto.DataRow
parseDelimitedFrom(InputStream input)
static NcStreamProto.DataRow
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.DataRow
parseFrom(byte[] data)
static NcStreamProto.DataRow
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.DataRow
parseFrom(com.google.protobuf.ByteString data)
static NcStreamProto.DataRow
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.DataRow
parseFrom(com.google.protobuf.CodedInputStream input)
static NcStreamProto.DataRow
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.DataRow
parseFrom(InputStream input)
static NcStreamProto.DataRow
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.DataRow
parseFrom(ByteBuffer data)
static NcStreamProto.DataRow
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NcStreamProto.DataRow>
parser()
NcStreamProto.DataRow.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FULLNAME_FIELD_NUMBER
public static final int FULLNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATATYPE_FIELD_NUMBER
public static final int DATATYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECTION_FIELD_NUMBER
public static final int SECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BIGEND_FIELD_NUMBER
public static final int BIGEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISVLEN_FIELD_NUMBER
public static final int ISVLEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NELEMS_FIELD_NUMBER
public static final int NELEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMDATA_FIELD_NUMBER
public static final int PRIMDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRINGDATA_FIELD_NUMBER
public static final int STRINGDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VLENS_FIELD_NUMBER
public static final int VLENS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPAQUEDATA_FIELD_NUMBER
public static final int OPAQUEDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCTDATA_FIELD_NUMBER
public static final int STRUCTDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
public NcStreamProto.DataType getDataType()
.DataType dataType = 2;
- Specified by:
getDataType
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The dataType.
-
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.
-
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.
-
getVersion
public int getVersion()
uint32 version = 5;
- Specified by:
getVersion
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The version.
-
getIsVlen
public boolean getIsVlen()
bool isVlen = 7;
- Specified by:
getIsVlen
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The isVlen.
-
getNelems
public int getNelems()
uint32 nelems = 9;
- Specified by:
getNelems
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The nelems.
-
getPrimdata
public com.google.protobuf.ByteString getPrimdata()
rectangular, primitive array
bytes primdata = 10;
- Specified by:
getPrimdata
in interfaceNcStreamProto.DataRowOrBuilder
- Returns:
- The primdata.
-
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.
-
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.
-
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.
-
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.
-
getStructdataOrBuilder
public NcStreamProto.ArrayStructureRowOrBuilder getStructdataOrBuilder()
structure/seq dataType
.ArrayStructureRow structdata = 14;
- Specified by:
getStructdataOrBuilder
in interfaceNcStreamProto.DataRowOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NcStreamProto.DataRow parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NcStreamProto.DataRow parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NcStreamProto.DataRow parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NcStreamProto.DataRow parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NcStreamProto.DataRow.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NcStreamProto.DataRow.Builder newBuilder()
-
newBuilder
public static NcStreamProto.DataRow.Builder newBuilder(NcStreamProto.DataRow prototype)
-
toBuilder
public NcStreamProto.DataRow.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NcStreamProto.DataRow.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NcStreamProto.DataRow getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NcStreamProto.DataRow> parser()
-
getParserForType
public com.google.protobuf.Parser<NcStreamProto.DataRow> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NcStreamProto.DataRow getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-