Class FeedItemAttributeValue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
com.google.ads.googleads.v18.resources.FeedItemAttributeValue.Builder
- All Implemented Interfaces:
FeedItemAttributeValueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FeedItemAttributeValue
public static final class FeedItemAttributeValue.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
implements FeedItemAttributeValueOrBuilder
A feed item attribute value.Protobuf type
google.ads.googleads.v18.resources.FeedItemAttributeValue-
Method Summary
Modifier and TypeMethodDescriptionaddAllBooleanValues(Iterable<? extends Boolean> values) Repeated bool value.addAllDoubleValues(Iterable<? extends Double> values) Repeated double value.addAllIntegerValues(Iterable<? extends Long> values) Repeated int64 value.addAllStringValues(Iterable<String> values) Repeated string value.addBooleanValues(boolean value) Repeated bool value.addDoubleValues(double value) Repeated double value.addIntegerValues(long value) Repeated int64 value.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addStringValues(String value) Repeated string value.addStringValuesBytes(com.google.protobuf.ByteString value) Repeated string value.build()clear()Bool value.Repeated bool value.Double value.Repeated double value.Id of the feed attribute for which the value is associated with.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Int64 value.Repeated int64 value.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Price value.String value.Repeated string value.clone()booleanBool value.booleangetBooleanValues(int index) Repeated bool value.intRepeated bool value.Repeated bool value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleDouble 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.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.com.google.protobuf.ProtocolStringListRepeated string value.booleanBool value.booleanDouble value.booleanId of the feed attribute for which the value is associated with.booleanInt64 value.booleanPrice value.booleanString value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(FeedItemAttributeValue other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePriceValue(Money value) Price value.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBooleanValue(boolean value) Bool value.setBooleanValues(int index, boolean value) Repeated bool value.setDoubleValue(double value) Double value.setDoubleValues(int index, double value) Repeated double value.setFeedAttributeId(long value) Id of the feed attribute for which the value is associated with.setIntegerValue(long value) Int64 value.setIntegerValues(int index, long value) Repeated int64 value.setPriceValue(Money value) Price value.setPriceValue(Money.Builder builderForValue) Price value.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringValue(String value) String value.setStringValueBytes(com.google.protobuf.ByteString value) String value.setStringValues(int index, String value) Repeated string value.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
setField
public FeedItemAttributeValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
clearField
public FeedItemAttributeValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
clearOneof
public FeedItemAttributeValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
setRepeatedField
public FeedItemAttributeValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
addRepeatedField
public FeedItemAttributeValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeedItemAttributeValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
mergeFrom
public FeedItemAttributeValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeedItemAttributeValue.Builder>- Throws:
IOException
-
hasFeedAttributeId
public boolean hasFeedAttributeId()Id of the feed attribute for which the value is associated with.
optional int64 feed_attribute_id = 11;- Specified by:
hasFeedAttributeIdin interfaceFeedItemAttributeValueOrBuilder- Returns:
- Whether the feedAttributeId field is set.
-
getFeedAttributeId
public long getFeedAttributeId()Id of the feed attribute for which the value is associated with.
optional int64 feed_attribute_id = 11;- Specified by:
getFeedAttributeIdin interfaceFeedItemAttributeValueOrBuilder- Returns:
- The feedAttributeId.
-
setFeedAttributeId
Id of the feed attribute for which the value is associated with.
optional int64 feed_attribute_id = 11;- Parameters:
value- The feedAttributeId to set.- Returns:
- This builder for chaining.
-
clearFeedAttributeId
Id of the feed attribute for which the value is associated with.
optional int64 feed_attribute_id = 11;- Returns:
- This builder for chaining.
-
hasIntegerValue
public boolean hasIntegerValue()Int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64.
optional int64 integer_value = 12;- Specified by:
hasIntegerValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- Whether the integerValue field is set.
-
getIntegerValue
public long getIntegerValue()Int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64.
optional int64 integer_value = 12;- Specified by:
getIntegerValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- The integerValue.
-
setIntegerValue
Int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64.
optional int64 integer_value = 12;- Parameters:
value- The integerValue to set.- Returns:
- This builder for chaining.
-
clearIntegerValue
Int64 value. Should be set if feed_attribute_id refers to a feed attribute of type INT64.
optional int64 integer_value = 12;- Returns:
- This builder for chaining.
-
hasBooleanValue
public boolean hasBooleanValue()Bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN.
optional bool boolean_value = 13;- Specified by:
hasBooleanValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()Bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN.
optional bool boolean_value = 13;- Specified by:
getBooleanValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- The booleanValue.
-
setBooleanValue
Bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN.
optional bool boolean_value = 13;- Parameters:
value- The booleanValue to set.- Returns:
- This builder for chaining.
-
clearBooleanValue
Bool value. Should be set if feed_attribute_id refers to a feed attribute of type BOOLEAN.
optional bool boolean_value = 13;- Returns:
- This builder for chaining.
-
hasStringValue
public 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;- Specified by:
hasStringValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
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;- Specified by:
getStringValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public 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;- Specified by:
getStringValueBytesin interfaceFeedItemAttributeValueOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
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;- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
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:
- This builder for chaining.
-
setStringValueBytes
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;- Parameters:
value- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()Double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE.
optional double double_value = 15;- Specified by:
hasDoubleValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()Double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE.
optional double double_value = 15;- Specified by:
getDoubleValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- The doubleValue.
-
setDoubleValue
Double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE.
optional double double_value = 15;- Parameters:
value- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
Double value. Should be set if feed_attribute_id refers to a feed attribute of type DOUBLE.
optional double double_value = 15;- Returns:
- This builder for chaining.
-
hasPriceValue
public 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;- Specified by:
hasPriceValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- Whether the priceValue field is set.
-
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;- Specified by:
getPriceValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- The priceValue.
-
setPriceValue
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; -
setPriceValue
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; -
mergePriceValue
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; -
clearPriceValue
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; -
getPriceValueBuilder
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; -
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;- Specified by:
getPriceValueOrBuilderin interfaceFeedItemAttributeValueOrBuilder
-
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;- Specified by:
getIntegerValuesListin interfaceFeedItemAttributeValueOrBuilder- Returns:
- A list containing the integerValues.
-
getIntegerValuesCount
public 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;- Specified by:
getIntegerValuesCountin interfaceFeedItemAttributeValueOrBuilder- Returns:
- The count of integerValues.
-
getIntegerValues
public 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;- Specified by:
getIntegerValuesin interfaceFeedItemAttributeValueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The integerValues at the given index.
-
setIntegerValues
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 to set the value at.value- The integerValues to set.- Returns:
- This builder for chaining.
-
addIntegerValues
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:
value- The integerValues to add.- Returns:
- This builder for chaining.
-
addAllIntegerValues
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:
values- The integerValues to add.- Returns:
- This builder for chaining.
-
clearIntegerValues
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:
- This builder for chaining.
-
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;- Specified by:
getBooleanValuesListin interfaceFeedItemAttributeValueOrBuilder- Returns:
- A list containing the booleanValues.
-
getBooleanValuesCount
public 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;- Specified by:
getBooleanValuesCountin interfaceFeedItemAttributeValueOrBuilder- Returns:
- The count of booleanValues.
-
getBooleanValues
public 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;- Specified by:
getBooleanValuesin interfaceFeedItemAttributeValueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The booleanValues at the given index.
-
setBooleanValues
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 to set the value at.value- The booleanValues to set.- Returns:
- This builder for chaining.
-
addBooleanValues
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:
value- The booleanValues to add.- Returns:
- This builder for chaining.
-
addAllBooleanValues
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:
values- The booleanValues to add.- Returns:
- This builder for chaining.
-
clearBooleanValues
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:
- This builder for chaining.
-
getStringValuesList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getStringValuesListin interfaceFeedItemAttributeValueOrBuilder- Returns:
- A list containing the stringValues.
-
getStringValuesCount
public 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;- Specified by:
getStringValuesCountin interfaceFeedItemAttributeValueOrBuilder- 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;- Specified by:
getStringValuesin interfaceFeedItemAttributeValueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The stringValues at the given index.
-
getStringValuesBytes
public 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;- Specified by:
getStringValuesBytesin interfaceFeedItemAttributeValueOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stringValues at the given index.
-
setStringValues
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 to set the value at.value- The stringValues to set.- Returns:
- This builder for chaining.
-
addStringValues
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:
value- The stringValues to add.- Returns:
- This builder for chaining.
-
addAllStringValues
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:
values- The stringValues to add.- Returns:
- This builder for chaining.
-
clearStringValues
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:
- This builder for chaining.
-
addStringValuesBytes
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:
value- The bytes of the stringValues to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDoubleValuesListin interfaceFeedItemAttributeValueOrBuilder- Returns:
- A list containing the doubleValues.
-
getDoubleValuesCount
public 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;- Specified by:
getDoubleValuesCountin interfaceFeedItemAttributeValueOrBuilder- Returns:
- The count of doubleValues.
-
getDoubleValues
public 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;- Specified by:
getDoubleValuesin interfaceFeedItemAttributeValueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The doubleValues at the given index.
-
setDoubleValues
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 to set the value at.value- The doubleValues to set.- Returns:
- This builder for chaining.
-
addDoubleValues
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:
value- The doubleValues to add.- Returns:
- This builder for chaining.
-
addAllDoubleValues
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:
values- The doubleValues to add.- Returns:
- This builder for chaining.
-
clearDoubleValues
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:
- This builder for chaining.
-
setUnknownFields
public final FeedItemAttributeValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
mergeUnknownFields
public final FeedItemAttributeValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-