Class MutateKeywordPlansRequest.Builder

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

public static final class MutateKeywordPlansRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MutateKeywordPlansRequest.Builder> implements MutateKeywordPlansRequestOrBuilder
 Request message for
 [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v18.services.KeywordPlanService.MutateKeywordPlans].
 
Protobuf type google.ads.googleads.v18.services.MutateKeywordPlansRequest
  • 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<MutateKeywordPlansRequest.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<MutateKeywordPlansRequest.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<MutateKeywordPlansRequest.Builder>
    • getDefaultInstanceForType

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

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

      public MutateKeywordPlansRequest 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<MutateKeywordPlansRequest.Builder>
    • setField

      public MutateKeywordPlansRequest.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<MutateKeywordPlansRequest.Builder>
    • clearField

      public MutateKeywordPlansRequest.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<MutateKeywordPlansRequest.Builder>
    • clearOneof

      public MutateKeywordPlansRequest.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<MutateKeywordPlansRequest.Builder>
    • setRepeatedField

      public MutateKeywordPlansRequest.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<MutateKeywordPlansRequest.Builder>
    • addRepeatedField

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

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

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

      public String getCustomerId()
       Required. The ID of the customer whose keyword plans are being modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerId in interface MutateKeywordPlansRequestOrBuilder
      Returns:
      The customerId.
    • getCustomerIdBytes

      public com.google.protobuf.ByteString getCustomerIdBytes()
       Required. The ID of the customer whose keyword plans are being modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerIdBytes in interface MutateKeywordPlansRequestOrBuilder
      Returns:
      The bytes for customerId.
    • setCustomerId

      public MutateKeywordPlansRequest.Builder setCustomerId(String value)
       Required. The ID of the customer whose keyword plans are being modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The customerId to set.
      Returns:
      This builder for chaining.
    • clearCustomerId

      public MutateKeywordPlansRequest.Builder clearCustomerId()
       Required. The ID of the customer whose keyword plans are being modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCustomerIdBytes

      public MutateKeywordPlansRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the customer whose keyword plans are being modified.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for customerId to set.
      Returns:
      This builder for chaining.
    • getOperationsList

      public List<KeywordPlanOperation> getOperationsList()
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsList in interface MutateKeywordPlansRequestOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsCount in interface MutateKeywordPlansRequestOrBuilder
    • getOperations

      public KeywordPlanOperation getOperations(int index)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperations in interface MutateKeywordPlansRequestOrBuilder
    • setOperations

      public MutateKeywordPlansRequest.Builder setOperations(int index, KeywordPlanOperation value)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • setOperations

      public MutateKeywordPlansRequest.Builder setOperations(int index, KeywordPlanOperation.Builder builderForValue)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

      public MutateKeywordPlansRequest.Builder addOperations(int index, KeywordPlanOperation value)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

      public MutateKeywordPlansRequest.Builder addOperations(KeywordPlanOperation.Builder builderForValue)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperations

      public MutateKeywordPlansRequest.Builder addOperations(int index, KeywordPlanOperation.Builder builderForValue)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllOperations

      public MutateKeywordPlansRequest.Builder addAllOperations(Iterable<? extends KeywordPlanOperation> values)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearOperations

      public MutateKeywordPlansRequest.Builder clearOperations()
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeOperations

      public MutateKeywordPlansRequest.Builder removeOperations(int index)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOperationsBuilder

      public KeywordPlanOperation.Builder getOperationsBuilder(int index)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOperationsOrBuilder

      public KeywordPlanOperationOrBuilder getOperationsOrBuilder(int index)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsOrBuilder in interface MutateKeywordPlansRequestOrBuilder
    • getOperationsOrBuilderList

      public List<? extends KeywordPlanOperationOrBuilder> getOperationsOrBuilderList()
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationsOrBuilderList in interface MutateKeywordPlansRequestOrBuilder
    • addOperationsBuilder

      public KeywordPlanOperation.Builder addOperationsBuilder()
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • addOperationsBuilder

      public KeywordPlanOperation.Builder addOperationsBuilder(int index)
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOperationsBuilderList

      public List<KeywordPlanOperation.Builder> getOperationsBuilderList()
       Required. The list of operations to perform on individual keyword plans.
       
      repeated .google.ads.googleads.v18.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
    • getPartialFailure

      public boolean getPartialFailure()
       If true, successful operations will be carried out and invalid
       operations will return errors. If false, all operations will be carried
       out in one transaction if and only if they are all valid.
       Default is false.
       
      bool partial_failure = 3;
      Specified by:
      getPartialFailure in interface MutateKeywordPlansRequestOrBuilder
      Returns:
      The partialFailure.
    • setPartialFailure

      public MutateKeywordPlansRequest.Builder setPartialFailure(boolean value)
       If true, successful operations will be carried out and invalid
       operations will return errors. If false, all operations will be carried
       out in one transaction if and only if they are all valid.
       Default is false.
       
      bool partial_failure = 3;
      Parameters:
      value - The partialFailure to set.
      Returns:
      This builder for chaining.
    • clearPartialFailure

      public MutateKeywordPlansRequest.Builder clearPartialFailure()
       If true, successful operations will be carried out and invalid
       operations will return errors. If false, all operations will be carried
       out in one transaction if and only if they are all valid.
       Default is false.
       
      bool partial_failure = 3;
      Returns:
      This builder for chaining.
    • getValidateOnly

      public boolean getValidateOnly()
       If true, the request is validated but not executed. Only errors are
       returned, not results.
       
      bool validate_only = 4;
      Specified by:
      getValidateOnly in interface MutateKeywordPlansRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public MutateKeywordPlansRequest.Builder setValidateOnly(boolean value)
       If true, the request is validated but not executed. Only errors are
       returned, not results.
       
      bool validate_only = 4;
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public MutateKeywordPlansRequest.Builder clearValidateOnly()
       If true, the request is validated but not executed. Only errors are
       returned, not results.
       
      bool validate_only = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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