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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Identifier.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DatabaseCharacterSet other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCharacterSet(String value) Output only.setCharacterSetBytes(com.google.protobuf.ByteString value) Output only.Output only.setCharacterSetTypeValue(int value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseCharacterSet.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseCharacterSet.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseCharacterSet.Builder>- Throws:
IOException
-
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:
getNamein interfaceDatabaseCharacterSetOrBuilder- 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:
getNameBytesin interfaceDatabaseCharacterSetOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
getCharacterSetTypeValuein interfaceDatabaseCharacterSetOrBuilder- Returns:
- The enum numeric value on the wire for characterSetType.
-
setCharacterSetTypeValue
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
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:
getCharacterSetTypein interfaceDatabaseCharacterSetOrBuilder- Returns:
- The characterSetType.
-
setCharacterSetType
public DatabaseCharacterSet.Builder setCharacterSetType(DatabaseCharacterSet.CharacterSetType 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 characterSetType to set.- Returns:
- This builder for chaining.
-
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
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:
getCharacterSetin interfaceDatabaseCharacterSetOrBuilder- 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:
getCharacterSetBytesin interfaceDatabaseCharacterSetOrBuilder- Returns:
- The bytes for characterSet.
-
setCharacterSet
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
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
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.
-