Interface DvrSessionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DvrSession, DvrSession.Builder

@Generated public interface DvrSessionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. The resource name of the DVR session, in the following format:
       `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.
       `{dvrSessionId}` is a user-specified resource id that conforms to the
       following criteria:
      
       1. 1 character minimum, 63 characters maximum
       2. Only contains letters, digits, underscores, and hyphens
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the DVR session, in the following format:
       `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.
       `{dvrSessionId}` is a user-specified resource id that conforms to the
       following criteria:
      
       1. 1 character minimum, 63 characters maximum
       2. Only contains letters, digits, underscores, and hyphens
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation time.
       
      .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 creation time.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The update time.
       
      .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 time.
       
      .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 time.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Optional. User-defined key/value metadata.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. User-defined key/value metadata.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. User-defined key/value metadata.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined key/value metadata.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. User-defined key/value metadata.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getStateValue

      int getStateValue()
       Output only. The state of the clip.
       
      .google.cloud.video.livestream.v1.DvrSession.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      DvrSession.State getState()
       Output only. The state of the clip.
       
      .google.cloud.video.livestream.v1.DvrSession.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • hasError

      boolean hasError()
       Output only. An error object that describes the reason for the failure.
       This property only presents when `state` is `FAILED`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the error field is set.
    • getError

      Status getError()
       Output only. An error object that describes the reason for the failure.
       This property only presents when `state` is `FAILED`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The error.
    • getErrorOrBuilder

      StatusOrBuilder getErrorOrBuilder()
       Output only. An error object that describes the reason for the failure.
       This property only presents when `state` is `FAILED`.
       
      .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDvrManifestsList

      List<DvrSession.DvrManifest> getDvrManifestsList()
       Required. A list of DVR manifests. Currently only one DVR manifest is
       allowed.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrManifest dvr_manifests = 7 [(.google.api.field_behavior) = REQUIRED];
    • getDvrManifests

      DvrSession.DvrManifest getDvrManifests(int index)
       Required. A list of DVR manifests. Currently only one DVR manifest is
       allowed.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrManifest dvr_manifests = 7 [(.google.api.field_behavior) = REQUIRED];
    • getDvrManifestsCount

      int getDvrManifestsCount()
       Required. A list of DVR manifests. Currently only one DVR manifest is
       allowed.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrManifest dvr_manifests = 7 [(.google.api.field_behavior) = REQUIRED];
    • getDvrManifestsOrBuilderList

      List<? extends DvrSession.DvrManifestOrBuilder> getDvrManifestsOrBuilderList()
       Required. A list of DVR manifests. Currently only one DVR manifest is
       allowed.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrManifest dvr_manifests = 7 [(.google.api.field_behavior) = REQUIRED];
    • getDvrManifestsOrBuilder

      DvrSession.DvrManifestOrBuilder getDvrManifestsOrBuilder(int index)
       Required. A list of DVR manifests. Currently only one DVR manifest is
       allowed.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrManifest dvr_manifests = 7 [(.google.api.field_behavior) = REQUIRED];
    • getDvrWindowsList

      List<DvrSession.DvrWindow> getDvrWindowsList()
       Required. The specified ranges of segments to generate a DVR recording.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrWindow dvr_windows = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDvrWindows

      DvrSession.DvrWindow getDvrWindows(int index)
       Required. The specified ranges of segments to generate a DVR recording.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrWindow dvr_windows = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDvrWindowsCount

      int getDvrWindowsCount()
       Required. The specified ranges of segments to generate a DVR recording.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrWindow dvr_windows = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDvrWindowsOrBuilderList

      List<? extends DvrSession.DvrWindowOrBuilder> getDvrWindowsOrBuilderList()
       Required. The specified ranges of segments to generate a DVR recording.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrWindow dvr_windows = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDvrWindowsOrBuilder

      DvrSession.DvrWindowOrBuilder getDvrWindowsOrBuilder(int index)
       Required. The specified ranges of segments to generate a DVR recording.
       
      repeated .google.cloud.video.livestream.v1.DvrSession.DvrWindow dvr_windows = 8 [(.google.api.field_behavior) = REQUIRED];