Class Feed.PlacesLocationFeedData

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData
All Implemented Interfaces:
Feed.PlacesLocationFeedDataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Feed

public static final class Feed.PlacesLocationFeedData extends com.google.protobuf.GeneratedMessageV3 implements Feed.PlacesLocationFeedDataOrBuilder
 Data used to configure a location feed populated from Business Profile.
 
Protobuf type google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData
See Also:
  • Field Details

    • OAUTH_INFO_FIELD_NUMBER

      public static final int OAUTH_INFO_FIELD_NUMBER
      See Also:
    • EMAIL_ADDRESS_FIELD_NUMBER

      public static final int EMAIL_ADDRESS_FIELD_NUMBER
      See Also:
    • BUSINESS_ACCOUNT_ID_FIELD_NUMBER

      public static final int BUSINESS_ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • BUSINESS_NAME_FILTER_FIELD_NUMBER

      public static final int BUSINESS_NAME_FILTER_FIELD_NUMBER
      See Also:
    • CATEGORY_FILTERS_FIELD_NUMBER

      public static final int CATEGORY_FILTERS_FIELD_NUMBER
      See Also:
    • LABEL_FILTERS_FIELD_NUMBER

      public static final int LABEL_FILTERS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasOauthInfo

      public boolean hasOauthInfo()
       Immutable. Required authentication token (from OAuth API) for the email.
       This field can only be specified in a create request. All its subfields
       are not selectable.
       
      .google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasOauthInfo in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      Whether the oauthInfo field is set.
    • getOauthInfo

       Immutable. Required authentication token (from OAuth API) for the email.
       This field can only be specified in a create request. All its subfields
       are not selectable.
       
      .google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getOauthInfo in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The oauthInfo.
    • getOauthInfoOrBuilder

      public Feed.PlacesLocationFeedData.OAuthInfoOrBuilder getOauthInfoOrBuilder()
       Immutable. Required authentication token (from OAuth API) for the email.
       This field can only be specified in a create request. All its subfields
       are not selectable.
       
      .google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getOauthInfoOrBuilder in interface Feed.PlacesLocationFeedDataOrBuilder
    • hasEmailAddress

      public boolean hasEmailAddress()
       Email address of a Business Profile or email address of a
       manager of the Business Profile. Required.
       
      optional string email_address = 7;
      Specified by:
      hasEmailAddress in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      Whether the emailAddress field is set.
    • getEmailAddress

      public String getEmailAddress()
       Email address of a Business Profile or email address of a
       manager of the Business Profile. Required.
       
      optional string email_address = 7;
      Specified by:
      getEmailAddress in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The emailAddress.
    • getEmailAddressBytes

      public com.google.protobuf.ByteString getEmailAddressBytes()
       Email address of a Business Profile or email address of a
       manager of the Business Profile. Required.
       
      optional string email_address = 7;
      Specified by:
      getEmailAddressBytes in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The bytes for emailAddress.
    • getBusinessAccountId

      public String getBusinessAccountId()
       Plus page ID of the managed business whose locations should be used. If
       this field is not set, then all businesses accessible by the user
       (specified by email_address) are used.
       This field is mutate-only and is not selectable.
       
      string business_account_id = 8;
      Specified by:
      getBusinessAccountId in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The businessAccountId.
    • getBusinessAccountIdBytes

      public com.google.protobuf.ByteString getBusinessAccountIdBytes()
       Plus page ID of the managed business whose locations should be used. If
       this field is not set, then all businesses accessible by the user
       (specified by email_address) are used.
       This field is mutate-only and is not selectable.
       
      string business_account_id = 8;
      Specified by:
      getBusinessAccountIdBytes in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The bytes for businessAccountId.
    • hasBusinessNameFilter

      public boolean hasBusinessNameFilter()
       Used to filter Business Profile listings by business name. If
       business_name_filter is set, only listings with a matching business name
       are candidates to be sync'd into FeedItems.
       
      optional string business_name_filter = 9;
      Specified by:
      hasBusinessNameFilter in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      Whether the businessNameFilter field is set.
    • getBusinessNameFilter

      public String getBusinessNameFilter()
       Used to filter Business Profile listings by business name. If
       business_name_filter is set, only listings with a matching business name
       are candidates to be sync'd into FeedItems.
       
      optional string business_name_filter = 9;
      Specified by:
      getBusinessNameFilter in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The businessNameFilter.
    • getBusinessNameFilterBytes

      public com.google.protobuf.ByteString getBusinessNameFilterBytes()
       Used to filter Business Profile listings by business name. If
       business_name_filter is set, only listings with a matching business name
       are candidates to be sync'd into FeedItems.
       
      optional string business_name_filter = 9;
      Specified by:
      getBusinessNameFilterBytes in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The bytes for businessNameFilter.
    • getCategoryFiltersList

      public com.google.protobuf.ProtocolStringList getCategoryFiltersList()
       Used to filter Business Profile listings by categories. If entries
       exist in category_filters, only listings that belong to any of the
       categories are candidates to be sync'd into FeedItems. If no entries
       exist in category_filters, then all listings are candidates for syncing.
       
      repeated string category_filters = 11;
      Specified by:
      getCategoryFiltersList in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      A list containing the categoryFilters.
    • getCategoryFiltersCount

      public int getCategoryFiltersCount()
       Used to filter Business Profile listings by categories. If entries
       exist in category_filters, only listings that belong to any of the
       categories are candidates to be sync'd into FeedItems. If no entries
       exist in category_filters, then all listings are candidates for syncing.
       
      repeated string category_filters = 11;
      Specified by:
      getCategoryFiltersCount in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The count of categoryFilters.
    • getCategoryFilters

      public String getCategoryFilters(int index)
       Used to filter Business Profile listings by categories. If entries
       exist in category_filters, only listings that belong to any of the
       categories are candidates to be sync'd into FeedItems. If no entries
       exist in category_filters, then all listings are candidates for syncing.
       
      repeated string category_filters = 11;
      Specified by:
      getCategoryFilters in interface Feed.PlacesLocationFeedDataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The categoryFilters at the given index.
    • getCategoryFiltersBytes

      public com.google.protobuf.ByteString getCategoryFiltersBytes(int index)
       Used to filter Business Profile listings by categories. If entries
       exist in category_filters, only listings that belong to any of the
       categories are candidates to be sync'd into FeedItems. If no entries
       exist in category_filters, then all listings are candidates for syncing.
       
      repeated string category_filters = 11;
      Specified by:
      getCategoryFiltersBytes in interface Feed.PlacesLocationFeedDataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the categoryFilters at the given index.
    • getLabelFiltersList

      public com.google.protobuf.ProtocolStringList getLabelFiltersList()
       Used to filter Business Profile listings by labels. If entries exist in
       label_filters, only listings that has any of the labels set are
       candidates to be synchronized into FeedItems. If no entries exist in
       label_filters, then all listings are candidates for syncing.
       
      repeated string label_filters = 12;
      Specified by:
      getLabelFiltersList in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      A list containing the labelFilters.
    • getLabelFiltersCount

      public int getLabelFiltersCount()
       Used to filter Business Profile listings by labels. If entries exist in
       label_filters, only listings that has any of the labels set are
       candidates to be synchronized into FeedItems. If no entries exist in
       label_filters, then all listings are candidates for syncing.
       
      repeated string label_filters = 12;
      Specified by:
      getLabelFiltersCount in interface Feed.PlacesLocationFeedDataOrBuilder
      Returns:
      The count of labelFilters.
    • getLabelFilters

      public String getLabelFilters(int index)
       Used to filter Business Profile listings by labels. If entries exist in
       label_filters, only listings that has any of the labels set are
       candidates to be synchronized into FeedItems. If no entries exist in
       label_filters, then all listings are candidates for syncing.
       
      repeated string label_filters = 12;
      Specified by:
      getLabelFilters in interface Feed.PlacesLocationFeedDataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The labelFilters at the given index.
    • getLabelFiltersBytes

      public com.google.protobuf.ByteString getLabelFiltersBytes(int index)
       Used to filter Business Profile listings by labels. If entries exist in
       label_filters, only listings that has any of the labels set are
       candidates to be synchronized into FeedItems. If no entries exist in
       label_filters, then all listings are candidates for syncing.
       
      repeated string label_filters = 12;
      Specified by:
      getLabelFiltersBytes in interface Feed.PlacesLocationFeedDataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the labelFilters at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 Feed.PlacesLocationFeedData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Feed.PlacesLocationFeedData parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Feed.PlacesLocationFeedData parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Feed.PlacesLocationFeedData.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Feed.PlacesLocationFeedData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Feed.PlacesLocationFeedData getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Feed.PlacesLocationFeedData> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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