Class BatchJobOperation.Builder

  • All Implemented Interfaces:
    BatchJobOperationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    BatchJobOperation

    public static final class BatchJobOperation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BatchJobOperation.Builder>
    implements BatchJobOperationOrBuilder
     A single operation on a batch job.
     
    Protobuf type google.ads.googleads.v13.services.BatchJobOperation
    • Method Detail

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

        public BatchJobOperation.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<BatchJobOperation.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<BatchJobOperation.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

        public BatchJobOperation.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<BatchJobOperation.Builder>
      • isInitialized

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

        public BatchJobOperation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.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<BatchJobOperation.Builder>
        Throws:
        java.io.IOException
      • hasCreate

        public boolean hasCreate()
         Create operation: No resource name is expected for the new batch job.
         
        .google.ads.googleads.v13.resources.BatchJob create = 1;
        Specified by:
        hasCreate in interface BatchJobOperationOrBuilder
        Returns:
        Whether the create field is set.
      • getCreate

        public BatchJob getCreate()
         Create operation: No resource name is expected for the new batch job.
         
        .google.ads.googleads.v13.resources.BatchJob create = 1;
        Specified by:
        getCreate in interface BatchJobOperationOrBuilder
        Returns:
        The create.
      • setCreate

        public BatchJobOperation.Builder setCreate​(BatchJob value)
         Create operation: No resource name is expected for the new batch job.
         
        .google.ads.googleads.v13.resources.BatchJob create = 1;
      • setCreate

        public BatchJobOperation.Builder setCreate​(BatchJob.Builder builderForValue)
         Create operation: No resource name is expected for the new batch job.
         
        .google.ads.googleads.v13.resources.BatchJob create = 1;
      • mergeCreate

        public BatchJobOperation.Builder mergeCreate​(BatchJob value)
         Create operation: No resource name is expected for the new batch job.
         
        .google.ads.googleads.v13.resources.BatchJob create = 1;
      • clearCreate

        public BatchJobOperation.Builder clearCreate()
         Create operation: No resource name is expected for the new batch job.
         
        .google.ads.googleads.v13.resources.BatchJob create = 1;
      • getCreateBuilder

        public BatchJob.Builder getCreateBuilder()
         Create operation: No resource name is expected for the new batch job.
         
        .google.ads.googleads.v13.resources.BatchJob create = 1;
      • hasRemove

        public boolean hasRemove()
         Remove operation: The batch job must not have been run. A resource name
         for the removed batch job is expected, in this format:
        
         `customers/{customer_id}/batchJobs/{batch_job_id}`
         
        string remove = 4 [(.google.api.resource_reference) = { ... }
        Specified by:
        hasRemove in interface BatchJobOperationOrBuilder
        Returns:
        Whether the remove field is set.
      • getRemove

        public java.lang.String getRemove()
         Remove operation: The batch job must not have been run. A resource name
         for the removed batch job is expected, in this format:
        
         `customers/{customer_id}/batchJobs/{batch_job_id}`
         
        string remove = 4 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemove in interface BatchJobOperationOrBuilder
        Returns:
        The remove.
      • getRemoveBytes

        public com.google.protobuf.ByteString getRemoveBytes()
         Remove operation: The batch job must not have been run. A resource name
         for the removed batch job is expected, in this format:
        
         `customers/{customer_id}/batchJobs/{batch_job_id}`
         
        string remove = 4 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemoveBytes in interface BatchJobOperationOrBuilder
        Returns:
        The bytes for remove.
      • setRemove

        public BatchJobOperation.Builder setRemove​(java.lang.String value)
         Remove operation: The batch job must not have been run. A resource name
         for the removed batch job is expected, in this format:
        
         `customers/{customer_id}/batchJobs/{batch_job_id}`
         
        string remove = 4 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The remove to set.
        Returns:
        This builder for chaining.
      • clearRemove

        public BatchJobOperation.Builder clearRemove()
         Remove operation: The batch job must not have been run. A resource name
         for the removed batch job is expected, in this format:
        
         `customers/{customer_id}/batchJobs/{batch_job_id}`
         
        string remove = 4 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setRemoveBytes

        public BatchJobOperation.Builder setRemoveBytes​(com.google.protobuf.ByteString value)
         Remove operation: The batch job must not have been run. A resource name
         for the removed batch job is expected, in this format:
        
         `customers/{customer_id}/batchJobs/{batch_job_id}`
         
        string remove = 4 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for remove to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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