- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class SalesforceProfile.Oauth2ClientCredentials.Builder extends GeneratedMessageV3.Builder<SalesforceProfile.Oauth2ClientCredentials.Builder> implements SalesforceProfile.Oauth2ClientCredentialsOrBuilder
OAuth2 Client Credentials.
Protobuf type google.cloud.datastream.v1.SalesforceProfile.Oauth2ClientCredentials
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SalesforceProfile.Oauth2ClientCredentials.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SalesforceProfile.Oauth2ClientCredentials.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public SalesforceProfile.Oauth2ClientCredentials.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SalesforceProfile.Oauth2ClientCredentials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
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. |
clone()
public SalesforceProfile.Oauth2ClientCredentials.Builder clone()
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SalesforceProfile.Oauth2ClientCredentials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes for clientSecret to set. |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SalesforceProfile.Oauth2ClientCredentials.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
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 |
String The 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 |
ByteString The bytes for secretManagerStoredClientSecret to set. |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SalesforceProfile.Oauth2ClientCredentials.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SalesforceProfile.Oauth2ClientCredentials.Builder |