Package com.google.cloud.visionai.v1
Interface StreamOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Stream,Stream.Builder
@Generated
public interface StreamOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAnnotations to allow clients to store small amounts of arbitrary data.booleancontainsLabels(String key) Labels as key value pairs.Deprecated.intAnnotations to allow clients to store small amounts of arbitrary data.Annotations to allow clients to store small amounts of arbitrary data.getAnnotationsOrDefault(String key, String defaultValue) Annotations to allow clients to store small amounts of arbitrary data.Annotations to allow clients to store small amounts of arbitrary data.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The display name for the stream resource.com.google.protobuf.ByteStringThe display name for the stream resource.booleanWhether to enable the HLS playback service on this stream.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.The name of the media warehouse asset for long term storage of stream data.com.google.protobuf.ByteStringThe name of the media warehouse asset for long term storage of stream data.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.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
-
getName
String getName()Name of the resource.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the resource.
string name = 1;- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The create timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels as key value pairs.
map<string, string> labels = 4; -
containsLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4; -
getAnnotationsCount
int getAnnotationsCount()Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
containsAnnotations
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getAnnotationsOrDefault
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getAnnotationsOrThrow
Annotations to allow clients to store small amounts of arbitrary data.
map<string, string> annotations = 5; -
getDisplayName
String getDisplayName()The display name for the stream resource.
string display_name = 6;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()The display name for the stream resource.
string display_name = 6;- Returns:
- The bytes for displayName.
-
getEnableHlsPlayback
boolean getEnableHlsPlayback()Whether to enable the HLS playback service on this stream.
bool enable_hls_playback = 7;- Returns:
- The enableHlsPlayback.
-
getMediaWarehouseAsset
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:
- The mediaWarehouseAsset.
-
getMediaWarehouseAssetBytes
com.google.protobuf.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:
- The bytes for mediaWarehouseAsset.
-