Class NormalizedCoordinate.Builder (0.56.0)

public static final class NormalizedCoordinate.Builder extends GeneratedMessageV3.Builder<NormalizedCoordinate.Builder> implements NormalizedCoordinateOrBuilder

2D normalized coordinates.

Protobuf type google.cloud.video.livestream.v1.NormalizedCoordinate

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NormalizedCoordinate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

build()

public NormalizedCoordinate build()
Returns
Type Description
NormalizedCoordinate

buildPartial()

public NormalizedCoordinate buildPartial()
Returns
Type Description
NormalizedCoordinate

clear()

public NormalizedCoordinate.Builder clear()
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NormalizedCoordinate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NormalizedCoordinate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

clearX()

public NormalizedCoordinate.Builder clearX()

Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

double x = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NormalizedCoordinate.Builder

This builder for chaining.

clearY()

public NormalizedCoordinate.Builder clearY()

Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

double y = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NormalizedCoordinate.Builder

This builder for chaining.

clone()

public NormalizedCoordinate.Builder clone()
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

getDefaultInstanceForType()

public NormalizedCoordinate getDefaultInstanceForType()
Returns
Type Description
NormalizedCoordinate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getX()

public double getX()

Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

double x = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The x.

getY()

public double getY()

Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

double y = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The y.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NormalizedCoordinate other)

public NormalizedCoordinate.Builder mergeFrom(NormalizedCoordinate other)
Parameter
Name Description
other NormalizedCoordinate
Returns
Type Description
NormalizedCoordinate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NormalizedCoordinate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NormalizedCoordinate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NormalizedCoordinate.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedCoordinate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NormalizedCoordinate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NormalizedCoordinate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NormalizedCoordinate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NormalizedCoordinate.Builder
Overrides

setX(double value)

public NormalizedCoordinate.Builder setX(double value)

Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

double x = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The x to set.

Returns
Type Description
NormalizedCoordinate.Builder

This builder for chaining.

setY(double value)

public NormalizedCoordinate.Builder setY(double value)

Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

double y = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The y to set.

Returns
Type Description
NormalizedCoordinate.Builder

This builder for chaining.