Class AssetGroupSignalOperation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.Builder>
com.google.ads.googleads.v18.services.AssetGroupSignalOperation.Builder
All Implemented Interfaces:
AssetGroupSignalOperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AssetGroupSignalOperation

public static final class AssetGroupSignalOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.Builder> implements AssetGroupSignalOperationOrBuilder
 A single operation (create, remove) on an asset group signal.
 
Protobuf type google.ads.googleads.v18.services.AssetGroupSignalOperation
  • Method Details

    • 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<AssetGroupSignalOperation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.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<AssetGroupSignalOperation.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.Builder>
    • setField

      public AssetGroupSignalOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.Builder>
    • clearField

      public AssetGroupSignalOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.Builder>
    • clearOneof

      public AssetGroupSignalOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.Builder>
    • setRepeatedField

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

      public AssetGroupSignalOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupSignalOperation.Builder>
    • mergeFrom

      public AssetGroupSignalOperation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssetGroupSignalOperation.Builder>
    • mergeFrom

    • isInitialized

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

      public AssetGroupSignalOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<AssetGroupSignalOperation.Builder>
      Throws:
      IOException
    • getOperationCase

      public AssetGroupSignalOperation.OperationCase getOperationCase()
      Specified by:
      getOperationCase in interface AssetGroupSignalOperationOrBuilder
    • clearOperation

      public AssetGroupSignalOperation.Builder clearOperation()
    • getExemptPolicyViolationKeysList

      public List<PolicyViolationKey> getExemptPolicyViolationKeysList()
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExemptPolicyViolationKeysList in interface AssetGroupSignalOperationOrBuilder
    • getExemptPolicyViolationKeysCount

      public int getExemptPolicyViolationKeysCount()
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExemptPolicyViolationKeysCount in interface AssetGroupSignalOperationOrBuilder
    • getExemptPolicyViolationKeys

      public PolicyViolationKey getExemptPolicyViolationKeys(int index)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExemptPolicyViolationKeys in interface AssetGroupSignalOperationOrBuilder
    • setExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder setExemptPolicyViolationKeys(int index, PolicyViolationKey value)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder setExemptPolicyViolationKeys(int index, PolicyViolationKey.Builder builderForValue)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder addExemptPolicyViolationKeys(PolicyViolationKey value)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder addExemptPolicyViolationKeys(int index, PolicyViolationKey value)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder addExemptPolicyViolationKeys(PolicyViolationKey.Builder builderForValue)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder addExemptPolicyViolationKeys(int index, PolicyViolationKey.Builder builderForValue)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder addAllExemptPolicyViolationKeys(Iterable<? extends PolicyViolationKey> values)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder clearExemptPolicyViolationKeys()
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeExemptPolicyViolationKeys

      public AssetGroupSignalOperation.Builder removeExemptPolicyViolationKeys(int index)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getExemptPolicyViolationKeysBuilder

      public PolicyViolationKey.Builder getExemptPolicyViolationKeysBuilder(int index)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getExemptPolicyViolationKeysOrBuilder

      public PolicyViolationKeyOrBuilder getExemptPolicyViolationKeysOrBuilder(int index)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExemptPolicyViolationKeysOrBuilder in interface AssetGroupSignalOperationOrBuilder
    • getExemptPolicyViolationKeysOrBuilderList

      public List<? extends PolicyViolationKeyOrBuilder> getExemptPolicyViolationKeysOrBuilderList()
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExemptPolicyViolationKeysOrBuilderList in interface AssetGroupSignalOperationOrBuilder
    • addExemptPolicyViolationKeysBuilder

      public PolicyViolationKey.Builder addExemptPolicyViolationKeysBuilder()
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addExemptPolicyViolationKeysBuilder

      public PolicyViolationKey.Builder addExemptPolicyViolationKeysBuilder(int index)
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getExemptPolicyViolationKeysBuilderList

      public List<PolicyViolationKey.Builder> getExemptPolicyViolationKeysBuilderList()
       Optional. The list of policy violation keys that should not cause a
       PolicyViolationError to be reported. Not all policy violations are
       exemptable, 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.v18.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreate

      public boolean hasCreate()
       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
      Specified by:
      hasCreate in interface AssetGroupSignalOperationOrBuilder
      Returns:
      Whether the create field is set.
    • getCreate

      public AssetGroupSignal getCreate()
       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
      Specified by:
      getCreate in interface AssetGroupSignalOperationOrBuilder
      Returns:
      The create.
    • setCreate

       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
    • setCreate

      public AssetGroupSignalOperation.Builder setCreate(AssetGroupSignal.Builder builderForValue)
       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
    • mergeCreate

       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
    • clearCreate

      public AssetGroupSignalOperation.Builder clearCreate()
       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
    • getCreateBuilder

      public AssetGroupSignal.Builder getCreateBuilder()
       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
    • getCreateOrBuilder

      public AssetGroupSignalOrBuilder getCreateOrBuilder()
       Create operation: No resource name is expected for the new asset group
       signal.
       
      .google.ads.googleads.v18.resources.AssetGroupSignal create = 1;
      Specified by:
      getCreateOrBuilder in interface AssetGroupSignalOperationOrBuilder
    • hasRemove

      public boolean hasRemove()
       Remove operation: A resource name for the removed asset group signal is
       expected, in this format:
       `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasRemove in interface AssetGroupSignalOperationOrBuilder
      Returns:
      Whether the remove field is set.
    • getRemove

      public String getRemove()
       Remove operation: A resource name for the removed asset group signal is
       expected, in this format:
       `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRemove in interface AssetGroupSignalOperationOrBuilder
      Returns:
      The remove.
    • getRemoveBytes

      public com.google.protobuf.ByteString getRemoveBytes()
       Remove operation: A resource name for the removed asset group signal is
       expected, in this format:
       `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRemoveBytes in interface AssetGroupSignalOperationOrBuilder
      Returns:
      The bytes for remove.
    • setRemove

      public AssetGroupSignalOperation.Builder setRemove(String value)
       Remove operation: A resource name for the removed asset group signal is
       expected, in this format:
       `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The remove to set.
      Returns:
      This builder for chaining.
    • clearRemove

      public AssetGroupSignalOperation.Builder clearRemove()
       Remove operation: A resource name for the removed asset group signal is
       expected, in this format:
       `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRemoveBytes

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

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

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