Class DatabaseCharacterSet.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
com.google.cloud.oracledatabase.v1.DatabaseCharacterSet.Builder
All Implemented Interfaces:
DatabaseCharacterSetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DatabaseCharacterSet

public static final class DatabaseCharacterSet.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder> implements DatabaseCharacterSetOrBuilder
 Details of the Database character set resource.
 
Protobuf type google.cloud.oracledatabase.v1.DatabaseCharacterSet
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
    • getDefaultInstanceForType

      public DatabaseCharacterSet getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DatabaseCharacterSet build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DatabaseCharacterSet buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DatabaseCharacterSet.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseCharacterSet.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
    • mergeFrom

      public DatabaseCharacterSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseCharacterSet.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the Database Character Set resource in the
       following format:
       projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DatabaseCharacterSetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the Database Character Set resource in the
       following format:
       projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DatabaseCharacterSetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DatabaseCharacterSet.Builder setName(String value)
       Identifier. The name of the Database Character Set resource in the
       following format:
       projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DatabaseCharacterSet.Builder clearName()
       Identifier. The name of the Database Character Set resource in the
       following format:
       projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DatabaseCharacterSet.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the Database Character Set resource in the
       following format:
       projects/{project}/locations/{region}/databaseCharacterSets/{database_character_set}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getCharacterSetTypeValue

      public int getCharacterSetTypeValue()
       Output only. The character set type for the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseCharacterSet.CharacterSetType character_set_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacterSetTypeValue in interface DatabaseCharacterSetOrBuilder
      Returns:
      The enum numeric value on the wire for characterSetType.
    • setCharacterSetTypeValue

      public DatabaseCharacterSet.Builder setCharacterSetTypeValue(int value)
       Output only. The character set type for the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseCharacterSet.CharacterSetType character_set_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for characterSetType to set.
      Returns:
      This builder for chaining.
    • getCharacterSetType

      public DatabaseCharacterSet.CharacterSetType getCharacterSetType()
       Output only. The character set type for the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseCharacterSet.CharacterSetType character_set_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacterSetType in interface DatabaseCharacterSetOrBuilder
      Returns:
      The characterSetType.
    • setCharacterSetType

       Output only. The character set type for the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseCharacterSet.CharacterSetType character_set_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The characterSetType to set.
      Returns:
      This builder for chaining.
    • clearCharacterSetType

      public DatabaseCharacterSet.Builder clearCharacterSetType()
       Output only. The character set type for the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseCharacterSet.CharacterSetType character_set_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getCharacterSet

      public String getCharacterSet()
       Output only. The character set name for the Database which is the ID in the
       resource name.
       
      string character_set = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacterSet in interface DatabaseCharacterSetOrBuilder
      Returns:
      The characterSet.
    • getCharacterSetBytes

      public com.google.protobuf.ByteString getCharacterSetBytes()
       Output only. The character set name for the Database which is the ID in the
       resource name.
       
      string character_set = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCharacterSetBytes in interface DatabaseCharacterSetOrBuilder
      Returns:
      The bytes for characterSet.
    • setCharacterSet

      public DatabaseCharacterSet.Builder setCharacterSet(String value)
       Output only. The character set name for the Database which is the ID in the
       resource name.
       
      string character_set = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The characterSet to set.
      Returns:
      This builder for chaining.
    • clearCharacterSet

      public DatabaseCharacterSet.Builder clearCharacterSet()
       Output only. The character set name for the Database which is the ID in the
       resource name.
       
      string character_set = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCharacterSetBytes

      public DatabaseCharacterSet.Builder setCharacterSetBytes(com.google.protobuf.ByteString value)
       Output only. The character set name for the Database which is the ID in the
       resource name.
       
      string character_set = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for characterSet to set.
      Returns:
      This builder for chaining.