Class FeedItemAttributeValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
- com.google.ads.googleads.v10.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,java.lang.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 typegoogle.ads.googleads.v10.resources.FeedItemAttributeValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FeedItemAttributeValue.BuilderaddAllBooleanValues(java.lang.Iterable<? extends java.lang.Boolean> values)Repeated bool value.FeedItemAttributeValue.BuilderaddAllDoubleValues(java.lang.Iterable<? extends java.lang.Double> values)Repeated double value.FeedItemAttributeValue.BuilderaddAllIntegerValues(java.lang.Iterable<? extends java.lang.Long> values)Repeated int64 value.FeedItemAttributeValue.BuilderaddAllStringValues(java.lang.Iterable<java.lang.String> values)Repeated string value.FeedItemAttributeValue.BuilderaddBooleanValues(boolean value)Repeated bool value.FeedItemAttributeValue.BuilderaddDoubleValues(double value)Repeated double value.FeedItemAttributeValue.BuilderaddIntegerValues(long value)Repeated int64 value.FeedItemAttributeValue.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)FeedItemAttributeValue.BuilderaddStringValues(java.lang.String value)Repeated string value.FeedItemAttributeValue.BuilderaddStringValuesBytes(com.google.protobuf.ByteString value)Repeated string value.FeedItemAttributeValuebuild()FeedItemAttributeValuebuildPartial()FeedItemAttributeValue.Builderclear()FeedItemAttributeValue.BuilderclearBooleanValue()Bool value.FeedItemAttributeValue.BuilderclearBooleanValues()Repeated bool value.FeedItemAttributeValue.BuilderclearDoubleValue()Double value.FeedItemAttributeValue.BuilderclearDoubleValues()Repeated double value.FeedItemAttributeValue.BuilderclearFeedAttributeId()Id of the feed attribute for which the value is associated with.FeedItemAttributeValue.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FeedItemAttributeValue.BuilderclearIntegerValue()Int64 value.FeedItemAttributeValue.BuilderclearIntegerValues()Repeated int64 value.FeedItemAttributeValue.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FeedItemAttributeValue.BuilderclearPriceValue()Price value.FeedItemAttributeValue.BuilderclearStringValue()String value.FeedItemAttributeValue.BuilderclearStringValues()Repeated string value.FeedItemAttributeValue.Builderclone()booleangetBooleanValue()Bool value.booleangetBooleanValues(int index)Repeated bool value.intgetBooleanValuesCount()Repeated bool value.java.util.List<java.lang.Boolean>getBooleanValuesList()Repeated bool value.FeedItemAttributeValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetDoubleValue()Double value.doublegetDoubleValues(int index)Repeated double value.intgetDoubleValuesCount()Repeated double value.java.util.List<java.lang.Double>getDoubleValuesList()Repeated double value.longgetFeedAttributeId()Id of the feed attribute for which the value is associated with.longgetIntegerValue()Int64 value.longgetIntegerValues(int index)Repeated int64 value.intgetIntegerValuesCount()Repeated int64 value.java.util.List<java.lang.Long>getIntegerValuesList()Repeated int64 value.MoneygetPriceValue()Price value.Money.BuildergetPriceValueBuilder()Price value.MoneyOrBuildergetPriceValueOrBuilder()Price value.java.lang.StringgetStringValue()String value.com.google.protobuf.ByteStringgetStringValueBytes()String value.java.lang.StringgetStringValues(int index)Repeated string value.com.google.protobuf.ByteStringgetStringValuesBytes(int index)Repeated string value.intgetStringValuesCount()Repeated string value.com.google.protobuf.ProtocolStringListgetStringValuesList()Repeated string value.booleanhasBooleanValue()Bool value.booleanhasDoubleValue()Double value.booleanhasFeedAttributeId()Id of the feed attribute for which the value is associated with.booleanhasIntegerValue()Int64 value.booleanhasPriceValue()Price value.booleanhasStringValue()String value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FeedItemAttributeValue.BuildermergeFrom(FeedItemAttributeValue other)FeedItemAttributeValue.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FeedItemAttributeValue.BuildermergeFrom(com.google.protobuf.Message other)FeedItemAttributeValue.BuildermergePriceValue(Money value)Price value.FeedItemAttributeValue.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FeedItemAttributeValue.BuildersetBooleanValue(boolean value)Bool value.FeedItemAttributeValue.BuildersetBooleanValues(int index, boolean value)Repeated bool value.FeedItemAttributeValue.BuildersetDoubleValue(double value)Double value.FeedItemAttributeValue.BuildersetDoubleValues(int index, double value)Repeated double value.FeedItemAttributeValue.BuildersetFeedAttributeId(long value)Id of the feed attribute for which the value is associated with.FeedItemAttributeValue.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)FeedItemAttributeValue.BuildersetIntegerValue(long value)Int64 value.FeedItemAttributeValue.BuildersetIntegerValues(int index, long value)Repeated int64 value.FeedItemAttributeValue.BuildersetPriceValue(Money value)Price value.FeedItemAttributeValue.BuildersetPriceValue(Money.Builder builderForValue)Price value.FeedItemAttributeValue.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)FeedItemAttributeValue.BuildersetStringValue(java.lang.String value)String value.FeedItemAttributeValue.BuildersetStringValueBytes(com.google.protobuf.ByteString value)String value.FeedItemAttributeValue.BuildersetStringValues(int index, java.lang.String value)Repeated string value.FeedItemAttributeValue.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public FeedItemAttributeValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FeedItemAttributeValue build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FeedItemAttributeValue buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FeedItemAttributeValue.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
-
mergeFrom
public FeedItemAttributeValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeedItemAttributeValue.Builder>
-
mergeFrom
public FeedItemAttributeValue.Builder mergeFrom(FeedItemAttributeValue other)
-
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 java.io.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:
java.io.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
public FeedItemAttributeValue.Builder setFeedAttributeId(long value)
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
public FeedItemAttributeValue.Builder 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
public FeedItemAttributeValue.Builder setIntegerValue(long value)
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
public FeedItemAttributeValue.Builder 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
public FeedItemAttributeValue.Builder setBooleanValue(boolean value)
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
public FeedItemAttributeValue.Builder 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
public java.lang.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;- 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
public FeedItemAttributeValue.Builder setStringValue(java.lang.String value)
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
public FeedItemAttributeValue.Builder 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
public FeedItemAttributeValue.Builder setStringValueBytes(com.google.protobuf.ByteString value)
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
public FeedItemAttributeValue.Builder setDoubleValue(double value)
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
public FeedItemAttributeValue.Builder 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.v10.common.Money price_value = 6;- Specified by:
hasPriceValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- Whether the priceValue field is set.
-
getPriceValue
public Money getPriceValue()
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v10.common.Money price_value = 6;- Specified by:
getPriceValuein interfaceFeedItemAttributeValueOrBuilder- Returns:
- The priceValue.
-
setPriceValue
public FeedItemAttributeValue.Builder setPriceValue(Money value)
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v10.common.Money price_value = 6;
-
setPriceValue
public FeedItemAttributeValue.Builder setPriceValue(Money.Builder builderForValue)
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v10.common.Money price_value = 6;
-
mergePriceValue
public FeedItemAttributeValue.Builder mergePriceValue(Money value)
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v10.common.Money price_value = 6;
-
clearPriceValue
public FeedItemAttributeValue.Builder clearPriceValue()
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v10.common.Money price_value = 6;
-
getPriceValueBuilder
public Money.Builder getPriceValueBuilder()
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v10.common.Money price_value = 6;
-
getPriceValueOrBuilder
public MoneyOrBuilder getPriceValueOrBuilder()
Price value. Should be set if feed_attribute_id refers to a feed attribute of type PRICE.
.google.ads.googleads.v10.common.Money price_value = 6;- Specified by:
getPriceValueOrBuilderin interfaceFeedItemAttributeValueOrBuilder
-
getIntegerValuesList
public java.util.List<java.lang.Long> 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
public FeedItemAttributeValue.Builder setIntegerValues(int index, long value)
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
public FeedItemAttributeValue.Builder addIntegerValues(long value)
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
public FeedItemAttributeValue.Builder addAllIntegerValues(java.lang.Iterable<? extends java.lang.Long> values)
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
public FeedItemAttributeValue.Builder 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
public java.util.List<java.lang.Boolean> 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
public FeedItemAttributeValue.Builder setBooleanValues(int index, boolean value)
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
public FeedItemAttributeValue.Builder addBooleanValues(boolean value)
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
public FeedItemAttributeValue.Builder addAllBooleanValues(java.lang.Iterable<? extends java.lang.Boolean> values)
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
public FeedItemAttributeValue.Builder 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
public java.lang.String getStringValues(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:
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
public FeedItemAttributeValue.Builder setStringValues(int index, java.lang.String value)
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
public FeedItemAttributeValue.Builder addStringValues(java.lang.String value)
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
public FeedItemAttributeValue.Builder addAllStringValues(java.lang.Iterable<java.lang.String> values)
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
public FeedItemAttributeValue.Builder 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
public FeedItemAttributeValue.Builder addStringValuesBytes(com.google.protobuf.ByteString value)
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
public java.util.List<java.lang.Double> 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
public FeedItemAttributeValue.Builder setDoubleValues(int index, double value)
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
public FeedItemAttributeValue.Builder addDoubleValues(double value)
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
public FeedItemAttributeValue.Builder addAllDoubleValues(java.lang.Iterable<? extends java.lang.Double> values)
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
public FeedItemAttributeValue.Builder 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>
-
-