public static final class WorkspaceConfig.Builder extends GeneratedMessage.Builder<WorkspaceConfig.Builder> implements WorkspaceConfigOrBuilderConfig to store data store type configuration for workspace data
Protobuf type google.cloud.discoveryengine.v1alpha.WorkspaceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WorkspaceConfig.BuilderImplements
WorkspaceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearDasherCustomerId()
public WorkspaceConfig.Builder clearDasherCustomerId()Obfuscated Dasher customer ID.
string dasher_customer_id = 2;
| Returns | |
|---|---|
| Type | Description |
WorkspaceConfig.Builder |
This builder for chaining. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WorkspaceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WorkspaceConfig.Builder |
|
setDasherCustomerId(String value)
public WorkspaceConfig.Builder setDasherCustomerId(String value)Obfuscated Dasher customer ID.
string dasher_customer_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for dasherCustomerId 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.v1alpha.WorkspaceConfig.Type type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
WorkspaceConfig.TypeThe 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 |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
WorkspaceConfig.Builder |
This builder for chaining. |