Class NormalizedResolution.Builder (0.53.0)

public static final class NormalizedResolution.Builder extends GeneratedMessageV3.Builder<NormalizedResolution.Builder> implements NormalizedResolutionOrBuilder

Normalized resolution.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NormalizedResolution build()
Returns
Type Description
NormalizedResolution

buildPartial()

public NormalizedResolution buildPartial()
Returns
Type Description
NormalizedResolution

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearH()

public NormalizedResolution.Builder clearH()

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

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

Returns
Type Description
NormalizedResolution.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearW()

public NormalizedResolution.Builder clearW()

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

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

Returns
Type Description
NormalizedResolution.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NormalizedResolution getDefaultInstanceForType()
Returns
Type Description
NormalizedResolution

getDescriptorForType()

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

getH()

public double getH()

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

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

Returns
Type Description
double

The h.

getW()

public double getW()

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

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

Returns
Type Description
double

The w.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NormalizedResolution other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setH(double value)

public NormalizedResolution.Builder setH(double value)

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

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

Parameter
Name Description
value double

The h to set.

Returns
Type Description
NormalizedResolution.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setW(double value)

public NormalizedResolution.Builder setW(double value)

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

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

Parameter
Name Description
value double

The w to set.

Returns
Type Description
NormalizedResolution.Builder

This builder for chaining.