public static interface Overlay.ImageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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;
| Type | Description |
| double | The alpha. |
getResolution()
public abstract Overlay.NormalizedCoordinate getResolution() Normalized image resolution, based on output video resolution. Valid
values: 0.0–1.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;
| Type | Description |
| Overlay.NormalizedCoordinate | The resolution. |
getResolutionOrBuilder()
public abstract Overlay.NormalizedCoordinateOrBuilder getResolutionOrBuilder() Normalized image resolution, based on output video resolution. Valid
values: 0.0–1.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;
| Type | Description |
| 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];
| Type | Description |
| 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];
| Type | Description |
| ByteString | The bytes for uri. |
hasResolution()
public abstract boolean hasResolution() Normalized image resolution, based on output video resolution. Valid
values: 0.0–1.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;
| Type | Description |
| boolean | Whether the resolution field is set. |