Class CustomerLabelOperation.Builder

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

public static final class CustomerLabelOperation.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomerLabelOperation.Builder> implements CustomerLabelOperationOrBuilder
 A single operation (create, remove) on a customer-label relationship.
 
Protobuf type google.ads.googleads.v23.services.CustomerLabelOperation
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Create operation: No resource name is expected for the new customer-label relationship.
     
    Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`
    Create operation: No resource name is expected for the new customer-label relationship.
    Create operation: No resource name is expected for the new customer-label relationship.
    Create operation: No resource name is expected for the new customer-label relationship.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
     
    Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`
    com.google.protobuf.ByteString
    Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`
    boolean
    Create operation: No resource name is expected for the new customer-label relationship.
    boolean
    Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    Create operation: No resource name is expected for the new customer-label relationship.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Create operation: No resource name is expected for the new customer-label relationship.
    Create operation: No resource name is expected for the new customer-label relationship.
    Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`
    setRemoveBytes(com.google.protobuf.ByteString value)
    Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<CustomerLabelOperation.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<CustomerLabelOperation.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<CustomerLabelOperation.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CustomerLabelOperation.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<CustomerLabelOperation.Builder>
      Throws:
      IOException
    • getOperationCase

      public CustomerLabelOperation.OperationCase getOperationCase()
      Specified by:
      getOperationCase in interface CustomerLabelOperationOrBuilder
    • clearOperation

      public CustomerLabelOperation.Builder clearOperation()
    • hasCreate

      public boolean hasCreate()
       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
      Specified by:
      hasCreate in interface CustomerLabelOperationOrBuilder
      Returns:
      Whether the create field is set.
    • getCreate

      public CustomerLabel getCreate()
       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
      Specified by:
      getCreate in interface CustomerLabelOperationOrBuilder
      Returns:
      The create.
    • setCreate

       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
    • setCreate

      public CustomerLabelOperation.Builder setCreate(CustomerLabel.Builder builderForValue)
       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
    • mergeCreate

      public CustomerLabelOperation.Builder mergeCreate(CustomerLabel value)
       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
    • clearCreate

      public CustomerLabelOperation.Builder clearCreate()
       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
    • getCreateBuilder

      public CustomerLabel.Builder getCreateBuilder()
       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
    • getCreateOrBuilder

      public CustomerLabelOrBuilder getCreateOrBuilder()
       Create operation: No resource name is expected for the new customer-label
       relationship.
       
      .google.ads.googleads.v23.resources.CustomerLabel create = 1;
      Specified by:
      getCreateOrBuilder in interface CustomerLabelOperationOrBuilder
    • hasRemove

      public boolean hasRemove()
       Remove operation: A resource name for the customer-label relationship
       being removed, in this format:
      
       `customers/{customer_id}/customerLabels/{label_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasRemove in interface CustomerLabelOperationOrBuilder
      Returns:
      Whether the remove field is set.
    • getRemove

      public String getRemove()
       Remove operation: A resource name for the customer-label relationship
       being removed, in this format:
      
       `customers/{customer_id}/customerLabels/{label_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRemove in interface CustomerLabelOperationOrBuilder
      Returns:
      The remove.
    • getRemoveBytes

      public com.google.protobuf.ByteString getRemoveBytes()
       Remove operation: A resource name for the customer-label relationship
       being removed, in this format:
      
       `customers/{customer_id}/customerLabels/{label_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRemoveBytes in interface CustomerLabelOperationOrBuilder
      Returns:
      The bytes for remove.
    • setRemove

      public CustomerLabelOperation.Builder setRemove(String value)
       Remove operation: A resource name for the customer-label relationship
       being removed, in this format:
      
       `customers/{customer_id}/customerLabels/{label_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The remove to set.
      Returns:
      This builder for chaining.
    • clearRemove

      public CustomerLabelOperation.Builder clearRemove()
       Remove operation: A resource name for the customer-label relationship
       being removed, in this format:
      
       `customers/{customer_id}/customerLabels/{label_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRemoveBytes

      public CustomerLabelOperation.Builder setRemoveBytes(com.google.protobuf.ByteString value)
       Remove operation: A resource name for the customer-label relationship
       being removed, in this format:
      
       `customers/{customer_id}/customerLabels/{label_id}`
       
      string remove = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for remove to set.
      Returns:
      This builder for chaining.