public static final class SupportedDatabaseFlag.StringRestrictions.Builder extends GeneratedMessageV3.Builder<SupportedDatabaseFlag.StringRestrictions.Builder> implements SupportedDatabaseFlag.StringRestrictionsOrBuilder
Restrictions on STRING type values
Protobuf type google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions
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
addAllAllowedValues(Iterable<String> values)
public SupportedDatabaseFlag.StringRestrictions.Builder addAllAllowedValues(Iterable<String> values)
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;
Parameter |
Name |
Description |
values |
Iterable<String>
The allowedValues to add.
|
addAllowedValues(String value)
public SupportedDatabaseFlag.StringRestrictions.Builder addAllowedValues(String value)
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;
Parameter |
Name |
Description |
value |
String
The allowedValues to add.
|
addAllowedValuesBytes(ByteString value)
public SupportedDatabaseFlag.StringRestrictions.Builder addAllowedValuesBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes of the allowedValues to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SupportedDatabaseFlag.StringRestrictions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SupportedDatabaseFlag.StringRestrictions build()
buildPartial()
public SupportedDatabaseFlag.StringRestrictions buildPartial()
clear()
public SupportedDatabaseFlag.StringRestrictions.Builder clear()
Overrides
clearAllowedValues()
public SupportedDatabaseFlag.StringRestrictions.Builder clearAllowedValues()
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;
clearField(Descriptors.FieldDescriptor field)
public SupportedDatabaseFlag.StringRestrictions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SupportedDatabaseFlag.StringRestrictions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SupportedDatabaseFlag.StringRestrictions.Builder clone()
Overrides
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;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
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;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
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;
Returns |
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;
getDefaultInstanceForType()
public SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SupportedDatabaseFlag.StringRestrictions other)
public SupportedDatabaseFlag.StringRestrictions.Builder mergeFrom(SupportedDatabaseFlag.StringRestrictions other)
public SupportedDatabaseFlag.StringRestrictions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SupportedDatabaseFlag.StringRestrictions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SupportedDatabaseFlag.StringRestrictions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAllowedValues(int index, String value)
public SupportedDatabaseFlag.StringRestrictions.Builder setAllowedValues(int index, String value)
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;
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The allowedValues to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SupportedDatabaseFlag.StringRestrictions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SupportedDatabaseFlag.StringRestrictions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SupportedDatabaseFlag.StringRestrictions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides