public static final class ConnectionProto.CloudSqlCredential.Builder extends GeneratedMessageV3.Builder<ConnectionProto.CloudSqlCredential.Builder> implements ConnectionProto.CloudSqlCredentialOrBuilder
Credential info for the Cloud SQL.
Protobuf type google.cloud.bigquery.connection.v1beta1.CloudSqlCredential
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.CloudSqlCredential.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConnectionProto.CloudSqlCredential build()
Returns
buildPartial()
public ConnectionProto.CloudSqlCredential buildPartial()
Returns
clear()
public ConnectionProto.CloudSqlCredential.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConnectionProto.CloudSqlCredential.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionProto.CloudSqlCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPassword()
public ConnectionProto.CloudSqlCredential.Builder clearPassword()
The password for the credential.
string password = 2;
Returns
clearUsername()
public ConnectionProto.CloudSqlCredential.Builder clearUsername()
The username for the credential.
string username = 1;
Returns
clone()
public ConnectionProto.CloudSqlCredential.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ConnectionProto.CloudSqlCredential getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ConnectionProto.CloudSqlCredential other)
public ConnectionProto.CloudSqlCredential.Builder mergeFrom(ConnectionProto.CloudSqlCredential other)
Parameter
Returns
public ConnectionProto.CloudSqlCredential.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConnectionProto.CloudSqlCredential.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.CloudSqlCredential.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.CloudSqlCredential.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPassword(String value)
public ConnectionProto.CloudSqlCredential.Builder setPassword(String value)
The password for the credential.
string password = 2;
Parameter
Name | Description |
value | String
The password to set.
|
Returns
setPasswordBytes(ByteString value)
public ConnectionProto.CloudSqlCredential.Builder setPasswordBytes(ByteString value)
The password for the credential.
string password = 2;
Parameter
Name | Description |
value | ByteString
The bytes for password to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionProto.CloudSqlCredential.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.CloudSqlCredential.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUsername(String value)
public ConnectionProto.CloudSqlCredential.Builder setUsername(String value)
The username for the credential.
string username = 1;
Parameter
Name | Description |
value | String
The username to set.
|
Returns
setUsernameBytes(ByteString value)
public ConnectionProto.CloudSqlCredential.Builder setUsernameBytes(ByteString value)
The username for the credential.
string username = 1;
Parameter
Name | Description |
value | ByteString
The bytes for username to set.
|
Returns