Class AddBatchJobOperationsResponse.Builder

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

    public static final class AddBatchJobOperationsResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AddBatchJobOperationsResponse.Builder>
    implements AddBatchJobOperationsResponseOrBuilder
     Response message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v10.services.BatchJobService.AddBatchJobOperations].
     
    Protobuf type google.ads.googleads.v10.services.AddBatchJobOperationsResponse
    • 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<AddBatchJobOperationsResponse.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<AddBatchJobOperationsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

        public AddBatchJobOperationsResponse.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<AddBatchJobOperationsResponse.Builder>
        Throws:
        java.io.IOException
      • setTotalOperations

        public AddBatchJobOperationsResponse.Builder setTotalOperations​(long value)
         The total number of operations added so far for this batch job.
         
        int64 total_operations = 1;
        Parameters:
        value - The totalOperations to set.
        Returns:
        This builder for chaining.
      • clearTotalOperations

        public AddBatchJobOperationsResponse.Builder clearTotalOperations()
         The total number of operations added so far for this batch job.
         
        int64 total_operations = 1;
        Returns:
        This builder for chaining.
      • getNextSequenceToken

        public java.lang.String getNextSequenceToken()
         The sequence token to be used when calling AddBatchJobOperations again if
         more operations need to be added. The next AddBatchJobOperations request
         must set the sequence_token field to the value of this field.
         
        string next_sequence_token = 2;
        Specified by:
        getNextSequenceToken in interface AddBatchJobOperationsResponseOrBuilder
        Returns:
        The nextSequenceToken.
      • getNextSequenceTokenBytes

        public com.google.protobuf.ByteString getNextSequenceTokenBytes()
         The sequence token to be used when calling AddBatchJobOperations again if
         more operations need to be added. The next AddBatchJobOperations request
         must set the sequence_token field to the value of this field.
         
        string next_sequence_token = 2;
        Specified by:
        getNextSequenceTokenBytes in interface AddBatchJobOperationsResponseOrBuilder
        Returns:
        The bytes for nextSequenceToken.
      • setNextSequenceToken

        public AddBatchJobOperationsResponse.Builder setNextSequenceToken​(java.lang.String value)
         The sequence token to be used when calling AddBatchJobOperations again if
         more operations need to be added. The next AddBatchJobOperations request
         must set the sequence_token field to the value of this field.
         
        string next_sequence_token = 2;
        Parameters:
        value - The nextSequenceToken to set.
        Returns:
        This builder for chaining.
      • clearNextSequenceToken

        public AddBatchJobOperationsResponse.Builder clearNextSequenceToken()
         The sequence token to be used when calling AddBatchJobOperations again if
         more operations need to be added. The next AddBatchJobOperations request
         must set the sequence_token field to the value of this field.
         
        string next_sequence_token = 2;
        Returns:
        This builder for chaining.
      • setNextSequenceTokenBytes

        public AddBatchJobOperationsResponse.Builder setNextSequenceTokenBytes​(com.google.protobuf.ByteString value)
         The sequence token to be used when calling AddBatchJobOperations again if
         more operations need to be added. The next AddBatchJobOperations request
         must set the sequence_token field to the value of this field.
         
        string next_sequence_token = 2;
        Parameters:
        value - The bytes for nextSequenceToken to set.
        Returns:
        This builder for chaining.