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