Class CloudSqlCredential.Builder (2.5.3)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class CloudSqlCredential.Builder extends GeneratedMessageV3.Builder<CloudSqlCredential.Builder> implements CloudSqlCredentialOrBuilder
Credential info for the Cloud SQL.
Protobuf type google.cloud.bigquery.connection.v1.CloudSqlCredential
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlCredential.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CloudSqlCredential build()
Returns
buildPartial()
public CloudSqlCredential buildPartial()
Returns
clear()
public CloudSqlCredential.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CloudSqlCredential.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSqlCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPassword()
public CloudSqlCredential.Builder clearPassword()
The password for the credential.
string password = 2;
Returns
clearUsername()
public CloudSqlCredential.Builder clearUsername()
The username for the credential.
string username = 1;
Returns
clone()
public CloudSqlCredential.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public 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(CloudSqlCredential other)
public CloudSqlCredential.Builder mergeFrom(CloudSqlCredential other)
Parameter
Returns
public CloudSqlCredential.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CloudSqlCredential.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlCredential.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlCredential.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPassword(String value)
public 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 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 CloudSqlCredential.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlCredential.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUsername(String value)
public 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 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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]