public static final class RagEngineConfig.Builder extends GeneratedMessage.Builder<RagEngineConfig.Builder> implements RagEngineConfigOrBuilderConfig for RagEngine.
Protobuf type google.cloud.vertexai.v1.RagEngineConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RagEngineConfig.BuilderImplements
RagEngineConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RagEngineConfig build()| Returns | |
|---|---|
| Type | Description |
RagEngineConfig |
|
buildPartial()
public RagEngineConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
RagEngineConfig |
|
clear()
public RagEngineConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|
clearName()
public RagEngineConfig.Builder clearName() Identifier. The name of the RagEngineConfig.
Format:
projects/{project}/locations/{location}/ragEngineConfig
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
This builder for chaining. |
clearRagManagedDbConfig()
public RagEngineConfig.Builder clearRagManagedDbConfig()The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|
getDefaultInstanceForType()
public RagEngineConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RagEngineConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Identifier. The name of the RagEngineConfig.
Format:
projects/{project}/locations/{location}/ragEngineConfig
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The name of the RagEngineConfig.
Format:
projects/{project}/locations/{location}/ragEngineConfig
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRagManagedDbConfig()
public RagManagedDbConfig getRagManagedDbConfig()The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagManagedDbConfig |
The ragManagedDbConfig. |
getRagManagedDbConfigBuilder()
public RagManagedDbConfig.Builder getRagManagedDbConfigBuilder()The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagManagedDbConfig.Builder |
|
getRagManagedDbConfigOrBuilder()
public RagManagedDbConfigOrBuilder getRagManagedDbConfigOrBuilder()The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagManagedDbConfigOrBuilder |
|
hasRagManagedDbConfig()
public boolean hasRagManagedDbConfig()The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ragManagedDbConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RagEngineConfig other)
public RagEngineConfig.Builder mergeFrom(RagEngineConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RagEngineConfig |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RagEngineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RagEngineConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|
mergeRagManagedDbConfig(RagManagedDbConfig value)
public RagEngineConfig.Builder mergeRagManagedDbConfig(RagManagedDbConfig value)The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
RagManagedDbConfig |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|
setName(String value)
public RagEngineConfig.Builder setName(String value) Identifier. The name of the RagEngineConfig.
Format:
projects/{project}/locations/{location}/ragEngineConfig
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RagEngineConfig.Builder setNameBytes(ByteString value) Identifier. The name of the RagEngineConfig.
Format:
projects/{project}/locations/{location}/ragEngineConfig
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
This builder for chaining. |
setRagManagedDbConfig(RagManagedDbConfig value)
public RagEngineConfig.Builder setRagManagedDbConfig(RagManagedDbConfig value)The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
RagManagedDbConfig |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|
setRagManagedDbConfig(RagManagedDbConfig.Builder builderForValue)
public RagEngineConfig.Builder setRagManagedDbConfig(RagManagedDbConfig.Builder builderForValue)The config of the RagManagedDb used by RagEngine.
.google.cloud.vertexai.v1.RagManagedDbConfig rag_managed_db_config = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RagManagedDbConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
RagEngineConfig.Builder |
|