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 variable
 
Protobuf type ai.pipestream.parsed.data.climate.v1.NetcdfVariable
See Also:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Variable name
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface NetcdfVariableOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Variable name
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface NetcdfVariableOrBuilder
      Returns:
      The bytes for name.
    • getDataType

      public String getDataType()
       Data type (e.g., "float", "double", "int", "char")
       
      string data_type = 2 [json_name = "dataType"];
      Specified by:
      getDataType in interface NetcdfVariableOrBuilder
      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:
      getDataTypeBytes in interface NetcdfVariableOrBuilder
      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:
      getDimensionNamesList in interface NetcdfVariableOrBuilder
      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:
      getDimensionNamesCount in interface NetcdfVariableOrBuilder
      Returns:
      The count of dimensionNames.
    • getDimensionNames

      public String getDimensionNames(int index)
       Dimensions used by this variable
       
      repeated string dimension_names = 3 [json_name = "dimensionNames"];
      Specified by:
      getDimensionNames in interface NetcdfVariableOrBuilder
      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:
      getDimensionNamesBytes in interface NetcdfVariableOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dimensionNames at the given index.
    • getAttributesList

      public List<NetcdfAttribute> getAttributesList()
       Variable attributes
       
      repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];
      Specified by:
      getAttributesList in interface NetcdfVariableOrBuilder
    • getAttributesOrBuilderList

      public List<? extends NetcdfAttributeOrBuilder> getAttributesOrBuilderList()
       Variable attributes
       
      repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];
      Specified by:
      getAttributesOrBuilderList in interface NetcdfVariableOrBuilder
    • getAttributesCount

      public int getAttributesCount()
       Variable attributes
       
      repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];
      Specified by:
      getAttributesCount in interface NetcdfVariableOrBuilder
    • getAttributes

      public NetcdfAttribute getAttributes(int index)
       Variable attributes
       
      repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];
      Specified by:
      getAttributes in interface NetcdfVariableOrBuilder
    • getAttributesOrBuilder

      public NetcdfAttributeOrBuilder getAttributesOrBuilder(int index)
       Variable attributes
       
      repeated .ai.pipestream.parsed.data.climate.v1.NetcdfAttribute attributes = 4 [json_name = "attributes"];
      Specified by:
      getAttributesOrBuilder in interface NetcdfVariableOrBuilder
    • 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:
      hasNameAndDimensions in interface NetcdfVariableOrBuilder
      Returns:
      Whether the nameAndDimensions field is set.
    • getNameAndDimensions

      public String getNameAndDimensions()
       Full name and dimensions (e.g., "float temp(time, lat, lon)")
       
      optional string name_and_dimensions = 5 [json_name = "nameAndDimensions"];
      Specified by:
      getNameAndDimensions in interface NetcdfVariableOrBuilder
      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:
      getNameAndDimensionsBytes in interface NetcdfVariableOrBuilder
      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:
      hasCfStandardName in interface NetcdfVariableOrBuilder
      Returns:
      Whether the cfStandardName field is set.
    • getCfStandardName

      public String getCfStandardName()
       CF standard name (if applicable)
       
      optional string cf_standard_name = 6 [json_name = "cfStandardName"];
      Specified by:
      getCfStandardName in interface NetcdfVariableOrBuilder
      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:
      getCfStandardNameBytes in interface NetcdfVariableOrBuilder
      Returns:
      The bytes for cfStandardName.
    • hasLongName

      public boolean hasLongName()
       Long descriptive name
       
      optional string long_name = 7 [json_name = "longName"];
      Specified by:
      hasLongName in interface NetcdfVariableOrBuilder
      Returns:
      Whether the longName field is set.
    • getLongName

      public String getLongName()
       Long descriptive name
       
      optional string long_name = 7 [json_name = "longName"];
      Specified by:
      getLongName in interface NetcdfVariableOrBuilder
      Returns:
      The longName.
    • getLongNameBytes

      public com.google.protobuf.ByteString getLongNameBytes()
       Long descriptive name
       
      optional string long_name = 7 [json_name = "longName"];
      Specified by:
      getLongNameBytes in interface NetcdfVariableOrBuilder
      Returns:
      The bytes for longName.
    • hasUnits

      public boolean hasUnits()
       Units of measurement
       
      optional string units = 8 [json_name = "units"];
      Specified by:
      hasUnits in interface NetcdfVariableOrBuilder
      Returns:
      Whether the units field is set.
    • getUnits

      public String getUnits()
       Units of measurement
       
      optional string units = 8 [json_name = "units"];
      Specified by:
      getUnits in interface NetcdfVariableOrBuilder
      Returns:
      The units.
    • getUnitsBytes

      public com.google.protobuf.ByteString getUnitsBytes()
       Units of measurement
       
      optional string units = 8 [json_name = "units"];
      Specified by:
      getUnitsBytes in interface NetcdfVariableOrBuilder
      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:
      hasValidRange in interface NetcdfVariableOrBuilder
      Returns:
      Whether the validRange field is set.
    • getValidRange

      public NetcdfRange getValidRange()
       Valid range for the variable
       
      optional .ai.pipestream.parsed.data.climate.v1.NetcdfRange valid_range = 9 [json_name = "validRange"];
      Specified by:
      getValidRange in interface NetcdfVariableOrBuilder
      Returns:
      The validRange.
    • getValidRangeOrBuilder

      public NetcdfRangeOrBuilder getValidRangeOrBuilder()
       Valid range for the variable
       
      optional .ai.pipestream.parsed.data.climate.v1.NetcdfRange valid_range = 9 [json_name = "validRange"];
      Specified by:
      getValidRangeOrBuilder in interface NetcdfVariableOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static NetcdfVariable parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NetcdfVariable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NetcdfVariable parseDelimitedFrom(InputStream input) throws IOException
      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

      public NetcdfVariable.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NetcdfVariable.Builder newBuilder()
    • newBuilder

      public static NetcdfVariable.Builder newBuilder(NetcdfVariable prototype)
    • toBuilder

      public NetcdfVariable.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NetcdfVariable.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NetcdfVariable getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NetcdfVariable> parser()
    • getParserForType

      public com.google.protobuf.Parser<NetcdfVariable> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public NetcdfVariable getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder