Class WorkspaceConfig.Builder (0.48.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.v1alpha.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

clearType()

public WorkspaceConfig.Builder clearType()

The Google Workspace data source.

.google.cloud.discoveryengine.v1alpha.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

getType()

public WorkspaceConfig.Type getType()

The Google Workspace data source.

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

Returns
Type Description
WorkspaceConfig.Type

The type.

getTypeValue()

public int getTypeValue()

The Google Workspace data source.

.google.cloud.discoveryengine.v1alpha.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

setType(WorkspaceConfig.Type value)

public WorkspaceConfig.Builder setType(WorkspaceConfig.Type value)

The Google Workspace data source.

.google.cloud.discoveryengine.v1alpha.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.v1alpha.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