Package ucar.nc2.stream
Class NcStreamProto.Data
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ucar.nc2.stream.NcStreamProto.Data
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,NcStreamProto.DataOrBuilder
- Enclosing class:
- NcStreamProto
public static final class NcStreamProto.Data extends com.google.protobuf.GeneratedMessageV3 implements NcStreamProto.DataOrBuilder
Protobuf typeData
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NcStreamProto.Data.BigendPresentCase
static class
NcStreamProto.Data.Builder
Protobuf typeData
-
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
COMPRESS_FIELD_NUMBER
static int
DATATYPE_FIELD_NUMBER
static int
SECTION_FIELD_NUMBER
static int
UNCOMPRESSEDSIZE_FIELD_NUMBER
static int
VARNAME_FIELD_NUMBER
static int
VDATA_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getBigend()
[default=true] in proto2NcStreamProto.Data.BigendPresentCase
getBigendPresentCase()
NcStreamProto.Compress
getCompress()
.Compress compress = 6;
int
getCompressValue()
.Compress compress = 6;
NcStreamProto.DataType
getDataType()
.DataType dataType = 2;
int
getDataTypeValue()
.DataType dataType = 2;
static NcStreamProto.Data
getDefaultInstance()
NcStreamProto.Data
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<NcStreamProto.Data>
getParserForType()
NcStreamProto.Section
getSection()
not required for SEQUENCENcStreamProto.SectionOrBuilder
getSectionOrBuilder()
not required for SEQUENCEint
getSerializedSize()
int
getUncompressedSize()
uint32 uncompressedSize = 8;
String
getVarName()
full escaped name.com.google.protobuf.ByteString
getVarNameBytes()
full escaped name.boolean
getVdata()
bool vdata = 7;
int
getVersion()
version=2 for proto2, >=3 for proto3 (v5.0+)boolean
hasBigend()
[default=true] in proto2int
hashCode()
boolean
hasSection()
not required for SEQUENCEprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NcStreamProto.Data.Builder
newBuilder()
static NcStreamProto.Data.Builder
newBuilder(NcStreamProto.Data prototype)
NcStreamProto.Data.Builder
newBuilderForType()
protected NcStreamProto.Data.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NcStreamProto.Data
parseDelimitedFrom(InputStream input)
static NcStreamProto.Data
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.Data
parseFrom(byte[] data)
static NcStreamProto.Data
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.Data
parseFrom(com.google.protobuf.ByteString data)
static NcStreamProto.Data
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.Data
parseFrom(com.google.protobuf.CodedInputStream input)
static NcStreamProto.Data
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.Data
parseFrom(InputStream input)
static NcStreamProto.Data
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NcStreamProto.Data
parseFrom(ByteBuffer data)
static NcStreamProto.Data
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NcStreamProto.Data>
parser()
NcStreamProto.Data.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
-
VARNAME_FIELD_NUMBER
public static final int VARNAME_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
-
COMPRESS_FIELD_NUMBER
public static final int COMPRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VDATA_FIELD_NUMBER
public static final int VDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNCOMPRESSEDSIZE_FIELD_NUMBER
public static final int UNCOMPRESSEDSIZE_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
-
getBigendPresentCase
public NcStreamProto.Data.BigendPresentCase getBigendPresentCase()
- Specified by:
getBigendPresentCase
in interfaceNcStreamProto.DataOrBuilder
-
getVarName
public String getVarName()
full escaped name.
string varName = 1;
- Specified by:
getVarName
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The varName.
-
getVarNameBytes
public com.google.protobuf.ByteString getVarNameBytes()
full escaped name.
string varName = 1;
- Specified by:
getVarNameBytes
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The bytes for varName.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
public NcStreamProto.DataType getDataType()
.DataType dataType = 2;
- Specified by:
getDataType
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The dataType.
-
hasSection
public boolean hasSection()
not required for SEQUENCE
.Section section = 3;
- Specified by:
hasSection
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- Whether the section field is set.
-
getSection
public NcStreamProto.Section getSection()
not required for SEQUENCE
.Section section = 3;
- Specified by:
getSection
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The section.
-
getSectionOrBuilder
public NcStreamProto.SectionOrBuilder getSectionOrBuilder()
not required for SEQUENCE
.Section section = 3;
- Specified by:
getSectionOrBuilder
in interfaceNcStreamProto.DataOrBuilder
-
hasBigend
public boolean hasBigend()
[default=true] in proto2
bool bigend = 4;
- Specified by:
hasBigend
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- Whether the bigend field is set.
-
getBigend
public boolean getBigend()
[default=true] in proto2
bool bigend = 4;
- Specified by:
getBigend
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The bigend.
-
getVersion
public int getVersion()
version=2 for proto2, >=3 for proto3 (v5.0+)
uint32 version = 5;
- Specified by:
getVersion
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The version.
-
getCompressValue
public int getCompressValue()
.Compress compress = 6;
- Specified by:
getCompressValue
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The enum numeric value on the wire for compress.
-
getCompress
public NcStreamProto.Compress getCompress()
.Compress compress = 6;
- Specified by:
getCompress
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The compress.
-
getVdata
public boolean getVdata()
bool vdata = 7;
- Specified by:
getVdata
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The vdata.
-
getUncompressedSize
public int getUncompressedSize()
uint32 uncompressedSize = 8;
- Specified by:
getUncompressedSize
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The uncompressedSize.
-
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.Data parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.Data parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.Data 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.Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NcStreamProto.Data parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NcStreamProto.Data parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NcStreamProto.Data parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NcStreamProto.Data parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NcStreamProto.Data parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NcStreamProto.Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NcStreamProto.Data.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NcStreamProto.Data.Builder newBuilder()
-
newBuilder
public static NcStreamProto.Data.Builder newBuilder(NcStreamProto.Data prototype)
-
toBuilder
public NcStreamProto.Data.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NcStreamProto.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NcStreamProto.Data getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NcStreamProto.Data> parser()
-
getParserForType
public com.google.protobuf.Parser<NcStreamProto.Data> 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.Data getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-