|
| 1 | + |
| 2 | +Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved. |
| 3 | + |
| 4 | + |
| 5 | +// Generated by the protocol buffer compiler. DO NOT EDIT! |
| 6 | +// source: proto/vector_service.proto |
| 7 | + |
| 8 | +package io.pinecone.proto; |
| 9 | + |
| 10 | +public interface DeleteRequestOrBuilder extends |
| 11 | + // @@protoc_insertion_point(interface_extends:DeleteRequest) |
| 12 | + com.google.protobuf.MessageOrBuilder { |
| 13 | + |
| 14 | + /** |
| 15 | + * <pre> |
| 16 | + * Vectors to delete. |
| 17 | + * </pre> |
| 18 | + * |
| 19 | + * <code>repeated string ids = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }</code> |
| 20 | + * @return A list containing the ids. |
| 21 | + */ |
| 22 | + java.util.List<java.lang.String> |
| 23 | + getIdsList(); |
| 24 | + /** |
| 25 | + * <pre> |
| 26 | + * Vectors to delete. |
| 27 | + * </pre> |
| 28 | + * |
| 29 | + * <code>repeated string ids = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }</code> |
| 30 | + * @return The count of ids. |
| 31 | + */ |
| 32 | + int getIdsCount(); |
| 33 | + /** |
| 34 | + * <pre> |
| 35 | + * Vectors to delete. |
| 36 | + * </pre> |
| 37 | + * |
| 38 | + * <code>repeated string ids = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }</code> |
| 39 | + * @param index The index of the element to return. |
| 40 | + * @return The ids at the given index. |
| 41 | + */ |
| 42 | + java.lang.String getIds(int index); |
| 43 | + /** |
| 44 | + * <pre> |
| 45 | + * Vectors to delete. |
| 46 | + * </pre> |
| 47 | + * |
| 48 | + * <code>repeated string ids = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }</code> |
| 49 | + * @param index The index of the value to return. |
| 50 | + * @return The bytes of the ids at the given index. |
| 51 | + */ |
| 52 | + com.google.protobuf.ByteString |
| 53 | + getIdsBytes(int index); |
| 54 | + |
| 55 | + /** |
| 56 | + * <pre> |
| 57 | + * This indicates that all vectors in the index namespace should be deleted. |
| 58 | + * </pre> |
| 59 | + * |
| 60 | + * <code>bool delete_all = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }</code> |
| 61 | + * @return The deleteAll. |
| 62 | + */ |
| 63 | + boolean getDeleteAll(); |
| 64 | + |
| 65 | + /** |
| 66 | + * <pre> |
| 67 | + * The namespace to delete vectors from, if applicable. |
| 68 | + * </pre> |
| 69 | + * |
| 70 | + * <code>string namespace = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }</code> |
| 71 | + * @return The namespace. |
| 72 | + */ |
| 73 | + java.lang.String getNamespace(); |
| 74 | + /** |
| 75 | + * <pre> |
| 76 | + * The namespace to delete vectors from, if applicable. |
| 77 | + * </pre> |
| 78 | + * |
| 79 | + * <code>string namespace = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }</code> |
| 80 | + * @return The bytes for namespace. |
| 81 | + */ |
| 82 | + com.google.protobuf.ByteString |
| 83 | + getNamespaceBytes(); |
| 84 | + |
| 85 | + /** |
| 86 | + * <pre> |
| 87 | + * If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive |
| 88 | + * with specifying ids to delete in the ids param or using delete_all=True. |
| 89 | + * See https://www.pinecone.io/docs/metadata-filtering/. |
| 90 | + * </pre> |
| 91 | + * |
| 92 | + * <code>.google.protobuf.Struct filter = 4;</code> |
| 93 | + * @return Whether the filter field is set. |
| 94 | + */ |
| 95 | + boolean hasFilter(); |
| 96 | + /** |
| 97 | + * <pre> |
| 98 | + * If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive |
| 99 | + * with specifying ids to delete in the ids param or using delete_all=True. |
| 100 | + * See https://www.pinecone.io/docs/metadata-filtering/. |
| 101 | + * </pre> |
| 102 | + * |
| 103 | + * <code>.google.protobuf.Struct filter = 4;</code> |
| 104 | + * @return The filter. |
| 105 | + */ |
| 106 | + com.google.protobuf.Struct getFilter(); |
| 107 | + /** |
| 108 | + * <pre> |
| 109 | + * If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive |
| 110 | + * with specifying ids to delete in the ids param or using delete_all=True. |
| 111 | + * See https://www.pinecone.io/docs/metadata-filtering/. |
| 112 | + * </pre> |
| 113 | + * |
| 114 | + * <code>.google.protobuf.Struct filter = 4;</code> |
| 115 | + */ |
| 116 | + com.google.protobuf.StructOrBuilder getFilterOrBuilder(); |
| 117 | +} |
0 commit comments