public static interface Overlay.ImageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
double |
getAlpha()
Target image opacity.
|
Overlay.NormalizedCoordinate |
getResolution()
Normalized image resolution, based on output video resolution.
|
Overlay.NormalizedCoordinateOrBuilder |
getResolutionOrBuilder()
Normalized image resolution, based on output video resolution.
|
String |
getUri()
Required.
|
com.google.protobuf.ByteString |
getUriBytes()
Required.
|
boolean |
hasResolution()
Normalized image resolution, based on output video resolution.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];com.google.protobuf.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];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;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;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;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;Copyright © 2022 Google LLC. All rights reserved.