- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class StaticOverlay.Builder extends GeneratedMessageV3.Builder<StaticOverlay.Builder> implements StaticOverlayOrBuilder
Configuration for the static overlay.
Protobuf type google.cloud.video.livestream.v1.StaticOverlay
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StaticOverlay.BuilderImplements
StaticOverlayOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StaticOverlay.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
build()
public StaticOverlay build()
Returns | |
---|---|
Type | Description |
StaticOverlay |
buildPartial()
public StaticOverlay buildPartial()
Returns | |
---|---|
Type | Description |
StaticOverlay |
clear()
public StaticOverlay.Builder clear()
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
clearAsset()
public StaticOverlay.Builder clearAsset()
Required. Asset to use for the overlaid image.
The asset must be represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
The asset's resource type must be image.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StaticOverlay.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StaticOverlay.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
clearOpacity()
public StaticOverlay.Builder clearOpacity()
Optional. 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 opacity = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
This builder for chaining. |
clearPosition()
public StaticOverlay.Builder clearPosition()
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
clearResolution()
public StaticOverlay.Builder clearResolution()
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
clone()
public StaticOverlay.Builder clone()
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
getAsset()
public String getAsset()
Required. Asset to use for the overlaid image.
The asset must be represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
The asset's resource type must be image.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The asset. |
getAssetBytes()
public ByteString getAssetBytes()
Required. Asset to use for the overlaid image.
The asset must be represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
The asset's resource type must be image.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for asset. |
getDefaultInstanceForType()
public StaticOverlay getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StaticOverlay |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getOpacity()
public double getOpacity()
Optional. 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 opacity = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
double |
The opacity. |
getPosition()
public NormalizedCoordinate getPosition()
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NormalizedCoordinate |
The position. |
getPositionBuilder()
public NormalizedCoordinate.Builder getPositionBuilder()
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NormalizedCoordinate.Builder |
getPositionOrBuilder()
public NormalizedCoordinateOrBuilder getPositionOrBuilder()
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NormalizedCoordinateOrBuilder |
getResolution()
public NormalizedResolution getResolution()
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NormalizedResolution |
The resolution. |
getResolutionBuilder()
public NormalizedResolution.Builder getResolutionBuilder()
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NormalizedResolution.Builder |
getResolutionOrBuilder()
public NormalizedResolutionOrBuilder getResolutionOrBuilder()
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NormalizedResolutionOrBuilder |
hasPosition()
public boolean hasPosition()
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the position field is set. |
hasResolution()
public boolean hasResolution()
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the resolution field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(StaticOverlay other)
public StaticOverlay.Builder mergeFrom(StaticOverlay other)
Parameter | |
---|---|
Name | Description |
other |
StaticOverlay |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StaticOverlay.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StaticOverlay.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
mergePosition(NormalizedCoordinate value)
public StaticOverlay.Builder mergePosition(NormalizedCoordinate value)
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
NormalizedCoordinate |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
mergeResolution(NormalizedResolution value)
public StaticOverlay.Builder mergeResolution(NormalizedResolution value)
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
NormalizedResolution |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StaticOverlay.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
setAsset(String value)
public StaticOverlay.Builder setAsset(String value)
Required. Asset to use for the overlaid image.
The asset must be represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
The asset's resource type must be image.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The asset to set. |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
This builder for chaining. |
setAssetBytes(ByteString value)
public StaticOverlay.Builder setAssetBytes(ByteString value)
Required. Asset to use for the overlaid image.
The asset must be represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
The asset's resource type must be image.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for asset to set. |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StaticOverlay.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
setOpacity(double value)
public StaticOverlay.Builder setOpacity(double value)
Optional. 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 opacity = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
double The opacity to set. |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
This builder for chaining. |
setPosition(NormalizedCoordinate value)
public StaticOverlay.Builder setPosition(NormalizedCoordinate value)
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
NormalizedCoordinate |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
setPosition(NormalizedCoordinate.Builder builderForValue)
public StaticOverlay.Builder setPosition(NormalizedCoordinate.Builder builderForValue)
Optional. Position of the image in terms of normalized coordinates of the upper-left corner of the image, based on output video resolution. For example, use the x and y coordinates {0, 0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
.google.cloud.video.livestream.v1.NormalizedCoordinate position = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
NormalizedCoordinate.Builder |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StaticOverlay.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
setResolution(NormalizedResolution value)
public StaticOverlay.Builder setResolution(NormalizedResolution value)
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
NormalizedResolution |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
setResolution(NormalizedResolution.Builder builderForValue)
public StaticOverlay.Builder setResolution(NormalizedResolution.Builder builderForValue)
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w
or h
to 0. To use the original image resolution, set both
w
and h
to 0. The default is {0, 0}.
.google.cloud.video.livestream.v1.NormalizedResolution resolution = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
NormalizedResolution.Builder |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StaticOverlay.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StaticOverlay.Builder |