Class DvrSession.DvrManifest.Builder (0.85.0)

public static final class DvrSession.DvrManifest.Builder extends GeneratedMessage.Builder<DvrSession.DvrManifest.Builder> implements DvrSession.DvrManifestOrBuilder

DvrManifest identifies a source manifest and specifies a file name for the generated DVR manifest.

Protobuf type google.cloud.video.livestream.v1.DvrSession.DvrManifest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DvrSession.DvrManifest build()
Returns
Type Description
DvrSession.DvrManifest

buildPartial()

public DvrSession.DvrManifest buildPartial()
Returns
Type Description
DvrSession.DvrManifest

clear()

public DvrSession.DvrManifest.Builder clear()
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides

clearManifestKey()

public DvrSession.DvrManifest.Builder clearManifestKey()

Required. A unique key that identifies a manifest config in the parent channel. This key is the same as channel.manifests.key for the selected manifest.

string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DvrSession.DvrManifest.Builder

This builder for chaining.

clearOutputUri()

public DvrSession.DvrManifest.Builder clearOutputUri()

Output only. The output URI of the DVR manifest. The DVR output will be placed in a directory named dvr/dvrSessionId/ under the parent channel's output uri. Format: {channel.output.uri}/dvr/{dvrSessionId}/{channel.manifests.fileName} Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8

string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DvrSession.DvrManifest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DvrSession.DvrManifest getDefaultInstanceForType()
Returns
Type Description
DvrSession.DvrManifest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getManifestKey()

public String getManifestKey()

Required. A unique key that identifies a manifest config in the parent channel. This key is the same as channel.manifests.key for the selected manifest.

string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The manifestKey.

getManifestKeyBytes()

public ByteString getManifestKeyBytes()

Required. A unique key that identifies a manifest config in the parent channel. This key is the same as channel.manifests.key for the selected manifest.

string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for manifestKey.

getOutputUri()

public String getOutputUri()

Output only. The output URI of the DVR manifest. The DVR output will be placed in a directory named dvr/dvrSessionId/ under the parent channel's output uri. Format: {channel.output.uri}/dvr/{dvrSessionId}/{channel.manifests.fileName} Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8

string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The outputUri.

getOutputUriBytes()

public ByteString getOutputUriBytes()

Output only. The output URI of the DVR manifest. The DVR output will be placed in a directory named dvr/dvrSessionId/ under the parent channel's output uri. Format: {channel.output.uri}/dvr/{dvrSessionId}/{channel.manifests.fileName} Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8

string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for outputUri.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DvrSession.DvrManifest other)

public DvrSession.DvrManifest.Builder mergeFrom(DvrSession.DvrManifest other)
Parameter
Name Description
other DvrSession.DvrManifest
Returns
Type Description
DvrSession.DvrManifest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DvrSession.DvrManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DvrSession.DvrManifest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides

setManifestKey(String value)

public DvrSession.DvrManifest.Builder setManifestKey(String value)

Required. A unique key that identifies a manifest config in the parent channel. This key is the same as channel.manifests.key for the selected manifest.

string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The manifestKey to set.

Returns
Type Description
DvrSession.DvrManifest.Builder

This builder for chaining.

setManifestKeyBytes(ByteString value)

public DvrSession.DvrManifest.Builder setManifestKeyBytes(ByteString value)

Required. A unique key that identifies a manifest config in the parent channel. This key is the same as channel.manifests.key for the selected manifest.

string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for manifestKey to set.

Returns
Type Description
DvrSession.DvrManifest.Builder

This builder for chaining.

setOutputUri(String value)

public DvrSession.DvrManifest.Builder setOutputUri(String value)

Output only. The output URI of the DVR manifest. The DVR output will be placed in a directory named dvr/dvrSessionId/ under the parent channel's output uri. Format: {channel.output.uri}/dvr/{dvrSessionId}/{channel.manifests.fileName} Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8

string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The outputUri to set.

Returns
Type Description
DvrSession.DvrManifest.Builder

This builder for chaining.

setOutputUriBytes(ByteString value)

public DvrSession.DvrManifest.Builder setOutputUriBytes(ByteString value)

Output only. The output URI of the DVR manifest. The DVR output will be placed in a directory named dvr/dvrSessionId/ under the parent channel's output uri. Format: {channel.output.uri}/dvr/{dvrSessionId}/{channel.manifests.fileName} Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8

string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for outputUri to set.

Returns
Type Description
DvrSession.DvrManifest.Builder

This builder for chaining.