Class NetcdfVariable
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.climate.v1.NetcdfVariable
- All Implemented Interfaces:
NetcdfVariableOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class NetcdfVariable
extends com.google.protobuf.GeneratedMessage
implements NetcdfVariableOrBuilder
Represents a NetCDF variableProtobuf type
ai.pipestream.parsed.data.climate.v1.NetcdfVariable- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a NetCDF variableNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttributes(int index) Variable attributesintVariable attributesVariable attributesgetAttributesOrBuilder(int index) Variable attributesList<? extends NetcdfAttributeOrBuilder> Variable attributesCF standard name (if applicable)com.google.protobuf.ByteStringCF standard name (if applicable)Data type (e.g., "float", "double", "int", "char")com.google.protobuf.ByteStringData type (e.g., "float", "double", "int", "char")static NetcdfVariablestatic final com.google.protobuf.Descriptors.DescriptorgetDimensionNames(int index) Dimensions used by this variablecom.google.protobuf.ByteStringgetDimensionNamesBytes(int index) Dimensions used by this variableintDimensions used by this variablecom.google.protobuf.ProtocolStringListDimensions used by this variableLong descriptive namecom.google.protobuf.ByteStringLong descriptive namegetName()Variable nameFull name and dimensions (e.g., "float temp(time, lat, lon)")com.google.protobuf.ByteStringFull name and dimensions (e.g., "float temp(time, lat, lon)")com.google.protobuf.ByteStringVariable namecom.google.protobuf.Parser<NetcdfVariable> intgetUnits()Units of measurementcom.google.protobuf.ByteStringUnits of measurementValid range for the variableValid range for the variablebooleanCF standard name (if applicable)inthashCode()booleanLong descriptive namebooleanFull name and dimensions (e.g., "float temp(time, lat, lon)")booleanhasUnits()Units of measurementbooleanValid range for the variableprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic NetcdfVariable.Builderstatic NetcdfVariable.BuildernewBuilder(NetcdfVariable prototype) protected NetcdfVariable.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NetcdfVariableparseDelimitedFrom(InputStream input) static NetcdfVariableparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetcdfVariableparseFrom(byte[] data) static NetcdfVariableparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetcdfVariableparseFrom(com.google.protobuf.ByteString data) static NetcdfVariableparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetcdfVariableparseFrom(com.google.protobuf.CodedInputStream input) static NetcdfVariableparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetcdfVariableparseFrom(InputStream input) static NetcdfVariableparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetcdfVariableparseFrom(ByteBuffer data) static NetcdfVariableparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NetcdfVariable> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER- See Also:
-
DIMENSION_NAMES_FIELD_NUMBER
public static final int DIMENSION_NAMES_FIELD_NUMBER- See Also:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
NAME_AND_DIMENSIONS_FIELD_NUMBER
public static final int NAME_AND_DIMENSIONS_FIELD_NUMBER- See Also:
-
CF_STANDARD_NAME_FIELD_NUMBER
public static final int CF_STANDARD_NAME_FIELD_NUMBER- See Also:
-
LONG_NAME_FIELD_NUMBER
public static final int LONG_NAME_FIELD_NUMBER- See Also:
-
UNITS_FIELD_NUMBER
public static final int UNITS_FIELD_NUMBER- See Also:
-
VALID_RANGE_FIELD_NUMBER
public static final int VALID_RANGE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Variable name
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceNetcdfVariableOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Variable name
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceNetcdfVariableOrBuilder- Returns:
- The bytes for name.
-
getDataType
Data type (e.g., "float", "double", "int", "char")
string data_type = 2 [json_name = "dataType"];- Specified by:
getDataTypein interfaceNetcdfVariableOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()Data type (e.g., "float", "double", "int", "char")
string data_type = 2 [json_name = "dataType"];- Specified by:
getDataTypeBytesin interfaceNetcdfVariableOrBuilder- Returns:
- The bytes for dataType.
-
getDimensionNamesList
public com.google.protobuf.ProtocolStringList getDimensionNamesList()Dimensions used by this variable
repeated string dimension_names = 3 [json_name = "dimensionNames"];- Specified by:
getDimensionNamesListin interfaceNetcdfVariableOrBuilder- Returns:
- A list containing the dimensionNames.
-
getDimensionNamesCount
public int getDimensionNamesCount()Dimensions used by this variable
repeated string dimension_names = 3 [json_name = "dimensionNames"];- Specified by:
getDimensionNamesCountin interfaceNetcdfVariableOrBuilder- Returns:
- The count of dimensionNames.
-
getDimensionNames
Dimensions used by this variable
repeated string dimension_names = 3 [json_name = "dimensionNames"];- Specified by:
getDimensionNamesin interfaceNetcdfVariableOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dimensionNames at the given index.
-
getDimensionNamesBytes
public com.google.protobuf.ByteString getDimensionNamesBytes(int index) Dimensions used by this variable
repeated string dimension_names = 3 [json_name = "dimensionNames"];- Specified by:
getDimensionNamesBytesin interfaceNetcdfVariableOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dimensionNames at the given index.
-
getAttributesList
Variable attributes
repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];- Specified by:
getAttributesListin interfaceNetcdfVariableOrBuilder
-
getAttributesOrBuilderList
Variable attributes
repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];- Specified by:
getAttributesOrBuilderListin interfaceNetcdfVariableOrBuilder
-
getAttributesCount
public int getAttributesCount()Variable attributes
repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];- Specified by:
getAttributesCountin interfaceNetcdfVariableOrBuilder
-
getAttributes
Variable attributes
repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];- Specified by:
getAttributesin interfaceNetcdfVariableOrBuilder
-
getAttributesOrBuilder
Variable attributes
repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];- Specified by:
getAttributesOrBuilderin interfaceNetcdfVariableOrBuilder
-
hasNameAndDimensions
public boolean hasNameAndDimensions()Full name and dimensions (e.g., "float temp(time, lat, lon)")
optional string name_and_dimensions = 5 [json_name = "nameAndDimensions"];- Specified by:
hasNameAndDimensionsin interfaceNetcdfVariableOrBuilder- Returns:
- Whether the nameAndDimensions field is set.
-
getNameAndDimensions
Full name and dimensions (e.g., "float temp(time, lat, lon)")
optional string name_and_dimensions = 5 [json_name = "nameAndDimensions"];- Specified by:
getNameAndDimensionsin interfaceNetcdfVariableOrBuilder- Returns:
- The nameAndDimensions.
-
getNameAndDimensionsBytes
public com.google.protobuf.ByteString getNameAndDimensionsBytes()Full name and dimensions (e.g., "float temp(time, lat, lon)")
optional string name_and_dimensions = 5 [json_name = "nameAndDimensions"];- Specified by:
getNameAndDimensionsBytesin interfaceNetcdfVariableOrBuilder- Returns:
- The bytes for nameAndDimensions.
-
hasCfStandardName
public boolean hasCfStandardName()CF standard name (if applicable)
optional string cf_standard_name = 6 [json_name = "cfStandardName"];- Specified by:
hasCfStandardNamein interfaceNetcdfVariableOrBuilder- Returns:
- Whether the cfStandardName field is set.
-
getCfStandardName
CF standard name (if applicable)
optional string cf_standard_name = 6 [json_name = "cfStandardName"];- Specified by:
getCfStandardNamein interfaceNetcdfVariableOrBuilder- Returns:
- The cfStandardName.
-
getCfStandardNameBytes
public com.google.protobuf.ByteString getCfStandardNameBytes()CF standard name (if applicable)
optional string cf_standard_name = 6 [json_name = "cfStandardName"];- Specified by:
getCfStandardNameBytesin interfaceNetcdfVariableOrBuilder- Returns:
- The bytes for cfStandardName.
-
hasLongName
public boolean hasLongName()Long descriptive name
optional string long_name = 7 [json_name = "longName"];- Specified by:
hasLongNamein interfaceNetcdfVariableOrBuilder- Returns:
- Whether the longName field is set.
-
getLongName
Long descriptive name
optional string long_name = 7 [json_name = "longName"];- Specified by:
getLongNamein interfaceNetcdfVariableOrBuilder- Returns:
- The longName.
-
getLongNameBytes
public com.google.protobuf.ByteString getLongNameBytes()Long descriptive name
optional string long_name = 7 [json_name = "longName"];- Specified by:
getLongNameBytesin interfaceNetcdfVariableOrBuilder- Returns:
- The bytes for longName.
-
hasUnits
public boolean hasUnits()Units of measurement
optional string units = 8 [json_name = "units"];- Specified by:
hasUnitsin interfaceNetcdfVariableOrBuilder- Returns:
- Whether the units field is set.
-
getUnits
Units of measurement
optional string units = 8 [json_name = "units"];- Specified by:
getUnitsin interfaceNetcdfVariableOrBuilder- Returns:
- The units.
-
getUnitsBytes
public com.google.protobuf.ByteString getUnitsBytes()Units of measurement
optional string units = 8 [json_name = "units"];- Specified by:
getUnitsBytesin interfaceNetcdfVariableOrBuilder- Returns:
- The bytes for units.
-
hasValidRange
public boolean hasValidRange()Valid range for the variable
optional .ai.pipestream.parsed.data.climate.v1.NetcdfRange valid_range = 9 [json_name = "validRange"];- Specified by:
hasValidRangein interfaceNetcdfVariableOrBuilder- Returns:
- Whether the validRange field is set.
-
getValidRange
Valid range for the variable
optional .ai.pipestream.parsed.data.climate.v1.NetcdfRange valid_range = 9 [json_name = "validRange"];- Specified by:
getValidRangein interfaceNetcdfVariableOrBuilder- Returns:
- The validRange.
-
getValidRangeOrBuilder
Valid range for the variable
optional .ai.pipestream.parsed.data.climate.v1.NetcdfRange valid_range = 9 [json_name = "validRange"];- Specified by:
getValidRangeOrBuilderin interfaceNetcdfVariableOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 NetcdfVariable parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetcdfVariable parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetcdfVariable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetcdfVariable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetcdfVariable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetcdfVariable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NetcdfVariable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NetcdfVariable parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NetcdfVariable parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NetcdfVariable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetcdfVariable.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-