Class RagMetadataSchemaDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
com.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Builder
- All Implemented Interfaces:
RagMetadataSchemaDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RagMetadataSchemaDetails
public static final class RagMetadataSchemaDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
implements RagMetadataSchemaDetailsOrBuilder
Data 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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The granularity associated with this RagMetadataSchema.Config for List data type.The search strategy for the metadata value of the `key`.Type of the metadata.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe granularity associated with this RagMetadataSchema.intThe granularity associated with this RagMetadataSchema.Config for List data type.Config for List data type.Config for List data type.The search strategy for the metadata value of the `key`.The search strategy for the metadata value of the `key`.The search strategy for the metadata value of the `key`.getType()Type of the metadata.intType of the metadata.booleanThe granularity associated with this RagMetadataSchema.booleanConfig for List data type.booleanThe search strategy for the metadata value of the `key`.booleanhasType()Type of the metadata.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Config for List data type.The search strategy for the metadata value of the `key`.The granularity associated with this RagMetadataSchema.setGranularityValue(int value) The granularity associated with this RagMetadataSchema.Config for List data type.setListConfig(RagMetadataSchemaDetails.ListConfig.Builder builderForValue) Config for List data type.The search strategy for the metadata value of the `key`.setSearchStrategy(RagMetadataSchemaDetails.SearchStrategy.Builder builderForValue) The search strategy for the metadata value of the `key`.Type of the metadata.setTypeValue(int value) Type of the metadata.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RagMetadataSchemaDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
-
mergeFrom
public RagMetadataSchemaDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RagMetadataSchemaDetails.Builder>- Throws:
IOException
-
hasType
public boolean hasType()Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;- Specified by:
hasTypein interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- Whether the type field is set.
-
getTypeValue
public int getTypeValue()Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;- Specified by:
getTypeValuein interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;- Specified by:
getTypein interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- The type.
-
setType
Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of the metadata.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;- Returns:
- This builder for chaining.
-
hasListConfig
public boolean hasListConfig()Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;- Specified by:
hasListConfigin interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- Whether the listConfig field is set.
-
getListConfig
Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;- Specified by:
getListConfigin interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- The listConfig.
-
setListConfig
Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2; -
setListConfig
public RagMetadataSchemaDetails.Builder setListConfig(RagMetadataSchemaDetails.ListConfig.Builder builderForValue) Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2; -
mergeListConfig
Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2; -
clearListConfig
Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2; -
getListConfigBuilder
Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2; -
getListConfigOrBuilder
Config for List data type.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;- Specified by:
getListConfigOrBuilderin interfaceRagMetadataSchemaDetailsOrBuilder
-
hasGranularity
public boolean hasGranularity()The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;- Specified by:
hasGranularityin interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- Whether the granularity field is set.
-
getGranularityValue
public int getGranularityValue()The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;- Specified by:
getGranularityValuein interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- The enum numeric value on the wire for granularity.
-
setGranularityValue
The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;- Parameters:
value- The enum numeric value on the wire for granularity to set.- Returns:
- This builder for chaining.
-
getGranularity
The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;- Specified by:
getGranularityin interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- The granularity.
-
setGranularity
The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;- Parameters:
value- The granularity to set.- Returns:
- This builder for chaining.
-
clearGranularity
The granularity associated with this RagMetadataSchema.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;- Returns:
- This builder for chaining.
-
hasSearchStrategy
public boolean hasSearchStrategy()The search strategy for the metadata value of the `key`.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;- Specified by:
hasSearchStrategyin interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- Whether the searchStrategy field is set.
-
getSearchStrategy
The search strategy for the metadata value of the `key`.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;- Specified by:
getSearchStrategyin interfaceRagMetadataSchemaDetailsOrBuilder- Returns:
- The searchStrategy.
-
setSearchStrategy
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; -
setSearchStrategy
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; -
mergeSearchStrategy
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; -
clearSearchStrategy
The search strategy for the metadata value of the `key`.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4; -
getSearchStrategyBuilder
The search strategy for the metadata value of the `key`.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4; -
getSearchStrategyOrBuilder
The search strategy for the metadata value of the `key`.
optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;- Specified by:
getSearchStrategyOrBuilderin interfaceRagMetadataSchemaDetailsOrBuilder
-