Class AssetGroupAsset
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.resources.AssetGroupAsset
-
- All Implemented Interfaces:
AssetGroupAssetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class AssetGroupAsset extends com.google.protobuf.GeneratedMessageV3 implements AssetGroupAssetOrBuilder
AssetGroupAsset is the link between an asset and an asset group. Adding an AssetGroupAsset links an asset with an asset group.
Protobuf typegoogle.ads.googleads.v10.resources.AssetGroupAsset- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssetGroupAsset.BuilderAssetGroupAsset is the link between an asset and an asset group.-
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 intASSET_FIELD_NUMBERstatic intASSET_GROUP_FIELD_NUMBERstatic intFIELD_TYPE_FIELD_NUMBERstatic intPERFORMANCE_LABEL_FIELD_NUMBERstatic intPOLICY_SUMMARY_FIELD_NUMBERstatic intRESOURCE_NAME_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAsset()Immutable.com.google.protobuf.ByteStringgetAssetBytes()Immutable.java.lang.StringgetAssetGroup()Immutable.com.google.protobuf.ByteStringgetAssetGroupBytes()Immutable.static AssetGroupAssetgetDefaultInstance()AssetGroupAssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AssetFieldTypeEnum.AssetFieldTypegetFieldType()The description of the placement of the asset within the asset group.intgetFieldTypeValue()The description of the placement of the asset within the asset group.com.google.protobuf.Parser<AssetGroupAsset>getParserForType()AssetPerformanceLabelEnum.AssetPerformanceLabelgetPerformanceLabel()Output only.intgetPerformanceLabelValue()Output only.PolicySummarygetPolicySummary()Output only.PolicySummaryOrBuildergetPolicySummaryOrBuilder()Output only.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.intgetSerializedSize()AssetLinkStatusEnum.AssetLinkStatusgetStatus()The status of the link between an asset and asset group.intgetStatusValue()The status of the link between an asset and asset group.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasPolicySummary()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AssetGroupAsset.BuildernewBuilder()static AssetGroupAsset.BuildernewBuilder(AssetGroupAsset prototype)AssetGroupAsset.BuildernewBuilderForType()protected AssetGroupAsset.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AssetGroupAssetparseDelimitedFrom(java.io.InputStream input)static AssetGroupAssetparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetGroupAssetparseFrom(byte[] data)static AssetGroupAssetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetGroupAssetparseFrom(com.google.protobuf.ByteString data)static AssetGroupAssetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetGroupAssetparseFrom(com.google.protobuf.CodedInputStream input)static AssetGroupAssetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetGroupAssetparseFrom(java.io.InputStream input)static AssetGroupAssetparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetGroupAssetparseFrom(java.nio.ByteBuffer data)static AssetGroupAssetparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AssetGroupAsset>parser()AssetGroupAsset.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
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_GROUP_FIELD_NUMBER
public static final int ASSET_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_FIELD_NUMBER
public static final int ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIELD_TYPE_FIELD_NUMBER
public static final int FIELD_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERFORMANCE_LABEL_FIELD_NUMBER
public static final int PERFORMANCE_LABEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICY_SUMMARY_FIELD_NUMBER
public static final int POLICY_SUMMARY_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
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the asset group asset. Asset group asset resource name have the form: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAssetGroupAssetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the asset group asset. Asset group asset resource name have the form: `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAssetGroupAssetOrBuilder- Returns:
- The bytes for resourceName.
-
getAssetGroup
public java.lang.String getAssetGroup()
Immutable. The asset group which this asset group asset is linking.
string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetGroupin interfaceAssetGroupAssetOrBuilder- Returns:
- The assetGroup.
-
getAssetGroupBytes
public com.google.protobuf.ByteString getAssetGroupBytes()
Immutable. The asset group which this asset group asset is linking.
string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetGroupBytesin interfaceAssetGroupAssetOrBuilder- Returns:
- The bytes for assetGroup.
-
getAsset
public java.lang.String getAsset()
Immutable. The asset which this asset group asset is linking.
string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetin interfaceAssetGroupAssetOrBuilder- Returns:
- The asset.
-
getAssetBytes
public com.google.protobuf.ByteString getAssetBytes()
Immutable. The asset which this asset group asset is linking.
string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getAssetBytesin interfaceAssetGroupAssetOrBuilder- Returns:
- The bytes for asset.
-
getFieldTypeValue
public int getFieldTypeValue()
The description of the placement of the asset within the asset group. E.g.: HEADLINE, YOUTUBE_VIDEO etc
.google.ads.googleads.v10.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4;- Specified by:
getFieldTypeValuein interfaceAssetGroupAssetOrBuilder- Returns:
- The enum numeric value on the wire for fieldType.
-
getFieldType
public AssetFieldTypeEnum.AssetFieldType getFieldType()
The description of the placement of the asset within the asset group. E.g.: HEADLINE, YOUTUBE_VIDEO etc
.google.ads.googleads.v10.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4;- Specified by:
getFieldTypein interfaceAssetGroupAssetOrBuilder- Returns:
- The fieldType.
-
getStatusValue
public int getStatusValue()
The status of the link between an asset and asset group.
.google.ads.googleads.v10.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Specified by:
getStatusValuein interfaceAssetGroupAssetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public AssetLinkStatusEnum.AssetLinkStatus getStatus()
The status of the link between an asset and asset group.
.google.ads.googleads.v10.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Specified by:
getStatusin interfaceAssetGroupAssetOrBuilder- Returns:
- The status.
-
getPerformanceLabelValue
public int getPerformanceLabelValue()
Output only. The performance of this asset group asset.
.google.ads.googleads.v10.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceLabelValuein interfaceAssetGroupAssetOrBuilder- Returns:
- The enum numeric value on the wire for performanceLabel.
-
getPerformanceLabel
public AssetPerformanceLabelEnum.AssetPerformanceLabel getPerformanceLabel()
Output only. The performance of this asset group asset.
.google.ads.googleads.v10.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceLabelin interfaceAssetGroupAssetOrBuilder- Returns:
- The performanceLabel.
-
hasPolicySummary
public boolean hasPolicySummary()
Output only. The policy information for this asset group asset.
.google.ads.googleads.v10.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPolicySummaryin interfaceAssetGroupAssetOrBuilder- Returns:
- Whether the policySummary field is set.
-
getPolicySummary
public PolicySummary getPolicySummary()
Output only. The policy information for this asset group asset.
.google.ads.googleads.v10.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryin interfaceAssetGroupAssetOrBuilder- Returns:
- The policySummary.
-
getPolicySummaryOrBuilder
public PolicySummaryOrBuilder getPolicySummaryOrBuilder()
Output only. The policy information for this asset group asset.
.google.ads.googleads.v10.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryOrBuilderin interfaceAssetGroupAssetOrBuilder
-
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 AssetGroupAsset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetGroupAsset parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetGroupAsset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetGroupAsset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetGroupAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetGroupAsset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssetGroupAsset parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AssetGroupAsset parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AssetGroupAsset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AssetGroupAsset parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AssetGroupAsset parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AssetGroupAsset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AssetGroupAsset.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AssetGroupAsset.Builder newBuilder()
-
newBuilder
public static AssetGroupAsset.Builder newBuilder(AssetGroupAsset prototype)
-
toBuilder
public AssetGroupAsset.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AssetGroupAsset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AssetGroupAsset getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AssetGroupAsset> parser()
-
getParserForType
public com.google.protobuf.Parser<AssetGroupAsset> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AssetGroupAsset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-