Class FeedItemAttributeValue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.FeedItemAttributeValue
- All Implemented Interfaces:
FeedItemAttributeValueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class FeedItemAttributeValue
extends com.google.protobuf.GeneratedMessageV3
implements FeedItemAttributeValueOrBuilder
A feed item attribute value.Protobuf type
google.ads.googleads.v18.resources.FeedItemAttributeValue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA feed item attribute value.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanBool value.booleangetBooleanValues(int index) Repeated bool value.intRepeated bool value.Repeated bool value.static FeedItemAttributeValuestatic final com.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.com.google.protobuf.Parser<FeedItemAttributeValue>Price value.Price value.intString 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.inthashCode()booleanInt64 value.booleanPrice value.booleanString value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(FeedItemAttributeValue prototype) protected FeedItemAttributeValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FeedItemAttributeValueparseDelimitedFrom(InputStream input) static FeedItemAttributeValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemAttributeValueparseFrom(byte[] data) static FeedItemAttributeValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemAttributeValueparseFrom(com.google.protobuf.ByteString data) static FeedItemAttributeValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemAttributeValueparseFrom(com.google.protobuf.CodedInputStream input) static FeedItemAttributeValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemAttributeValueparseFrom(InputStream input) static FeedItemAttributeValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeedItemAttributeValueparseFrom(ByteBuffer data) static FeedItemAttributeValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FeedItemAttributeValue>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FEED_ATTRIBUTE_ID_FIELD_NUMBER
public static final int FEED_ATTRIBUTE_ID_FIELD_NUMBER- See Also:
-
INTEGER_VALUE_FIELD_NUMBER
public static final int INTEGER_VALUE_FIELD_NUMBER- See Also:
-
BOOLEAN_VALUE_FIELD_NUMBER
public static final int BOOLEAN_VALUE_FIELD_NUMBER- See Also:
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- See Also:
-
DOUBLE_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER- See Also:
-
PRICE_VALUE_FIELD_NUMBER
public static final int PRICE_VALUE_FIELD_NUMBER- See Also:
-
INTEGER_VALUES_FIELD_NUMBER
public static final int INTEGER_VALUES_FIELD_NUMBER- See Also:
-
BOOLEAN_VALUES_FIELD_NUMBER
public static final int BOOLEAN_VALUES_FIELD_NUMBER- See Also:
-
STRING_VALUES_FIELD_NUMBER
public static final int STRING_VALUES_FIELD_NUMBER- See Also:
-
DOUBLE_VALUES_FIELD_NUMBER
public static final int DOUBLE_VALUES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FeedItemAttributeValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributeValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributeValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributeValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributeValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributeValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FeedItemAttributeValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FeedItemAttributeValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FeedItemAttributeValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FeedItemAttributeValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FeedItemAttributeValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-