Interface CampaignCriterionOperationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CampaignCriterionOperation, CampaignCriterionOperation.Builder

public interface CampaignCriterionOperationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Create operation: No resource name is expected for the new criterion.
    Create operation: No resource name is expected for the new criterion.
     
    Remove operation: A resource name for the removed criterion is expected, in this format: `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`
    com.google.protobuf.ByteString
    Remove operation: A resource name for the removed criterion is expected, in this format: `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`
    Update operation: The criterion is expected to have a valid resource name.
    com.google.protobuf.FieldMask
    FieldMask that determines which resource fields are modified in an update.
    com.google.protobuf.FieldMaskOrBuilder
    FieldMask that determines which resource fields are modified in an update.
    Update operation: The criterion is expected to have a valid resource name.
    boolean
    Create operation: No resource name is expected for the new criterion.
    boolean
    Remove operation: A resource name for the removed criterion is expected, in this format: `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`
    boolean
    Update operation: The criterion is expected to have a valid resource name.
    boolean
    FieldMask that determines which resource fields are modified in an update.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasUpdateMask

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

      com.google.protobuf.FieldMask getUpdateMask()
       FieldMask that determines which resource fields are modified in an update.
       
      .google.protobuf.FieldMask update_mask = 4;
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

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

      boolean hasCreate()
       Create operation: No resource name is expected for the new criterion.
       
      .google.ads.googleads.v18.resources.CampaignCriterion create = 1;
      Returns:
      Whether the create field is set.
    • getCreate

      CampaignCriterion getCreate()
       Create operation: No resource name is expected for the new criterion.
       
      .google.ads.googleads.v18.resources.CampaignCriterion create = 1;
      Returns:
      The create.
    • getCreateOrBuilder

      CampaignCriterionOrBuilder getCreateOrBuilder()
       Create operation: No resource name is expected for the new criterion.
       
      .google.ads.googleads.v18.resources.CampaignCriterion create = 1;
    • hasUpdate

      boolean hasUpdate()
       Update operation: The criterion is expected to have a valid resource
       name. Note that for smart campaigns, you cannot use the update method to
       edit the geolocation target.
       
      .google.ads.googleads.v18.resources.CampaignCriterion update = 2;
      Returns:
      Whether the update field is set.
    • getUpdate

      CampaignCriterion getUpdate()
       Update operation: The criterion is expected to have a valid resource
       name. Note that for smart campaigns, you cannot use the update method to
       edit the geolocation target.
       
      .google.ads.googleads.v18.resources.CampaignCriterion update = 2;
      Returns:
      The update.
    • getUpdateOrBuilder

      CampaignCriterionOrBuilder getUpdateOrBuilder()
       Update operation: The criterion is expected to have a valid resource
       name. Note that for smart campaigns, you cannot use the update method to
       edit the geolocation target.
       
      .google.ads.googleads.v18.resources.CampaignCriterion update = 2;
    • hasRemove

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

      String getRemove()
       Remove operation: A resource name for the removed criterion is expected,
       in this format:
      
       `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The remove.
    • getRemoveBytes

      com.google.protobuf.ByteString getRemoveBytes()
       Remove operation: A resource name for the removed criterion is expected,
       in this format:
      
       `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`
       
      string remove = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for remove.
    • getOperationCase