public static final class DataStoreSettings.Engine.Builder extends GeneratedMessage.Builder<DataStoreSettings.Engine.Builder> implements DataStoreSettings.EngineOrBuilderAn engine to which the data stores are connected. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.
Protobuf type google.cloud.ces.v1.DataStoreSettings.Engine
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStoreSettings.Engine.BuilderImplements
DataStoreSettings.EngineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataStoreSettings.Engine build()| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine |
|
buildPartial()
public DataStoreSettings.Engine buildPartial()| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine |
|
clear()
public DataStoreSettings.Engine.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
|
clearName()
public DataStoreSettings.Engine.Builder clearName() Output only. The resource name of the engine.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
This builder for chaining. |
clearType()
public DataStoreSettings.Engine.Builder clearType()Output only. The type of the engine.
.google.cloud.ces.v1.DataStoreSettings.Engine.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataStoreSettings.Engine getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Output only. The resource name of the engine.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Output only. The resource name of the engine.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public DataStoreSettings.Engine.Type getType()Output only. The type of the engine.
.google.cloud.ces.v1.DataStoreSettings.Engine.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Type |
The type. |
getTypeValue()
public int getTypeValue()Output only. The type of the engine.
.google.cloud.ces.v1.DataStoreSettings.Engine.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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(DataStoreSettings.Engine other)
public DataStoreSettings.Engine.Builder mergeFrom(DataStoreSettings.Engine other)| Parameter | |
|---|---|
| Name | Description |
other |
DataStoreSettings.Engine |
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataStoreSettings.Engine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataStoreSettings.Engine.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
|
setName(String value)
public DataStoreSettings.Engine.Builder setName(String value) Output only. The resource name of the engine.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataStoreSettings.Engine.Builder setNameBytes(ByteString value) Output only. The resource name of the engine.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
This builder for chaining. |
setType(DataStoreSettings.Engine.Type value)
public DataStoreSettings.Engine.Builder setType(DataStoreSettings.Engine.Type value)Output only. The type of the engine.
.google.cloud.ces.v1.DataStoreSettings.Engine.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStoreSettings.Engine.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
This builder for chaining. |
setTypeValue(int value)
public DataStoreSettings.Engine.Builder setTypeValue(int value)Output only. The type of the engine.
.google.cloud.ces.v1.DataStoreSettings.Engine.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreSettings.Engine.Builder |
This builder for chaining. |