public static final class RagMetadataSchemaDetails.Builder extends GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder> implements RagMetadataSchemaDetailsOrBuilderData schema details indicates the data type and the data struct corresponding to the key of user specified metadata.
Protobuf type google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RagMetadataSchemaDetails.BuilderImplements
RagMetadataSchemaDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RagMetadataSchemaDetails build()| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails |
|
buildPartial()
public RagMetadataSchemaDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails |
|
clear()
public RagMetadataSchemaDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
clearGranularity()
public RagMetadataSchemaDetails.Builder clearGranularity()The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
This builder for chaining. |
clearListConfig()
public RagMetadataSchemaDetails.Builder clearListConfig()Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
clearSearchStrategy()
public RagMetadataSchemaDetails.Builder clearSearchStrategy() The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
clearType()
public RagMetadataSchemaDetails.Builder clearType()Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RagMetadataSchemaDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGranularity()
public RagMetadataSchemaDetails.Granularity getGranularity()The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Granularity |
The granularity. |
getGranularityValue()
public int getGranularityValue()The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for granularity. |
getListConfig()
public RagMetadataSchemaDetails.ListConfig getListConfig()Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.ListConfig |
The listConfig. |
getListConfigBuilder()
public RagMetadataSchemaDetails.ListConfig.Builder getListConfigBuilder()Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.ListConfig.Builder |
|
getListConfigOrBuilder()
public RagMetadataSchemaDetails.ListConfigOrBuilder getListConfigOrBuilder()Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.ListConfigOrBuilder |
|
getSearchStrategy()
public RagMetadataSchemaDetails.SearchStrategy getSearchStrategy() The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.SearchStrategy |
The searchStrategy. |
getSearchStrategyBuilder()
public RagMetadataSchemaDetails.SearchStrategy.Builder getSearchStrategyBuilder() The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.SearchStrategy.Builder |
|
getSearchStrategyOrBuilder()
public RagMetadataSchemaDetails.SearchStrategyOrBuilder getSearchStrategyOrBuilder() The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.SearchStrategyOrBuilder |
|
getType()
public RagMetadataSchemaDetails.DataType getType()Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.DataType |
The type. |
getTypeValue()
public int getTypeValue()Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasGranularity()
public boolean hasGranularity()The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the granularity field is set. |
hasListConfig()
public boolean hasListConfig()Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the listConfig field is set. |
hasSearchStrategy()
public boolean hasSearchStrategy() The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the searchStrategy field is set. |
hasType()
public boolean hasType()Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RagMetadataSchemaDetails other)
public RagMetadataSchemaDetails.Builder mergeFrom(RagMetadataSchemaDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
RagMetadataSchemaDetails |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RagMetadataSchemaDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RagMetadataSchemaDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
mergeListConfig(RagMetadataSchemaDetails.ListConfig value)
public RagMetadataSchemaDetails.Builder mergeListConfig(RagMetadataSchemaDetails.ListConfig value)Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
RagMetadataSchemaDetails.ListConfig |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
mergeSearchStrategy(RagMetadataSchemaDetails.SearchStrategy value)
public RagMetadataSchemaDetails.Builder mergeSearchStrategy(RagMetadataSchemaDetails.SearchStrategy value) The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
RagMetadataSchemaDetails.SearchStrategy |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
setGranularity(RagMetadataSchemaDetails.Granularity value)
public RagMetadataSchemaDetails.Builder setGranularity(RagMetadataSchemaDetails.Granularity value)The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
RagMetadataSchemaDetails.GranularityThe granularity to set. |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
This builder for chaining. |
setGranularityValue(int value)
public RagMetadataSchemaDetails.Builder setGranularityValue(int value)The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for granularity to set. |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
This builder for chaining. |
setListConfig(RagMetadataSchemaDetails.ListConfig value)
public RagMetadataSchemaDetails.Builder setListConfig(RagMetadataSchemaDetails.ListConfig value)Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
RagMetadataSchemaDetails.ListConfig |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
setListConfig(RagMetadataSchemaDetails.ListConfig.Builder builderForValue)
public RagMetadataSchemaDetails.Builder setListConfig(RagMetadataSchemaDetails.ListConfig.Builder builderForValue)Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RagMetadataSchemaDetails.ListConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
setSearchStrategy(RagMetadataSchemaDetails.SearchStrategy value)
public RagMetadataSchemaDetails.Builder setSearchStrategy(RagMetadataSchemaDetails.SearchStrategy value) The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
RagMetadataSchemaDetails.SearchStrategy |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
setSearchStrategy(RagMetadataSchemaDetails.SearchStrategy.Builder builderForValue)
public RagMetadataSchemaDetails.Builder setSearchStrategy(RagMetadataSchemaDetails.SearchStrategy.Builder builderForValue) The search strategy for the metadata value of the key.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RagMetadataSchemaDetails.SearchStrategy.Builder |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
|
setType(RagMetadataSchemaDetails.DataType value)
public RagMetadataSchemaDetails.Builder setType(RagMetadataSchemaDetails.DataType value)Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
RagMetadataSchemaDetails.DataTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
This builder for chaining. |
setTypeValue(int value)
public RagMetadataSchemaDetails.Builder setTypeValue(int value)Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails.Builder |
This builder for chaining. |