Class WorkspaceConfig.Builder (0.49.0)

public static final class WorkspaceConfig.Builder extends GeneratedMessageV3.Builder<WorkspaceConfig.Builder> implements WorkspaceConfigOrBuilder

Config to store data store type configuration for workspace data

Protobuf type google.cloud.discoveryengine.v1.WorkspaceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkspaceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkspaceConfig.Builder
Overrides

build()

public WorkspaceConfig build()
Returns
Type Description
WorkspaceConfig

buildPartial()

public WorkspaceConfig buildPartial()
Returns
Type Description
WorkspaceConfig

clear()

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

clearDasherCustomerId()

public WorkspaceConfig.Builder clearDasherCustomerId()

Obfuscated Dasher customer ID.

string dasher_customer_id = 2;

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public WorkspaceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkspaceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkspaceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WorkspaceConfig.Builder
Overrides

clearSuperAdminEmailAddress()

public WorkspaceConfig.Builder clearSuperAdminEmailAddress()

Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_email_address = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

clearSuperAdminServiceAccount()

public WorkspaceConfig.Builder clearSuperAdminServiceAccount()

Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

clearType()

public WorkspaceConfig.Builder clearType()

The Google Workspace data source.

.google.cloud.discoveryengine.v1.WorkspaceConfig.Type type = 1;

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

clone()

public WorkspaceConfig.Builder clone()
Returns
Type Description
WorkspaceConfig.Builder
Overrides

getDasherCustomerId()

public String getDasherCustomerId()

Obfuscated Dasher customer ID.

string dasher_customer_id = 2;

Returns
Type Description
String

The dasherCustomerId.

getDasherCustomerIdBytes()

public ByteString getDasherCustomerIdBytes()

Obfuscated Dasher customer ID.

string dasher_customer_id = 2;

Returns
Type Description
ByteString

The bytes for dasherCustomerId.

getDefaultInstanceForType()

public WorkspaceConfig getDefaultInstanceForType()
Returns
Type Description
WorkspaceConfig

getDescriptorForType()

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

getSuperAdminEmailAddress()

public String getSuperAdminEmailAddress()

Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_email_address = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The superAdminEmailAddress.

getSuperAdminEmailAddressBytes()

public ByteString getSuperAdminEmailAddressBytes()

Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_email_address = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for superAdminEmailAddress.

getSuperAdminServiceAccount()

public String getSuperAdminServiceAccount()

Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The superAdminServiceAccount.

getSuperAdminServiceAccountBytes()

public ByteString getSuperAdminServiceAccountBytes()

Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for superAdminServiceAccount.

getType()

public WorkspaceConfig.Type getType()

The Google Workspace data source.

.google.cloud.discoveryengine.v1.WorkspaceConfig.Type type = 1;

Returns
Type Description
WorkspaceConfig.Type

The type.

getTypeValue()

public int getTypeValue()

The Google Workspace data source.

.google.cloud.discoveryengine.v1.WorkspaceConfig.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkspaceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkspaceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkspaceConfig.Builder
Overrides

setDasherCustomerId(String value)

public WorkspaceConfig.Builder setDasherCustomerId(String value)

Obfuscated Dasher customer ID.

string dasher_customer_id = 2;

Parameter
Name Description
value String

The dasherCustomerId to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setDasherCustomerIdBytes(ByteString value)

public WorkspaceConfig.Builder setDasherCustomerIdBytes(ByteString value)

Obfuscated Dasher customer ID.

string dasher_customer_id = 2;

Parameter
Name Description
value ByteString

The bytes for dasherCustomerId to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WorkspaceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkspaceConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WorkspaceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkspaceConfig.Builder
Overrides

setSuperAdminEmailAddress(String value)

public WorkspaceConfig.Builder setSuperAdminEmailAddress(String value)

Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_email_address = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The superAdminEmailAddress to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setSuperAdminEmailAddressBytes(ByteString value)

public WorkspaceConfig.Builder setSuperAdminEmailAddressBytes(ByteString value)

Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_email_address = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for superAdminEmailAddress to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setSuperAdminServiceAccount(String value)

public WorkspaceConfig.Builder setSuperAdminServiceAccount(String value)

Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The superAdminServiceAccount to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setSuperAdminServiceAccountBytes(ByteString value)

public WorkspaceConfig.Builder setSuperAdminServiceAccountBytes(ByteString value)

Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.

string super_admin_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for superAdminServiceAccount to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setType(WorkspaceConfig.Type value)

public WorkspaceConfig.Builder setType(WorkspaceConfig.Type value)

The Google Workspace data source.

.google.cloud.discoveryengine.v1.WorkspaceConfig.Type type = 1;

Parameter
Name Description
value WorkspaceConfig.Type

The type to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setTypeValue(int value)

public WorkspaceConfig.Builder setTypeValue(int value)

The Google Workspace data source.

.google.cloud.discoveryengine.v1.WorkspaceConfig.Type type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
WorkspaceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkspaceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkspaceConfig.Builder
Overrides