Class SalesforceMarketingCloudProfile.Builder (1.102.0)

public static final class SalesforceMarketingCloudProfile.Builder extends GeneratedMessage.Builder<SalesforceMarketingCloudProfile.Builder> implements SalesforceMarketingCloudProfileOrBuilder

Profile for connecting to a Salesforce Marketing Cloud source.

Protobuf type google.cloud.datastream.v1.SalesforceMarketingCloudProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SalesforceMarketingCloudProfile build()
Returns
Type Description
SalesforceMarketingCloudProfile

buildPartial()

public SalesforceMarketingCloudProfile buildPartial()
Returns
Type Description
SalesforceMarketingCloudProfile

clear()

public SalesforceMarketingCloudProfile.Builder clear()
Returns
Type Description
SalesforceMarketingCloudProfile.Builder
Overrides

clearOauthClientCredentials()

public SalesforceMarketingCloudProfile.Builder clearOauthClientCredentials()

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SalesforceMarketingCloudProfile.Builder

clearSubdomain()

public SalesforceMarketingCloudProfile.Builder clearSubdomain()

Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

string subdomain = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SalesforceMarketingCloudProfile.Builder

This builder for chaining.

getDefaultInstanceForType()

public SalesforceMarketingCloudProfile getDefaultInstanceForType()
Returns
Type Description
SalesforceMarketingCloudProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOauthClientCredentials()

public OauthClientCredentials getOauthClientCredentials()

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OauthClientCredentials

The oauthClientCredentials.

getOauthClientCredentialsBuilder()

public OauthClientCredentials.Builder getOauthClientCredentialsBuilder()

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OauthClientCredentials.Builder

getOauthClientCredentialsOrBuilder()

public OauthClientCredentialsOrBuilder getOauthClientCredentialsOrBuilder()

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OauthClientCredentialsOrBuilder

getSubdomain()

public String getSubdomain()

Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

string subdomain = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The subdomain.

getSubdomainBytes()

public ByteString getSubdomainBytes()

Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

string subdomain = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for subdomain.

hasOauthClientCredentials()

public boolean hasOauthClientCredentials()

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the oauthClientCredentials field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SalesforceMarketingCloudProfile other)

public SalesforceMarketingCloudProfile.Builder mergeFrom(SalesforceMarketingCloudProfile other)
Parameter
Name Description
other SalesforceMarketingCloudProfile
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SalesforceMarketingCloudProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SalesforceMarketingCloudProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SalesforceMarketingCloudProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SalesforceMarketingCloudProfile.Builder
Overrides

mergeOauthClientCredentials(OauthClientCredentials value)

public SalesforceMarketingCloudProfile.Builder mergeOauthClientCredentials(OauthClientCredentials value)

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OauthClientCredentials
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

setOauthClientCredentials(OauthClientCredentials value)

public SalesforceMarketingCloudProfile.Builder setOauthClientCredentials(OauthClientCredentials value)

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OauthClientCredentials
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

setOauthClientCredentials(OauthClientCredentials.Builder builderForValue)

public SalesforceMarketingCloudProfile.Builder setOauthClientCredentials(OauthClientCredentials.Builder builderForValue)

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OauthClientCredentials.Builder
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

setSubdomain(String value)

public SalesforceMarketingCloudProfile.Builder setSubdomain(String value)

Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

string subdomain = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The subdomain to set.

Returns
Type Description
SalesforceMarketingCloudProfile.Builder

This builder for chaining.

setSubdomainBytes(ByteString value)

public SalesforceMarketingCloudProfile.Builder setSubdomainBytes(ByteString value)

Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

string subdomain = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for subdomain to set.

Returns
Type Description
SalesforceMarketingCloudProfile.Builder

This builder for chaining.