Interface DvrSessionOrBuilder (0.66.0)

public interface DvrSessionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. User-defined key/value metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDvrManifests(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
DvrSession.DvrManifest

getDvrManifestsCount()

public abstract 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];

Returns
Type Description
int

getDvrManifestsList()

public abstract 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];

Returns
Type Description
List<DvrManifest>

getDvrManifestsOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
DvrSession.DvrManifestOrBuilder

getDvrManifestsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.video.livestream.v1.DvrSession.DvrManifestOrBuilder>

getDvrWindows(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
DvrSession.DvrWindow

getDvrWindowsCount()

public abstract 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];

Returns
Type Description
int

getDvrWindowsList()

public abstract 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];

Returns
Type Description
List<DvrWindow>

getDvrWindowsOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
DvrSession.DvrWindowOrBuilder

getDvrWindowsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.video.livestream.v1.DvrSession.DvrWindowOrBuilder>

getError()

public abstract 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
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract 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];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. User-defined key/value metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. User-defined key/value metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. User-defined key/value metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. User-defined key/value metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getState()

public abstract 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
Type Description
DvrSession.State

The state.

getStateValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasError()

public abstract 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
Type Description
boolean

Whether the error field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.