Class LatLongRect.Builder

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

public static final class LatLongRect.Builder extends com.google.protobuf.GeneratedMessage.Builder<LatLongRect.Builder> implements LatLongRectOrBuilder
 Rectangle determined by min and max `LatLng` pairs.
 
Protobuf type google.cloud.vision.v1.LatLongRect
  • 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<LatLongRect.Builder>
    • clear

      public LatLongRect.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<LatLongRect.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<LatLongRect.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public LatLongRect.Builder mergeFrom(LatLongRect other)
    • isInitialized

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

      public LatLongRect.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<LatLongRect.Builder>
      Throws:
      IOException
    • hasMinLatLng

      public boolean hasMinLatLng()
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
      Specified by:
      hasMinLatLng in interface LatLongRectOrBuilder
      Returns:
      Whether the minLatLng field is set.
    • getMinLatLng

      public LatLng getMinLatLng()
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
      Specified by:
      getMinLatLng in interface LatLongRectOrBuilder
      Returns:
      The minLatLng.
    • setMinLatLng

      public LatLongRect.Builder setMinLatLng(LatLng value)
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
    • setMinLatLng

      public LatLongRect.Builder setMinLatLng(LatLng.Builder builderForValue)
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
    • mergeMinLatLng

      public LatLongRect.Builder mergeMinLatLng(LatLng value)
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
    • clearMinLatLng

      public LatLongRect.Builder clearMinLatLng()
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
    • getMinLatLngBuilder

      public LatLng.Builder getMinLatLngBuilder()
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
    • getMinLatLngOrBuilder

      public LatLngOrBuilder getMinLatLngOrBuilder()
       Min lat/long pair.
       
      .google.type.LatLng min_lat_lng = 1;
      Specified by:
      getMinLatLngOrBuilder in interface LatLongRectOrBuilder
    • hasMaxLatLng

      public boolean hasMaxLatLng()
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
      Specified by:
      hasMaxLatLng in interface LatLongRectOrBuilder
      Returns:
      Whether the maxLatLng field is set.
    • getMaxLatLng

      public LatLng getMaxLatLng()
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
      Specified by:
      getMaxLatLng in interface LatLongRectOrBuilder
      Returns:
      The maxLatLng.
    • setMaxLatLng

      public LatLongRect.Builder setMaxLatLng(LatLng value)
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
    • setMaxLatLng

      public LatLongRect.Builder setMaxLatLng(LatLng.Builder builderForValue)
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
    • mergeMaxLatLng

      public LatLongRect.Builder mergeMaxLatLng(LatLng value)
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
    • clearMaxLatLng

      public LatLongRect.Builder clearMaxLatLng()
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
    • getMaxLatLngBuilder

      public LatLng.Builder getMaxLatLngBuilder()
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
    • getMaxLatLngOrBuilder

      public LatLngOrBuilder getMaxLatLngOrBuilder()
       Max lat/long pair.
       
      .google.type.LatLng max_lat_lng = 2;
      Specified by:
      getMaxLatLngOrBuilder in interface LatLongRectOrBuilder