public static final class CloudSqlCredential.Builder extends GeneratedMessage.Builder<CloudSqlCredential.Builder> implements CloudSqlCredentialOrBuilderCredential info for the Cloud SQL.
Protobuf type google.cloud.bigquery.connection.v1.CloudSqlCredential
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudSqlCredential.BuilderImplements
CloudSqlCredentialOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CloudSqlCredential build()| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential |
|
buildPartial()
public CloudSqlCredential buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential |
|
clear()
public CloudSqlCredential.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
|
clearPassword()
public CloudSqlCredential.Builder clearPassword()The password for the credential.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
This builder for chaining. |
clearUsername()
public CloudSqlCredential.Builder clearUsername()The username for the credential.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CloudSqlCredential getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPassword()
public String getPassword()The password for the credential.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The password. |
getPasswordBytes()
public ByteString getPasswordBytes()The password for the credential.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for password. |
getUsername()
public String getUsername()The username for the credential.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()The username for the credential.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudSqlCredential other)
public CloudSqlCredential.Builder mergeFrom(CloudSqlCredential other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudSqlCredential |
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudSqlCredential.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudSqlCredential.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
|
setPassword(String value)
public CloudSqlCredential.Builder setPassword(String value)The password for the credential.
string password = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value)
public CloudSqlCredential.Builder setPasswordBytes(ByteString value)The password for the credential.
string password = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
This builder for chaining. |
setUsername(String value)
public CloudSqlCredential.Builder setUsername(String value)The username for the credential.
string username = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public CloudSqlCredential.Builder setUsernameBytes(ByteString value)The username for the credential.
string username = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlCredential.Builder |
This builder for chaining. |