Class SupportedDatabaseFlag.IntegerRestrictions.Builder (0.40.0)

public static final class SupportedDatabaseFlag.IntegerRestrictions.Builder extends GeneratedMessageV3.Builder<SupportedDatabaseFlag.IntegerRestrictions.Builder> implements SupportedDatabaseFlag.IntegerRestrictionsOrBuilder

Restrictions on INTEGER type values.

Protobuf type google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SupportedDatabaseFlag.IntegerRestrictions build()
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions

buildPartial()

public SupportedDatabaseFlag.IntegerRestrictions buildPartial()
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions

clear()

public SupportedDatabaseFlag.IntegerRestrictions.Builder clear()
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMaxValue()

public SupportedDatabaseFlag.IntegerRestrictions.Builder clearMaxValue()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

clearMinValue()

public SupportedDatabaseFlag.IntegerRestrictions.Builder clearMinValue()

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SupportedDatabaseFlag.IntegerRestrictions.Builder clone()
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder
Overrides

getDefaultInstanceForType()

public SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType()
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions

getDescriptorForType()

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

getMaxValue()

public Int64Value getMaxValue()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
Type Description
Int64Value

The maxValue.

getMaxValueBuilder()

public Int64Value.Builder getMaxValueBuilder()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
Type Description
Builder

getMaxValueOrBuilder()

public Int64ValueOrBuilder getMaxValueOrBuilder()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
Type Description
Int64ValueOrBuilder

getMinValue()

public Int64Value getMinValue()

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Returns
Type Description
Int64Value

The minValue.

getMinValueBuilder()

public Int64Value.Builder getMinValueBuilder()

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Returns
Type Description
Builder

getMinValueOrBuilder()

public Int64ValueOrBuilder getMinValueOrBuilder()

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Returns
Type Description
Int64ValueOrBuilder

hasMaxValue()

public boolean hasMaxValue()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
Type Description
boolean

Whether the maxValue field is set.

hasMinValue()

public boolean hasMinValue()

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Returns
Type Description
boolean

Whether the minValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SupportedDatabaseFlag.IntegerRestrictions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMaxValue(Int64Value value)

public SupportedDatabaseFlag.IntegerRestrictions.Builder mergeMaxValue(Int64Value value)

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Parameter
Name Description
value Int64Value
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

mergeMinValue(Int64Value value)

public SupportedDatabaseFlag.IntegerRestrictions.Builder mergeMinValue(Int64Value value)

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Parameter
Name Description
value Int64Value
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxValue(Int64Value value)

public SupportedDatabaseFlag.IntegerRestrictions.Builder setMaxValue(Int64Value value)

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Parameter
Name Description
value Int64Value
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

setMaxValue(Int64Value.Builder builderForValue)

public SupportedDatabaseFlag.IntegerRestrictions.Builder setMaxValue(Int64Value.Builder builderForValue)

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

setMinValue(Int64Value value)

public SupportedDatabaseFlag.IntegerRestrictions.Builder setMinValue(Int64Value value)

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Parameter
Name Description
value Int64Value
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

setMinValue(Int64Value.Builder builderForValue)

public SupportedDatabaseFlag.IntegerRestrictions.Builder setMinValue(Int64Value.Builder builderForValue)

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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