- 2.53.0 (latest)
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.2.4
- 2.1.11
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudSqlCredential.BuilderImplements
CloudSqlCredentialOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlCredential.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public CloudSqlCredential.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSqlCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
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. |
clone()
public CloudSqlCredential.Builder clone()
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlCredential.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlCredential.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
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 | String The 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 | ByteString The bytes for password to set. |
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSqlCredential.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlCredential.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder |
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 | |
---|---|
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 | ByteString The bytes for username to set. |
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder | This builder for chaining. |