Class ByteStreamProto.WriteResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ByteStreamProto.WriteResponse,ByteStreamProto.WriteResponse.Builder>
com.google.bytestream.ByteStreamProto.WriteResponse.Builder
All Implemented Interfaces:
ByteStreamProto.WriteResponseOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
ByteStreamProto.WriteResponse

public static final class ByteStreamProto.WriteResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ByteStreamProto.WriteResponse,ByteStreamProto.WriteResponse.Builder> implements ByteStreamProto.WriteResponseOrBuilder
 Response object for ByteStream.Write.
 
Protobuf type google.bytestream.WriteResponse
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    The number of bytes that have been processed for the given resource.
    long
    The number of bytes that have been processed for the given resource.
    setCommittedSize(long value)
    The number of bytes that have been processed for the given resource.

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

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

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

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getCommittedSize

      public long getCommittedSize()
       The number of bytes that have been processed for the given resource.
       
      int64 committed_size = 1 [json_name = "committedSize"];
      Specified by:
      getCommittedSize in interface ByteStreamProto.WriteResponseOrBuilder
      Returns:
      The committedSize.
    • setCommittedSize

      public ByteStreamProto.WriteResponse.Builder setCommittedSize(long value)
       The number of bytes that have been processed for the given resource.
       
      int64 committed_size = 1 [json_name = "committedSize"];
      Parameters:
      value - The committedSize to set.
      Returns:
      This builder for chaining.
    • clearCommittedSize

      public ByteStreamProto.WriteResponse.Builder clearCommittedSize()
       The number of bytes that have been processed for the given resource.
       
      int64 committed_size = 1 [json_name = "committedSize"];
      Returns:
      This builder for chaining.