Class WorkdayProfile.Builder (1.102.0)

public static final class WorkdayProfile.Builder extends GeneratedMessage.Builder<WorkdayProfile.Builder> implements WorkdayProfileOrBuilder

Profile for connecting to a Workday source.

Protobuf type google.cloud.datastream.v1.WorkdayProfile

Static Methods

getDescriptor()

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

Methods

build()

public WorkdayProfile build()
Returns
Type Description
WorkdayProfile

buildPartial()

public WorkdayProfile buildPartial()
Returns
Type Description
WorkdayProfile

clear()

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

clearHost()

public WorkdayProfile.Builder clearHost()

Required. Host for the Workday connection. Must be a valid hostname (e.g., wd3-impl-services1.workday.com).

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

Returns
Type Description
WorkdayProfile.Builder

This builder for chaining.

clearOauthRefreshTokenCredentials()

public WorkdayProfile.Builder clearOauthRefreshTokenCredentials()

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkdayProfile.Builder

clearTenant()

public WorkdayProfile.Builder clearTenant()

Required. Tenant for the Workday connection (e.g., google12).

string tenant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkdayProfile.Builder

This builder for chaining.

getDefaultInstanceForType()

public WorkdayProfile getDefaultInstanceForType()
Returns
Type Description
WorkdayProfile

getDescriptorForType()

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

getHost()

public String getHost()

Required. Host for the Workday connection. Must be a valid hostname (e.g., wd3-impl-services1.workday.com).

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

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

Required. Host for the Workday connection. Must be a valid hostname (e.g., wd3-impl-services1.workday.com).

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

Returns
Type Description
ByteString

The bytes for host.

getOauthRefreshTokenCredentials()

public OauthRefreshTokenCredentials getOauthRefreshTokenCredentials()

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OauthRefreshTokenCredentials

The oauthRefreshTokenCredentials.

getOauthRefreshTokenCredentialsBuilder()

public OauthRefreshTokenCredentials.Builder getOauthRefreshTokenCredentialsBuilder()

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OauthRefreshTokenCredentials.Builder

getOauthRefreshTokenCredentialsOrBuilder()

public OauthRefreshTokenCredentialsOrBuilder getOauthRefreshTokenCredentialsOrBuilder()

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OauthRefreshTokenCredentialsOrBuilder

getTenant()

public String getTenant()

Required. Tenant for the Workday connection (e.g., google12).

string tenant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tenant.

getTenantBytes()

public ByteString getTenantBytes()

Required. Tenant for the Workday connection (e.g., google12).

string tenant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tenant.

hasOauthRefreshTokenCredentials()

public boolean hasOauthRefreshTokenCredentials()

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the oauthRefreshTokenCredentials field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkdayProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOauthRefreshTokenCredentials(OauthRefreshTokenCredentials value)

public WorkdayProfile.Builder mergeOauthRefreshTokenCredentials(OauthRefreshTokenCredentials value)

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OauthRefreshTokenCredentials
Returns
Type Description
WorkdayProfile.Builder

setHost(String value)

public WorkdayProfile.Builder setHost(String value)

Required. Host for the Workday connection. Must be a valid hostname (e.g., wd3-impl-services1.workday.com).

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

Parameter
Name Description
value String

The host to set.

Returns
Type Description
WorkdayProfile.Builder

This builder for chaining.

setHostBytes(ByteString value)

public WorkdayProfile.Builder setHostBytes(ByteString value)

Required. Host for the Workday connection. Must be a valid hostname (e.g., wd3-impl-services1.workday.com).

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

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
WorkdayProfile.Builder

This builder for chaining.

setOauthRefreshTokenCredentials(OauthRefreshTokenCredentials value)

public WorkdayProfile.Builder setOauthRefreshTokenCredentials(OauthRefreshTokenCredentials value)

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OauthRefreshTokenCredentials
Returns
Type Description
WorkdayProfile.Builder

setOauthRefreshTokenCredentials(OauthRefreshTokenCredentials.Builder builderForValue)

public WorkdayProfile.Builder setOauthRefreshTokenCredentials(OauthRefreshTokenCredentials.Builder builderForValue)

Required. Credentials for authenticating with the Workday API. OAuth Refresh Token credentials for authenticating with the Workday API.

.google.cloud.datastream.v1.OauthRefreshTokenCredentials oauth_refresh_token_credentials = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OauthRefreshTokenCredentials.Builder
Returns
Type Description
WorkdayProfile.Builder

setTenant(String value)

public WorkdayProfile.Builder setTenant(String value)

Required. Tenant for the Workday connection (e.g., google12).

string tenant = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tenant to set.

Returns
Type Description
WorkdayProfile.Builder

This builder for chaining.

setTenantBytes(ByteString value)

public WorkdayProfile.Builder setTenantBytes(ByteString value)

Required. Tenant for the Workday connection (e.g., google12).

string tenant = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tenant to set.

Returns
Type Description
WorkdayProfile.Builder

This builder for chaining.