Interface Overlay.ImageOrBuilder (1.2.5)

public static interface Overlay.ImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlpha()

public abstract double getAlpha()

Target image opacity. Valid values are from 1.0 (solid, default) to 0.0 (transparent), exclusive. Set this to a value greater than 0.0.

double alpha = 3;

Returns
TypeDescription
double

The alpha.

getResolution()

public abstract Overlay.NormalizedCoordinate getResolution()

Normalized image resolution, based on output video resolution. Valid values: 0.0\u20131.0. To respect the original image aspect ratio, set either x or y to 0.0. To use the original image resolution, set both x and y to 0.0.

.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;

Returns
TypeDescription
Overlay.NormalizedCoordinate

The resolution.

getResolutionOrBuilder()

public abstract Overlay.NormalizedCoordinateOrBuilder getResolutionOrBuilder()

Normalized image resolution, based on output video resolution. Valid values: 0.0\u20131.0. To respect the original image aspect ratio, set either x or y to 0.0. To use the original image resolution, set both x and y to 0.0.

.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;

Returns
TypeDescription
Overlay.NormalizedCoordinateOrBuilder

getUri()

public abstract String getUri()

Required. URI of the JPEG image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg. JPEG is the only supported image type.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Required. URI of the JPEG image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg. JPEG is the only supported image type.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for uri.

hasResolution()

public abstract boolean hasResolution()

Normalized image resolution, based on output video resolution. Valid values: 0.0\u20131.0. To respect the original image aspect ratio, set either x or y to 0.0. To use the original image resolution, set both x and y to 0.0.

.google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;

Returns
TypeDescription
boolean

Whether the resolution field is set.