Class AdAssetPolicySummary.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AdAssetPolicySummary.Builder>
-
- com.google.ads.googleads.v10.common.AdAssetPolicySummary.Builder
-
- All Implemented Interfaces:
AdAssetPolicySummaryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AdAssetPolicySummary
public static final class AdAssetPolicySummary.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdAssetPolicySummary.Builder> implements AdAssetPolicySummaryOrBuilder
Contains policy information for an asset inside an ad.
Protobuf typegoogle.ads.googleads.v10.common.AdAssetPolicySummary
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdAssetPolicySummary.BuilderaddAllPolicyTopicEntries(java.lang.Iterable<? extends PolicyTopicEntry> values)The list of policy findings for this asset.AdAssetPolicySummary.BuilderaddPolicyTopicEntries(int index, PolicyTopicEntry value)The list of policy findings for this asset.AdAssetPolicySummary.BuilderaddPolicyTopicEntries(int index, PolicyTopicEntry.Builder builderForValue)The list of policy findings for this asset.AdAssetPolicySummary.BuilderaddPolicyTopicEntries(PolicyTopicEntry value)The list of policy findings for this asset.AdAssetPolicySummary.BuilderaddPolicyTopicEntries(PolicyTopicEntry.Builder builderForValue)The list of policy findings for this asset.PolicyTopicEntry.BuilderaddPolicyTopicEntriesBuilder()The list of policy findings for this asset.PolicyTopicEntry.BuilderaddPolicyTopicEntriesBuilder(int index)The list of policy findings for this asset.AdAssetPolicySummary.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AdAssetPolicySummarybuild()AdAssetPolicySummarybuildPartial()AdAssetPolicySummary.Builderclear()AdAssetPolicySummary.BuilderclearApprovalStatus()The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.AdAssetPolicySummary.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AdAssetPolicySummary.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AdAssetPolicySummary.BuilderclearPolicyTopicEntries()The list of policy findings for this asset.AdAssetPolicySummary.BuilderclearReviewStatus()Where in the review process this asset.AdAssetPolicySummary.Builderclone()PolicyApprovalStatusEnum.PolicyApprovalStatusgetApprovalStatus()The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.intgetApprovalStatusValue()The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.AdAssetPolicySummarygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()PolicyTopicEntrygetPolicyTopicEntries(int index)The list of policy findings for this asset.PolicyTopicEntry.BuildergetPolicyTopicEntriesBuilder(int index)The list of policy findings for this asset.java.util.List<PolicyTopicEntry.Builder>getPolicyTopicEntriesBuilderList()The list of policy findings for this asset.intgetPolicyTopicEntriesCount()The list of policy findings for this asset.java.util.List<PolicyTopicEntry>getPolicyTopicEntriesList()The list of policy findings for this asset.PolicyTopicEntryOrBuildergetPolicyTopicEntriesOrBuilder(int index)The list of policy findings for this asset.java.util.List<? extends PolicyTopicEntryOrBuilder>getPolicyTopicEntriesOrBuilderList()The list of policy findings for this asset.PolicyReviewStatusEnum.PolicyReviewStatusgetReviewStatus()Where in the review process this asset.intgetReviewStatusValue()Where in the review process this asset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AdAssetPolicySummary.BuildermergeFrom(AdAssetPolicySummary other)AdAssetPolicySummary.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AdAssetPolicySummary.BuildermergeFrom(com.google.protobuf.Message other)AdAssetPolicySummary.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AdAssetPolicySummary.BuilderremovePolicyTopicEntries(int index)The list of policy findings for this asset.AdAssetPolicySummary.BuildersetApprovalStatus(PolicyApprovalStatusEnum.PolicyApprovalStatus value)The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.AdAssetPolicySummary.BuildersetApprovalStatusValue(int value)The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.AdAssetPolicySummary.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AdAssetPolicySummary.BuildersetPolicyTopicEntries(int index, PolicyTopicEntry value)The list of policy findings for this asset.AdAssetPolicySummary.BuildersetPolicyTopicEntries(int index, PolicyTopicEntry.Builder builderForValue)The list of policy findings for this asset.AdAssetPolicySummary.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AdAssetPolicySummary.BuildersetReviewStatus(PolicyReviewStatusEnum.PolicyReviewStatus value)Where in the review process this asset.AdAssetPolicySummary.BuildersetReviewStatusValue(int value)Where in the review process this asset.AdAssetPolicySummary.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<AdAssetPolicySummary.Builder>
-
clear
public AdAssetPolicySummary.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<AdAssetPolicySummary.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<AdAssetPolicySummary.Builder>
-
getDefaultInstanceForType
public AdAssetPolicySummary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdAssetPolicySummary build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdAssetPolicySummary buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdAssetPolicySummary.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<AdAssetPolicySummary.Builder>
-
setField
public AdAssetPolicySummary.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<AdAssetPolicySummary.Builder>
-
clearField
public AdAssetPolicySummary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdAssetPolicySummary.Builder>
-
clearOneof
public AdAssetPolicySummary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdAssetPolicySummary.Builder>
-
setRepeatedField
public AdAssetPolicySummary.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<AdAssetPolicySummary.Builder>
-
addRepeatedField
public AdAssetPolicySummary.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<AdAssetPolicySummary.Builder>
-
mergeFrom
public AdAssetPolicySummary.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdAssetPolicySummary.Builder>
-
mergeFrom
public AdAssetPolicySummary.Builder mergeFrom(AdAssetPolicySummary other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AdAssetPolicySummary.Builder>
-
mergeFrom
public AdAssetPolicySummary.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<AdAssetPolicySummary.Builder>- Throws:
java.io.IOException
-
getPolicyTopicEntriesList
public java.util.List<PolicyTopicEntry> getPolicyTopicEntriesList()
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;- Specified by:
getPolicyTopicEntriesListin interfaceAdAssetPolicySummaryOrBuilder
-
getPolicyTopicEntriesCount
public int getPolicyTopicEntriesCount()
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;- Specified by:
getPolicyTopicEntriesCountin interfaceAdAssetPolicySummaryOrBuilder
-
getPolicyTopicEntries
public PolicyTopicEntry getPolicyTopicEntries(int index)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;- Specified by:
getPolicyTopicEntriesin interfaceAdAssetPolicySummaryOrBuilder
-
setPolicyTopicEntries
public AdAssetPolicySummary.Builder setPolicyTopicEntries(int index, PolicyTopicEntry value)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
setPolicyTopicEntries
public AdAssetPolicySummary.Builder setPolicyTopicEntries(int index, PolicyTopicEntry.Builder builderForValue)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
addPolicyTopicEntries
public AdAssetPolicySummary.Builder addPolicyTopicEntries(PolicyTopicEntry value)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
addPolicyTopicEntries
public AdAssetPolicySummary.Builder addPolicyTopicEntries(int index, PolicyTopicEntry value)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
addPolicyTopicEntries
public AdAssetPolicySummary.Builder addPolicyTopicEntries(PolicyTopicEntry.Builder builderForValue)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
addPolicyTopicEntries
public AdAssetPolicySummary.Builder addPolicyTopicEntries(int index, PolicyTopicEntry.Builder builderForValue)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
addAllPolicyTopicEntries
public AdAssetPolicySummary.Builder addAllPolicyTopicEntries(java.lang.Iterable<? extends PolicyTopicEntry> values)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
clearPolicyTopicEntries
public AdAssetPolicySummary.Builder clearPolicyTopicEntries()
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
removePolicyTopicEntries
public AdAssetPolicySummary.Builder removePolicyTopicEntries(int index)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
getPolicyTopicEntriesBuilder
public PolicyTopicEntry.Builder getPolicyTopicEntriesBuilder(int index)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
getPolicyTopicEntriesOrBuilder
public PolicyTopicEntryOrBuilder getPolicyTopicEntriesOrBuilder(int index)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;- Specified by:
getPolicyTopicEntriesOrBuilderin interfaceAdAssetPolicySummaryOrBuilder
-
getPolicyTopicEntriesOrBuilderList
public java.util.List<? extends PolicyTopicEntryOrBuilder> getPolicyTopicEntriesOrBuilderList()
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;- Specified by:
getPolicyTopicEntriesOrBuilderListin interfaceAdAssetPolicySummaryOrBuilder
-
addPolicyTopicEntriesBuilder
public PolicyTopicEntry.Builder addPolicyTopicEntriesBuilder()
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
addPolicyTopicEntriesBuilder
public PolicyTopicEntry.Builder addPolicyTopicEntriesBuilder(int index)
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
getPolicyTopicEntriesBuilderList
public java.util.List<PolicyTopicEntry.Builder> getPolicyTopicEntriesBuilderList()
The list of policy findings for this asset.
repeated .google.ads.googleads.v10.common.PolicyTopicEntry policy_topic_entries = 1;
-
getReviewStatusValue
public int getReviewStatusValue()
Where in the review process this asset.
.google.ads.googleads.v10.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2;- Specified by:
getReviewStatusValuein interfaceAdAssetPolicySummaryOrBuilder- Returns:
- The enum numeric value on the wire for reviewStatus.
-
setReviewStatusValue
public AdAssetPolicySummary.Builder setReviewStatusValue(int value)
Where in the review process this asset.
.google.ads.googleads.v10.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2;- Parameters:
value- The enum numeric value on the wire for reviewStatus to set.- Returns:
- This builder for chaining.
-
getReviewStatus
public PolicyReviewStatusEnum.PolicyReviewStatus getReviewStatus()
Where in the review process this asset.
.google.ads.googleads.v10.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2;- Specified by:
getReviewStatusin interfaceAdAssetPolicySummaryOrBuilder- Returns:
- The reviewStatus.
-
setReviewStatus
public AdAssetPolicySummary.Builder setReviewStatus(PolicyReviewStatusEnum.PolicyReviewStatus value)
Where in the review process this asset.
.google.ads.googleads.v10.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2;- Parameters:
value- The reviewStatus to set.- Returns:
- This builder for chaining.
-
clearReviewStatus
public AdAssetPolicySummary.Builder clearReviewStatus()
Where in the review process this asset.
.google.ads.googleads.v10.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2;- Returns:
- This builder for chaining.
-
getApprovalStatusValue
public int getApprovalStatusValue()
The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.
.google.ads.googleads.v10.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3;- Specified by:
getApprovalStatusValuein interfaceAdAssetPolicySummaryOrBuilder- Returns:
- The enum numeric value on the wire for approvalStatus.
-
setApprovalStatusValue
public AdAssetPolicySummary.Builder setApprovalStatusValue(int value)
The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.
.google.ads.googleads.v10.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3;- Parameters:
value- The enum numeric value on the wire for approvalStatus to set.- Returns:
- This builder for chaining.
-
getApprovalStatus
public PolicyApprovalStatusEnum.PolicyApprovalStatus getApprovalStatus()
The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.
.google.ads.googleads.v10.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3;- Specified by:
getApprovalStatusin interfaceAdAssetPolicySummaryOrBuilder- Returns:
- The approvalStatus.
-
setApprovalStatus
public AdAssetPolicySummary.Builder setApprovalStatus(PolicyApprovalStatusEnum.PolicyApprovalStatus value)
The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.
.google.ads.googleads.v10.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3;- Parameters:
value- The approvalStatus to set.- Returns:
- This builder for chaining.
-
clearApprovalStatus
public AdAssetPolicySummary.Builder clearApprovalStatus()
The overall approval status of this asset, which is calculated based on the status of its individual policy topic entries.
.google.ads.googleads.v10.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdAssetPolicySummary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdAssetPolicySummary.Builder>
-
mergeUnknownFields
public final AdAssetPolicySummary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdAssetPolicySummary.Builder>
-
-