Package com.google.bytestream
Class ByteStreamProto.QueryWriteStatusResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ByteStreamProto.QueryWriteStatusResponse,ByteStreamProto.QueryWriteStatusResponse.Builder>
com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse.Builder
- All Implemented Interfaces:
ByteStreamProto.QueryWriteStatusResponseOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- ByteStreamProto.QueryWriteStatusResponse
public static final class ByteStreamProto.QueryWriteStatusResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ByteStreamProto.QueryWriteStatusResponse,ByteStreamProto.QueryWriteStatusResponse.Builder>
implements ByteStreamProto.QueryWriteStatusResponseOrBuilder
Response object for ByteStream.QueryWriteStatus.Protobuf type
google.bytestream.QueryWriteStatusResponse
-
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.`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.long
The number of bytes that have been processed for the given resource.boolean
`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.setCommittedSize
(long value) The number of bytes that have been processed for the given resource.setComplete
(boolean value) `complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.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.QueryWriteStatusResponseOrBuilder
- 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.
-
getComplete
public boolean getComplete()`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
bool complete = 2 [json_name = "complete"];
- Specified by:
getComplete
in interfaceByteStreamProto.QueryWriteStatusResponseOrBuilder
- Returns:
- The complete.
-
setComplete
`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
bool complete = 2 [json_name = "complete"];
- Parameters:
value
- The complete to set.- Returns:
- This builder for chaining.
-
clearComplete
`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
bool complete = 2 [json_name = "complete"];
- Returns:
- This builder for chaining.
-