Class SupportedDatabaseFlag.StringRestrictions.Builder (0.59.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.59.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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.v1beta.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  
      
        valuesIterable <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  
      
        valueString 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  
      
        valueByteString 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  
      
        indexint 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  
      
        indexint 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  
      
        otherMessage  
     
  
  
  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  
      
        indexint The index to set the value at.
 
      
        valueString 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 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-10 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]