Package com.google.bytestream
Class ByteStreamProto.ReadResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ByteStreamProto.ReadResponse,ByteStreamProto.ReadResponse.Builder>
com.google.bytestream.ByteStreamProto.ReadResponse.Builder
- All Implemented Interfaces:
ByteStreamProto.ReadResponseOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- ByteStreamProto.ReadResponse
public static final class ByteStreamProto.ReadResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ByteStreamProto.ReadResponse,ByteStreamProto.ReadResponse.Builder>
implements ByteStreamProto.ReadResponseOrBuilder
Response object for ByteStream.Read.Protobuf type
google.bytestream.ReadResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
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
-
getData
public com.google.protobuf.ByteString getData()A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
bytes data = 10 [json_name = "data"];
- Specified by:
getData
in interfaceByteStreamProto.ReadResponseOrBuilder
- Returns:
- The data.
-
setData
A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
bytes data = 10 [json_name = "data"];
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
bytes data = 10 [json_name = "data"];
- Returns:
- This builder for chaining.
-