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

public final class Feed extends com.google.protobuf.GeneratedMessageV3 implements FeedOrBuilder
 A feed.
 
Protobuf type google.ads.googleads.v18.resources.Feed
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • ATTRIBUTES_FIELD_NUMBER

      public static final int ATTRIBUTES_FIELD_NUMBER
      See Also:
    • ATTRIBUTE_OPERATIONS_FIELD_NUMBER

      public static final int ATTRIBUTE_OPERATIONS_FIELD_NUMBER
      See Also:
    • ORIGIN_FIELD_NUMBER

      public static final int ORIGIN_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • PLACES_LOCATION_FEED_DATA_FIELD_NUMBER

      public static final int PLACES_LOCATION_FEED_DATA_FIELD_NUMBER
      See Also:
    • AFFILIATE_LOCATION_FEED_DATA_FIELD_NUMBER

      public static final int AFFILIATE_LOCATION_FEED_DATA_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
    • getSystemFeedGenerationDataCase

      public Feed.SystemFeedGenerationDataCase getSystemFeedGenerationDataCase()
      Specified by:
      getSystemFeedGenerationDataCase in interface FeedOrBuilder
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the feed.
       Feed resource names have the form:
      
       `customers/{customer_id}/feeds/{feed_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface FeedOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the feed.
       Feed resource names have the form:
      
       `customers/{customer_id}/feeds/{feed_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface FeedOrBuilder
      Returns:
      The bytes for resourceName.
    • hasId

      public boolean hasId()
       Output only. The ID of the feed.
       This field is read-only.
       
      optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasId in interface FeedOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. The ID of the feed.
       This field is read-only.
       
      optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface FeedOrBuilder
      Returns:
      The id.
    • hasName

      public boolean hasName()
       Immutable. Name of the feed. Required.
       
      optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasName in interface FeedOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Immutable. Name of the feed. Required.
       
      optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getName in interface FeedOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. Name of the feed. Required.
       
      optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface FeedOrBuilder
      Returns:
      The bytes for name.
    • getAttributesList

      public List<FeedAttribute> getAttributesList()
       The Feed's attributes. Required on CREATE, unless
       system_feed_generation_data is provided, in which case Google Ads will
       update the feed with the correct attributes.
       Disallowed on UPDATE. Use attribute_operations to add new attributes.
       
      repeated .google.ads.googleads.v18.resources.FeedAttribute attributes = 4;
      Specified by:
      getAttributesList in interface FeedOrBuilder
    • getAttributesOrBuilderList

      public List<? extends FeedAttributeOrBuilder> getAttributesOrBuilderList()
       The Feed's attributes. Required on CREATE, unless
       system_feed_generation_data is provided, in which case Google Ads will
       update the feed with the correct attributes.
       Disallowed on UPDATE. Use attribute_operations to add new attributes.
       
      repeated .google.ads.googleads.v18.resources.FeedAttribute attributes = 4;
      Specified by:
      getAttributesOrBuilderList in interface FeedOrBuilder
    • getAttributesCount

      public int getAttributesCount()
       The Feed's attributes. Required on CREATE, unless
       system_feed_generation_data is provided, in which case Google Ads will
       update the feed with the correct attributes.
       Disallowed on UPDATE. Use attribute_operations to add new attributes.
       
      repeated .google.ads.googleads.v18.resources.FeedAttribute attributes = 4;
      Specified by:
      getAttributesCount in interface FeedOrBuilder
    • getAttributes

      public FeedAttribute getAttributes(int index)
       The Feed's attributes. Required on CREATE, unless
       system_feed_generation_data is provided, in which case Google Ads will
       update the feed with the correct attributes.
       Disallowed on UPDATE. Use attribute_operations to add new attributes.
       
      repeated .google.ads.googleads.v18.resources.FeedAttribute attributes = 4;
      Specified by:
      getAttributes in interface FeedOrBuilder
    • getAttributesOrBuilder

      public FeedAttributeOrBuilder getAttributesOrBuilder(int index)
       The Feed's attributes. Required on CREATE, unless
       system_feed_generation_data is provided, in which case Google Ads will
       update the feed with the correct attributes.
       Disallowed on UPDATE. Use attribute_operations to add new attributes.
       
      repeated .google.ads.googleads.v18.resources.FeedAttribute attributes = 4;
      Specified by:
      getAttributesOrBuilder in interface FeedOrBuilder
    • getAttributeOperationsList

      public List<FeedAttributeOperation> getAttributeOperationsList()
       The list of operations changing the feed attributes. Attributes can only
       be added, not removed.
       
      repeated .google.ads.googleads.v18.resources.FeedAttributeOperation attribute_operations = 9;
      Specified by:
      getAttributeOperationsList in interface FeedOrBuilder
    • getAttributeOperationsOrBuilderList

      public List<? extends FeedAttributeOperationOrBuilder> getAttributeOperationsOrBuilderList()
       The list of operations changing the feed attributes. Attributes can only
       be added, not removed.
       
      repeated .google.ads.googleads.v18.resources.FeedAttributeOperation attribute_operations = 9;
      Specified by:
      getAttributeOperationsOrBuilderList in interface FeedOrBuilder
    • getAttributeOperationsCount

      public int getAttributeOperationsCount()
       The list of operations changing the feed attributes. Attributes can only
       be added, not removed.
       
      repeated .google.ads.googleads.v18.resources.FeedAttributeOperation attribute_operations = 9;
      Specified by:
      getAttributeOperationsCount in interface FeedOrBuilder
    • getAttributeOperations

      public FeedAttributeOperation getAttributeOperations(int index)
       The list of operations changing the feed attributes. Attributes can only
       be added, not removed.
       
      repeated .google.ads.googleads.v18.resources.FeedAttributeOperation attribute_operations = 9;
      Specified by:
      getAttributeOperations in interface FeedOrBuilder
    • getAttributeOperationsOrBuilder

      public FeedAttributeOperationOrBuilder getAttributeOperationsOrBuilder(int index)
       The list of operations changing the feed attributes. Attributes can only
       be added, not removed.
       
      repeated .google.ads.googleads.v18.resources.FeedAttributeOperation attribute_operations = 9;
      Specified by:
      getAttributeOperationsOrBuilder in interface FeedOrBuilder
    • getOriginValue

      public int getOriginValue()
       Immutable. Specifies who manages the FeedAttributes for the Feed.
       
      .google.ads.googleads.v18.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getOriginValue in interface FeedOrBuilder
      Returns:
      The enum numeric value on the wire for origin.
    • getOrigin

      public FeedOriginEnum.FeedOrigin getOrigin()
       Immutable. Specifies who manages the FeedAttributes for the Feed.
       
      .google.ads.googleads.v18.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getOrigin in interface FeedOrBuilder
      Returns:
      The origin.
    • getStatusValue

      public int getStatusValue()
       Output only. Status of the feed.
       This field is read-only.
       
      .google.ads.googleads.v18.enums.FeedStatusEnum.FeedStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface FeedOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public FeedStatusEnum.FeedStatus getStatus()
       Output only. Status of the feed.
       This field is read-only.
       
      .google.ads.googleads.v18.enums.FeedStatusEnum.FeedStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface FeedOrBuilder
      Returns:
      The status.
    • hasPlacesLocationFeedData

      public boolean hasPlacesLocationFeedData()
       Data used to configure a location feed populated from Business Profile.
       
      .google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      Specified by:
      hasPlacesLocationFeedData in interface FeedOrBuilder
      Returns:
      Whether the placesLocationFeedData field is set.
    • getPlacesLocationFeedData

      public Feed.PlacesLocationFeedData getPlacesLocationFeedData()
       Data used to configure a location feed populated from Business Profile.
       
      .google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      Specified by:
      getPlacesLocationFeedData in interface FeedOrBuilder
      Returns:
      The placesLocationFeedData.
    • getPlacesLocationFeedDataOrBuilder

      public Feed.PlacesLocationFeedDataOrBuilder getPlacesLocationFeedDataOrBuilder()
       Data used to configure a location feed populated from Business Profile.
       
      .google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      Specified by:
      getPlacesLocationFeedDataOrBuilder in interface FeedOrBuilder
    • hasAffiliateLocationFeedData

      public boolean hasAffiliateLocationFeedData()
       Data used to configure an affiliate location feed populated with
       the specified chains.
       
      .google.ads.googleads.v18.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      Specified by:
      hasAffiliateLocationFeedData in interface FeedOrBuilder
      Returns:
      Whether the affiliateLocationFeedData field is set.
    • getAffiliateLocationFeedData

      public Feed.AffiliateLocationFeedData getAffiliateLocationFeedData()
       Data used to configure an affiliate location feed populated with
       the specified chains.
       
      .google.ads.googleads.v18.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      Specified by:
      getAffiliateLocationFeedData in interface FeedOrBuilder
      Returns:
      The affiliateLocationFeedData.
    • getAffiliateLocationFeedDataOrBuilder

      public Feed.AffiliateLocationFeedDataOrBuilder getAffiliateLocationFeedDataOrBuilder()
       Data used to configure an affiliate location feed populated with
       the specified chains.
       
      .google.ads.googleads.v18.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      Specified by:
      getAffiliateLocationFeedDataOrBuilder in interface FeedOrBuilder
    • 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Feed 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static Feed.Builder newBuilder()
    • newBuilder

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

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

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

      public static Feed getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Feed> 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 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder