Class PerStoreView

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v23.resources.PerStoreView
All Implemented Interfaces:
PerStoreViewOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PerStoreView extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • PLACE_ID_FIELD_NUMBER

      public static final int PLACE_ID_FIELD_NUMBER
      See Also:
    • ADDRESS1_FIELD_NUMBER

      public static final int ADDRESS1_FIELD_NUMBER
      See Also:
    • ADDRESS2_FIELD_NUMBER

      public static final int ADDRESS2_FIELD_NUMBER
      See Also:
    • BUSINESS_NAME_FIELD_NUMBER

      public static final int BUSINESS_NAME_FIELD_NUMBER
      See Also:
    • CITY_FIELD_NUMBER

      public static final int CITY_FIELD_NUMBER
      See Also:
    • COUNTRY_CODE_FIELD_NUMBER

      public static final int COUNTRY_CODE_FIELD_NUMBER
      See Also:
    • PHONE_NUMBER_FIELD_NUMBER

      public static final int PHONE_NUMBER_FIELD_NUMBER
      See Also:
    • POSTAL_CODE_FIELD_NUMBER

      public static final int POSTAL_CODE_FIELD_NUMBER
      See Also:
    • PROVINCE_FIELD_NUMBER

      public static final int PROVINCE_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PerStoreView parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerStoreView parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerStoreView parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerStoreView parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerStoreView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerStoreView parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PerStoreView parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerStoreView parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PerStoreView parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PerStoreView parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerStoreView parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerStoreView parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static PerStoreView.Builder newBuilder()
    • newBuilder

      public static PerStoreView.Builder newBuilder(PerStoreView prototype)
    • toBuilder

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

      protected PerStoreView.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PerStoreView getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PerStoreView> parser()
    • getParserForType

      public com.google.protobuf.Parser<PerStoreView> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PerStoreView getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder