@google-cloud/vectorsearch 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/build/protos/google/cloud/vectorsearch/v1/vectorsearch_service.proto +66 -0
- package/build/protos/protos.d.ts +436 -0
- package/build/protos/protos.js +964 -0
- package/build/protos/protos.json +96 -0
- package/build/src/v1/gapic_metadata.json +10 -0
- package/build/src/v1/vector_search_service_client.d.ts +41 -0
- package/build/src/v1/vector_search_service_client.js +53 -2
- package/build/src/v1/vector_search_service_client.js.map +1 -1
- package/build/src/v1/vector_search_service_client_config.json +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,7 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
|
|
|
73
73
|
| create index | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vectorsearch/samples/generated/v1/vector_search_service.create_index.js) |
|
|
74
74
|
| delete collection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vectorsearch/samples/generated/v1/vector_search_service.delete_collection.js) |
|
|
75
75
|
| delete index | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vectorsearch/samples/generated/v1/vector_search_service.delete_index.js) |
|
|
76
|
+
| export data objects | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vectorsearch/samples/generated/v1/vector_search_service.export_data_objects.js) |
|
|
76
77
|
| get collection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vectorsearch/samples/generated/v1/vector_search_service.get_collection.js) |
|
|
77
78
|
| get index | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vectorsearch/samples/generated/v1/vector_search_service.get_index.js) |
|
|
78
79
|
| import data objects | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-vectorsearch/samples/generated/v1/vector_search_service.import_data_objects.js) |
|
|
@@ -159,6 +159,19 @@ service VectorSearchService {
|
|
|
159
159
|
metadata_type: "ImportDataObjectsMetadata"
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
|
+
|
|
163
|
+
// Initiates a Long-Running Operation to export DataObjects from a Collection.
|
|
164
|
+
rpc ExportDataObjects(ExportDataObjectsRequest)
|
|
165
|
+
returns (google.longrunning.Operation) {
|
|
166
|
+
option (google.api.http) = {
|
|
167
|
+
post: "/v1/{name=projects/*/locations/*/collections/*}:exportDataObjects"
|
|
168
|
+
body: "*"
|
|
169
|
+
};
|
|
170
|
+
option (google.longrunning.operation_info) = {
|
|
171
|
+
response_type: "ExportDataObjectsResponse"
|
|
172
|
+
metadata_type: "ExportDataObjectsMetadata"
|
|
173
|
+
};
|
|
174
|
+
}
|
|
162
175
|
}
|
|
163
176
|
|
|
164
177
|
// Message describing Collection object
|
|
@@ -654,6 +667,59 @@ message ImportDataObjectsResponse {
|
|
|
654
667
|
google.rpc.Status status = 1;
|
|
655
668
|
}
|
|
656
669
|
|
|
670
|
+
// Request message for
|
|
671
|
+
// [VectorSearchService.ExportDataObjects][google.cloud.vectorsearch.v1.VectorSearchService.ExportDataObjects].
|
|
672
|
+
message ExportDataObjectsRequest {
|
|
673
|
+
// Google Cloud Storage configuration for the export.
|
|
674
|
+
message GcsExportDestination {
|
|
675
|
+
// Options for the format of the exported Data Objects.
|
|
676
|
+
enum Format {
|
|
677
|
+
// Unspecified format.
|
|
678
|
+
FORMAT_UNSPECIFIED = 0;
|
|
679
|
+
|
|
680
|
+
// Exports Data Objects in `JSONL` format.
|
|
681
|
+
JSONL = 2;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
// Required. URI prefix of the Cloud Storage where to export Data Objects.
|
|
685
|
+
// The bucket is required to be in the same region as the collection.
|
|
686
|
+
string export_uri = 1 [(google.api.field_behavior) = REQUIRED];
|
|
687
|
+
|
|
688
|
+
// Required. The format of the exported Data Objects.
|
|
689
|
+
Format format = 2 [(google.api.field_behavior) = REQUIRED];
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// The configuration for the export data.
|
|
693
|
+
oneof destination {
|
|
694
|
+
// The Cloud Storage location where user wants to export Data Objects.
|
|
695
|
+
GcsExportDestination gcs_destination = 2;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
// Required. The resource name of the Collection from which we want to export
|
|
699
|
+
// Data Objects. Format:
|
|
700
|
+
// `projects/{project}/locations/{location}/collections/{collection}`.
|
|
701
|
+
string name = 1 [
|
|
702
|
+
(google.api.field_behavior) = REQUIRED,
|
|
703
|
+
(google.api.resource_reference) = {
|
|
704
|
+
type: "vectorsearch.googleapis.com/Collection"
|
|
705
|
+
}
|
|
706
|
+
];
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
// Metadata for the ExportDataObjects LRO.
|
|
710
|
+
message ExportDataObjectsMetadata {
|
|
711
|
+
// Output only. The time the operation was created.
|
|
712
|
+
google.protobuf.Timestamp create_time = 1
|
|
713
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
714
|
+
|
|
715
|
+
// Output only. The time the operation finished.
|
|
716
|
+
google.protobuf.Timestamp finish_time = 2
|
|
717
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
// Response for the ExportDataObjects LRO.
|
|
721
|
+
message ExportDataObjectsResponse {}
|
|
722
|
+
|
|
657
723
|
// Represents dedicated infrastructure for the index.
|
|
658
724
|
message DedicatedInfrastructure {
|
|
659
725
|
// Specification for autoscaling.
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -4142,6 +4142,20 @@ export namespace google {
|
|
|
4142
4142
|
* @returns Promise
|
|
4143
4143
|
*/
|
|
4144
4144
|
public importDataObjects(request: google.cloud.vectorsearch.v1.IImportDataObjectsRequest): Promise<google.longrunning.Operation>;
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* Calls ExportDataObjects.
|
|
4148
|
+
* @param request ExportDataObjectsRequest message or plain object
|
|
4149
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
|
4150
|
+
*/
|
|
4151
|
+
public exportDataObjects(request: google.cloud.vectorsearch.v1.IExportDataObjectsRequest, callback: google.cloud.vectorsearch.v1.VectorSearchService.ExportDataObjectsCallback): void;
|
|
4152
|
+
|
|
4153
|
+
/**
|
|
4154
|
+
* Calls ExportDataObjects.
|
|
4155
|
+
* @param request ExportDataObjectsRequest message or plain object
|
|
4156
|
+
* @returns Promise
|
|
4157
|
+
*/
|
|
4158
|
+
public exportDataObjects(request: google.cloud.vectorsearch.v1.IExportDataObjectsRequest): Promise<google.longrunning.Operation>;
|
|
4145
4159
|
}
|
|
4146
4160
|
|
|
4147
4161
|
namespace VectorSearchService {
|
|
@@ -4215,6 +4229,13 @@ export namespace google {
|
|
|
4215
4229
|
* @param [response] Operation
|
|
4216
4230
|
*/
|
|
4217
4231
|
type ImportDataObjectsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
4232
|
+
|
|
4233
|
+
/**
|
|
4234
|
+
* Callback as used by {@link google.cloud.vectorsearch.v1.VectorSearchService|exportDataObjects}.
|
|
4235
|
+
* @param error Error, if any
|
|
4236
|
+
* @param [response] Operation
|
|
4237
|
+
*/
|
|
4238
|
+
type ExportDataObjectsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
4218
4239
|
}
|
|
4219
4240
|
|
|
4220
4241
|
/** Properties of a Collection. */
|
|
@@ -6581,6 +6602,421 @@ export namespace google {
|
|
|
6581
6602
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6582
6603
|
}
|
|
6583
6604
|
|
|
6605
|
+
/** Properties of an ExportDataObjectsRequest. */
|
|
6606
|
+
interface IExportDataObjectsRequest {
|
|
6607
|
+
|
|
6608
|
+
/** ExportDataObjectsRequest gcsDestination */
|
|
6609
|
+
gcsDestination?: (google.cloud.vectorsearch.v1.ExportDataObjectsRequest.IGcsExportDestination|null);
|
|
6610
|
+
|
|
6611
|
+
/** ExportDataObjectsRequest name */
|
|
6612
|
+
name?: (string|null);
|
|
6613
|
+
}
|
|
6614
|
+
|
|
6615
|
+
/** Represents an ExportDataObjectsRequest. */
|
|
6616
|
+
class ExportDataObjectsRequest implements IExportDataObjectsRequest {
|
|
6617
|
+
|
|
6618
|
+
/**
|
|
6619
|
+
* Constructs a new ExportDataObjectsRequest.
|
|
6620
|
+
* @param [properties] Properties to set
|
|
6621
|
+
*/
|
|
6622
|
+
constructor(properties?: google.cloud.vectorsearch.v1.IExportDataObjectsRequest);
|
|
6623
|
+
|
|
6624
|
+
/** ExportDataObjectsRequest gcsDestination. */
|
|
6625
|
+
public gcsDestination?: (google.cloud.vectorsearch.v1.ExportDataObjectsRequest.IGcsExportDestination|null);
|
|
6626
|
+
|
|
6627
|
+
/** ExportDataObjectsRequest name. */
|
|
6628
|
+
public name: string;
|
|
6629
|
+
|
|
6630
|
+
/** ExportDataObjectsRequest destination. */
|
|
6631
|
+
public destination?: "gcsDestination";
|
|
6632
|
+
|
|
6633
|
+
/**
|
|
6634
|
+
* Creates a new ExportDataObjectsRequest instance using the specified properties.
|
|
6635
|
+
* @param [properties] Properties to set
|
|
6636
|
+
* @returns ExportDataObjectsRequest instance
|
|
6637
|
+
*/
|
|
6638
|
+
public static create(properties?: google.cloud.vectorsearch.v1.IExportDataObjectsRequest): google.cloud.vectorsearch.v1.ExportDataObjectsRequest;
|
|
6639
|
+
|
|
6640
|
+
/**
|
|
6641
|
+
* Encodes the specified ExportDataObjectsRequest message. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsRequest.verify|verify} messages.
|
|
6642
|
+
* @param message ExportDataObjectsRequest message or plain object to encode
|
|
6643
|
+
* @param [writer] Writer to encode to
|
|
6644
|
+
* @returns Writer
|
|
6645
|
+
*/
|
|
6646
|
+
public static encode(message: google.cloud.vectorsearch.v1.IExportDataObjectsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6647
|
+
|
|
6648
|
+
/**
|
|
6649
|
+
* Encodes the specified ExportDataObjectsRequest message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsRequest.verify|verify} messages.
|
|
6650
|
+
* @param message ExportDataObjectsRequest message or plain object to encode
|
|
6651
|
+
* @param [writer] Writer to encode to
|
|
6652
|
+
* @returns Writer
|
|
6653
|
+
*/
|
|
6654
|
+
public static encodeDelimited(message: google.cloud.vectorsearch.v1.IExportDataObjectsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6655
|
+
|
|
6656
|
+
/**
|
|
6657
|
+
* Decodes an ExportDataObjectsRequest message from the specified reader or buffer.
|
|
6658
|
+
* @param reader Reader or buffer to decode from
|
|
6659
|
+
* @param [length] Message length if known beforehand
|
|
6660
|
+
* @returns ExportDataObjectsRequest
|
|
6661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6663
|
+
*/
|
|
6664
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1.ExportDataObjectsRequest;
|
|
6665
|
+
|
|
6666
|
+
/**
|
|
6667
|
+
* Decodes an ExportDataObjectsRequest message from the specified reader or buffer, length delimited.
|
|
6668
|
+
* @param reader Reader or buffer to decode from
|
|
6669
|
+
* @returns ExportDataObjectsRequest
|
|
6670
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6671
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6672
|
+
*/
|
|
6673
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1.ExportDataObjectsRequest;
|
|
6674
|
+
|
|
6675
|
+
/**
|
|
6676
|
+
* Verifies an ExportDataObjectsRequest message.
|
|
6677
|
+
* @param message Plain object to verify
|
|
6678
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6679
|
+
*/
|
|
6680
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6681
|
+
|
|
6682
|
+
/**
|
|
6683
|
+
* Creates an ExportDataObjectsRequest message from a plain object. Also converts values to their respective internal types.
|
|
6684
|
+
* @param object Plain object
|
|
6685
|
+
* @returns ExportDataObjectsRequest
|
|
6686
|
+
*/
|
|
6687
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1.ExportDataObjectsRequest;
|
|
6688
|
+
|
|
6689
|
+
/**
|
|
6690
|
+
* Creates a plain object from an ExportDataObjectsRequest message. Also converts values to other types if specified.
|
|
6691
|
+
* @param message ExportDataObjectsRequest
|
|
6692
|
+
* @param [options] Conversion options
|
|
6693
|
+
* @returns Plain object
|
|
6694
|
+
*/
|
|
6695
|
+
public static toObject(message: google.cloud.vectorsearch.v1.ExportDataObjectsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6696
|
+
|
|
6697
|
+
/**
|
|
6698
|
+
* Converts this ExportDataObjectsRequest to JSON.
|
|
6699
|
+
* @returns JSON object
|
|
6700
|
+
*/
|
|
6701
|
+
public toJSON(): { [k: string]: any };
|
|
6702
|
+
|
|
6703
|
+
/**
|
|
6704
|
+
* Gets the default type url for ExportDataObjectsRequest
|
|
6705
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6706
|
+
* @returns The default type url
|
|
6707
|
+
*/
|
|
6708
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6709
|
+
}
|
|
6710
|
+
|
|
6711
|
+
namespace ExportDataObjectsRequest {
|
|
6712
|
+
|
|
6713
|
+
/** Properties of a GcsExportDestination. */
|
|
6714
|
+
interface IGcsExportDestination {
|
|
6715
|
+
|
|
6716
|
+
/** GcsExportDestination exportUri */
|
|
6717
|
+
exportUri?: (string|null);
|
|
6718
|
+
|
|
6719
|
+
/** GcsExportDestination format */
|
|
6720
|
+
format?: (google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.Format|keyof typeof google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.Format|null);
|
|
6721
|
+
}
|
|
6722
|
+
|
|
6723
|
+
/** Represents a GcsExportDestination. */
|
|
6724
|
+
class GcsExportDestination implements IGcsExportDestination {
|
|
6725
|
+
|
|
6726
|
+
/**
|
|
6727
|
+
* Constructs a new GcsExportDestination.
|
|
6728
|
+
* @param [properties] Properties to set
|
|
6729
|
+
*/
|
|
6730
|
+
constructor(properties?: google.cloud.vectorsearch.v1.ExportDataObjectsRequest.IGcsExportDestination);
|
|
6731
|
+
|
|
6732
|
+
/** GcsExportDestination exportUri. */
|
|
6733
|
+
public exportUri: string;
|
|
6734
|
+
|
|
6735
|
+
/** GcsExportDestination format. */
|
|
6736
|
+
public format: (google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.Format|keyof typeof google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.Format);
|
|
6737
|
+
|
|
6738
|
+
/**
|
|
6739
|
+
* Creates a new GcsExportDestination instance using the specified properties.
|
|
6740
|
+
* @param [properties] Properties to set
|
|
6741
|
+
* @returns GcsExportDestination instance
|
|
6742
|
+
*/
|
|
6743
|
+
public static create(properties?: google.cloud.vectorsearch.v1.ExportDataObjectsRequest.IGcsExportDestination): google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination;
|
|
6744
|
+
|
|
6745
|
+
/**
|
|
6746
|
+
* Encodes the specified GcsExportDestination message. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.verify|verify} messages.
|
|
6747
|
+
* @param message GcsExportDestination message or plain object to encode
|
|
6748
|
+
* @param [writer] Writer to encode to
|
|
6749
|
+
* @returns Writer
|
|
6750
|
+
*/
|
|
6751
|
+
public static encode(message: google.cloud.vectorsearch.v1.ExportDataObjectsRequest.IGcsExportDestination, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6752
|
+
|
|
6753
|
+
/**
|
|
6754
|
+
* Encodes the specified GcsExportDestination message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.verify|verify} messages.
|
|
6755
|
+
* @param message GcsExportDestination message or plain object to encode
|
|
6756
|
+
* @param [writer] Writer to encode to
|
|
6757
|
+
* @returns Writer
|
|
6758
|
+
*/
|
|
6759
|
+
public static encodeDelimited(message: google.cloud.vectorsearch.v1.ExportDataObjectsRequest.IGcsExportDestination, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6760
|
+
|
|
6761
|
+
/**
|
|
6762
|
+
* Decodes a GcsExportDestination message from the specified reader or buffer.
|
|
6763
|
+
* @param reader Reader or buffer to decode from
|
|
6764
|
+
* @param [length] Message length if known beforehand
|
|
6765
|
+
* @returns GcsExportDestination
|
|
6766
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6767
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6768
|
+
*/
|
|
6769
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination;
|
|
6770
|
+
|
|
6771
|
+
/**
|
|
6772
|
+
* Decodes a GcsExportDestination message from the specified reader or buffer, length delimited.
|
|
6773
|
+
* @param reader Reader or buffer to decode from
|
|
6774
|
+
* @returns GcsExportDestination
|
|
6775
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6776
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6777
|
+
*/
|
|
6778
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination;
|
|
6779
|
+
|
|
6780
|
+
/**
|
|
6781
|
+
* Verifies a GcsExportDestination message.
|
|
6782
|
+
* @param message Plain object to verify
|
|
6783
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6784
|
+
*/
|
|
6785
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6786
|
+
|
|
6787
|
+
/**
|
|
6788
|
+
* Creates a GcsExportDestination message from a plain object. Also converts values to their respective internal types.
|
|
6789
|
+
* @param object Plain object
|
|
6790
|
+
* @returns GcsExportDestination
|
|
6791
|
+
*/
|
|
6792
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination;
|
|
6793
|
+
|
|
6794
|
+
/**
|
|
6795
|
+
* Creates a plain object from a GcsExportDestination message. Also converts values to other types if specified.
|
|
6796
|
+
* @param message GcsExportDestination
|
|
6797
|
+
* @param [options] Conversion options
|
|
6798
|
+
* @returns Plain object
|
|
6799
|
+
*/
|
|
6800
|
+
public static toObject(message: google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6801
|
+
|
|
6802
|
+
/**
|
|
6803
|
+
* Converts this GcsExportDestination to JSON.
|
|
6804
|
+
* @returns JSON object
|
|
6805
|
+
*/
|
|
6806
|
+
public toJSON(): { [k: string]: any };
|
|
6807
|
+
|
|
6808
|
+
/**
|
|
6809
|
+
* Gets the default type url for GcsExportDestination
|
|
6810
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6811
|
+
* @returns The default type url
|
|
6812
|
+
*/
|
|
6813
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6814
|
+
}
|
|
6815
|
+
|
|
6816
|
+
namespace GcsExportDestination {
|
|
6817
|
+
|
|
6818
|
+
/** Format enum. */
|
|
6819
|
+
enum Format {
|
|
6820
|
+
FORMAT_UNSPECIFIED = 0,
|
|
6821
|
+
JSONL = 2
|
|
6822
|
+
}
|
|
6823
|
+
}
|
|
6824
|
+
}
|
|
6825
|
+
|
|
6826
|
+
/** Properties of an ExportDataObjectsMetadata. */
|
|
6827
|
+
interface IExportDataObjectsMetadata {
|
|
6828
|
+
|
|
6829
|
+
/** ExportDataObjectsMetadata createTime */
|
|
6830
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
|
6831
|
+
|
|
6832
|
+
/** ExportDataObjectsMetadata finishTime */
|
|
6833
|
+
finishTime?: (google.protobuf.ITimestamp|null);
|
|
6834
|
+
}
|
|
6835
|
+
|
|
6836
|
+
/** Represents an ExportDataObjectsMetadata. */
|
|
6837
|
+
class ExportDataObjectsMetadata implements IExportDataObjectsMetadata {
|
|
6838
|
+
|
|
6839
|
+
/**
|
|
6840
|
+
* Constructs a new ExportDataObjectsMetadata.
|
|
6841
|
+
* @param [properties] Properties to set
|
|
6842
|
+
*/
|
|
6843
|
+
constructor(properties?: google.cloud.vectorsearch.v1.IExportDataObjectsMetadata);
|
|
6844
|
+
|
|
6845
|
+
/** ExportDataObjectsMetadata createTime. */
|
|
6846
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
|
6847
|
+
|
|
6848
|
+
/** ExportDataObjectsMetadata finishTime. */
|
|
6849
|
+
public finishTime?: (google.protobuf.ITimestamp|null);
|
|
6850
|
+
|
|
6851
|
+
/**
|
|
6852
|
+
* Creates a new ExportDataObjectsMetadata instance using the specified properties.
|
|
6853
|
+
* @param [properties] Properties to set
|
|
6854
|
+
* @returns ExportDataObjectsMetadata instance
|
|
6855
|
+
*/
|
|
6856
|
+
public static create(properties?: google.cloud.vectorsearch.v1.IExportDataObjectsMetadata): google.cloud.vectorsearch.v1.ExportDataObjectsMetadata;
|
|
6857
|
+
|
|
6858
|
+
/**
|
|
6859
|
+
* Encodes the specified ExportDataObjectsMetadata message. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsMetadata.verify|verify} messages.
|
|
6860
|
+
* @param message ExportDataObjectsMetadata message or plain object to encode
|
|
6861
|
+
* @param [writer] Writer to encode to
|
|
6862
|
+
* @returns Writer
|
|
6863
|
+
*/
|
|
6864
|
+
public static encode(message: google.cloud.vectorsearch.v1.IExportDataObjectsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6865
|
+
|
|
6866
|
+
/**
|
|
6867
|
+
* Encodes the specified ExportDataObjectsMetadata message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsMetadata.verify|verify} messages.
|
|
6868
|
+
* @param message ExportDataObjectsMetadata message or plain object to encode
|
|
6869
|
+
* @param [writer] Writer to encode to
|
|
6870
|
+
* @returns Writer
|
|
6871
|
+
*/
|
|
6872
|
+
public static encodeDelimited(message: google.cloud.vectorsearch.v1.IExportDataObjectsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6873
|
+
|
|
6874
|
+
/**
|
|
6875
|
+
* Decodes an ExportDataObjectsMetadata message from the specified reader or buffer.
|
|
6876
|
+
* @param reader Reader or buffer to decode from
|
|
6877
|
+
* @param [length] Message length if known beforehand
|
|
6878
|
+
* @returns ExportDataObjectsMetadata
|
|
6879
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6880
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6881
|
+
*/
|
|
6882
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1.ExportDataObjectsMetadata;
|
|
6883
|
+
|
|
6884
|
+
/**
|
|
6885
|
+
* Decodes an ExportDataObjectsMetadata message from the specified reader or buffer, length delimited.
|
|
6886
|
+
* @param reader Reader or buffer to decode from
|
|
6887
|
+
* @returns ExportDataObjectsMetadata
|
|
6888
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6889
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6890
|
+
*/
|
|
6891
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1.ExportDataObjectsMetadata;
|
|
6892
|
+
|
|
6893
|
+
/**
|
|
6894
|
+
* Verifies an ExportDataObjectsMetadata message.
|
|
6895
|
+
* @param message Plain object to verify
|
|
6896
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6897
|
+
*/
|
|
6898
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6899
|
+
|
|
6900
|
+
/**
|
|
6901
|
+
* Creates an ExportDataObjectsMetadata message from a plain object. Also converts values to their respective internal types.
|
|
6902
|
+
* @param object Plain object
|
|
6903
|
+
* @returns ExportDataObjectsMetadata
|
|
6904
|
+
*/
|
|
6905
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1.ExportDataObjectsMetadata;
|
|
6906
|
+
|
|
6907
|
+
/**
|
|
6908
|
+
* Creates a plain object from an ExportDataObjectsMetadata message. Also converts values to other types if specified.
|
|
6909
|
+
* @param message ExportDataObjectsMetadata
|
|
6910
|
+
* @param [options] Conversion options
|
|
6911
|
+
* @returns Plain object
|
|
6912
|
+
*/
|
|
6913
|
+
public static toObject(message: google.cloud.vectorsearch.v1.ExportDataObjectsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6914
|
+
|
|
6915
|
+
/**
|
|
6916
|
+
* Converts this ExportDataObjectsMetadata to JSON.
|
|
6917
|
+
* @returns JSON object
|
|
6918
|
+
*/
|
|
6919
|
+
public toJSON(): { [k: string]: any };
|
|
6920
|
+
|
|
6921
|
+
/**
|
|
6922
|
+
* Gets the default type url for ExportDataObjectsMetadata
|
|
6923
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6924
|
+
* @returns The default type url
|
|
6925
|
+
*/
|
|
6926
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6929
|
+
/** Properties of an ExportDataObjectsResponse. */
|
|
6930
|
+
interface IExportDataObjectsResponse {
|
|
6931
|
+
}
|
|
6932
|
+
|
|
6933
|
+
/** Represents an ExportDataObjectsResponse. */
|
|
6934
|
+
class ExportDataObjectsResponse implements IExportDataObjectsResponse {
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* Constructs a new ExportDataObjectsResponse.
|
|
6938
|
+
* @param [properties] Properties to set
|
|
6939
|
+
*/
|
|
6940
|
+
constructor(properties?: google.cloud.vectorsearch.v1.IExportDataObjectsResponse);
|
|
6941
|
+
|
|
6942
|
+
/**
|
|
6943
|
+
* Creates a new ExportDataObjectsResponse instance using the specified properties.
|
|
6944
|
+
* @param [properties] Properties to set
|
|
6945
|
+
* @returns ExportDataObjectsResponse instance
|
|
6946
|
+
*/
|
|
6947
|
+
public static create(properties?: google.cloud.vectorsearch.v1.IExportDataObjectsResponse): google.cloud.vectorsearch.v1.ExportDataObjectsResponse;
|
|
6948
|
+
|
|
6949
|
+
/**
|
|
6950
|
+
* Encodes the specified ExportDataObjectsResponse message. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsResponse.verify|verify} messages.
|
|
6951
|
+
* @param message ExportDataObjectsResponse message or plain object to encode
|
|
6952
|
+
* @param [writer] Writer to encode to
|
|
6953
|
+
* @returns Writer
|
|
6954
|
+
*/
|
|
6955
|
+
public static encode(message: google.cloud.vectorsearch.v1.IExportDataObjectsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6956
|
+
|
|
6957
|
+
/**
|
|
6958
|
+
* Encodes the specified ExportDataObjectsResponse message, length delimited. Does not implicitly {@link google.cloud.vectorsearch.v1.ExportDataObjectsResponse.verify|verify} messages.
|
|
6959
|
+
* @param message ExportDataObjectsResponse message or plain object to encode
|
|
6960
|
+
* @param [writer] Writer to encode to
|
|
6961
|
+
* @returns Writer
|
|
6962
|
+
*/
|
|
6963
|
+
public static encodeDelimited(message: google.cloud.vectorsearch.v1.IExportDataObjectsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6964
|
+
|
|
6965
|
+
/**
|
|
6966
|
+
* Decodes an ExportDataObjectsResponse message from the specified reader or buffer.
|
|
6967
|
+
* @param reader Reader or buffer to decode from
|
|
6968
|
+
* @param [length] Message length if known beforehand
|
|
6969
|
+
* @returns ExportDataObjectsResponse
|
|
6970
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6971
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6972
|
+
*/
|
|
6973
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vectorsearch.v1.ExportDataObjectsResponse;
|
|
6974
|
+
|
|
6975
|
+
/**
|
|
6976
|
+
* Decodes an ExportDataObjectsResponse message from the specified reader or buffer, length delimited.
|
|
6977
|
+
* @param reader Reader or buffer to decode from
|
|
6978
|
+
* @returns ExportDataObjectsResponse
|
|
6979
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6980
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6981
|
+
*/
|
|
6982
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vectorsearch.v1.ExportDataObjectsResponse;
|
|
6983
|
+
|
|
6984
|
+
/**
|
|
6985
|
+
* Verifies an ExportDataObjectsResponse message.
|
|
6986
|
+
* @param message Plain object to verify
|
|
6987
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6988
|
+
*/
|
|
6989
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6990
|
+
|
|
6991
|
+
/**
|
|
6992
|
+
* Creates an ExportDataObjectsResponse message from a plain object. Also converts values to their respective internal types.
|
|
6993
|
+
* @param object Plain object
|
|
6994
|
+
* @returns ExportDataObjectsResponse
|
|
6995
|
+
*/
|
|
6996
|
+
public static fromObject(object: { [k: string]: any }): google.cloud.vectorsearch.v1.ExportDataObjectsResponse;
|
|
6997
|
+
|
|
6998
|
+
/**
|
|
6999
|
+
* Creates a plain object from an ExportDataObjectsResponse message. Also converts values to other types if specified.
|
|
7000
|
+
* @param message ExportDataObjectsResponse
|
|
7001
|
+
* @param [options] Conversion options
|
|
7002
|
+
* @returns Plain object
|
|
7003
|
+
*/
|
|
7004
|
+
public static toObject(message: google.cloud.vectorsearch.v1.ExportDataObjectsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7005
|
+
|
|
7006
|
+
/**
|
|
7007
|
+
* Converts this ExportDataObjectsResponse to JSON.
|
|
7008
|
+
* @returns JSON object
|
|
7009
|
+
*/
|
|
7010
|
+
public toJSON(): { [k: string]: any };
|
|
7011
|
+
|
|
7012
|
+
/**
|
|
7013
|
+
* Gets the default type url for ExportDataObjectsResponse
|
|
7014
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7015
|
+
* @returns The default type url
|
|
7016
|
+
*/
|
|
7017
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7018
|
+
}
|
|
7019
|
+
|
|
6584
7020
|
/** Properties of a DedicatedInfrastructure. */
|
|
6585
7021
|
interface IDedicatedInfrastructure {
|
|
6586
7022
|
|