Package ucar.gcdm
Class GcdmNetcdfProto.Variable
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ucar.gcdm.GcdmNetcdfProto.Variable
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,GcdmNetcdfProto.VariableOrBuilder
- Enclosing class:
- GcdmNetcdfProto
public static final class GcdmNetcdfProto.Variable extends com.google.protobuf.GeneratedMessageV3 implements GcdmNetcdfProto.VariableOrBuilder
Protobuf typeucar.gcdm.Variable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GcdmNetcdfProto.Variable.Builder
Protobuf typeucar.gcdm.Variable
-
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
ATTRIBUTES_FIELD_NUMBER
static int
DATA_FIELD_NUMBER
static int
DATA_TYPE_FIELD_NUMBER
static int
ENUM_TYPE_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SHAPES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
GcdmNetcdfProto.Attribute
getAttributes(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
int
getAttributesCount()
repeated .ucar.gcdm.Attribute attributes = 4;
List<GcdmNetcdfProto.Attribute>
getAttributesList()
repeated .ucar.gcdm.Attribute attributes = 4;
GcdmNetcdfProto.AttributeOrBuilder
getAttributesOrBuilder(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
List<? extends GcdmNetcdfProto.AttributeOrBuilder>
getAttributesOrBuilderList()
repeated .ucar.gcdm.Attribute attributes = 4;
GcdmNetcdfProto.Data
getData()
"immediate" - store small data in headerGcdmNetcdfProto.DataOrBuilder
getDataOrBuilder()
"immediate" - store small data in headerGcdmNetcdfProto.DataType
getDataType()
.ucar.gcdm.DataType data_type = 2;
int
getDataTypeValue()
.ucar.gcdm.DataType data_type = 2;
static GcdmNetcdfProto.Variable
getDefaultInstance()
GcdmNetcdfProto.Variable
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEnumType()
EnumTypedef name, only for enum typescom.google.protobuf.ByteString
getEnumTypeBytes()
EnumTypedef name, only for enum typesString
getName()
short namecom.google.protobuf.ByteString
getNameBytes()
short namecom.google.protobuf.Parser<GcdmNetcdfProto.Variable>
getParserForType()
int
getSerializedSize()
GcdmNetcdfProto.Dimension
getShapes(int index)
actual dimension instead of referenceint
getShapesCount()
actual dimension instead of referenceList<GcdmNetcdfProto.Dimension>
getShapesList()
actual dimension instead of referenceGcdmNetcdfProto.DimensionOrBuilder
getShapesOrBuilder(int index)
actual dimension instead of referenceList<? extends GcdmNetcdfProto.DimensionOrBuilder>
getShapesOrBuilderList()
actual dimension instead of referenceboolean
hasData()
"immediate" - store small data in headerint
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static GcdmNetcdfProto.Variable.Builder
newBuilder()
static GcdmNetcdfProto.Variable.Builder
newBuilder(GcdmNetcdfProto.Variable prototype)
GcdmNetcdfProto.Variable.Builder
newBuilderForType()
protected GcdmNetcdfProto.Variable.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GcdmNetcdfProto.Variable
parseDelimitedFrom(InputStream input)
static GcdmNetcdfProto.Variable
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcdmNetcdfProto.Variable
parseFrom(byte[] data)
static GcdmNetcdfProto.Variable
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcdmNetcdfProto.Variable
parseFrom(com.google.protobuf.ByteString data)
static GcdmNetcdfProto.Variable
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcdmNetcdfProto.Variable
parseFrom(com.google.protobuf.CodedInputStream input)
static GcdmNetcdfProto.Variable
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcdmNetcdfProto.Variable
parseFrom(InputStream input)
static GcdmNetcdfProto.Variable
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GcdmNetcdfProto.Variable
parseFrom(ByteBuffer data)
static GcdmNetcdfProto.Variable
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GcdmNetcdfProto.Variable>
parser()
GcdmNetcdfProto.Variable.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHAPES_FIELD_NUMBER
public static final int SHAPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_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
-
getName
public String getName()
short name
string name = 1;
- Specified by:
getName
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
short name
string name = 1;
- Specified by:
getNameBytes
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- The bytes for name.
-
getDataTypeValue
public int getDataTypeValue()
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataTypeValue
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
public GcdmNetcdfProto.DataType getDataType()
.ucar.gcdm.DataType data_type = 2;
- Specified by:
getDataType
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- The dataType.
-
getShapesList
public List<GcdmNetcdfProto.Dimension> getShapesList()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesList
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getShapesOrBuilderList
public List<? extends GcdmNetcdfProto.DimensionOrBuilder> getShapesOrBuilderList()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesOrBuilderList
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getShapesCount
public int getShapesCount()
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesCount
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getShapes
public GcdmNetcdfProto.Dimension getShapes(int index)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapes
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getShapesOrBuilder
public GcdmNetcdfProto.DimensionOrBuilder getShapesOrBuilder(int index)
actual dimension instead of reference
repeated .ucar.gcdm.Dimension shapes = 3;
- Specified by:
getShapesOrBuilder
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getAttributesList
public List<GcdmNetcdfProto.Attribute> getAttributesList()
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesList
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getAttributesOrBuilderList
public List<? extends GcdmNetcdfProto.AttributeOrBuilder> getAttributesOrBuilderList()
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesOrBuilderList
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getAttributesCount
public int getAttributesCount()
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesCount
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getAttributes
public GcdmNetcdfProto.Attribute getAttributes(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributes
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getAttributesOrBuilder
public GcdmNetcdfProto.AttributeOrBuilder getAttributesOrBuilder(int index)
repeated .ucar.gcdm.Attribute attributes = 4;
- Specified by:
getAttributesOrBuilder
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
getEnumType
public String getEnumType()
EnumTypedef name, only for enum types
string enum_type = 5;
- Specified by:
getEnumType
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- The enumType.
-
getEnumTypeBytes
public com.google.protobuf.ByteString getEnumTypeBytes()
EnumTypedef name, only for enum types
string enum_type = 5;
- Specified by:
getEnumTypeBytes
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- The bytes for enumType.
-
hasData
public boolean hasData()
"immediate" - store small data in header
.ucar.gcdm.Data data = 6;
- Specified by:
hasData
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public GcdmNetcdfProto.Data getData()
"immediate" - store small data in header
.ucar.gcdm.Data data = 6;
- Specified by:
getData
in interfaceGcdmNetcdfProto.VariableOrBuilder
- Returns:
- The data.
-
getDataOrBuilder
public GcdmNetcdfProto.DataOrBuilder getDataOrBuilder()
"immediate" - store small data in header
.ucar.gcdm.Data data = 6;
- Specified by:
getDataOrBuilder
in interfaceGcdmNetcdfProto.VariableOrBuilder
-
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 GcdmNetcdfProto.Variable parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcdmNetcdfProto.Variable parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GcdmNetcdfProto.Variable parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GcdmNetcdfProto.Variable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GcdmNetcdfProto.Variable.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GcdmNetcdfProto.Variable.Builder newBuilder()
-
newBuilder
public static GcdmNetcdfProto.Variable.Builder newBuilder(GcdmNetcdfProto.Variable prototype)
-
toBuilder
public GcdmNetcdfProto.Variable.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GcdmNetcdfProto.Variable.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GcdmNetcdfProto.Variable getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GcdmNetcdfProto.Variable> parser()
-
getParserForType
public com.google.protobuf.Parser<GcdmNetcdfProto.Variable> 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 GcdmNetcdfProto.Variable getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-