Class SalesforceMarketingCloudProfile (1.102.0)

public final class SalesforceMarketingCloudProfile extends GeneratedMessage implements SalesforceMarketingCloudProfileOrBuilder

Profile for connecting to a Salesforce Marketing Cloud source.

Protobuf type google.cloud.datastream.v1.SalesforceMarketingCloudProfile

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SalesforceMarketingCloudProfile

Static Fields

OAUTH_CLIENT_CREDENTIALS_FIELD_NUMBER

public static final int OAUTH_CLIENT_CREDENTIALS_FIELD_NUMBER
Field Value
Type Description
int

SUBDOMAIN_FIELD_NUMBER

public static final int SUBDOMAIN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SalesforceMarketingCloudProfile getDefaultInstance()
Returns
Type Description
SalesforceMarketingCloudProfile

getDescriptor()

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

newBuilder()

public static SalesforceMarketingCloudProfile.Builder newBuilder()
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

newBuilder(SalesforceMarketingCloudProfile prototype)

public static SalesforceMarketingCloudProfile.Builder newBuilder(SalesforceMarketingCloudProfile prototype)
Parameter
Name Description
prototype SalesforceMarketingCloudProfile
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

parseDelimitedFrom(InputStream input)

public static SalesforceMarketingCloudProfile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SalesforceMarketingCloudProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SalesforceMarketingCloudProfile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SalesforceMarketingCloudProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SalesforceMarketingCloudProfile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SalesforceMarketingCloudProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SalesforceMarketingCloudProfile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SalesforceMarketingCloudProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SalesforceMarketingCloudProfile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SalesforceMarketingCloudProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SalesforceMarketingCloudProfile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SalesforceMarketingCloudProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SalesforceMarketingCloudProfile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SalesforceMarketingCloudProfile> parser()
Returns
Type Description
Parser<SalesforceMarketingCloudProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SalesforceMarketingCloudProfile getDefaultInstanceForType()
Returns
Type Description
SalesforceMarketingCloudProfile

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.

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

getParserForType()

public Parser<SalesforceMarketingCloudProfile> getParserForType()
Returns
Type Description
Parser<SalesforceMarketingCloudProfile>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SalesforceMarketingCloudProfile.Builder newBuilderForType()
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SalesforceMarketingCloudProfile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SalesforceMarketingCloudProfile.Builder
Overrides

toBuilder()

public SalesforceMarketingCloudProfile.Builder toBuilder()
Returns
Type Description
SalesforceMarketingCloudProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException