Class ImportIndexRequest.ConnectorConfig.DatapointFieldMapping (3.68.0)

public static final class ImportIndexRequest.ConnectorConfig.DatapointFieldMapping extends GeneratedMessageV3 implements ImportIndexRequest.ConnectorConfig.DatapointFieldMappingOrBuilder

Mapping of datapoint fields to column names for columnar data sources.

Protobuf type google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportIndexRequest.ConnectorConfig.DatapointFieldMapping

Static Fields

EMBEDDING_COLUMN_FIELD_NUMBER

public static final int EMBEDDING_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

ID_COLUMN_FIELD_NUMBER

public static final int ID_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

METADATA_COLUMNS_FIELD_NUMBER

public static final int METADATA_COLUMNS_FIELD_NUMBER
Field Value
Type Description
int

NUMERIC_RESTRICTS_FIELD_NUMBER

public static final int NUMERIC_RESTRICTS_FIELD_NUMBER
Field Value
Type Description
int

RESTRICTS_FIELD_NUMBER

public static final int RESTRICTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping getDefaultInstance()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping

getDescriptor()

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

newBuilder()

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder newBuilder()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder

newBuilder(ImportIndexRequest.ConnectorConfig.DatapointFieldMapping prototype)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder newBuilder(ImportIndexRequest.ConnectorConfig.DatapointFieldMapping prototype)
Parameter
Name Description
prototype ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder

parseDelimitedFrom(InputStream input)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportIndexRequest.ConnectorConfig.DatapointFieldMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping> parser()
Returns
Type Description
Parser<DatapointFieldMapping>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping getDefaultInstanceForType()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping

getEmbeddingColumn()

public String getEmbeddingColumn()

Required. The column with the vector embeddings for each data point.

string embedding_column = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The embeddingColumn.

getEmbeddingColumnBytes()

public ByteString getEmbeddingColumnBytes()

Required. The column with the vector embeddings for each data point.

string embedding_column = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for embeddingColumn.

getIdColumn()

public String getIdColumn()

Required. The column with unique identifiers for each data point.

string id_column = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The idColumn.

getIdColumnBytes()

public ByteString getIdColumnBytes()

Required. The column with unique identifiers for each data point.

string id_column = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for idColumn.

getMetadataColumns(int index)

public String getMetadataColumns(int index)

Optional. List of columns containing metadata to be included in the index.

repeated string metadata_columns = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The metadataColumns at the given index.

getMetadataColumnsBytes(int index)

public ByteString getMetadataColumnsBytes(int index)

Optional. List of columns containing metadata to be included in the index.

repeated string metadata_columns = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the metadataColumns at the given index.

getMetadataColumnsCount()

public int getMetadataColumnsCount()

Optional. List of columns containing metadata to be included in the index.

repeated string metadata_columns = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of metadataColumns.

getMetadataColumnsList()

public ProtocolStringList getMetadataColumnsList()

Optional. List of columns containing metadata to be included in the index.

repeated string metadata_columns = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the metadataColumns.

getNumericRestricts(int index)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict getNumericRestricts(int index)

Optional. List of restricts for numeric values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict numeric_restricts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict

getNumericRestrictsCount()

public int getNumericRestrictsCount()

Optional. List of restricts for numeric values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict numeric_restricts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNumericRestrictsList()

public List<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict> getNumericRestrictsList()

Optional. List of restricts for numeric values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict numeric_restricts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NumericRestrict>

getNumericRestrictsOrBuilder(int index)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrictOrBuilder getNumericRestrictsOrBuilder(int index)

Optional. List of restricts for numeric values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict numeric_restricts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrictOrBuilder

getNumericRestrictsOrBuilderList()

public List<? extends ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrictOrBuilder> getNumericRestrictsOrBuilderList()

Optional. List of restricts for numeric values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrict numeric_restricts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.NumericRestrictOrBuilder>

getParserForType()

public Parser<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping> getParserForType()
Returns
Type Description
Parser<DatapointFieldMapping>
Overrides

getRestricts(int index)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict getRestricts(int index)

Optional. List of restricts for string values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict restricts = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict

getRestrictsCount()

public int getRestrictsCount()

Optional. List of restricts for string values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict restricts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getRestrictsList()

public List<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict> getRestrictsList()

Optional. List of restricts for string values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict restricts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Restrict>

getRestrictsOrBuilder(int index)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder getRestrictsOrBuilder(int index)

Optional. List of restricts for string values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict restricts = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder

getRestrictsOrBuilderList()

public List<? extends ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder> getRestrictsOrBuilderList()

Optional. List of restricts for string values.

repeated .google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict restricts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder newBuilderForType()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder toBuilder()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Builder

writeTo(CodedOutputStream output)

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