public static final class SalesforceProfile.UserCredentials.Builder extends GeneratedMessageV3.Builder<SalesforceProfile.UserCredentials.Builder> implements SalesforceProfile.UserCredentialsOrBuilderUsername-password credentials.
Protobuf type google.cloud.datastream.v1.SalesforceProfile.UserCredentials
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SalesforceProfile.UserCredentials.BuilderImplements
SalesforceProfile.UserCredentialsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SalesforceProfile.UserCredentials.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
build()
public SalesforceProfile.UserCredentials build()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials |
|
buildPartial()
public SalesforceProfile.UserCredentials buildPartial()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials |
|
clear()
public SalesforceProfile.UserCredentials.Builder clear()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public SalesforceProfile.UserCredentials.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public SalesforceProfile.UserCredentials.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
clearPassword()
public SalesforceProfile.UserCredentials.Builder clearPassword() Optional. Password for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_password field.
string password = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
clearSecretManagerStoredPassword()
public SalesforceProfile.UserCredentials.Builder clearSecretManagerStoredPassword() Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's password. Mutually exclusive with the password
field.
string secret_manager_stored_password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
clearSecretManagerStoredSecurityToken()
public SalesforceProfile.UserCredentials.Builder clearSecretManagerStoredSecurityToken() Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's security token. Mutually exclusive with the
security_token field.
string secret_manager_stored_security_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
clearSecurityToken()
public SalesforceProfile.UserCredentials.Builder clearSecurityToken() Optional. Security token for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_security_token field.
string security_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
clearUsername()
public SalesforceProfile.UserCredentials.Builder clearUsername()Required. Username for the Salesforce connection.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
clone()
public SalesforceProfile.UserCredentials.Builder clone()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
getDefaultInstanceForType()
public SalesforceProfile.UserCredentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPassword()
public String getPassword() Optional. Password for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_password field.
string password = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The password. |
getPasswordBytes()
public ByteString getPasswordBytes() Optional. Password for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_password field.
string password = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for password. |
getSecretManagerStoredPassword()
public String getSecretManagerStoredPassword() Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's password. Mutually exclusive with the password
field.
string secret_manager_stored_password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The secretManagerStoredPassword. |
getSecretManagerStoredPasswordBytes()
public ByteString getSecretManagerStoredPasswordBytes() Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's password. Mutually exclusive with the password
field.
string secret_manager_stored_password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secretManagerStoredPassword. |
getSecretManagerStoredSecurityToken()
public String getSecretManagerStoredSecurityToken() Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's security token. Mutually exclusive with the
security_token field.
string secret_manager_stored_security_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The secretManagerStoredSecurityToken. |
getSecretManagerStoredSecurityTokenBytes()
public ByteString getSecretManagerStoredSecurityTokenBytes() Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's security token. Mutually exclusive with the
security_token field.
string secret_manager_stored_security_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secretManagerStoredSecurityToken. |
getSecurityToken()
public String getSecurityToken() Optional. Security token for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_security_token field.
string security_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The securityToken. |
getSecurityTokenBytes()
public ByteString getSecurityTokenBytes() Optional. Security token for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_security_token field.
string security_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for securityToken. |
getUsername()
public String getUsername()Required. Username for the Salesforce connection.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()Required. Username for the Salesforce connection.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| 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(SalesforceProfile.UserCredentials other)
public SalesforceProfile.UserCredentials.Builder mergeFrom(SalesforceProfile.UserCredentials other)| Parameter | |
|---|---|
| Name | Description |
other |
SalesforceProfile.UserCredentials |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SalesforceProfile.UserCredentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SalesforceProfile.UserCredentials.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SalesforceProfile.UserCredentials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public SalesforceProfile.UserCredentials.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
setPassword(String value)
public SalesforceProfile.UserCredentials.Builder setPassword(String value) Optional. Password for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_password field.
string password = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value)
public SalesforceProfile.UserCredentials.Builder setPasswordBytes(ByteString value) Optional. Password for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_password field.
string password = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SalesforceProfile.UserCredentials.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
setSecretManagerStoredPassword(String value)
public SalesforceProfile.UserCredentials.Builder setSecretManagerStoredPassword(String value) Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's password. Mutually exclusive with the password
field.
string secret_manager_stored_password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secretManagerStoredPassword to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setSecretManagerStoredPasswordBytes(ByteString value)
public SalesforceProfile.UserCredentials.Builder setSecretManagerStoredPasswordBytes(ByteString value) Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's password. Mutually exclusive with the password
field.
string secret_manager_stored_password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secretManagerStoredPassword to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setSecretManagerStoredSecurityToken(String value)
public SalesforceProfile.UserCredentials.Builder setSecretManagerStoredSecurityToken(String value) Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's security token. Mutually exclusive with the
security_token field.
string secret_manager_stored_security_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secretManagerStoredSecurityToken to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setSecretManagerStoredSecurityTokenBytes(ByteString value)
public SalesforceProfile.UserCredentials.Builder setSecretManagerStoredSecurityTokenBytes(ByteString value) Optional. A reference to a Secret Manager resource name storing the
Salesforce connection's security token. Mutually exclusive with the
security_token field.
string secret_manager_stored_security_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secretManagerStoredSecurityToken to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setSecurityToken(String value)
public SalesforceProfile.UserCredentials.Builder setSecurityToken(String value) Optional. Security token for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_security_token field.
string security_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe securityToken to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setSecurityTokenBytes(ByteString value)
public SalesforceProfile.UserCredentials.Builder setSecurityTokenBytes(ByteString value) Optional. Security token for the Salesforce connection.
Mutually exclusive with the secret_manager_stored_security_token field.
string security_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for securityToken to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SalesforceProfile.UserCredentials.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
|
setUsername(String value)
public SalesforceProfile.UserCredentials.Builder setUsername(String value)Required. Username for the Salesforce connection.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public SalesforceProfile.UserCredentials.Builder setUsernameBytes(ByteString value)Required. Username for the Salesforce connection.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.UserCredentials.Builder |
This builder for chaining. |