Class DvrSession.DvrManifest.Builder (0.66.0)

public static final class DvrSession.DvrManifest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DvrSession.DvrManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DvrSession.DvrManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DvrSession.DvrManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DvrSession.DvrManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DvrSession.DvrManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DvrSession.DvrManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DvrSession.DvrManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DvrSession.DvrManifest.Builder
Overrides