Class ExecutionIdentity.Builder (1.91.0)

public static final class ExecutionIdentity.Builder extends GeneratedMessage.Builder<ExecutionIdentity.Builder> implements ExecutionIdentityOrBuilder

The identity to run the datascan.

Protobuf type google.cloud.dataplex.v1.ExecutionIdentity

Static Methods

getDescriptor()

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

Methods

build()

public ExecutionIdentity build()
Returns
Type Description
ExecutionIdentity

buildPartial()

public ExecutionIdentity buildPartial()
Returns
Type Description
ExecutionIdentity

clear()

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

clearDataplexServiceAgent()

public ExecutionIdentity.Builder clearDataplexServiceAgent()

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.Builder

clearIdentity()

public ExecutionIdentity.Builder clearIdentity()
Returns
Type Description
ExecutionIdentity.Builder

clearServiceAccount()

public ExecutionIdentity.Builder clearServiceAccount()

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.Builder

clearUserCredential()

public ExecutionIdentity.Builder clearUserCredential()

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.Builder

getDataplexServiceAgent()

public ExecutionIdentity.DataplexServiceAgent getDataplexServiceAgent()

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.DataplexServiceAgent

The dataplexServiceAgent.

getDataplexServiceAgentBuilder()

public ExecutionIdentity.DataplexServiceAgent.Builder getDataplexServiceAgentBuilder()

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.DataplexServiceAgent.Builder

getDataplexServiceAgentOrBuilder()

public ExecutionIdentity.DataplexServiceAgentOrBuilder getDataplexServiceAgentOrBuilder()

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.DataplexServiceAgentOrBuilder

getDefaultInstanceForType()

public ExecutionIdentity getDefaultInstanceForType()
Returns
Type Description
ExecutionIdentity

getDescriptorForType()

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

getIdentityCase()

public ExecutionIdentity.IdentityCase getIdentityCase()
Returns
Type Description
ExecutionIdentity.IdentityCase

getServiceAccount()

public ExecutionIdentity.ServiceAccount getServiceAccount()

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.ServiceAccount

The serviceAccount.

getServiceAccountBuilder()

public ExecutionIdentity.ServiceAccount.Builder getServiceAccountBuilder()

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.ServiceAccount.Builder

getServiceAccountOrBuilder()

public ExecutionIdentity.ServiceAccountOrBuilder getServiceAccountOrBuilder()

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.ServiceAccountOrBuilder

getUserCredential()

public ExecutionIdentity.UserCredential getUserCredential()

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.UserCredential

The userCredential.

getUserCredentialBuilder()

public ExecutionIdentity.UserCredential.Builder getUserCredentialBuilder()

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.UserCredential.Builder

getUserCredentialOrBuilder()

public ExecutionIdentity.UserCredentialOrBuilder getUserCredentialOrBuilder()

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionIdentity.UserCredentialOrBuilder

hasDataplexServiceAgent()

public boolean hasDataplexServiceAgent()

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dataplexServiceAgent field is set.

hasServiceAccount()

public boolean hasServiceAccount()

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the serviceAccount field is set.

hasUserCredential()

public boolean hasUserCredential()

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the userCredential field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataplexServiceAgent(ExecutionIdentity.DataplexServiceAgent value)

public ExecutionIdentity.Builder mergeDataplexServiceAgent(ExecutionIdentity.DataplexServiceAgent value)

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExecutionIdentity.DataplexServiceAgent
Returns
Type Description
ExecutionIdentity.Builder

mergeFrom(ExecutionIdentity other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceAccount(ExecutionIdentity.ServiceAccount value)

public ExecutionIdentity.Builder mergeServiceAccount(ExecutionIdentity.ServiceAccount value)

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExecutionIdentity.ServiceAccount
Returns
Type Description
ExecutionIdentity.Builder

mergeUserCredential(ExecutionIdentity.UserCredential value)

public ExecutionIdentity.Builder mergeUserCredential(ExecutionIdentity.UserCredential value)

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExecutionIdentity.UserCredential
Returns
Type Description
ExecutionIdentity.Builder

setDataplexServiceAgent(ExecutionIdentity.DataplexServiceAgent value)

public ExecutionIdentity.Builder setDataplexServiceAgent(ExecutionIdentity.DataplexServiceAgent value)

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExecutionIdentity.DataplexServiceAgent
Returns
Type Description
ExecutionIdentity.Builder

setDataplexServiceAgent(ExecutionIdentity.DataplexServiceAgent.Builder builderForValue)

public ExecutionIdentity.Builder setDataplexServiceAgent(ExecutionIdentity.DataplexServiceAgent.Builder builderForValue)

Optional. The Dataplex service agent associated with the user's project.

.google.cloud.dataplex.v1.ExecutionIdentity.DataplexServiceAgent dataplex_service_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ExecutionIdentity.DataplexServiceAgent.Builder
Returns
Type Description
ExecutionIdentity.Builder

setServiceAccount(ExecutionIdentity.ServiceAccount value)

public ExecutionIdentity.Builder setServiceAccount(ExecutionIdentity.ServiceAccount value)

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExecutionIdentity.ServiceAccount
Returns
Type Description
ExecutionIdentity.Builder

setServiceAccount(ExecutionIdentity.ServiceAccount.Builder builderForValue)

public ExecutionIdentity.Builder setServiceAccount(ExecutionIdentity.ServiceAccount.Builder builderForValue)

Optional. The provided service account.

.google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount service_account = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ExecutionIdentity.ServiceAccount.Builder
Returns
Type Description
ExecutionIdentity.Builder

setUserCredential(ExecutionIdentity.UserCredential value)

public ExecutionIdentity.Builder setUserCredential(ExecutionIdentity.UserCredential value)

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExecutionIdentity.UserCredential
Returns
Type Description
ExecutionIdentity.Builder

setUserCredential(ExecutionIdentity.UserCredential.Builder builderForValue)

public ExecutionIdentity.Builder setUserCredential(ExecutionIdentity.UserCredential.Builder builderForValue)

Optional. The credential of the calling user. Supports only ONE_TIME trigger type.

.google.cloud.dataplex.v1.ExecutionIdentity.UserCredential user_credential = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ExecutionIdentity.UserCredential.Builder
Returns
Type Description
ExecutionIdentity.Builder