Class ProductMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.services.ProductMetadata
-
- All Implemented Interfaces:
ProductMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ProductMetadata extends com.google.protobuf.GeneratedMessageV3 implements ProductMetadataOrBuilder
The metadata associated with an available plannable product.
Protobuf typegoogle.ads.googleads.v10.services.ProductMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProductMetadata.BuilderThe metadata associated with an available plannable product.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intPLANNABLE_PRODUCT_CODE_FIELD_NUMBERstatic intPLANNABLE_PRODUCT_NAME_FIELD_NUMBERstatic intPLANNABLE_TARGETING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static ProductMetadatagetDefaultInstance()ProductMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<ProductMetadata>getParserForType()java.lang.StringgetPlannableProductCode()The code associated with the ad product.com.google.protobuf.ByteStringgetPlannableProductCodeBytes()The code associated with the ad product.java.lang.StringgetPlannableProductName()The name associated with the ad product.com.google.protobuf.ByteStringgetPlannableProductNameBytes()The name associated with the ad product.PlannableTargetinggetPlannableTargeting()The allowed plannable targeting for this product.PlannableTargetingOrBuildergetPlannableTargetingOrBuilder()The allowed plannable targeting for this product.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasPlannableProductCode()The code associated with the ad product.booleanhasPlannableTargeting()The allowed plannable targeting for this product.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ProductMetadata.BuildernewBuilder()static ProductMetadata.BuildernewBuilder(ProductMetadata prototype)ProductMetadata.BuildernewBuilderForType()protected ProductMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ProductMetadataparseDelimitedFrom(java.io.InputStream input)static ProductMetadataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductMetadataparseFrom(byte[] data)static ProductMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductMetadataparseFrom(com.google.protobuf.ByteString data)static ProductMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductMetadataparseFrom(com.google.protobuf.CodedInputStream input)static ProductMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductMetadataparseFrom(java.io.InputStream input)static ProductMetadataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductMetadataparseFrom(java.nio.ByteBuffer data)static ProductMetadataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ProductMetadata>parser()ProductMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PLANNABLE_PRODUCT_CODE_FIELD_NUMBER
public static final int PLANNABLE_PRODUCT_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLANNABLE_PRODUCT_NAME_FIELD_NUMBER
public static final int PLANNABLE_PRODUCT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLANNABLE_TARGETING_FIELD_NUMBER
public static final int PLANNABLE_TARGETING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasPlannableProductCode
public boolean hasPlannableProductCode()
The code associated with the ad product. E.g. BUMPER, TRUEVIEW_IN_STREAM To list the available plannable product codes use ListPlannableProducts.
optional string plannable_product_code = 4;- Specified by:
hasPlannableProductCodein interfaceProductMetadataOrBuilder- Returns:
- Whether the plannableProductCode field is set.
-
getPlannableProductCode
public java.lang.String getPlannableProductCode()
The code associated with the ad product. E.g. BUMPER, TRUEVIEW_IN_STREAM To list the available plannable product codes use ListPlannableProducts.
optional string plannable_product_code = 4;- Specified by:
getPlannableProductCodein interfaceProductMetadataOrBuilder- Returns:
- The plannableProductCode.
-
getPlannableProductCodeBytes
public com.google.protobuf.ByteString getPlannableProductCodeBytes()
The code associated with the ad product. E.g. BUMPER, TRUEVIEW_IN_STREAM To list the available plannable product codes use ListPlannableProducts.
optional string plannable_product_code = 4;- Specified by:
getPlannableProductCodeBytesin interfaceProductMetadataOrBuilder- Returns:
- The bytes for plannableProductCode.
-
getPlannableProductName
public java.lang.String getPlannableProductName()
The name associated with the ad product.
string plannable_product_name = 3;- Specified by:
getPlannableProductNamein interfaceProductMetadataOrBuilder- Returns:
- The plannableProductName.
-
getPlannableProductNameBytes
public com.google.protobuf.ByteString getPlannableProductNameBytes()
The name associated with the ad product.
string plannable_product_name = 3;- Specified by:
getPlannableProductNameBytesin interfaceProductMetadataOrBuilder- Returns:
- The bytes for plannableProductName.
-
hasPlannableTargeting
public boolean hasPlannableTargeting()
The allowed plannable targeting for this product.
.google.ads.googleads.v10.services.PlannableTargeting plannable_targeting = 2;- Specified by:
hasPlannableTargetingin interfaceProductMetadataOrBuilder- Returns:
- Whether the plannableTargeting field is set.
-
getPlannableTargeting
public PlannableTargeting getPlannableTargeting()
The allowed plannable targeting for this product.
.google.ads.googleads.v10.services.PlannableTargeting plannable_targeting = 2;- Specified by:
getPlannableTargetingin interfaceProductMetadataOrBuilder- Returns:
- The plannableTargeting.
-
getPlannableTargetingOrBuilder
public PlannableTargetingOrBuilder getPlannableTargetingOrBuilder()
The allowed plannable targeting for this product.
.google.ads.googleads.v10.services.PlannableTargeting plannable_targeting = 2;- Specified by:
getPlannableTargetingOrBuilderin interfaceProductMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 ProductMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProductMetadata parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProductMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProductMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProductMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProductMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ProductMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ProductMetadata parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ProductMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ProductMetadata parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ProductMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ProductMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ProductMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ProductMetadata.Builder newBuilder()
-
newBuilder
public static ProductMetadata.Builder newBuilder(ProductMetadata prototype)
-
toBuilder
public ProductMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ProductMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ProductMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ProductMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<ProductMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ProductMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-