Class AdGroupCriterionOperation.Builder

    • Method Detail

      • 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<AdGroupCriterionOperation.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<AdGroupCriterionOperation.Builder>
      • getDefaultInstanceForType

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

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

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

        public AdGroupCriterionOperation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterionOperation.Builder>
      • setRepeatedField

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

        public AdGroupCriterionOperation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterionOperation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterionOperation.Builder>
      • mergeFrom

        public AdGroupCriterionOperation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.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<AdGroupCriterionOperation.Builder>
        Throws:
        java.io.IOException
      • hasUpdateMask

        public boolean hasUpdateMask()
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
        Specified by:
        hasUpdateMask in interface AdGroupCriterionOperationOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
        Specified by:
        getUpdateMask in interface AdGroupCriterionOperationOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public AdGroupCriterionOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • setUpdateMask

        public AdGroupCriterionOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • mergeUpdateMask

        public AdGroupCriterionOperation.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • clearUpdateMask

        public AdGroupCriterionOperation.Builder clearUpdateMask()
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         FieldMask that determines which resource fields are modified in an update.
         
        .google.protobuf.FieldMask update_mask = 4;
        Specified by:
        getUpdateMaskOrBuilder in interface AdGroupCriterionOperationOrBuilder
      • getExemptPolicyViolationKeysList

        public java.util.List<PolicyViolationKey> getExemptPolicyViolationKeysList()
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
        Specified by:
        getExemptPolicyViolationKeysList in interface AdGroupCriterionOperationOrBuilder
      • getExemptPolicyViolationKeysCount

        public int getExemptPolicyViolationKeysCount()
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
        Specified by:
        getExemptPolicyViolationKeysCount in interface AdGroupCriterionOperationOrBuilder
      • getExemptPolicyViolationKeys

        public PolicyViolationKey getExemptPolicyViolationKeys​(int index)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
        Specified by:
        getExemptPolicyViolationKeys in interface AdGroupCriterionOperationOrBuilder
      • setExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder setExemptPolicyViolationKeys​(int index,
                                                                              PolicyViolationKey value)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • setExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder setExemptPolicyViolationKeys​(int index,
                                                                              PolicyViolationKey.Builder builderForValue)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • addExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder addExemptPolicyViolationKeys​(PolicyViolationKey value)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • addExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder addExemptPolicyViolationKeys​(int index,
                                                                              PolicyViolationKey value)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • addExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder addExemptPolicyViolationKeys​(PolicyViolationKey.Builder builderForValue)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • addExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder addExemptPolicyViolationKeys​(int index,
                                                                              PolicyViolationKey.Builder builderForValue)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • addAllExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder addAllExemptPolicyViolationKeys​(java.lang.Iterable<? extends PolicyViolationKey> values)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • clearExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder clearExemptPolicyViolationKeys()
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • removeExemptPolicyViolationKeys

        public AdGroupCriterionOperation.Builder removeExemptPolicyViolationKeys​(int index)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • getExemptPolicyViolationKeysBuilder

        public PolicyViolationKey.Builder getExemptPolicyViolationKeysBuilder​(int index)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • getExemptPolicyViolationKeysOrBuilder

        public PolicyViolationKeyOrBuilder getExemptPolicyViolationKeysOrBuilder​(int index)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
        Specified by:
        getExemptPolicyViolationKeysOrBuilder in interface AdGroupCriterionOperationOrBuilder
      • getExemptPolicyViolationKeysOrBuilderList

        public java.util.List<? extends PolicyViolationKeyOrBuilder> getExemptPolicyViolationKeysOrBuilderList()
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
        Specified by:
        getExemptPolicyViolationKeysOrBuilderList in interface AdGroupCriterionOperationOrBuilder
      • addExemptPolicyViolationKeysBuilder

        public PolicyViolationKey.Builder addExemptPolicyViolationKeysBuilder()
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • addExemptPolicyViolationKeysBuilder

        public PolicyViolationKey.Builder addExemptPolicyViolationKeysBuilder​(int index)
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • getExemptPolicyViolationKeysBuilderList

        public java.util.List<PolicyViolationKey.Builder> getExemptPolicyViolationKeysBuilderList()
         The list of policy violation keys that should not cause a
         PolicyViolationError to be reported. Not all policy violations are
         exemptable, please refer to the is_exemptible field in the returned
         PolicyViolationError.
         Resources violating these polices will be saved, but will not be eligible
         to serve. They may begin serving at a later time due to a change in
         policies, re-review of the resource, or a change in advertiser
         certificates.
         
        repeated .google.ads.googleads.v10.common.PolicyViolationKey exempt_policy_violation_keys = 5;
      • hasCreate

        public boolean hasCreate()
         Create operation: No resource name is expected for the new criterion.
         
        .google.ads.googleads.v10.resources.AdGroupCriterion create = 1;
        Specified by:
        hasCreate in interface AdGroupCriterionOperationOrBuilder
        Returns:
        Whether the create field is set.
      • clearCreate

        public AdGroupCriterionOperation.Builder clearCreate()
         Create operation: No resource name is expected for the new criterion.
         
        .google.ads.googleads.v10.resources.AdGroupCriterion create = 1;
      • getCreateBuilder

        public AdGroupCriterion.Builder getCreateBuilder()
         Create operation: No resource name is expected for the new criterion.
         
        .google.ads.googleads.v10.resources.AdGroupCriterion create = 1;
      • hasUpdate

        public boolean hasUpdate()
         Update operation: The criterion is expected to have a valid resource
         name.
         
        .google.ads.googleads.v10.resources.AdGroupCriterion update = 2;
        Specified by:
        hasUpdate in interface AdGroupCriterionOperationOrBuilder
        Returns:
        Whether the update field is set.
      • clearUpdate

        public AdGroupCriterionOperation.Builder clearUpdate()
         Update operation: The criterion is expected to have a valid resource
         name.
         
        .google.ads.googleads.v10.resources.AdGroupCriterion update = 2;
      • getUpdateBuilder

        public AdGroupCriterion.Builder getUpdateBuilder()
         Update operation: The criterion is expected to have a valid resource
         name.
         
        .google.ads.googleads.v10.resources.AdGroupCriterion update = 2;
      • hasRemove

        public boolean hasRemove()
         Remove operation: A resource name for the removed criterion is expected,
         in this format:
         `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        hasRemove in interface AdGroupCriterionOperationOrBuilder
        Returns:
        Whether the remove field is set.
      • getRemove

        public java.lang.String getRemove()
         Remove operation: A resource name for the removed criterion is expected,
         in this format:
         `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemove in interface AdGroupCriterionOperationOrBuilder
        Returns:
        The remove.
      • getRemoveBytes

        public com.google.protobuf.ByteString getRemoveBytes()
         Remove operation: A resource name for the removed criterion is expected,
         in this format:
         `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemoveBytes in interface AdGroupCriterionOperationOrBuilder
        Returns:
        The bytes for remove.
      • setRemove

        public AdGroupCriterionOperation.Builder setRemove​(java.lang.String value)
         Remove operation: A resource name for the removed criterion is expected,
         in this format:
         `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The remove to set.
        Returns:
        This builder for chaining.
      • clearRemove

        public AdGroupCriterionOperation.Builder clearRemove()
         Remove operation: A resource name for the removed criterion is expected,
         in this format:
         `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setRemoveBytes

        public AdGroupCriterionOperation.Builder setRemoveBytes​(com.google.protobuf.ByteString value)
         Remove operation: A resource name for the removed criterion is expected,
         in this format:
         `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
         
        string remove = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for remove to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AdGroupCriterionOperation.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<AdGroupCriterionOperation.Builder>
      • mergeUnknownFields

        public final AdGroupCriterionOperation.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<AdGroupCriterionOperation.Builder>