Class Partition.SpatialPartition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Partition.SpatialPartition.Builder>
com.google.cloud.visionai.v1.Partition.SpatialPartition.Builder
All Implemented Interfaces:
Partition.SpatialPartitionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Partition.SpatialPartition

public static final class Partition.SpatialPartition.Builder extends com.google.protobuf.GeneratedMessage.Builder<Partition.SpatialPartition.Builder> implements Partition.SpatialPartitionOrBuilder
 Partition of asset in space.
 
Protobuf type google.cloud.visionai.v1.Partition.SpatialPartition
  • 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<Partition.SpatialPartition.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<Partition.SpatialPartition.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<Partition.SpatialPartition.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Partition.SpatialPartition.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<Partition.SpatialPartition.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<Partition.SpatialPartition.Builder>
    • mergeFrom

      public Partition.SpatialPartition.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<Partition.SpatialPartition.Builder>
      Throws:
      IOException
    • hasXMin

      public boolean hasXMin()
       The minimum x coordinate value.
       
      optional int64 x_min = 1;
      Specified by:
      hasXMin in interface Partition.SpatialPartitionOrBuilder
      Returns:
      Whether the xMin field is set.
    • getXMin

      public long getXMin()
       The minimum x coordinate value.
       
      optional int64 x_min = 1;
      Specified by:
      getXMin in interface Partition.SpatialPartitionOrBuilder
      Returns:
      The xMin.
    • setXMin

      public Partition.SpatialPartition.Builder setXMin(long value)
       The minimum x coordinate value.
       
      optional int64 x_min = 1;
      Parameters:
      value - The xMin to set.
      Returns:
      This builder for chaining.
    • clearXMin

       The minimum x coordinate value.
       
      optional int64 x_min = 1;
      Returns:
      This builder for chaining.
    • hasYMin

      public boolean hasYMin()
       The minimum y coordinate value.
       
      optional int64 y_min = 2;
      Specified by:
      hasYMin in interface Partition.SpatialPartitionOrBuilder
      Returns:
      Whether the yMin field is set.
    • getYMin

      public long getYMin()
       The minimum y coordinate value.
       
      optional int64 y_min = 2;
      Specified by:
      getYMin in interface Partition.SpatialPartitionOrBuilder
      Returns:
      The yMin.
    • setYMin

      public Partition.SpatialPartition.Builder setYMin(long value)
       The minimum y coordinate value.
       
      optional int64 y_min = 2;
      Parameters:
      value - The yMin to set.
      Returns:
      This builder for chaining.
    • clearYMin

       The minimum y coordinate value.
       
      optional int64 y_min = 2;
      Returns:
      This builder for chaining.
    • hasXMax

      public boolean hasXMax()
       The maximum x coordinate value.
       
      optional int64 x_max = 3;
      Specified by:
      hasXMax in interface Partition.SpatialPartitionOrBuilder
      Returns:
      Whether the xMax field is set.
    • getXMax

      public long getXMax()
       The maximum x coordinate value.
       
      optional int64 x_max = 3;
      Specified by:
      getXMax in interface Partition.SpatialPartitionOrBuilder
      Returns:
      The xMax.
    • setXMax

      public Partition.SpatialPartition.Builder setXMax(long value)
       The maximum x coordinate value.
       
      optional int64 x_max = 3;
      Parameters:
      value - The xMax to set.
      Returns:
      This builder for chaining.
    • clearXMax

       The maximum x coordinate value.
       
      optional int64 x_max = 3;
      Returns:
      This builder for chaining.
    • hasYMax

      public boolean hasYMax()
       The maximum y coordinate value.
       
      optional int64 y_max = 4;
      Specified by:
      hasYMax in interface Partition.SpatialPartitionOrBuilder
      Returns:
      Whether the yMax field is set.
    • getYMax

      public long getYMax()
       The maximum y coordinate value.
       
      optional int64 y_max = 4;
      Specified by:
      getYMax in interface Partition.SpatialPartitionOrBuilder
      Returns:
      The yMax.
    • setYMax

      public Partition.SpatialPartition.Builder setYMax(long value)
       The maximum y coordinate value.
       
      optional int64 y_max = 4;
      Parameters:
      value - The yMax to set.
      Returns:
      This builder for chaining.
    • clearYMax

       The maximum y coordinate value.
       
      optional int64 y_max = 4;
      Returns:
      This builder for chaining.