Class Overlay (1.21.0)

public final class Overlay extends GeneratedMessageV3 implements OverlayOrBuilder

Overlay configuration.

Protobuf type google.cloud.video.transcoder.v1.Overlay

Implements

OverlayOrBuilder

Static Fields

ANIMATIONS_FIELD_NUMBER

public static final int ANIMATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Overlay getDefaultInstance()
Returns
TypeDescription
Overlay

getDescriptor()

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

newBuilder()

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

newBuilder(Overlay prototype)

public static Overlay.Builder newBuilder(Overlay prototype)
Parameter
NameDescription
prototypeOverlay
Returns
TypeDescription
Overlay.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAnimations(int index)

public Overlay.Animation getAnimations(int index)

List of Animations. The list should be chronological, without any time overlap.

repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Overlay.Animation

getAnimationsCount()

public int getAnimationsCount()

List of Animations. The list should be chronological, without any time overlap.

repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;

Returns
TypeDescription
int

getAnimationsList()

public List<Overlay.Animation> getAnimationsList()

List of Animations. The list should be chronological, without any time overlap.

repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;

Returns
TypeDescription
List<Animation>

getAnimationsOrBuilder(int index)

public Overlay.AnimationOrBuilder getAnimationsOrBuilder(int index)

List of Animations. The list should be chronological, without any time overlap.

repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Overlay.AnimationOrBuilder

getAnimationsOrBuilderList()

public List<? extends Overlay.AnimationOrBuilder> getAnimationsOrBuilderList()

List of Animations. The list should be chronological, without any time overlap.

repeated .google.cloud.video.transcoder.v1.Overlay.Animation animations = 2;

Returns
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1.Overlay.AnimationOrBuilder>

getDefaultInstanceForType()

public Overlay getDefaultInstanceForType()
Returns
TypeDescription
Overlay

getImage()

public Overlay.Image getImage()

Image overlay.

.google.cloud.video.transcoder.v1.Overlay.Image image = 1;

Returns
TypeDescription
Overlay.Image

The image.

getImageOrBuilder()

public Overlay.ImageOrBuilder getImageOrBuilder()

Image overlay.

.google.cloud.video.transcoder.v1.Overlay.Image image = 1;

Returns
TypeDescription
Overlay.ImageOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasImage()

public boolean hasImage()

Image overlay.

.google.cloud.video.transcoder.v1.Overlay.Image image = 1;

Returns
TypeDescription
boolean

Whether the image 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 Overlay.Builder newBuilderForType()
Returns
TypeDescription
Overlay.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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