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
Modifier and TypeMethodDescriptionlonggetId()ID of the attribute.booleanIndicates that data corresponding to this attribute is part of a FeedItem's unique key.getName()The name of the attribute.com.google.protobuf.ByteStringThe name of the attribute.getType()Data type for feed attribute.intData type for feed attribute.booleanhasId()ID of the attribute.booleanIndicates that data corresponding to this attribute is part of a FeedItem's unique key.booleanhasName()The name of the attribute.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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.v18.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.v18.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.
-