public static final class NormalizedCoordinate.Builder extends GeneratedMessageV3.Builder<NormalizedCoordinate.Builder> implements NormalizedCoordinateOrBuilder
2D normalized coordinates.
Protobuf type google.cloud.video.livestream.v1.NormalizedCoordinate
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NormalizedCoordinate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NormalizedCoordinate build()
buildPartial()
public NormalizedCoordinate buildPartial()
clear()
public NormalizedCoordinate.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NormalizedCoordinate.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NormalizedCoordinate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public NormalizedCoordinate.Builder clone()
Overrides
getDefaultInstanceForType()
public NormalizedCoordinate getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NormalizedCoordinate other)
public NormalizedCoordinate.Builder mergeFrom(NormalizedCoordinate other)
public NormalizedCoordinate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NormalizedCoordinate.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedCoordinate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NormalizedCoordinate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NormalizedCoordinate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NormalizedCoordinate.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|