Class Slate.Builder (0.51.0)

public static final class Slate.Builder extends GeneratedMessageV3.Builder<Slate.Builder> implements SlateOrBuilder

Slate object

Protobuf type google.cloud.video.stitcher.v1.Slate

Implements

SlateOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Slate build()
Returns
Type Description
Slate

buildPartial()

public Slate buildPartial()
Returns
Type Description
Slate

clear()

public Slate.Builder clear()
Returns
Type Description
Slate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGamSlate()

public Slate.Builder clearGamSlate()

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Returns
Type Description
Slate.Builder

clearName()

public Slate.Builder clearName()

Output only. The name of the slate, in the form of projects/{project_number}/locations/{location}/slates/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Slate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public Slate.Builder clearUri()

The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.

string uri = 2;

Returns
Type Description
Slate.Builder

This builder for chaining.

clone()

public Slate.Builder clone()
Returns
Type Description
Slate.Builder
Overrides

getDefaultInstanceForType()

public Slate getDefaultInstanceForType()
Returns
Type Description
Slate

getDescriptorForType()

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

getGamSlate()

public Slate.GamSlate getGamSlate()

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Returns
Type Description
Slate.GamSlate

The gamSlate.

getGamSlateBuilder()

public Slate.GamSlate.Builder getGamSlateBuilder()

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Returns
Type Description
Slate.GamSlate.Builder

getGamSlateOrBuilder()

public Slate.GamSlateOrBuilder getGamSlateOrBuilder()

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Returns
Type Description
Slate.GamSlateOrBuilder

getName()

public String getName()

Output only. The name of the slate, in the form of projects/{project_number}/locations/{location}/slates/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the slate, in the form of projects/{project_number}/locations/{location}/slates/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getUri()

public String getUri()

The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hasGamSlate()

public boolean hasGamSlate()

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Returns
Type Description
boolean

Whether the gamSlate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Slate other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGamSlate(Slate.GamSlate value)

public Slate.Builder mergeGamSlate(Slate.GamSlate value)

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Parameter
Name Description
value Slate.GamSlate
Returns
Type Description
Slate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGamSlate(Slate.GamSlate value)

public Slate.Builder setGamSlate(Slate.GamSlate value)

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Parameter
Name Description
value Slate.GamSlate
Returns
Type Description
Slate.Builder

setGamSlate(Slate.GamSlate.Builder builderForValue)

public Slate.Builder setGamSlate(Slate.GamSlate.Builder builderForValue)

gam_slate has all the GAM-related attributes of slates.

.google.cloud.video.stitcher.v1.Slate.GamSlate gam_slate = 3;

Parameter
Name Description
builderForValue Slate.GamSlate.Builder
Returns
Type Description
Slate.Builder

setName(String value)

public Slate.Builder setName(String value)

Output only. The name of the slate, in the form of projects/{project_number}/locations/{location}/slates/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Slate.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Slate.Builder setNameBytes(ByteString value)

Output only. The name of the slate, in the form of projects/{project_number}/locations/{location}/slates/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Slate.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public Slate.Builder setUri(String value)

The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
Slate.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Slate.Builder setUriBytes(ByteString value)

The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
Slate.Builder

This builder for chaining.