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