publicstaticfinalclass Overlay.Image.BuilderextendsGeneratedMessageV3.Builder<Overlay.Image.Builder>implementsOverlay.ImageOrBuilder
Overlaid image.
Protobuf type google.cloud.video.transcoder.v1.Overlay.Image
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicOverlay.Image.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicOverlay.Imagebuild()
buildPartial()
publicOverlay.ImagebuildPartial()
clear()
publicOverlay.Image.Builderclear()
Overrides
clearAlpha()
publicOverlay.Image.BuilderclearAlpha()
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;
clearField(Descriptors.FieldDescriptor field)
publicOverlay.Image.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicOverlay.Image.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearResolution()
publicOverlay.Image.BuilderclearResolution()
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;
clearUri()
publicOverlay.Image.BuilderclearUri()
Required. URI of the image in Cloud Storage. For example,
gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
publicOverlay.Image.Builderclone()
Overrides
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 |
| Type |
Description |
double |
The alpha.
|
getDefaultInstanceForType()
publicOverlay.ImagegetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getResolution()
publicOverlay.NormalizedCoordinategetResolution()
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;
getResolutionBuilder()
publicOverlay.NormalizedCoordinate.BuildergetResolutionBuilder()
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;
getResolutionOrBuilder()
publicOverlay.NormalizedCoordinateOrBuildergetResolutionOrBuilder()
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;
getUri()
Required. URI of the image in Cloud Storage. For example,
gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The uri.
|
getUriBytes()
publicByteStringgetUriBytes()
Required. URI of the image in Cloud Storage. For example,
gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for uri.
|
hasResolution()
publicbooleanhasResolution()
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;
| Returns |
| Type |
Description |
boolean |
Whether the resolution field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(Overlay.Image other)
publicOverlay.Image.BuildermergeFrom(Overlay.Imageother)
publicOverlay.Image.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicOverlay.Image.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeResolution(Overlay.NormalizedCoordinate value)
publicOverlay.Image.BuildermergeResolution(Overlay.NormalizedCoordinatevalue)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalOverlay.Image.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setAlpha(double value)
publicOverlay.Image.BuildersetAlpha(doublevalue)
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;
| Parameter |
| Name |
Description |
value |
double
The alpha to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
publicOverlay.Image.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicOverlay.Image.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setResolution(Overlay.NormalizedCoordinate value)
publicOverlay.Image.BuildersetResolution(Overlay.NormalizedCoordinatevalue)
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;
setResolution(Overlay.NormalizedCoordinate.Builder builderForValue)
publicOverlay.Image.BuildersetResolution(Overlay.NormalizedCoordinate.BuilderbuilderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalOverlay.Image.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides
setUri(String value)
publicOverlay.Image.BuildersetUri(Stringvalue)
Required. URI of the image in Cloud Storage. For example,
gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The uri to set.
|
setUriBytes(ByteString value)
publicOverlay.Image.BuildersetUriBytes(ByteStringvalue)
Required. URI of the image in Cloud Storage. For example,
gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for uri to set.
|