Interface StreamDataOrBuilder (0.2.0)

public interface StreamDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClose()

public abstract Close getClose()

The stream is closing. EOF.

.google.cloud.devicestreaming.v1.Close close = 3;

Returns
Type Description
Close

The close.

getCloseOrBuilder()

public abstract CloseOrBuilder getCloseOrBuilder()

The stream is closing. EOF.

.google.cloud.devicestreaming.v1.Close close = 3;

Returns
Type Description
CloseOrBuilder

getContentsCase()

public abstract StreamData.ContentsCase getContentsCase()
Returns
Type Description
StreamData.ContentsCase

getData()

public abstract ByteString getData()

Data in the stream.

bytes data = 2;

Returns
Type Description
ByteString

The data.

getStreamId()

public abstract int getStreamId()

Required. The unique ID of this stream, assigned by the client.

int32 stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The streamId.

hasClose()

public abstract boolean hasClose()

The stream is closing. EOF.

.google.cloud.devicestreaming.v1.Close close = 3;

Returns
Type Description
boolean

Whether the close field is set.

hasData()

public abstract boolean hasData()

Data in the stream.

bytes data = 2;

Returns
Type Description
boolean

Whether the data field is set.