Class Clip.ClipManifest.Builder (0.51.0)

public static final class Clip.ClipManifest.Builder extends GeneratedMessageV3.Builder<Clip.ClipManifest.Builder> implements Clip.ClipManifestOrBuilder

ClipManifest identifies a source manifest for the generated clip manifest.

Protobuf type google.cloud.video.livestream.v1.Clip.ClipManifest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Clip.ClipManifest build()
Returns
Type Description
Clip.ClipManifest

buildPartial()

public Clip.ClipManifest buildPartial()
Returns
Type Description
Clip.ClipManifest

clear()

public Clip.ClipManifest.Builder clear()
Returns
Type Description
Clip.ClipManifest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Clip.ClipManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Clip.ClipManifest.Builder
Overrides

clearManifestKey()

public Clip.ClipManifest.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
Clip.ClipManifest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Clip.ClipManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Clip.ClipManifest.Builder
Overrides

clearOutputUri()

public Clip.ClipManifest.Builder clearOutputUri()

Output only. The output URI of the generated clip manifest. This field will be populated when the CreateClip request is accepted. Current output format is provided below but may change in the future. Please read this field to get the uri to the generated clip manifest. Format: {clip.output_uri}/{channel.manifest.fileName} Example: gs://my-bucket/clip-outputs/main.m3u8

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

Returns
Type Description
Clip.ClipManifest.Builder

This builder for chaining.

clone()

public Clip.ClipManifest.Builder clone()
Returns
Type Description
Clip.ClipManifest.Builder
Overrides

getDefaultInstanceForType()

public Clip.ClipManifest getDefaultInstanceForType()
Returns
Type Description
Clip.ClipManifest

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 generated clip manifest. This field will be populated when the CreateClip request is accepted. Current output format is provided below but may change in the future. Please read this field to get the uri to the generated clip manifest. Format: {clip.output_uri}/{channel.manifest.fileName} Example: gs://my-bucket/clip-outputs/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 generated clip manifest. This field will be populated when the CreateClip request is accepted. Current output format is provided below but may change in the future. Please read this field to get the uri to the generated clip manifest. Format: {clip.output_uri}/{channel.manifest.fileName} Example: gs://my-bucket/clip-outputs/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(Clip.ClipManifest other)

public Clip.ClipManifest.Builder mergeFrom(Clip.ClipManifest other)
Parameter
Name Description
other Clip.ClipManifest
Returns
Type Description
Clip.ClipManifest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Clip.ClipManifest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Clip.ClipManifest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Clip.ClipManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Clip.ClipManifest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Clip.ClipManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Clip.ClipManifest.Builder
Overrides

setManifestKey(String value)

public Clip.ClipManifest.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
Clip.ClipManifest.Builder

This builder for chaining.

setManifestKeyBytes(ByteString value)

public Clip.ClipManifest.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
Clip.ClipManifest.Builder

This builder for chaining.

setOutputUri(String value)

public Clip.ClipManifest.Builder setOutputUri(String value)

Output only. The output URI of the generated clip manifest. This field will be populated when the CreateClip request is accepted. Current output format is provided below but may change in the future. Please read this field to get the uri to the generated clip manifest. Format: {clip.output_uri}/{channel.manifest.fileName} Example: gs://my-bucket/clip-outputs/main.m3u8

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

Parameter
Name Description
value String

The outputUri to set.

Returns
Type Description
Clip.ClipManifest.Builder

This builder for chaining.

setOutputUriBytes(ByteString value)

public Clip.ClipManifest.Builder setOutputUriBytes(ByteString value)

Output only. The output URI of the generated clip manifest. This field will be populated when the CreateClip request is accepted. Current output format is provided below but may change in the future. Please read this field to get the uri to the generated clip manifest. Format: {clip.output_uri}/{channel.manifest.fileName} Example: gs://my-bucket/clip-outputs/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
Clip.ClipManifest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Clip.ClipManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Clip.ClipManifest.Builder
Overrides