Class DataverseProfile.Builder (1.102.0)

public static final class DataverseProfile.Builder extends GeneratedMessage.Builder<DataverseProfile.Builder> implements DataverseProfileOrBuilder

Profile for connecting to a Dataverse source.

Protobuf type google.cloud.datastream.v1.DataverseProfile

Static Methods

getDescriptor()

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

Methods

build()

public DataverseProfile build()
Returns
Type Description
DataverseProfile

buildPartial()

public DataverseProfile buildPartial()
Returns
Type Description
DataverseProfile

clear()

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

clearEnvironmentUrl()

public DataverseProfile.Builder clearEnvironmentUrl()

Required. Environment URL of the Microsoft Dataverse instance. Example: <subdomain>.crm.dynamics.com

string environment_url = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataverseProfile.Builder

This builder for chaining.

clearOauthClientCredentials()

public DataverseProfile.Builder clearOauthClientCredentials()

Required. Credentials for authenticating with the Dataverse API.

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

Returns
Type Description
DataverseProfile.Builder

clearTenantId()

public DataverseProfile.Builder clearTenantId()

Required. Tenant id of the Microsoft Dataverse instance.

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

Returns
Type Description
DataverseProfile.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataverseProfile getDefaultInstanceForType()
Returns
Type Description
DataverseProfile

getDescriptorForType()

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

getEnvironmentUrl()

public String getEnvironmentUrl()

Required. Environment URL of the Microsoft Dataverse instance. Example: <subdomain>.crm.dynamics.com

string environment_url = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The environmentUrl.

getEnvironmentUrlBytes()

public ByteString getEnvironmentUrlBytes()

Required. Environment URL of the Microsoft Dataverse instance. Example: <subdomain>.crm.dynamics.com

string environment_url = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for environmentUrl.

getOauthClientCredentials()

public OauthClientCredentials getOauthClientCredentials()

Required. Credentials for authenticating with the Dataverse API.

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

Returns
Type Description
OauthClientCredentials

The oauthClientCredentials.

getOauthClientCredentialsBuilder()

public OauthClientCredentials.Builder getOauthClientCredentialsBuilder()

Required. Credentials for authenticating with the Dataverse API.

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

Returns
Type Description
OauthClientCredentials.Builder

getOauthClientCredentialsOrBuilder()

public OauthClientCredentialsOrBuilder getOauthClientCredentialsOrBuilder()

Required. Credentials for authenticating with the Dataverse API.

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

Returns
Type Description
OauthClientCredentialsOrBuilder

getTenantId()

public String getTenantId()

Required. Tenant id of the Microsoft Dataverse instance.

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

Returns
Type Description
String

The tenantId.

getTenantIdBytes()

public ByteString getTenantIdBytes()

Required. Tenant id of the Microsoft Dataverse instance.

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

Returns
Type Description
ByteString

The bytes for tenantId.

hasOauthClientCredentials()

public boolean hasOauthClientCredentials()

Required. Credentials for authenticating with the Dataverse API.

.google.cloud.datastream.v1.OauthClientCredentials oauth_client_credentials = 3 [(.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(DataverseProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOauthClientCredentials(OauthClientCredentials value)

public DataverseProfile.Builder mergeOauthClientCredentials(OauthClientCredentials value)

Required. Credentials for authenticating with the Dataverse API.

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

Parameter
Name Description
value OauthClientCredentials
Returns
Type Description
DataverseProfile.Builder

setEnvironmentUrl(String value)

public DataverseProfile.Builder setEnvironmentUrl(String value)

Required. Environment URL of the Microsoft Dataverse instance. Example: <subdomain>.crm.dynamics.com

string environment_url = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The environmentUrl to set.

Returns
Type Description
DataverseProfile.Builder

This builder for chaining.

setEnvironmentUrlBytes(ByteString value)

public DataverseProfile.Builder setEnvironmentUrlBytes(ByteString value)

Required. Environment URL of the Microsoft Dataverse instance. Example: <subdomain>.crm.dynamics.com

string environment_url = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for environmentUrl to set.

Returns
Type Description
DataverseProfile.Builder

This builder for chaining.

setOauthClientCredentials(OauthClientCredentials value)

public DataverseProfile.Builder setOauthClientCredentials(OauthClientCredentials value)

Required. Credentials for authenticating with the Dataverse API.

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

Parameter
Name Description
value OauthClientCredentials
Returns
Type Description
DataverseProfile.Builder

setOauthClientCredentials(OauthClientCredentials.Builder builderForValue)

public DataverseProfile.Builder setOauthClientCredentials(OauthClientCredentials.Builder builderForValue)

Required. Credentials for authenticating with the Dataverse API.

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

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

setTenantId(String value)

public DataverseProfile.Builder setTenantId(String value)

Required. Tenant id of the Microsoft Dataverse instance.

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

Parameter
Name Description
value String

The tenantId to set.

Returns
Type Description
DataverseProfile.Builder

This builder for chaining.

setTenantIdBytes(ByteString value)

public DataverseProfile.Builder setTenantIdBytes(ByteString value)

Required. Tenant id of the Microsoft Dataverse instance.

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

Parameter
Name Description
value ByteString

The bytes for tenantId to set.

Returns
Type Description
DataverseProfile.Builder

This builder for chaining.