Interface FeedItemAttributeValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeedItemAttributeValue,FeedItemAttributeValue.Builder
public interface FeedItemAttributeValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanBool value.booleangetBooleanValues(int index) Repeated bool value.intRepeated bool value.Repeated bool value.doubleDouble value.doublegetDoubleValues(int index) Repeated double value.intRepeated double value.Repeated double value.longId of the feed attribute for which the value is associated with.longInt64 value.longgetIntegerValues(int index) Repeated int64 value.intRepeated int64 value.Repeated int64 value.Price value.Price value.String value.com.google.protobuf.ByteStringString value.getStringValues(int index) Repeated string value.com.google.protobuf.ByteStringgetStringValuesBytes(int index) Repeated string value.intRepeated string value.Repeated string value.booleanBool value.booleanDouble value.booleanId of the feed attribute for which the value is associated with.booleanInt64 value.booleanPrice value.booleanString value.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
-
hasFeedAttributeId
boolean hasFeedAttributeId()Id of the feed attribute for which the value is associated with.
optional int64 feed_attribute_id = 11;- Returns:
- Whether the feedAttributeId field is set.
-
getFeedAttributeId
long getFeedAttributeId()Id of the feed attribute for which the value is associated with.
optional int64 feed_attribute_id = 11;- Returns:
- The feedAttributeId.
-
hasIntegerValue
boolean hasIntegerValue()Int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64.
optional int64 integer_value = 12;- Returns:
- Whether the integerValue field is set.
-
getIntegerValue
long getIntegerValue()Int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64.
optional int64 integer_value = 12;- Returns:
- The integerValue.
-
hasBooleanValue
boolean hasBooleanValue()Bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN.
optional bool boolean_value = 13;- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
boolean getBooleanValue()Bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN.
optional bool boolean_value = 13;- Returns:
- The booleanValue.
-
hasStringValue
boolean hasStringValue()String value. Should be set if feed_attribute_id refers to a feed attribute of type STRING, URL or DATE_TIME. For STRING the maximum length is 1500 characters. For URL the maximum length is 2076 characters. For DATE_TIME the string must be in the format "YYYYMMDD HHMMSS".
optional string string_value = 14;- Returns:
- Whether the stringValue field is set.
-
getStringValue
String getStringValue()String value. Should be set if feed_attribute_id refers to a feed attribute of type STRING, URL or DATE_TIME. For STRING the maximum length is 1500 characters. For URL the maximum length is 2076 characters. For DATE_TIME the string must be in the format "YYYYMMDD HHMMSS".
optional string string_value = 14;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()String value. Should be set if feed_attribute_id refers to a feed attribute of type STRING, URL or DATE_TIME. For STRING the maximum length is 1500 characters. For URL the maximum length is 2076 characters. For DATE_TIME the string must be in the format "YYYYMMDD HHMMSS".
optional string string_value = 14;- Returns:
- The bytes for stringValue.
-
hasDoubleValue
boolean hasDoubleValue()Double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE.
optional double double_value = 15;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()Double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE.
optional double double_value = 15;- Returns:
- The doubleValue.
-
hasPriceValue
boolean hasPriceValue()Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v18.common.Money price_value = 6;- Returns:
- Whether the priceValue field is set.
-
getPriceValue
Money getPriceValue()Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v18.common.Money price_value = 6;- Returns:
- The priceValue.
-
getPriceValueOrBuilder
MoneyOrBuilder getPriceValueOrBuilder()Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v18.common.Money price_value = 6; -
getIntegerValuesList
Repeated int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64_LIST.
repeated int64 integer_values = 16;- Returns:
- A list containing the integerValues.
-
getIntegerValuesCount
int getIntegerValuesCount()Repeated int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64_LIST.
repeated int64 integer_values = 16;- Returns:
- The count of integerValues.
-
getIntegerValues
long getIntegerValues(int index) Repeated int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64_LIST.
repeated int64 integer_values = 16;- Parameters:
index- The index of the element to return.- Returns:
- The integerValues at the given index.
-
getBooleanValuesList
Repeated bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN_LIST.
repeated bool boolean_values = 17;- Returns:
- A list containing the booleanValues.
-
getBooleanValuesCount
int getBooleanValuesCount()Repeated bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN_LIST.
repeated bool boolean_values = 17;- Returns:
- The count of booleanValues.
-
getBooleanValues
boolean getBooleanValues(int index) Repeated bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN_LIST.
repeated bool boolean_values = 17;- Parameters:
index- The index of the element to return.- Returns:
- The booleanValues at the given index.
-
getStringValuesList
Repeated string value. Should be set if feed_attribute_id refers to a feed attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. For STRING_LIST and URL_LIST the total size of the list in bytes may not exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. For STRING_LIST the maximum length of each string element is 1500 characters. For URL_LIST the maximum length is 2076 characters. For DATE_TIME the format of the string must be the same as start and end time for the feed item.
repeated string string_values = 18;- Returns:
- A list containing the stringValues.
-
getStringValuesCount
int getStringValuesCount()Repeated string value. Should be set if feed_attribute_id refers to a feed attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. For STRING_LIST and URL_LIST the total size of the list in bytes may not exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. For STRING_LIST the maximum length of each string element is 1500 characters. For URL_LIST the maximum length is 2076 characters. For DATE_TIME the format of the string must be the same as start and end time for the feed item.
repeated string string_values = 18;- Returns:
- The count of stringValues.
-
getStringValues
Repeated string value. Should be set if feed_attribute_id refers to a feed attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. For STRING_LIST and URL_LIST the total size of the list in bytes may not exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. For STRING_LIST the maximum length of each string element is 1500 characters. For URL_LIST the maximum length is 2076 characters. For DATE_TIME the format of the string must be the same as start and end time for the feed item.
repeated string string_values = 18;- Parameters:
index- The index of the element to return.- Returns:
- The stringValues at the given index.
-
getStringValuesBytes
com.google.protobuf.ByteString getStringValuesBytes(int index) Repeated string value. Should be set if feed_attribute_id refers to a feed attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. For STRING_LIST and URL_LIST the total size of the list in bytes may not exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. For STRING_LIST the maximum length of each string element is 1500 characters. For URL_LIST the maximum length is 2076 characters. For DATE_TIME the format of the string must be the same as start and end time for the feed item.
repeated string string_values = 18;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stringValues at the given index.
-
getDoubleValuesList
Repeated double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE_LIST.
repeated double double_values = 19;- Returns:
- A list containing the doubleValues.
-
getDoubleValuesCount
int getDoubleValuesCount()Repeated double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE_LIST.
repeated double double_values = 19;- Returns:
- The count of doubleValues.
-
getDoubleValues
double getDoubleValues(int index) Repeated double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE_LIST.
repeated double double_values = 19;- Parameters:
index- The index of the element to return.- Returns:
- The doubleValues at the given index.
-