Class Slate (0.27.0)

public final class Slate extends GeneratedMessageV3 implements SlateOrBuilder

Slate object

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

Implements

SlateOrBuilder

Static Fields

GAM_SLATE_FIELD_NUMBER

public static final int GAM_SLATE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Slate getDefaultInstance()
Returns
TypeDescription
Slate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Slate.Builder newBuilder()
Returns
TypeDescription
Slate.Builder

newBuilder(Slate prototype)

public static Slate.Builder newBuilder(Slate prototype)
Parameter
NameDescription
prototypeSlate
Returns
TypeDescription
Slate.Builder

parseDelimitedFrom(InputStream input)

public static Slate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Slate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Slate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Slate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Slate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Slate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Slate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Slate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Slate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Slate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Slate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Slate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Slate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Slate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Slate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Slate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Slate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Slate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Slate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Slate> parser()
Returns
TypeDescription
Parser<Slate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Slate getDefaultInstanceForType()
Returns
TypeDescription
Slate

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.

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.

getParserForType()

public Parser<Slate> getParserForType()
Returns
TypeDescription
Parser<Slate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Slate.Builder newBuilderForType()
Returns
TypeDescription
Slate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Slate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Slate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Slate.Builder toBuilder()
Returns
TypeDescription
Slate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException