Package com.google.bytestream
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 TypeMethodDescriptionThe 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 interfaceByteStreamProto.WriteResponseOrBuilder
- Returns:
- The committedSize.
-
setCommittedSize
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
The number of bytes that have been processed for the given resource.
int64 committed_size = 1 [json_name = "committedSize"];
- Returns:
- This builder for chaining.
-