Class LocationInfo.Builder

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

public static final class LocationInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<LocationInfo.Builder> implements LocationInfoOrBuilder
 Location information with precise semantics.
 
Protobuf type ai.pipestream.parsed.data.image.v1.LocationInfo
  • 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<LocationInfo.Builder>
    • clear

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

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

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

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

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

      public LocationInfo.Builder mergeFrom(LocationInfo other)
    • isInitialized

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

      public LocationInfo.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<LocationInfo.Builder>
      Throws:
      IOException
    • hasWorldRegion

      public boolean hasWorldRegion()
       World region at top level of hierarchy.
       
      optional string world_region = 1 [json_name = "worldRegion"];
      Specified by:
      hasWorldRegion in interface LocationInfoOrBuilder
      Returns:
      Whether the worldRegion field is set.
    • getWorldRegion

      public String getWorldRegion()
       World region at top level of hierarchy.
       
      optional string world_region = 1 [json_name = "worldRegion"];
      Specified by:
      getWorldRegion in interface LocationInfoOrBuilder
      Returns:
      The worldRegion.
    • getWorldRegionBytes

      public com.google.protobuf.ByteString getWorldRegionBytes()
       World region at top level of hierarchy.
       
      optional string world_region = 1 [json_name = "worldRegion"];
      Specified by:
      getWorldRegionBytes in interface LocationInfoOrBuilder
      Returns:
      The bytes for worldRegion.
    • setWorldRegion

      public LocationInfo.Builder setWorldRegion(String value)
       World region at top level of hierarchy.
       
      optional string world_region = 1 [json_name = "worldRegion"];
      Parameters:
      value - The worldRegion to set.
      Returns:
      This builder for chaining.
    • clearWorldRegion

      public LocationInfo.Builder clearWorldRegion()
       World region at top level of hierarchy.
       
      optional string world_region = 1 [json_name = "worldRegion"];
      Returns:
      This builder for chaining.
    • setWorldRegionBytes

      public LocationInfo.Builder setWorldRegionBytes(com.google.protobuf.ByteString value)
       World region at top level of hierarchy.
       
      optional string world_region = 1 [json_name = "worldRegion"];
      Parameters:
      value - The bytes for worldRegion to set.
      Returns:
      This builder for chaining.
    • hasCountryName

      public boolean hasCountryName()
       Full country name.
       
      optional string country_name = 2 [json_name = "countryName"];
      Specified by:
      hasCountryName in interface LocationInfoOrBuilder
      Returns:
      Whether the countryName field is set.
    • getCountryName

      public String getCountryName()
       Full country name.
       
      optional string country_name = 2 [json_name = "countryName"];
      Specified by:
      getCountryName in interface LocationInfoOrBuilder
      Returns:
      The countryName.
    • getCountryNameBytes

      public com.google.protobuf.ByteString getCountryNameBytes()
       Full country name.
       
      optional string country_name = 2 [json_name = "countryName"];
      Specified by:
      getCountryNameBytes in interface LocationInfoOrBuilder
      Returns:
      The bytes for countryName.
    • setCountryName

      public LocationInfo.Builder setCountryName(String value)
       Full country name.
       
      optional string country_name = 2 [json_name = "countryName"];
      Parameters:
      value - The countryName to set.
      Returns:
      This builder for chaining.
    • clearCountryName

      public LocationInfo.Builder clearCountryName()
       Full country name.
       
      optional string country_name = 2 [json_name = "countryName"];
      Returns:
      This builder for chaining.
    • setCountryNameBytes

      public LocationInfo.Builder setCountryNameBytes(com.google.protobuf.ByteString value)
       Full country name.
       
      optional string country_name = 2 [json_name = "countryName"];
      Parameters:
      value - The bytes for countryName to set.
      Returns:
      This builder for chaining.
    • hasCountryCode

      public boolean hasCountryCode()
       ISO country code.
       
      optional string country_code = 3 [json_name = "countryCode"];
      Specified by:
      hasCountryCode in interface LocationInfoOrBuilder
      Returns:
      Whether the countryCode field is set.
    • getCountryCode

      public String getCountryCode()
       ISO country code.
       
      optional string country_code = 3 [json_name = "countryCode"];
      Specified by:
      getCountryCode in interface LocationInfoOrBuilder
      Returns:
      The countryCode.
    • getCountryCodeBytes

      public com.google.protobuf.ByteString getCountryCodeBytes()
       ISO country code.
       
      optional string country_code = 3 [json_name = "countryCode"];
      Specified by:
      getCountryCodeBytes in interface LocationInfoOrBuilder
      Returns:
      The bytes for countryCode.
    • setCountryCode

      public LocationInfo.Builder setCountryCode(String value)
       ISO country code.
       
      optional string country_code = 3 [json_name = "countryCode"];
      Parameters:
      value - The countryCode to set.
      Returns:
      This builder for chaining.
    • clearCountryCode

      public LocationInfo.Builder clearCountryCode()
       ISO country code.
       
      optional string country_code = 3 [json_name = "countryCode"];
      Returns:
      This builder for chaining.
    • setCountryCodeBytes

      public LocationInfo.Builder setCountryCodeBytes(com.google.protobuf.ByteString value)
       ISO country code.
       
      optional string country_code = 3 [json_name = "countryCode"];
      Parameters:
      value - The bytes for countryCode to set.
      Returns:
      This builder for chaining.
    • hasProvinceState

      public boolean hasProvinceState()
       Province or state name.
       
      optional string province_state = 4 [json_name = "provinceState"];
      Specified by:
      hasProvinceState in interface LocationInfoOrBuilder
      Returns:
      Whether the provinceState field is set.
    • getProvinceState

      public String getProvinceState()
       Province or state name.
       
      optional string province_state = 4 [json_name = "provinceState"];
      Specified by:
      getProvinceState in interface LocationInfoOrBuilder
      Returns:
      The provinceState.
    • getProvinceStateBytes

      public com.google.protobuf.ByteString getProvinceStateBytes()
       Province or state name.
       
      optional string province_state = 4 [json_name = "provinceState"];
      Specified by:
      getProvinceStateBytes in interface LocationInfoOrBuilder
      Returns:
      The bytes for provinceState.
    • setProvinceState

      public LocationInfo.Builder setProvinceState(String value)
       Province or state name.
       
      optional string province_state = 4 [json_name = "provinceState"];
      Parameters:
      value - The provinceState to set.
      Returns:
      This builder for chaining.
    • clearProvinceState

      public LocationInfo.Builder clearProvinceState()
       Province or state name.
       
      optional string province_state = 4 [json_name = "provinceState"];
      Returns:
      This builder for chaining.
    • setProvinceStateBytes

      public LocationInfo.Builder setProvinceStateBytes(com.google.protobuf.ByteString value)
       Province or state name.
       
      optional string province_state = 4 [json_name = "provinceState"];
      Parameters:
      value - The bytes for provinceState to set.
      Returns:
      This builder for chaining.
    • hasCity

      public boolean hasCity()
       City name.
       
      optional string city = 5 [json_name = "city"];
      Specified by:
      hasCity in interface LocationInfoOrBuilder
      Returns:
      Whether the city field is set.
    • getCity

      public String getCity()
       City name.
       
      optional string city = 5 [json_name = "city"];
      Specified by:
      getCity in interface LocationInfoOrBuilder
      Returns:
      The city.
    • getCityBytes

      public com.google.protobuf.ByteString getCityBytes()
       City name.
       
      optional string city = 5 [json_name = "city"];
      Specified by:
      getCityBytes in interface LocationInfoOrBuilder
      Returns:
      The bytes for city.
    • setCity

      public LocationInfo.Builder setCity(String value)
       City name.
       
      optional string city = 5 [json_name = "city"];
      Parameters:
      value - The city to set.
      Returns:
      This builder for chaining.
    • clearCity

      public LocationInfo.Builder clearCity()
       City name.
       
      optional string city = 5 [json_name = "city"];
      Returns:
      This builder for chaining.
    • setCityBytes

      public LocationInfo.Builder setCityBytes(com.google.protobuf.ByteString value)
       City name.
       
      optional string city = 5 [json_name = "city"];
      Parameters:
      value - The bytes for city to set.
      Returns:
      This builder for chaining.
    • hasSublocation

      public boolean hasSublocation()
       Specific sublocation within city.
       
      optional string sublocation = 6 [json_name = "sublocation"];
      Specified by:
      hasSublocation in interface LocationInfoOrBuilder
      Returns:
      Whether the sublocation field is set.
    • getSublocation

      public String getSublocation()
       Specific sublocation within city.
       
      optional string sublocation = 6 [json_name = "sublocation"];
      Specified by:
      getSublocation in interface LocationInfoOrBuilder
      Returns:
      The sublocation.
    • getSublocationBytes

      public com.google.protobuf.ByteString getSublocationBytes()
       Specific sublocation within city.
       
      optional string sublocation = 6 [json_name = "sublocation"];
      Specified by:
      getSublocationBytes in interface LocationInfoOrBuilder
      Returns:
      The bytes for sublocation.
    • setSublocation

      public LocationInfo.Builder setSublocation(String value)
       Specific sublocation within city.
       
      optional string sublocation = 6 [json_name = "sublocation"];
      Parameters:
      value - The sublocation to set.
      Returns:
      This builder for chaining.
    • clearSublocation

      public LocationInfo.Builder clearSublocation()
       Specific sublocation within city.
       
      optional string sublocation = 6 [json_name = "sublocation"];
      Returns:
      This builder for chaining.
    • setSublocationBytes

      public LocationInfo.Builder setSublocationBytes(com.google.protobuf.ByteString value)
       Specific sublocation within city.
       
      optional string sublocation = 6 [json_name = "sublocation"];
      Parameters:
      value - The bytes for sublocation to set.
      Returns:
      This builder for chaining.
    • hasLatitude

      public boolean hasLatitude()
       GPS latitude in decimal degrees.
       
      optional double latitude = 7 [json_name = "latitude"];
      Specified by:
      hasLatitude in interface LocationInfoOrBuilder
      Returns:
      Whether the latitude field is set.
    • getLatitude

      public double getLatitude()
       GPS latitude in decimal degrees.
       
      optional double latitude = 7 [json_name = "latitude"];
      Specified by:
      getLatitude in interface LocationInfoOrBuilder
      Returns:
      The latitude.
    • setLatitude

      public LocationInfo.Builder setLatitude(double value)
       GPS latitude in decimal degrees.
       
      optional double latitude = 7 [json_name = "latitude"];
      Parameters:
      value - The latitude to set.
      Returns:
      This builder for chaining.
    • clearLatitude

      public LocationInfo.Builder clearLatitude()
       GPS latitude in decimal degrees.
       
      optional double latitude = 7 [json_name = "latitude"];
      Returns:
      This builder for chaining.
    • hasLongitude

      public boolean hasLongitude()
       GPS longitude in decimal degrees.
       
      optional double longitude = 8 [json_name = "longitude"];
      Specified by:
      hasLongitude in interface LocationInfoOrBuilder
      Returns:
      Whether the longitude field is set.
    • getLongitude

      public double getLongitude()
       GPS longitude in decimal degrees.
       
      optional double longitude = 8 [json_name = "longitude"];
      Specified by:
      getLongitude in interface LocationInfoOrBuilder
      Returns:
      The longitude.
    • setLongitude

      public LocationInfo.Builder setLongitude(double value)
       GPS longitude in decimal degrees.
       
      optional double longitude = 8 [json_name = "longitude"];
      Parameters:
      value - The longitude to set.
      Returns:
      This builder for chaining.
    • clearLongitude

      public LocationInfo.Builder clearLongitude()
       GPS longitude in decimal degrees.
       
      optional double longitude = 8 [json_name = "longitude"];
      Returns:
      This builder for chaining.