Class Slate.Builder (0.83.0)

public static final class Slate.Builder extends GeneratedMessage.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

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

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.

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.

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

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.

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.