public static final class Overlay.Image extends GeneratedMessageV3 implements Overlay.ImageOrBuilder
Overlaid jpeg image.
Protobuf type google.cloud.video.transcoder.v1beta1.Overlay.Image
Fields
ALPHA_FIELD_NUMBER
public static final int ALPHA_FIELD_NUMBER
Field Value
RESOLUTION_FIELD_NUMBER
public static final int RESOLUTION_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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.
|
getDefaultInstance()
public static Overlay.Image getDefaultInstance()
Returns
getDefaultInstanceForType()
public Overlay.Image getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<Overlay.Image> getParserForType()
Returns
Overrides
getResolution()
public 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.v1beta1.Overlay.NormalizedCoordinate resolution = 2;
Returns
getResolutionOrBuilder()
public 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.v1beta1.Overlay.NormalizedCoordinate resolution = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
getUriBytes()
public 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
hasResolution()
public 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.v1beta1.Overlay.NormalizedCoordinate resolution = 2;
Returns
Type | Description |
boolean | Whether the resolution field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Overlay.Image.Builder newBuilder()
Returns
newBuilder(Overlay.Image prototype)
public static Overlay.Image.Builder newBuilder(Overlay.Image prototype)
Parameter
Returns
newBuilderForType()
public Overlay.Image.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Overlay.Image.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Overlay.Image parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Overlay.Image parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Overlay.Image parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Overlay.Image parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Overlay.Image parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Overlay.Image parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Overlay.Image parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Overlay.Image parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Overlay.Image parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Overlay.Image parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Overlay.Image parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Overlay.Image parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Overlay.Image> parser()
Returns
toBuilder()
public Overlay.Image.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions