Class QuoteCampaignsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuoteCampaignsRequest.Builder>
com.google.ads.googleads.v23.services.QuoteCampaignsRequest.Builder
All Implemented Interfaces:
QuoteCampaignsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QuoteCampaignsRequest

public static final class QuoteCampaignsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuoteCampaignsRequest.Builder> implements QuoteCampaignsRequestOrBuilder
 Request message for
 [ReservationService.QuoteCampaigns][google.ads.googleads.v23.services.ReservationService.QuoteCampaigns].
 
Protobuf type google.ads.googleads.v23.services.QuoteCampaignsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QuoteCampaignsRequest.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.GeneratedMessage.Builder<QuoteCampaignsRequest.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.GeneratedMessage.Builder<QuoteCampaignsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public QuoteCampaignsRequest.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<QuoteCampaignsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public QuoteCampaignsRequest.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<QuoteCampaignsRequest.Builder>
      Throws:
      IOException
    • getCustomerId

      public String getCustomerId()
       Required. The ID of the customer making the request.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerId in interface QuoteCampaignsRequestOrBuilder
      Returns:
      The customerId.
    • getCustomerIdBytes

      public com.google.protobuf.ByteString getCustomerIdBytes()
       Required. The ID of the customer making the request.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerIdBytes in interface QuoteCampaignsRequestOrBuilder
      Returns:
      The bytes for customerId.
    • setCustomerId

      public QuoteCampaignsRequest.Builder setCustomerId(String value)
       Required. The ID of the customer making the request.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The customerId to set.
      Returns:
      This builder for chaining.
    • clearCustomerId

      public QuoteCampaignsRequest.Builder clearCustomerId()
       Required. The ID of the customer making the request.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCustomerIdBytes

      public QuoteCampaignsRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the customer making the request.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for customerId to set.
      Returns:
      This builder for chaining.
    • hasOperation

      public boolean hasOperation()
       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
      Specified by:
      hasOperation in interface QuoteCampaignsRequestOrBuilder
      Returns:
      Whether the operation field is set.
    • getOperation

      public QuoteCampaignsOperation getOperation()
       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
      Specified by:
      getOperation in interface QuoteCampaignsRequestOrBuilder
      Returns:
      The operation.
    • setOperation

       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
    • setOperation

      public QuoteCampaignsRequest.Builder setOperation(QuoteCampaignsOperation.Builder builderForValue)
       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
    • mergeOperation

       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
    • clearOperation

      public QuoteCampaignsRequest.Builder clearOperation()
       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
    • getOperationBuilder

      public QuoteCampaignsOperation.Builder getOperationBuilder()
       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
    • getOperationOrBuilder

      public QuoteCampaignsOperationOrBuilder getOperationOrBuilder()
       The operation to quote the campaigns.
       
      .google.ads.googleads.v23.actions.QuoteCampaignsOperation operation = 2;
      Specified by:
      getOperationOrBuilder in interface QuoteCampaignsRequestOrBuilder