public final class Index extends com.google.protobuf.GeneratedMessageV3 implements IndexOrBuilder
A representation of a collection of database items organized in a way that allows for approximate nearest neighbor (a.k.a ANN) algorithms search.Protobuf type
google.cloud.aiplatform.v1beta1.Index| Modifier and Type | Class and Description |
|---|---|
static class |
Index.Builder
A representation of a collection of database items organized in a way that
allows for approximate nearest neighbor (a.k.a ANN) algorithms search.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DEPLOYED_INDEXES_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
METADATA_SCHEMA_URI_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels with user-defined metadata to organize your Indexes.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Index |
getDefaultInstance() |
Index |
getDefaultInstanceForType() |
DeployedIndexRef |
getDeployedIndexes(int index)
Output only.
|
int |
getDeployedIndexesCount()
Output only.
|
List<DeployedIndexRef> |
getDeployedIndexesList()
Output only.
|
DeployedIndexRefOrBuilder |
getDeployedIndexesOrBuilder(int index)
Output only.
|
List<? extends DeployedIndexRefOrBuilder> |
getDeployedIndexesOrBuilderList()
Output only.
|
String |
getDescription()
The description of the Index.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the Index.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getEtag()
Used to perform consistent read-modify-write updates.
|
com.google.protobuf.ByteString |
getEtagBytes()
Used to perform consistent read-modify-write updates.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels with user-defined metadata to organize your Indexes.
|
Map<String,String> |
getLabelsMap()
The labels with user-defined metadata to organize your Indexes.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels with user-defined metadata to organize your Indexes.
|
String |
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Indexes.
|
com.google.protobuf.Value |
getMetadata()
An additional information about the Index; the schema of the metadata can
be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri].
|
com.google.protobuf.ValueOrBuilder |
getMetadataOrBuilder()
An additional information about the Index; the schema of the metadata can
be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri].
|
String |
getMetadataSchemaUri()
Immutable.
|
com.google.protobuf.ByteString |
getMetadataSchemaUriBytes()
Immutable.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<Index> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasMetadata()
An additional information about the Index; the schema of the metadata can
be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri].
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Index.Builder |
newBuilder() |
static Index.Builder |
newBuilder(Index prototype) |
Index.Builder |
newBuilderForType() |
protected Index.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Index |
parseDelimitedFrom(InputStream input) |
static Index |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Index |
parseFrom(byte[] data) |
static Index |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Index |
parseFrom(ByteBuffer data) |
static Index |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Index |
parseFrom(com.google.protobuf.ByteString data) |
static Index |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Index |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Index |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Index |
parseFrom(InputStream input) |
static Index |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Index> |
parser() |
Index.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int METADATA_SCHEMA_URI_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int DEPLOYED_INDEXES_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The resource name of the Index.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface IndexOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the Index.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface IndexOrBuilderpublic String getDisplayName()
Required. The display name of the Index. The name can be up to 128 characters long and can be consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface IndexOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the Index. The name can be up to 128 characters long and can be consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface IndexOrBuilderpublic String getDescription()
The description of the Index.
string description = 3;getDescription in interface IndexOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the Index.
string description = 3;getDescriptionBytes in interface IndexOrBuilderpublic String getMetadataSchemaUri()
Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
string metadata_schema_uri = 4 [(.google.api.field_behavior) = IMMUTABLE];getMetadataSchemaUri in interface IndexOrBuilderpublic com.google.protobuf.ByteString getMetadataSchemaUriBytes()
Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
string metadata_schema_uri = 4 [(.google.api.field_behavior) = IMMUTABLE];getMetadataSchemaUriBytes in interface IndexOrBuilderpublic boolean hasMetadata()
An additional information about the Index; the schema of the metadata can be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri].
.google.protobuf.Value metadata = 6;hasMetadata in interface IndexOrBuilderpublic com.google.protobuf.Value getMetadata()
An additional information about the Index; the schema of the metadata can be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri].
.google.protobuf.Value metadata = 6;getMetadata in interface IndexOrBuilderpublic com.google.protobuf.ValueOrBuilder getMetadataOrBuilder()
An additional information about the Index; the schema of the metadata can be found in [metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri].
.google.protobuf.Value metadata = 6;getMetadataOrBuilder in interface IndexOrBuilderpublic List<DeployedIndexRef> getDeployedIndexesList()
Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
repeated .google.cloud.aiplatform.v1beta1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeployedIndexesList in interface IndexOrBuilderpublic List<? extends DeployedIndexRefOrBuilder> getDeployedIndexesOrBuilderList()
Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
repeated .google.cloud.aiplatform.v1beta1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeployedIndexesOrBuilderList in interface IndexOrBuilderpublic int getDeployedIndexesCount()
Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
repeated .google.cloud.aiplatform.v1beta1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeployedIndexesCount in interface IndexOrBuilderpublic DeployedIndexRef getDeployedIndexes(int index)
Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
repeated .google.cloud.aiplatform.v1beta1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeployedIndexes in interface IndexOrBuilderpublic DeployedIndexRefOrBuilder getDeployedIndexesOrBuilder(int index)
Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
repeated .google.cloud.aiplatform.v1beta1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeployedIndexesOrBuilder in interface IndexOrBuilderpublic String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8;getEtag in interface IndexOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8;getEtagBytes in interface IndexOrBuilderpublic int getLabelsCount()
IndexOrBuilderThe labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 9;getLabelsCount in interface IndexOrBuilderpublic boolean containsLabels(String key)
The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 9;containsLabels in interface IndexOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface IndexOrBuilderpublic Map<String,String> getLabelsMap()
The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 9;getLabelsMap in interface IndexOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 9;getLabelsOrDefault in interface IndexOrBuilderpublic String getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 9;getLabelsOrThrow in interface IndexOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp when this Index was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface IndexOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this Index was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface IndexOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Index was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface IndexOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their [Operations.metadata.generic_metadata.update_time] [google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time] a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface IndexOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their [Operations.metadata.generic_metadata.update_time] [google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time] a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface IndexOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their [Operations.metadata.generic_metadata.update_time] [google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time] a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface IndexOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Index parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Index parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Index parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Index parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Index parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Index parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Index parseFrom(InputStream input) throws IOException
IOExceptionpublic static Index parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Index parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Index parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Index parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Index parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Index.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Index.Builder newBuilder()
public static Index.Builder newBuilder(Index prototype)
public Index.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Index.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Index getDefaultInstance()
public static com.google.protobuf.Parser<Index> parser()
public com.google.protobuf.Parser<Index> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Index getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.