public static final class SalesforceProfile.Oauth2ClientCredentials.Builder extends GeneratedMessage.Builder<SalesforceProfile.Oauth2ClientCredentials.Builder> implements SalesforceProfile.Oauth2ClientCredentialsOrBuilderOAuth2 Client Credentials.
Protobuf type google.cloud.datastream.v1.SalesforceProfile.Oauth2ClientCredentials
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SalesforceProfile.Oauth2ClientCredentials.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SalesforceProfile.Oauth2ClientCredentials build()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials |
|
buildPartial()
public SalesforceProfile.Oauth2ClientCredentials buildPartial()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials |
|
clear()
public SalesforceProfile.Oauth2ClientCredentials.Builder clear()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
|
clearClientId()
public SalesforceProfile.Oauth2ClientCredentials.Builder clearClientId()Required. Client ID for Salesforce OAuth2 Client Credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
clearClientSecret()
public SalesforceProfile.Oauth2ClientCredentials.Builder clearClientSecret() Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the secret_manager_stored_client_secret field.
string client_secret = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
clearSecretManagerStoredClientSecret()
public SalesforceProfile.Oauth2ClientCredentials.Builder clearSecretManagerStoredClientSecret() Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret field.
string secret_manager_stored_client_secret = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
getClientId()
public String getClientId()Required. Client ID for Salesforce OAuth2 Client Credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The clientId. |
getClientIdBytes()
public ByteString getClientIdBytes()Required. Client ID for Salesforce OAuth2 Client Credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientId. |
getClientSecret()
public String getClientSecret() Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the secret_manager_stored_client_secret field.
string client_secret = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The clientSecret. |
getClientSecretBytes()
public ByteString getClientSecretBytes() Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the secret_manager_stored_client_secret field.
string client_secret = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientSecret. |
getDefaultInstanceForType()
public SalesforceProfile.Oauth2ClientCredentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSecretManagerStoredClientSecret()
public String getSecretManagerStoredClientSecret() Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret field.
string secret_manager_stored_client_secret = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The secretManagerStoredClientSecret. |
getSecretManagerStoredClientSecretBytes()
public ByteString getSecretManagerStoredClientSecretBytes() Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret field.
string secret_manager_stored_client_secret = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secretManagerStoredClientSecret. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SalesforceProfile.Oauth2ClientCredentials other)
public SalesforceProfile.Oauth2ClientCredentials.Builder mergeFrom(SalesforceProfile.Oauth2ClientCredentials other)| Parameter | |
|---|---|
| Name | Description |
other |
SalesforceProfile.Oauth2ClientCredentials |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SalesforceProfile.Oauth2ClientCredentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SalesforceProfile.Oauth2ClientCredentials.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
|
setClientId(String value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setClientId(String value)Required. Client ID for Salesforce OAuth2 Client Credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientId to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
setClientIdBytes(ByteString value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setClientIdBytes(ByteString value)Required. Client ID for Salesforce OAuth2 Client Credentials.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientId to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
setClientSecret(String value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setClientSecret(String value) Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the secret_manager_stored_client_secret field.
string client_secret = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
setClientSecretBytes(ByteString value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setClientSecretBytes(ByteString value) Optional. Client secret for Salesforce OAuth2 Client Credentials.
Mutually exclusive with the secret_manager_stored_client_secret field.
string client_secret = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
setSecretManagerStoredClientSecret(String value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setSecretManagerStoredClientSecret(String value) Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret field.
string secret_manager_stored_client_secret = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secretManagerStoredClientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
setSecretManagerStoredClientSecretBytes(ByteString value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setSecretManagerStoredClientSecretBytes(ByteString value) Optional. A reference to a Secret Manager resource name storing the
Salesforce OAuth2 client_secret. Mutually exclusive with the
client_secret field.
string secret_manager_stored_client_secret = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secretManagerStoredClientSecret to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |