Class SupportedDatabaseFlag.IntegerRestrictions (0.30.0)

public static final class SupportedDatabaseFlag.IntegerRestrictions extends GeneratedMessageV3 implements SupportedDatabaseFlag.IntegerRestrictionsOrBuilder

Restrictions on INTEGER type values.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SupportedDatabaseFlag.IntegerRestrictions

Static Fields

MAX_VALUE_FIELD_NUMBER

public static final int MAX_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_VALUE_FIELD_NUMBER

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SupportedDatabaseFlag.IntegerRestrictions getDefaultInstance()
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SupportedDatabaseFlag.IntegerRestrictions.Builder newBuilder()
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions.Builder

newBuilder(SupportedDatabaseFlag.IntegerRestrictions prototype)

public static SupportedDatabaseFlag.IntegerRestrictions.Builder newBuilder(SupportedDatabaseFlag.IntegerRestrictions prototype)
Parameter
NameDescription
prototypeSupportedDatabaseFlag.IntegerRestrictions
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions.Builder

parseDelimitedFrom(InputStream input)

public static SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SupportedDatabaseFlag.IntegerRestrictions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SupportedDatabaseFlag.IntegerRestrictions> parser()
Returns
TypeDescription
Parser<IntegerRestrictions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType()
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions

getMaxValue()

public Int64Value getMaxValue()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
TypeDescription
Int64Value

The maxValue.

getMaxValueOrBuilder()

public Int64ValueOrBuilder getMaxValueOrBuilder()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
TypeDescription
Int64ValueOrBuilder

getMinValue()

public Int64Value getMinValue()

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Returns
TypeDescription
Int64Value

The minValue.

getMinValueOrBuilder()

public Int64ValueOrBuilder getMinValueOrBuilder()

The minimum value that can be specified, if applicable.

.google.protobuf.Int64Value min_value = 1;

Returns
TypeDescription
Int64ValueOrBuilder

getParserForType()

public Parser<SupportedDatabaseFlag.IntegerRestrictions> getParserForType()
Returns
TypeDescription
Parser<IntegerRestrictions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMaxValue()

public boolean hasMaxValue()

The maximum value that can be specified, if applicable.

.google.protobuf.Int64Value max_value = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the minValue field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SupportedDatabaseFlag.IntegerRestrictions.Builder newBuilderForType()
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SupportedDatabaseFlag.IntegerRestrictions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SupportedDatabaseFlag.IntegerRestrictions.Builder toBuilder()
Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException