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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • getDefaultInstanceForType

      public FeedItemAttributeValue getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FeedItemAttributeValue build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FeedItemAttributeValue buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • setField

      public FeedItemAttributeValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • clearField

      public FeedItemAttributeValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • clearOneof

      public FeedItemAttributeValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • setRepeatedField

      public FeedItemAttributeValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • addRepeatedField

      public FeedItemAttributeValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • mergeFrom

      public FeedItemAttributeValue.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeedItemAttributeValue.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasFeedAttributeId in interface FeedItemAttributeValueOrBuilder
      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:
      getFeedAttributeId in interface FeedItemAttributeValueOrBuilder
      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:
      hasIntegerValue in interface FeedItemAttributeValueOrBuilder
      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:
      getIntegerValue in interface FeedItemAttributeValueOrBuilder
      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:
      hasBooleanValue in interface FeedItemAttributeValueOrBuilder
      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:
      getBooleanValue in interface FeedItemAttributeValueOrBuilder
      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:
      hasStringValue in interface FeedItemAttributeValueOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public 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:
      getStringValue in interface FeedItemAttributeValueOrBuilder
      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:
      getStringValueBytes in interface FeedItemAttributeValueOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public FeedItemAttributeValue.Builder setStringValue(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:
      hasDoubleValue in interface FeedItemAttributeValueOrBuilder
      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:
      getDoubleValue in interface FeedItemAttributeValueOrBuilder
      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.v18.common.Money price_value = 6;
      Specified by:
      hasPriceValue in interface FeedItemAttributeValueOrBuilder
      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.v18.common.Money price_value = 6;
      Specified by:
      getPriceValue in interface FeedItemAttributeValueOrBuilder
      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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.common.Money price_value = 6;
      Specified by:
      getPriceValueOrBuilder in interface FeedItemAttributeValueOrBuilder
    • getIntegerValuesList

      public List<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:
      getIntegerValuesList in interface FeedItemAttributeValueOrBuilder
      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:
      getIntegerValuesCount in interface FeedItemAttributeValueOrBuilder
      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:
      getIntegerValues in interface FeedItemAttributeValueOrBuilder
      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(Iterable<? extends 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 List<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:
      getBooleanValuesList in interface FeedItemAttributeValueOrBuilder
      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:
      getBooleanValuesCount in interface FeedItemAttributeValueOrBuilder
      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:
      getBooleanValues in interface FeedItemAttributeValueOrBuilder
      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(Iterable<? extends 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:
      getStringValuesList in interface FeedItemAttributeValueOrBuilder
      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:
      getStringValuesCount in interface FeedItemAttributeValueOrBuilder
      Returns:
      The count of stringValues.
    • getStringValues

      public 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:
      getStringValues in interface FeedItemAttributeValueOrBuilder
      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:
      getStringValuesBytes in interface FeedItemAttributeValueOrBuilder
      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, 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(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(Iterable<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 List<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:
      getDoubleValuesList in interface FeedItemAttributeValueOrBuilder
      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:
      getDoubleValuesCount in interface FeedItemAttributeValueOrBuilder
      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:
      getDoubleValues in interface FeedItemAttributeValueOrBuilder
      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(Iterable<? extends 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>
    • mergeUnknownFields

      public final FeedItemAttributeValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeedItemAttributeValue.Builder>