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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface Overlay.ImageOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.video.transcoder.v1.Overlay.ImageOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.video.transcoder.v1.Overlay.ImageOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.video.transcoder.v1.Overlay.ImageOrBuilder) \n\n public static interface Overlay.ImageOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAlpha()\n\n public abstract double getAlpha()\n\nTarget image opacity. Valid values are from `1.0` (solid, default) to\n`0.0` (transparent), exclusive. Set this to a value greater than `0.0`.\n\n`double alpha = 3;`\n\n### getResolution()\n\n public abstract Overlay.NormalizedCoordinate getResolution()\n\nNormalized image resolution, based on output video resolution. Valid\nvalues: `0.0`--`1.0`. To respect the original image aspect ratio, set\neither `x` or `y` to `0.0`. To use the original image resolution, set\nboth `x` and `y` to `0.0`.\n\n`.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;\n`\n\n### getResolutionOrBuilder()\n\n public abstract Overlay.NormalizedCoordinateOrBuilder getResolutionOrBuilder()\n\nNormalized image resolution, based on output video resolution. Valid\nvalues: `0.0`--`1.0`. To respect the original image aspect ratio, set\neither `x` or `y` to `0.0`. To use the original image resolution, set\nboth `x` and `y` to `0.0`.\n\n`.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;\n`\n\n### getUri()\n\n public abstract String getUri()\n\nRequired. URI of the image in Cloud Storage. For example,\n`gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.\n\n`string uri = 1;`\n\n### getUriBytes()\n\n public abstract ByteString getUriBytes()\n\nRequired. URI of the image in Cloud Storage. For example,\n`gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.\n\n`string uri = 1;`\n\n### hasResolution()\n\n public abstract boolean hasResolution()\n\nNormalized image resolution, based on output video resolution. Valid\nvalues: `0.0`--`1.0`. To respect the original image aspect ratio, set\neither `x` or `y` to `0.0`. To use the original image resolution, set\nboth `x` and `y` to `0.0`.\n\n`.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate resolution = 2;\n`"]]