Class ExecutionIdentity.ServiceAccount.Builder (1.91.0)

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

The service account

Protobuf type google.cloud.dataplex.v1.ExecutionIdentity.ServiceAccount

Static Methods

getDescriptor()

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

Methods

build()

public ExecutionIdentity.ServiceAccount build()
Returns
Type Description
ExecutionIdentity.ServiceAccount

buildPartial()

public ExecutionIdentity.ServiceAccount buildPartial()
Returns
Type Description
ExecutionIdentity.ServiceAccount

clear()

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

clearEmail()

public ExecutionIdentity.ServiceAccount.Builder clearEmail()

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

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

Returns
Type Description
ExecutionIdentity.ServiceAccount.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExecutionIdentity.ServiceAccount getDefaultInstanceForType()
Returns
Type Description
ExecutionIdentity.ServiceAccount

getDescriptorForType()

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

getEmail()

public String getEmail()

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

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

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

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

Returns
Type Description
ByteString

The bytes for email.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExecutionIdentity.ServiceAccount other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEmail(String value)

public ExecutionIdentity.ServiceAccount.Builder setEmail(String value)

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

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

Parameter
Name Description
value String

The email to set.

Returns
Type Description
ExecutionIdentity.ServiceAccount.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public ExecutionIdentity.ServiceAccount.Builder setEmailBytes(ByteString value)

Required. Service account email. The datascan will execute with this service account's credentials. The user calling this API must have permissions to act as this service account. Dataplex service agent must be granted iam.serviceAccounts.getAccessToken permission on this service account, for example, through the iam.serviceAccountTokenCreator role .

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

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
ExecutionIdentity.ServiceAccount.Builder

This builder for chaining.