public static final class SalesforceMarketingCloudProfile.Builder extends GeneratedMessage.Builder<SalesforceMarketingCloudProfile.Builder> implements SalesforceMarketingCloudProfileOrBuilderProfile for connecting to a Salesforce Marketing Cloud source.
Protobuf type google.cloud.datastream.v1.SalesforceMarketingCloudProfile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SalesforceMarketingCloudProfile.BuilderImplements
SalesforceMarketingCloudProfileOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SalesforceMarketingCloudProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SalesforceMarketingCloudProfile.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for subdomain to set. |
| Returns | |
|---|---|
| Type | Description |
SalesforceMarketingCloudProfile.Builder |
This builder for chaining. |