Class CfCoordinateSystem.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CfCoordinateSystem.Builder>
com.google.protobuf.GeneratedMessage.Builder<CfCoordinateSystem.Builder>
ai.pipestream.parsed.data.climate.v1.CfCoordinateSystem.Builder
All Implemented Interfaces:
CfCoordinateSystemOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CfCoordinateSystem

public static final class CfCoordinateSystem.Builder extends com.google.protobuf.GeneratedMessage.Builder<CfCoordinateSystem.Builder> implements CfCoordinateSystemOrBuilder
 Represents a CF coordinate system
 
Protobuf type ai.pipestream.parsed.data.climate.v1.CfCoordinateSystem
  • 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.Builder<CfCoordinateSystem.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CfCoordinateSystem.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CfCoordinateSystem.Builder>
    • getDefaultInstanceForType

      public CfCoordinateSystem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CfCoordinateSystem build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CfCoordinateSystem buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CfCoordinateSystem.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CfCoordinateSystem.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CfCoordinateSystem.Builder>
    • mergeFrom

      public CfCoordinateSystem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CfCoordinateSystem.Builder>
      Throws:
      IOException
    • getName

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

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

      public CfCoordinateSystem.Builder setName(String value)
       Coordinate system name
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public CfCoordinateSystem.Builder clearName()
       Coordinate system name
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public CfCoordinateSystem.Builder setNameBytes(com.google.protobuf.ByteString value)
       Coordinate system name
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getCoordinateVariablesList

      public com.google.protobuf.ProtocolStringList getCoordinateVariablesList()
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Specified by:
      getCoordinateVariablesList in interface CfCoordinateSystemOrBuilder
      Returns:
      A list containing the coordinateVariables.
    • getCoordinateVariablesCount

      public int getCoordinateVariablesCount()
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Specified by:
      getCoordinateVariablesCount in interface CfCoordinateSystemOrBuilder
      Returns:
      The count of coordinateVariables.
    • getCoordinateVariables

      public String getCoordinateVariables(int index)
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Specified by:
      getCoordinateVariables in interface CfCoordinateSystemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The coordinateVariables at the given index.
    • getCoordinateVariablesBytes

      public com.google.protobuf.ByteString getCoordinateVariablesBytes(int index)
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Specified by:
      getCoordinateVariablesBytes in interface CfCoordinateSystemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the coordinateVariables at the given index.
    • setCoordinateVariables

      public CfCoordinateSystem.Builder setCoordinateVariables(int index, String value)
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Parameters:
      index - The index to set the value at.
      value - The coordinateVariables to set.
      Returns:
      This builder for chaining.
    • addCoordinateVariables

      public CfCoordinateSystem.Builder addCoordinateVariables(String value)
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Parameters:
      value - The coordinateVariables to add.
      Returns:
      This builder for chaining.
    • addAllCoordinateVariables

      public CfCoordinateSystem.Builder addAllCoordinateVariables(Iterable<String> values)
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Parameters:
      values - The coordinateVariables to add.
      Returns:
      This builder for chaining.
    • clearCoordinateVariables

      public CfCoordinateSystem.Builder clearCoordinateVariables()
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Returns:
      This builder for chaining.
    • addCoordinateVariablesBytes

      public CfCoordinateSystem.Builder addCoordinateVariablesBytes(com.google.protobuf.ByteString value)
       Coordinate variables (e.g., lat, lon, time, pressure)
       
      repeated string coordinate_variables = 2 [json_name = "coordinateVariables"];
      Parameters:
      value - The bytes of the coordinateVariables to add.
      Returns:
      This builder for chaining.
    • hasCoordinateSystemType

      public boolean hasCoordinateSystemType()
       Coordinate system type (e.g., "geographic", "projected")
       
      optional string coordinate_system_type = 3 [json_name = "coordinateSystemType"];
      Specified by:
      hasCoordinateSystemType in interface CfCoordinateSystemOrBuilder
      Returns:
      Whether the coordinateSystemType field is set.
    • getCoordinateSystemType

      public String getCoordinateSystemType()
       Coordinate system type (e.g., "geographic", "projected")
       
      optional string coordinate_system_type = 3 [json_name = "coordinateSystemType"];
      Specified by:
      getCoordinateSystemType in interface CfCoordinateSystemOrBuilder
      Returns:
      The coordinateSystemType.
    • getCoordinateSystemTypeBytes

      public com.google.protobuf.ByteString getCoordinateSystemTypeBytes()
       Coordinate system type (e.g., "geographic", "projected")
       
      optional string coordinate_system_type = 3 [json_name = "coordinateSystemType"];
      Specified by:
      getCoordinateSystemTypeBytes in interface CfCoordinateSystemOrBuilder
      Returns:
      The bytes for coordinateSystemType.
    • setCoordinateSystemType

      public CfCoordinateSystem.Builder setCoordinateSystemType(String value)
       Coordinate system type (e.g., "geographic", "projected")
       
      optional string coordinate_system_type = 3 [json_name = "coordinateSystemType"];
      Parameters:
      value - The coordinateSystemType to set.
      Returns:
      This builder for chaining.
    • clearCoordinateSystemType

      public CfCoordinateSystem.Builder clearCoordinateSystemType()
       Coordinate system type (e.g., "geographic", "projected")
       
      optional string coordinate_system_type = 3 [json_name = "coordinateSystemType"];
      Returns:
      This builder for chaining.
    • setCoordinateSystemTypeBytes

      public CfCoordinateSystem.Builder setCoordinateSystemTypeBytes(com.google.protobuf.ByteString value)
       Coordinate system type (e.g., "geographic", "projected")
       
      optional string coordinate_system_type = 3 [json_name = "coordinateSystemType"];
      Parameters:
      value - The bytes for coordinateSystemType to set.
      Returns:
      This builder for chaining.
    • hasProjection

      public boolean hasProjection()
       Projection information (if applicable)
       
      optional string projection = 4 [json_name = "projection"];
      Specified by:
      hasProjection in interface CfCoordinateSystemOrBuilder
      Returns:
      Whether the projection field is set.
    • getProjection

      public String getProjection()
       Projection information (if applicable)
       
      optional string projection = 4 [json_name = "projection"];
      Specified by:
      getProjection in interface CfCoordinateSystemOrBuilder
      Returns:
      The projection.
    • getProjectionBytes

      public com.google.protobuf.ByteString getProjectionBytes()
       Projection information (if applicable)
       
      optional string projection = 4 [json_name = "projection"];
      Specified by:
      getProjectionBytes in interface CfCoordinateSystemOrBuilder
      Returns:
      The bytes for projection.
    • setProjection

      public CfCoordinateSystem.Builder setProjection(String value)
       Projection information (if applicable)
       
      optional string projection = 4 [json_name = "projection"];
      Parameters:
      value - The projection to set.
      Returns:
      This builder for chaining.
    • clearProjection

      public CfCoordinateSystem.Builder clearProjection()
       Projection information (if applicable)
       
      optional string projection = 4 [json_name = "projection"];
      Returns:
      This builder for chaining.
    • setProjectionBytes

      public CfCoordinateSystem.Builder setProjectionBytes(com.google.protobuf.ByteString value)
       Projection information (if applicable)
       
      optional string projection = 4 [json_name = "projection"];
      Parameters:
      value - The bytes for projection to set.
      Returns:
      This builder for chaining.