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 classNcStreamProto.Data.BigendPresentCasestatic classNcStreamProto.Data.BuilderProtobuf 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 intBIGEND_FIELD_NUMBERstatic intCOMPRESS_FIELD_NUMBERstatic intDATATYPE_FIELD_NUMBERstatic intSECTION_FIELD_NUMBERstatic intUNCOMPRESSEDSIZE_FIELD_NUMBERstatic intVARNAME_FIELD_NUMBERstatic intVDATA_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetBigend()[default=true] in proto2NcStreamProto.Data.BigendPresentCasegetBigendPresentCase()NcStreamProto.CompressgetCompress().Compress compress = 6;intgetCompressValue().Compress compress = 6;NcStreamProto.DataTypegetDataType().DataType dataType = 2;intgetDataTypeValue().DataType dataType = 2;static NcStreamProto.DatagetDefaultInstance()NcStreamProto.DatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<NcStreamProto.Data>getParserForType()NcStreamProto.SectiongetSection()not required for SEQUENCENcStreamProto.SectionOrBuildergetSectionOrBuilder()not required for SEQUENCEintgetSerializedSize()intgetUncompressedSize()uint32 uncompressedSize = 8;StringgetVarName()full escaped name.com.google.protobuf.ByteStringgetVarNameBytes()full escaped name.booleangetVdata()bool vdata = 7;intgetVersion()version=2 for proto2, >=3 for proto3 (v5.0+)booleanhasBigend()[default=true] in proto2inthashCode()booleanhasSection()not required for SEQUENCEprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NcStreamProto.Data.BuildernewBuilder()static NcStreamProto.Data.BuildernewBuilder(NcStreamProto.Data prototype)NcStreamProto.Data.BuildernewBuilderForType()protected NcStreamProto.Data.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NcStreamProto.DataparseDelimitedFrom(InputStream input)static NcStreamProto.DataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NcStreamProto.DataparseFrom(byte[] data)static NcStreamProto.DataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NcStreamProto.DataparseFrom(com.google.protobuf.ByteString data)static NcStreamProto.DataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NcStreamProto.DataparseFrom(com.google.protobuf.CodedInputStream input)static NcStreamProto.DataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NcStreamProto.DataparseFrom(InputStream input)static NcStreamProto.DataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NcStreamProto.DataparseFrom(ByteBuffer data)static NcStreamProto.DataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NcStreamProto.Data>parser()NcStreamProto.Data.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getBigendPresentCase
public NcStreamProto.Data.BigendPresentCase getBigendPresentCase()
- Specified by:
getBigendPresentCasein interfaceNcStreamProto.DataOrBuilder
-
getVarName
public String getVarName()
full escaped name.
string varName = 1;- Specified by:
getVarNamein interfaceNcStreamProto.DataOrBuilder- Returns:
- The varName.
-
getVarNameBytes
public com.google.protobuf.ByteString getVarNameBytes()
full escaped name.
string varName = 1;- Specified by:
getVarNameBytesin interfaceNcStreamProto.DataOrBuilder- Returns:
- The bytes for varName.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;- Specified by:
getDataTypeValuein interfaceNcStreamProto.DataOrBuilder- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
public NcStreamProto.DataType getDataType()
.DataType dataType = 2;- Specified by:
getDataTypein interfaceNcStreamProto.DataOrBuilder- Returns:
- The dataType.
-
hasSection
public boolean hasSection()
not required for SEQUENCE
.Section section = 3;- Specified by:
hasSectionin interfaceNcStreamProto.DataOrBuilder- Returns:
- Whether the section field is set.
-
getSection
public NcStreamProto.Section getSection()
not required for SEQUENCE
.Section section = 3;- Specified by:
getSectionin interfaceNcStreamProto.DataOrBuilder- Returns:
- The section.
-
getSectionOrBuilder
public NcStreamProto.SectionOrBuilder getSectionOrBuilder()
not required for SEQUENCE
.Section section = 3;- Specified by:
getSectionOrBuilderin interfaceNcStreamProto.DataOrBuilder
-
hasBigend
public boolean hasBigend()
[default=true] in proto2
bool bigend = 4;- Specified by:
hasBigendin interfaceNcStreamProto.DataOrBuilder- Returns:
- Whether the bigend field is set.
-
getBigend
public boolean getBigend()
[default=true] in proto2
bool bigend = 4;- Specified by:
getBigendin interfaceNcStreamProto.DataOrBuilder- Returns:
- The bigend.
-
getVersion
public int getVersion()
version=2 for proto2, >=3 for proto3 (v5.0+)
uint32 version = 5;- Specified by:
getVersionin interfaceNcStreamProto.DataOrBuilder- Returns:
- The version.
-
getCompressValue
public int getCompressValue()
.Compress compress = 6;- Specified by:
getCompressValuein interfaceNcStreamProto.DataOrBuilder- Returns:
- The enum numeric value on the wire for compress.
-
getCompress
public NcStreamProto.Compress getCompress()
.Compress compress = 6;- Specified by:
getCompressin interfaceNcStreamProto.DataOrBuilder- Returns:
- The compress.
-
getVdata
public boolean getVdata()
bool vdata = 7;- Specified by:
getVdatain interfaceNcStreamProto.DataOrBuilder- Returns:
- The vdata.
-
getUncompressedSize
public int getUncompressedSize()
uint32 uncompressedSize = 8;- Specified by:
getUncompressedSizein interfaceNcStreamProto.DataOrBuilder- Returns:
- The uncompressedSize.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NcStreamProto.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NcStreamProto.Data getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-