Interface StreamOrBuilder (0.14.1)

public interface StreamOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract boolean containsAnnotations(String key)

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations()

public abstract Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public abstract int getAnnotationsCount()

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Returns
TypeDescription
int

getAnnotationsMap()

public abstract Map<String,String> getAnnotationsMap()

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public abstract String getAnnotationsOrDefault(String key, String defaultValue)

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public abstract String getAnnotationsOrThrow(String key)

Annotations to allow clients to store small amounts of arbitrary data.

map<string, string> annotations = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

The display name for the stream resource.

string display_name = 6;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name for the stream resource.

string display_name = 6;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnableHlsPlayback()

public abstract boolean getEnableHlsPlayback()

Whether to enable the HLS playback service on this stream.

bool enable_hls_playback = 7;

Returns
TypeDescription
boolean

The enableHlsPlayback.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMediaWarehouseAsset()

public abstract String getMediaWarehouseAsset()

The name of the media warehouse asset for long term storage of stream data. Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id} Remain empty if the media warehouse storage is not needed for the stream.

string media_warehouse_asset = 8;

Returns
TypeDescription
String

The mediaWarehouseAsset.

getMediaWarehouseAssetBytes()

public abstract ByteString getMediaWarehouseAssetBytes()

The name of the media warehouse asset for long term storage of stream data. Format: projects/${p_id}/locations/${l_id}/corpora/${c_id}/assets/${a_id} Remain empty if the media warehouse storage is not needed for the stream.

string media_warehouse_asset = 8;

Returns
TypeDescription
ByteString

The bytes for mediaWarehouseAsset.

getName()

public abstract String getName()

Name of the resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.