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 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

      boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       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

      boolean containsAnnotations(String key)
       Annotations to allow clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 5;
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Annotations to allow clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 5;
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Annotations to allow clients to store small amounts of arbitrary data.
       
      map<string, string> annotations = 5;
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       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.