Class Slate.Builder (0.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Slate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Slate.Builder
Overrides

build()

public Slate build()
Returns
TypeDescription
Slate

buildPartial()

public Slate buildPartial()
Returns
TypeDescription
Slate

clear()

public Slate.Builder clear()
Returns
TypeDescription
Slate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Slate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Slate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Slate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Slate.Builder

This builder for chaining.

clone()

public Slate.Builder clone()
Returns
TypeDescription
Slate.Builder
Overrides

getDefaultInstanceForType()

public Slate getDefaultInstanceForType()
Returns
TypeDescription
Slate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the gamSlate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Slate other)

public Slate.Builder mergeFrom(Slate other)
Parameter
NameDescription
otherSlate
Returns
TypeDescription
Slate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Slate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Slate.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSlate.GamSlate
Returns
TypeDescription
Slate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Slate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Slate.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Slate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSlate.GamSlate
Returns
TypeDescription
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
NameDescription
builderForValueSlate.GamSlate.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Slate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Slate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The uri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
Slate.Builder

This builder for chaining.