Class RagMetadataSchemaDetails (3.89.0)

public final class RagMetadataSchemaDetails extends GeneratedMessage 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

Static Fields

GRANULARITY_FIELD_NUMBER

public static final int GRANULARITY_FIELD_NUMBER
Field Value
Type Description
int

LIST_CONFIG_FIELD_NUMBER

public static final int LIST_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_STRATEGY_FIELD_NUMBER

public static final int SEARCH_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RagMetadataSchemaDetails getDefaultInstance()
Returns
Type Description
RagMetadataSchemaDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RagMetadataSchemaDetails.Builder newBuilder()
Returns
Type Description
RagMetadataSchemaDetails.Builder

newBuilder(RagMetadataSchemaDetails prototype)

public static RagMetadataSchemaDetails.Builder newBuilder(RagMetadataSchemaDetails prototype)
Parameter
Name Description
prototype RagMetadataSchemaDetails
Returns
Type Description
RagMetadataSchemaDetails.Builder

parseDelimitedFrom(InputStream input)

public static RagMetadataSchemaDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RagMetadataSchemaDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RagMetadataSchemaDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RagMetadataSchemaDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RagMetadataSchemaDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RagMetadataSchemaDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RagMetadataSchemaDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RagMetadataSchemaDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RagMetadataSchemaDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RagMetadataSchemaDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RagMetadataSchemaDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RagMetadataSchemaDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagMetadataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RagMetadataSchemaDetails> parser()
Returns
Type Description
Parser<RagMetadataSchemaDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RagMetadataSchemaDetails getDefaultInstanceForType()
Returns
Type Description
RagMetadataSchemaDetails

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.

getListConfigOrBuilder()

public RagMetadataSchemaDetails.ListConfigOrBuilder getListConfigOrBuilder()

Config for List data type.

.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;

Returns
Type Description
RagMetadataSchemaDetails.ListConfigOrBuilder

getParserForType()

public Parser<RagMetadataSchemaDetails> getParserForType()
Returns
Type Description
Parser<RagMetadataSchemaDetails>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RagMetadataSchemaDetails.Builder newBuilderForType()
Returns
Type Description
RagMetadataSchemaDetails.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RagMetadataSchemaDetails.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RagMetadataSchemaDetails.Builder
Overrides

toBuilder()

public RagMetadataSchemaDetails.Builder toBuilder()
Returns
Type Description
RagMetadataSchemaDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException