public static final class DatabaseCharacterSet.Builder extends GeneratedMessage.Builder<DatabaseCharacterSet.Builder> implements DatabaseCharacterSetOrBuilderDetails of the Database character set resource.
Protobuf type google.cloud.oracledatabase.v1.DatabaseCharacterSet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DatabaseCharacterSet.BuilderImplements
DatabaseCharacterSetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DatabaseCharacterSet build()| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet |
|
buildPartial()
public DatabaseCharacterSet buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet |
|
clear()
public DatabaseCharacterSet.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
|
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 | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
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 | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
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 | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The characterSet. |
getCharacterSetBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for characterSet. |
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];
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.CharacterSetType |
The characterSetType. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for characterSetType. |
getDefaultInstanceForType()
public DatabaseCharacterSet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DatabaseCharacterSet other)
public DatabaseCharacterSet.Builder mergeFrom(DatabaseCharacterSet other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseCharacterSet |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseCharacterSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseCharacterSet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
|
setCharacterSet(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe characterSet to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
This builder for chaining. |
setCharacterSetBytes(ByteString value)
public DatabaseCharacterSet.Builder setCharacterSetBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for characterSet to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
This builder for chaining. |
setCharacterSetType(DatabaseCharacterSet.CharacterSetType value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseCharacterSet.CharacterSetTypeThe characterSetType to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
This builder for chaining. |
setCharacterSetTypeValue(int value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for characterSetType to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
This builder for chaining. |
setName(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DatabaseCharacterSet.Builder setNameBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseCharacterSet.Builder |
This builder for chaining. |