Class PerStoreView.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
com.google.ads.googleads.v23.resources.PerStoreView.Builder
All Implemented Interfaces:
PerStoreViewOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PerStoreView

public static final class PerStoreView.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder> implements PerStoreViewOrBuilder
 A per store view.
 This view provides per store impression reach and local action conversion
 stats for advertisers.
 
Protobuf type google.ads.googleads.v23.resources.PerStoreView
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • clear

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

      public PerStoreView getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public PerStoreView.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • setField

      public PerStoreView.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • clearField

      public PerStoreView.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • clearOneof

      public PerStoreView.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • setRepeatedField

      public PerStoreView.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • addRepeatedField

      public PerStoreView.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • mergeFrom

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

      public PerStoreView.Builder mergeFrom(PerStoreView other)
    • isInitialized

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

      public PerStoreView.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<PerStoreView.Builder>
      Throws:
      IOException
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the per store view.
       Per Store view resource names have the form:
      
       `customers/{customer_id}/perStoreViews/{place_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface PerStoreViewOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the per store view.
       Per Store view resource names have the form:
      
       `customers/{customer_id}/perStoreViews/{place_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public PerStoreView.Builder setResourceName(String value)
       Output only. The resource name of the per store view.
       Per Store view resource names have the form:
      
       `customers/{customer_id}/perStoreViews/{place_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public PerStoreView.Builder clearResourceName()
       Output only. The resource name of the per store view.
       Per Store view resource names have the form:
      
       `customers/{customer_id}/perStoreViews/{place_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public PerStoreView.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the per store view.
       Per Store view resource names have the form:
      
       `customers/{customer_id}/perStoreViews/{place_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • getPlaceId

      public String getPlaceId()
       Output only. The place ID of the per store view.
       
      string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPlaceId in interface PerStoreViewOrBuilder
      Returns:
      The placeId.
    • getPlaceIdBytes

      public com.google.protobuf.ByteString getPlaceIdBytes()
       Output only. The place ID of the per store view.
       
      string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPlaceIdBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for placeId.
    • setPlaceId

      public PerStoreView.Builder setPlaceId(String value)
       Output only. The place ID of the per store view.
       
      string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The placeId to set.
      Returns:
      This builder for chaining.
    • clearPlaceId

      public PerStoreView.Builder clearPlaceId()
       Output only. The place ID of the per store view.
       
      string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPlaceIdBytes

      public PerStoreView.Builder setPlaceIdBytes(com.google.protobuf.ByteString value)
       Output only. The place ID of the per store view.
       
      string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for placeId to set.
      Returns:
      This builder for chaining.
    • getAddress1

      public String getAddress1()
       Output only. First line of the store's address.
       
      string address1 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAddress1 in interface PerStoreViewOrBuilder
      Returns:
      The address1.
    • getAddress1Bytes

      public com.google.protobuf.ByteString getAddress1Bytes()
       Output only. First line of the store's address.
       
      string address1 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAddress1Bytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for address1.
    • setAddress1

      public PerStoreView.Builder setAddress1(String value)
       Output only. First line of the store's address.
       
      string address1 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The address1 to set.
      Returns:
      This builder for chaining.
    • clearAddress1

      public PerStoreView.Builder clearAddress1()
       Output only. First line of the store's address.
       
      string address1 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAddress1Bytes

      public PerStoreView.Builder setAddress1Bytes(com.google.protobuf.ByteString value)
       Output only. First line of the store's address.
       
      string address1 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for address1 to set.
      Returns:
      This builder for chaining.
    • getAddress2

      public String getAddress2()
       Output only. Second line of the store's address.
       
      string address2 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAddress2 in interface PerStoreViewOrBuilder
      Returns:
      The address2.
    • getAddress2Bytes

      public com.google.protobuf.ByteString getAddress2Bytes()
       Output only. Second line of the store's address.
       
      string address2 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAddress2Bytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for address2.
    • setAddress2

      public PerStoreView.Builder setAddress2(String value)
       Output only. Second line of the store's address.
       
      string address2 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The address2 to set.
      Returns:
      This builder for chaining.
    • clearAddress2

      public PerStoreView.Builder clearAddress2()
       Output only. Second line of the store's address.
       
      string address2 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAddress2Bytes

      public PerStoreView.Builder setAddress2Bytes(com.google.protobuf.ByteString value)
       Output only. Second line of the store's address.
       
      string address2 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for address2 to set.
      Returns:
      This builder for chaining.
    • getBusinessName

      public String getBusinessName()
       Output only. The name of the business.
       
      string business_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBusinessName in interface PerStoreViewOrBuilder
      Returns:
      The businessName.
    • getBusinessNameBytes

      public com.google.protobuf.ByteString getBusinessNameBytes()
       Output only. The name of the business.
       
      string business_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBusinessNameBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for businessName.
    • setBusinessName

      public PerStoreView.Builder setBusinessName(String value)
       Output only. The name of the business.
       
      string business_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The businessName to set.
      Returns:
      This builder for chaining.
    • clearBusinessName

      public PerStoreView.Builder clearBusinessName()
       Output only. The name of the business.
       
      string business_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBusinessNameBytes

      public PerStoreView.Builder setBusinessNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the business.
       
      string business_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for businessName to set.
      Returns:
      This builder for chaining.
    • getCity

      public String getCity()
       Output only. The city where the store is located.
       
      string city = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCity in interface PerStoreViewOrBuilder
      Returns:
      The city.
    • getCityBytes

      public com.google.protobuf.ByteString getCityBytes()
       Output only. The city where the store is located.
       
      string city = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCityBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for city.
    • setCity

      public PerStoreView.Builder setCity(String value)
       Output only. The city where the store is located.
       
      string city = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The city to set.
      Returns:
      This builder for chaining.
    • clearCity

      public PerStoreView.Builder clearCity()
       Output only. The city where the store is located.
       
      string city = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCityBytes

      public PerStoreView.Builder setCityBytes(com.google.protobuf.ByteString value)
       Output only. The city where the store is located.
       
      string city = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for city to set.
      Returns:
      This builder for chaining.
    • getCountryCode

      public String getCountryCode()
       Output only. The two-letter country code for the store's location (e.g.,
       "US").
       
      string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCountryCode in interface PerStoreViewOrBuilder
      Returns:
      The countryCode.
    • getCountryCodeBytes

      public com.google.protobuf.ByteString getCountryCodeBytes()
       Output only. The two-letter country code for the store's location (e.g.,
       "US").
       
      string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCountryCodeBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for countryCode.
    • setCountryCode

      public PerStoreView.Builder setCountryCode(String value)
       Output only. The two-letter country code for the store's location (e.g.,
       "US").
       
      string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The countryCode to set.
      Returns:
      This builder for chaining.
    • clearCountryCode

      public PerStoreView.Builder clearCountryCode()
       Output only. The two-letter country code for the store's location (e.g.,
       "US").
       
      string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCountryCodeBytes

      public PerStoreView.Builder setCountryCodeBytes(com.google.protobuf.ByteString value)
       Output only. The two-letter country code for the store's location (e.g.,
       "US").
       
      string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for countryCode to set.
      Returns:
      This builder for chaining.
    • getPhoneNumber

      public String getPhoneNumber()
       Output only. The phone number of the store.
       
      string phone_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhoneNumber in interface PerStoreViewOrBuilder
      Returns:
      The phoneNumber.
    • getPhoneNumberBytes

      public com.google.protobuf.ByteString getPhoneNumberBytes()
       Output only. The phone number of the store.
       
      string phone_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhoneNumberBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for phoneNumber.
    • setPhoneNumber

      public PerStoreView.Builder setPhoneNumber(String value)
       Output only. The phone number of the store.
       
      string phone_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The phoneNumber to set.
      Returns:
      This builder for chaining.
    • clearPhoneNumber

      public PerStoreView.Builder clearPhoneNumber()
       Output only. The phone number of the store.
       
      string phone_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPhoneNumberBytes

      public PerStoreView.Builder setPhoneNumberBytes(com.google.protobuf.ByteString value)
       Output only. The phone number of the store.
       
      string phone_number = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for phoneNumber to set.
      Returns:
      This builder for chaining.
    • getPostalCode

      public String getPostalCode()
       Output only. The postal code of the store's address.
       
      string postal_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPostalCode in interface PerStoreViewOrBuilder
      Returns:
      The postalCode.
    • getPostalCodeBytes

      public com.google.protobuf.ByteString getPostalCodeBytes()
       Output only. The postal code of the store's address.
       
      string postal_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPostalCodeBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for postalCode.
    • setPostalCode

      public PerStoreView.Builder setPostalCode(String value)
       Output only. The postal code of the store's address.
       
      string postal_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The postalCode to set.
      Returns:
      This builder for chaining.
    • clearPostalCode

      public PerStoreView.Builder clearPostalCode()
       Output only. The postal code of the store's address.
       
      string postal_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPostalCodeBytes

      public PerStoreView.Builder setPostalCodeBytes(com.google.protobuf.ByteString value)
       Output only. The postal code of the store's address.
       
      string postal_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for postalCode to set.
      Returns:
      This builder for chaining.
    • getProvince

      public String getProvince()
       Output only. The province or state of the store's address.
       
      string province = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvince in interface PerStoreViewOrBuilder
      Returns:
      The province.
    • getProvinceBytes

      public com.google.protobuf.ByteString getProvinceBytes()
       Output only. The province or state of the store's address.
       
      string province = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvinceBytes in interface PerStoreViewOrBuilder
      Returns:
      The bytes for province.
    • setProvince

      public PerStoreView.Builder setProvince(String value)
       Output only. The province or state of the store's address.
       
      string province = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The province to set.
      Returns:
      This builder for chaining.
    • clearProvince

      public PerStoreView.Builder clearProvince()
       Output only. The province or state of the store's address.
       
      string province = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProvinceBytes

      public PerStoreView.Builder setProvinceBytes(com.google.protobuf.ByteString value)
       Output only. The province or state of the store's address.
       
      string province = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for province to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final PerStoreView.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>
    • mergeUnknownFields

      public final PerStoreView.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PerStoreView.Builder>