Interface StreamDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamData,StreamData.Builder
@Generated
public interface StreamDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStreamId
int getStreamId()Required. The unique ID of this stream, assigned by the client.
int32 stream_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The streamId.
-
hasData
boolean hasData()Data in the stream.
bytes data = 2;- Returns:
- Whether the data field is set.
-
getData
com.google.protobuf.ByteString getData()Data in the stream.
bytes data = 2;- Returns:
- The data.
-
hasClose
boolean hasClose()The stream is closing. EOF.
.google.cloud.devicestreaming.v1.Close close = 3;- Returns:
- Whether the close field is set.
-
getClose
Close getClose()The stream is closing. EOF.
.google.cloud.devicestreaming.v1.Close close = 3;- Returns:
- The close.
-
getCloseOrBuilder
CloseOrBuilder getCloseOrBuilder()The stream is closing. EOF.
.google.cloud.devicestreaming.v1.Close close = 3; -
getContentsCase
StreamData.ContentsCase getContentsCase()
-