Class BatchWriteResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
com.google.firestore.v1.BatchWriteResponse.Builder
All Implemented Interfaces:
BatchWriteResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchWriteResponse

public static final class BatchWriteResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder> implements BatchWriteResponseOrBuilder
 The response from
 [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
 
Protobuf type google.firestore.v1.BatchWriteResponse
  • 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<BatchWriteResponse.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<BatchWriteResponse.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<BatchWriteResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public BatchWriteResponse.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<BatchWriteResponse.Builder>
      Throws:
      IOException
    • getWriteResultsList

      public List<WriteResult> getWriteResultsList()
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
      Specified by:
      getWriteResultsList in interface BatchWriteResponseOrBuilder
    • getWriteResultsCount

      public int getWriteResultsCount()
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
      Specified by:
      getWriteResultsCount in interface BatchWriteResponseOrBuilder
    • getWriteResults

      public WriteResult getWriteResults(int index)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
      Specified by:
      getWriteResults in interface BatchWriteResponseOrBuilder
    • setWriteResults

      public BatchWriteResponse.Builder setWriteResults(int index, WriteResult value)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • setWriteResults

      public BatchWriteResponse.Builder setWriteResults(int index, WriteResult.Builder builderForValue)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • addWriteResults

      public BatchWriteResponse.Builder addWriteResults(WriteResult value)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • addWriteResults

      public BatchWriteResponse.Builder addWriteResults(int index, WriteResult value)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • addWriteResults

      public BatchWriteResponse.Builder addWriteResults(WriteResult.Builder builderForValue)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • addWriteResults

      public BatchWriteResponse.Builder addWriteResults(int index, WriteResult.Builder builderForValue)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • addAllWriteResults

      public BatchWriteResponse.Builder addAllWriteResults(Iterable<? extends WriteResult> values)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • clearWriteResults

      public BatchWriteResponse.Builder clearWriteResults()
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • removeWriteResults

      public BatchWriteResponse.Builder removeWriteResults(int index)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • getWriteResultsBuilder

      public WriteResult.Builder getWriteResultsBuilder(int index)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • getWriteResultsOrBuilder

      public WriteResultOrBuilder getWriteResultsOrBuilder(int index)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
      Specified by:
      getWriteResultsOrBuilder in interface BatchWriteResponseOrBuilder
    • getWriteResultsOrBuilderList

      public List<? extends WriteResultOrBuilder> getWriteResultsOrBuilderList()
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
      Specified by:
      getWriteResultsOrBuilderList in interface BatchWriteResponseOrBuilder
    • addWriteResultsBuilder

      public WriteResult.Builder addWriteResultsBuilder()
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • addWriteResultsBuilder

      public WriteResult.Builder addWriteResultsBuilder(int index)
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • getWriteResultsBuilderList

      public List<WriteResult.Builder> getWriteResultsBuilderList()
       The result of applying the writes.
      
       This i-th write result corresponds to the i-th write in the
       request.
       
      repeated .google.firestore.v1.WriteResult write_results = 1;
    • getStatusList

      public List<com.google.rpc.Status> getStatusList()
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
      Specified by:
      getStatusList in interface BatchWriteResponseOrBuilder
    • getStatusCount

      public int getStatusCount()
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
      Specified by:
      getStatusCount in interface BatchWriteResponseOrBuilder
    • getStatus

      public com.google.rpc.Status getStatus(int index)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
      Specified by:
      getStatus in interface BatchWriteResponseOrBuilder
    • setStatus

      public BatchWriteResponse.Builder setStatus(int index, com.google.rpc.Status value)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • setStatus

      public BatchWriteResponse.Builder setStatus(int index, com.google.rpc.Status.Builder builderForValue)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • addStatus

      public BatchWriteResponse.Builder addStatus(com.google.rpc.Status value)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • addStatus

      public BatchWriteResponse.Builder addStatus(int index, com.google.rpc.Status value)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • addStatus

      public BatchWriteResponse.Builder addStatus(com.google.rpc.Status.Builder builderForValue)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • addStatus

      public BatchWriteResponse.Builder addStatus(int index, com.google.rpc.Status.Builder builderForValue)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • addAllStatus

      public BatchWriteResponse.Builder addAllStatus(Iterable<? extends com.google.rpc.Status> values)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • clearStatus

      public BatchWriteResponse.Builder clearStatus()
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • removeStatus

      public BatchWriteResponse.Builder removeStatus(int index)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • getStatusBuilder

      public com.google.rpc.Status.Builder getStatusBuilder(int index)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • getStatusOrBuilder

      public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
      Specified by:
      getStatusOrBuilder in interface BatchWriteResponseOrBuilder
    • getStatusOrBuilderList

      public List<? extends com.google.rpc.StatusOrBuilder> getStatusOrBuilderList()
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
      Specified by:
      getStatusOrBuilderList in interface BatchWriteResponseOrBuilder
    • addStatusBuilder

      public com.google.rpc.Status.Builder addStatusBuilder()
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • addStatusBuilder

      public com.google.rpc.Status.Builder addStatusBuilder(int index)
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • getStatusBuilderList

      public List<com.google.rpc.Status.Builder> getStatusBuilderList()
       The status of applying the writes.
      
       This i-th write status corresponds to the i-th write in the
       request.
       
      repeated .google.rpc.Status status = 2;
    • setUnknownFields

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

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