Interface FeedAttributeOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FeedAttribute, FeedAttribute.Builder

    public interface FeedAttributeOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getId()
      ID of the attribute.
      boolean getIsPartOfKey()
      Indicates that data corresponding to this attribute is part of a FeedItem's unique key.
      java.lang.String getName()
      The name of the attribute.
      com.google.protobuf.ByteString getNameBytes()
      The name of the attribute.
      FeedAttributeTypeEnum.FeedAttributeType getType()
      Data type for feed attribute.
      int getTypeValue()
      Data type for feed attribute.
      boolean hasId()
      ID of the attribute.
      boolean hasIsPartOfKey()
      Indicates that data corresponding to this attribute is part of a FeedItem's unique key.
      boolean hasName()
      The name of the attribute.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasId

        boolean hasId()
         ID of the attribute.
         
        optional int64 id = 5;
        Returns:
        Whether the id field is set.
      • getId

        long getId()
         ID of the attribute.
         
        optional int64 id = 5;
        Returns:
        The id.
      • hasName

        boolean hasName()
         The name of the attribute. Required.
         
        optional string name = 6;
        Returns:
        Whether the name field is set.
      • getName

        java.lang.String getName()
         The name of the attribute. Required.
         
        optional string name = 6;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the attribute. Required.
         
        optional string name = 6;
        Returns:
        The bytes for name.
      • getTypeValue

        int getTypeValue()
         Data type for feed attribute. Required.
         
        .google.ads.googleads.v10.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3;
        Returns:
        The enum numeric value on the wire for type.
      • getType

        FeedAttributeTypeEnum.FeedAttributeType getType()
         Data type for feed attribute. Required.
         
        .google.ads.googleads.v10.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3;
        Returns:
        The type.
      • hasIsPartOfKey

        boolean hasIsPartOfKey()
         Indicates that data corresponding to this attribute is part of a
         FeedItem's unique key. It defaults to false if it is unspecified. Note
         that a unique key is not required in a Feed's schema, in which case the
         FeedItems must be referenced by their feed_item_id.
         
        optional bool is_part_of_key = 7;
        Returns:
        Whether the isPartOfKey field is set.
      • getIsPartOfKey

        boolean getIsPartOfKey()
         Indicates that data corresponding to this attribute is part of a
         FeedItem's unique key. It defaults to false if it is unspecified. Note
         that a unique key is not required in a Feed's schema, in which case the
         FeedItems must be referenced by their feed_item_id.
         
        optional bool is_part_of_key = 7;
        Returns:
        The isPartOfKey.