public static final class SupportedDatabaseFlag.StringRestrictions extends GeneratedMessageV3 implements SupportedDatabaseFlag.StringRestrictionsOrBuilder
Restrictions on STRING type values
Protobuf type google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SupportedDatabaseFlag.StringRestrictionsStatic Fields
ALLOWED_VALUES_FIELD_NUMBER
public static final int ALLOWED_VALUES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SupportedDatabaseFlag.StringRestrictions getDefaultInstance()
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static SupportedDatabaseFlag.StringRestrictions.Builder newBuilder()
Type | Description |
SupportedDatabaseFlag.StringRestrictions.Builder |
newBuilder(SupportedDatabaseFlag.StringRestrictions prototype)
public static SupportedDatabaseFlag.StringRestrictions.Builder newBuilder(SupportedDatabaseFlag.StringRestrictions prototype)
Name | Description |
prototype |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
SupportedDatabaseFlag.StringRestrictions.Builder |
parseDelimitedFrom(InputStream input)
public static SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
IOException |
parseFrom(byte[] data)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
IOException |
parseFrom(InputStream input)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SupportedDatabaseFlag.StringRestrictions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SupportedDatabaseFlag.StringRestrictions> parser()
Type | Description |
Parser<StringRestrictions> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getAllowedValues(int index)
public String getAllowedValues(int index)
The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
repeated string allowed_values = 1;
Name | Description |
index |
int The index of the element to return. |
Type | Description |
String |
The allowedValues at the given index. |
getAllowedValuesBytes(int index)
public ByteString getAllowedValuesBytes(int index)
The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
repeated string allowed_values = 1;
Name | Description |
index |
int The index of the value to return. |
Type | Description |
ByteString |
The bytes of the allowedValues at the given index. |
getAllowedValuesCount()
public int getAllowedValuesCount()
The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
repeated string allowed_values = 1;
Type | Description |
int |
The count of allowedValues. |
getAllowedValuesList()
public ProtocolStringList getAllowedValuesList()
The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
repeated string allowed_values = 1;
Type | Description |
ProtocolStringList |
A list containing the allowedValues. |
getDefaultInstanceForType()
public SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType()
Type | Description |
SupportedDatabaseFlag.StringRestrictions |
getParserForType()
public Parser<SupportedDatabaseFlag.StringRestrictions> getParserForType()
Type | Description |
Parser<StringRestrictions> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public SupportedDatabaseFlag.StringRestrictions.Builder newBuilderForType()
Type | Description |
SupportedDatabaseFlag.StringRestrictions.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SupportedDatabaseFlag.StringRestrictions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
SupportedDatabaseFlag.StringRestrictions.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public SupportedDatabaseFlag.StringRestrictions.Builder toBuilder()
Type | Description |
SupportedDatabaseFlag.StringRestrictions.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |