Fresh dep ensure

This commit is contained in:
Mike Cronce
2018-11-26 13:23:56 -05:00
parent 93cb8a04d7
commit 407478ab9a
9016 changed files with 551394 additions and 279685 deletions

View File

@ -27,6 +27,58 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// The various possible states for an ongoing Operation.
type OperationState int32
const (
// Unspecified.
OperationState_STATE_UNSPECIFIED OperationState = 0
// Request is being prepared for processing.
OperationState_INITIALIZING OperationState = 1
// Request is actively being processed.
OperationState_PROCESSING OperationState = 2
// Request is in the process of being cancelled after user called
// google.longrunning.Operations.CancelOperation on the operation.
OperationState_CANCELLING OperationState = 3
// Request has been processed and is in its finalization stage.
OperationState_FINALIZING OperationState = 4
// Request has completed successfully.
OperationState_SUCCESSFUL OperationState = 5
// Request has finished being processed, but encountered an error.
OperationState_FAILED OperationState = 6
// Request has finished being cancelled after user called
// google.longrunning.Operations.CancelOperation.
OperationState_CANCELLED OperationState = 7
)
var OperationState_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "INITIALIZING",
2: "PROCESSING",
3: "CANCELLING",
4: "FINALIZING",
5: "SUCCESSFUL",
6: "FAILED",
7: "CANCELLED",
}
var OperationState_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"INITIALIZING": 1,
"PROCESSING": 2,
"CANCELLING": 3,
"FINALIZING": 4,
"SUCCESSFUL": 5,
"FAILED": 6,
"CANCELLED": 7,
}
func (x OperationState) String() string {
return proto.EnumName(OperationState_name, int32(x))
}
func (OperationState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{0}
}
// The type of index operation.
type IndexOperationMetadata_OperationType int32
@ -50,7 +102,7 @@ func (x IndexOperationMetadata_OperationType) String() string {
return proto.EnumName(IndexOperationMetadata_OperationType_name, int32(x))
}
func (IndexOperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{0, 0}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{0, 0}
}
// Metadata for index operations. This metadata populates
@ -81,7 +133,7 @@ func (m *IndexOperationMetadata) Reset() { *m = IndexOperationMetadata{}
func (m *IndexOperationMetadata) String() string { return proto.CompactTextString(m) }
func (*IndexOperationMetadata) ProtoMessage() {}
func (*IndexOperationMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{0}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{0}
}
func (m *IndexOperationMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IndexOperationMetadata.Unmarshal(m, b)
@ -160,7 +212,7 @@ func (m *Progress) Reset() { *m = Progress{} }
func (m *Progress) String() string { return proto.CompactTextString(m) }
func (*Progress) ProtoMessage() {}
func (*Progress) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{1}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{1}
}
func (m *Progress) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Progress.Unmarshal(m, b)
@ -211,7 +263,7 @@ func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} }
func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) }
func (*CreateIndexRequest) ProtoMessage() {}
func (*CreateIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{2}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{2}
}
func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b)
@ -259,7 +311,7 @@ func (m *GetIndexRequest) Reset() { *m = GetIndexRequest{} }
func (m *GetIndexRequest) String() string { return proto.CompactTextString(m) }
func (*GetIndexRequest) ProtoMessage() {}
func (*GetIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{3}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{3}
}
func (m *GetIndexRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetIndexRequest.Unmarshal(m, b)
@ -305,7 +357,7 @@ func (m *ListIndexesRequest) Reset() { *m = ListIndexesRequest{} }
func (m *ListIndexesRequest) String() string { return proto.CompactTextString(m) }
func (*ListIndexesRequest) ProtoMessage() {}
func (*ListIndexesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{4}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{4}
}
func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListIndexesRequest.Unmarshal(m, b)
@ -367,7 +419,7 @@ func (m *DeleteIndexRequest) Reset() { *m = DeleteIndexRequest{} }
func (m *DeleteIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteIndexRequest) ProtoMessage() {}
func (*DeleteIndexRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{5}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{5}
}
func (m *DeleteIndexRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteIndexRequest.Unmarshal(m, b)
@ -409,7 +461,7 @@ func (m *ListIndexesResponse) Reset() { *m = ListIndexesResponse{} }
func (m *ListIndexesResponse) String() string { return proto.CompactTextString(m) }
func (*ListIndexesResponse) ProtoMessage() {}
func (*ListIndexesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_4aed9459ad95e423, []int{6}
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{6}
}
func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListIndexesResponse.Unmarshal(m, b)
@ -443,6 +495,368 @@ func (m *ListIndexesResponse) GetNextPageToken() string {
return ""
}
// The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ExportDocuments].
type ExportDocumentsRequest struct {
// Database to export. Should be of the form:
// `projects/{project_id}/databases/{database_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Which collection ids to export. Unspecified means all collections.
CollectionIds []string `protobuf:"bytes,3,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
// The output URI. Currently only supports Google Cloud Storage URIs of the
// form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
// of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional
// Google Cloud Storage namespace path. When
// choosing a name, be sure to consider Google Cloud Storage naming
// guidelines: https://cloud.google.com/storage/docs/naming.
// If the URI is a bucket (without a namespace path), a prefix will be
// generated based on the start time.
OutputUriPrefix string `protobuf:"bytes,4,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExportDocumentsRequest) Reset() { *m = ExportDocumentsRequest{} }
func (m *ExportDocumentsRequest) String() string { return proto.CompactTextString(m) }
func (*ExportDocumentsRequest) ProtoMessage() {}
func (*ExportDocumentsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{7}
}
func (m *ExportDocumentsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExportDocumentsRequest.Unmarshal(m, b)
}
func (m *ExportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExportDocumentsRequest.Marshal(b, m, deterministic)
}
func (dst *ExportDocumentsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExportDocumentsRequest.Merge(dst, src)
}
func (m *ExportDocumentsRequest) XXX_Size() int {
return xxx_messageInfo_ExportDocumentsRequest.Size(m)
}
func (m *ExportDocumentsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ExportDocumentsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ExportDocumentsRequest proto.InternalMessageInfo
func (m *ExportDocumentsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ExportDocumentsRequest) GetCollectionIds() []string {
if m != nil {
return m.CollectionIds
}
return nil
}
func (m *ExportDocumentsRequest) GetOutputUriPrefix() string {
if m != nil {
return m.OutputUriPrefix
}
return ""
}
// The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ImportDocuments].
type ImportDocumentsRequest struct {
// Database to import into. Should be of the form:
// `projects/{project_id}/databases/{database_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Which collection ids to import. Unspecified means all collections included
// in the import.
CollectionIds []string `protobuf:"bytes,3,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
// Location of the exported files.
// This must match the output_uri_prefix of an ExportDocumentsResponse from
// an export that has completed successfully.
// See:
// [google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix].
InputUriPrefix string `protobuf:"bytes,4,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportDocumentsRequest) Reset() { *m = ImportDocumentsRequest{} }
func (m *ImportDocumentsRequest) String() string { return proto.CompactTextString(m) }
func (*ImportDocumentsRequest) ProtoMessage() {}
func (*ImportDocumentsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{8}
}
func (m *ImportDocumentsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportDocumentsRequest.Unmarshal(m, b)
}
func (m *ImportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportDocumentsRequest.Marshal(b, m, deterministic)
}
func (dst *ImportDocumentsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportDocumentsRequest.Merge(dst, src)
}
func (m *ImportDocumentsRequest) XXX_Size() int {
return xxx_messageInfo_ImportDocumentsRequest.Size(m)
}
func (m *ImportDocumentsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ImportDocumentsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ImportDocumentsRequest proto.InternalMessageInfo
func (m *ImportDocumentsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ImportDocumentsRequest) GetCollectionIds() []string {
if m != nil {
return m.CollectionIds
}
return nil
}
func (m *ImportDocumentsRequest) GetInputUriPrefix() string {
if m != nil {
return m.InputUriPrefix
}
return ""
}
// Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
type ExportDocumentsResponse struct {
// Location of the output files. This can be used to begin an import
// into Cloud Firestore (this project or another project) after the operation
// completes successfully.
OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExportDocumentsResponse) Reset() { *m = ExportDocumentsResponse{} }
func (m *ExportDocumentsResponse) String() string { return proto.CompactTextString(m) }
func (*ExportDocumentsResponse) ProtoMessage() {}
func (*ExportDocumentsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{9}
}
func (m *ExportDocumentsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExportDocumentsResponse.Unmarshal(m, b)
}
func (m *ExportDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExportDocumentsResponse.Marshal(b, m, deterministic)
}
func (dst *ExportDocumentsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExportDocumentsResponse.Merge(dst, src)
}
func (m *ExportDocumentsResponse) XXX_Size() int {
return xxx_messageInfo_ExportDocumentsResponse.Size(m)
}
func (m *ExportDocumentsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ExportDocumentsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ExportDocumentsResponse proto.InternalMessageInfo
func (m *ExportDocumentsResponse) GetOutputUriPrefix() string {
if m != nil {
return m.OutputUriPrefix
}
return ""
}
// Metadata for ExportDocuments operations.
type ExportDocumentsMetadata struct {
// The time that work began on the operation.
StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The time the operation ended, either successfully or otherwise. Unset if
// the operation is still active.
EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The state of the export operation.
OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta1.OperationState" json:"operation_state,omitempty"`
// An estimate of the number of documents processed.
ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"`
// An estimate of the number of bytes processed.
ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"`
// Which collection ids are being exported.
CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
// Where the entities are being exported to.
OutputUriPrefix string `protobuf:"bytes,7,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExportDocumentsMetadata) Reset() { *m = ExportDocumentsMetadata{} }
func (m *ExportDocumentsMetadata) String() string { return proto.CompactTextString(m) }
func (*ExportDocumentsMetadata) ProtoMessage() {}
func (*ExportDocumentsMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{10}
}
func (m *ExportDocumentsMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExportDocumentsMetadata.Unmarshal(m, b)
}
func (m *ExportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExportDocumentsMetadata.Marshal(b, m, deterministic)
}
func (dst *ExportDocumentsMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExportDocumentsMetadata.Merge(dst, src)
}
func (m *ExportDocumentsMetadata) XXX_Size() int {
return xxx_messageInfo_ExportDocumentsMetadata.Size(m)
}
func (m *ExportDocumentsMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_ExportDocumentsMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_ExportDocumentsMetadata proto.InternalMessageInfo
func (m *ExportDocumentsMetadata) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *ExportDocumentsMetadata) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
func (m *ExportDocumentsMetadata) GetOperationState() OperationState {
if m != nil {
return m.OperationState
}
return OperationState_STATE_UNSPECIFIED
}
func (m *ExportDocumentsMetadata) GetProgressDocuments() *Progress {
if m != nil {
return m.ProgressDocuments
}
return nil
}
func (m *ExportDocumentsMetadata) GetProgressBytes() *Progress {
if m != nil {
return m.ProgressBytes
}
return nil
}
func (m *ExportDocumentsMetadata) GetCollectionIds() []string {
if m != nil {
return m.CollectionIds
}
return nil
}
func (m *ExportDocumentsMetadata) GetOutputUriPrefix() string {
if m != nil {
return m.OutputUriPrefix
}
return ""
}
// Metadata for ImportDocuments operations.
type ImportDocumentsMetadata struct {
// The time that work began on the operation.
StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The time the operation ended, either successfully or otherwise. Unset if
// the operation is still active.
EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The state of the import operation.
OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta1.OperationState" json:"operation_state,omitempty"`
// An estimate of the number of documents processed.
ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"`
// An estimate of the number of bytes processed.
ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"`
// Which collection ids are being imported.
CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
// The location of the documents being imported.
InputUriPrefix string `protobuf:"bytes,7,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImportDocumentsMetadata) Reset() { *m = ImportDocumentsMetadata{} }
func (m *ImportDocumentsMetadata) String() string { return proto.CompactTextString(m) }
func (*ImportDocumentsMetadata) ProtoMessage() {}
func (*ImportDocumentsMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_09f1d024c210e695, []int{11}
}
func (m *ImportDocumentsMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportDocumentsMetadata.Unmarshal(m, b)
}
func (m *ImportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImportDocumentsMetadata.Marshal(b, m, deterministic)
}
func (dst *ImportDocumentsMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImportDocumentsMetadata.Merge(dst, src)
}
func (m *ImportDocumentsMetadata) XXX_Size() int {
return xxx_messageInfo_ImportDocumentsMetadata.Size(m)
}
func (m *ImportDocumentsMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_ImportDocumentsMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_ImportDocumentsMetadata proto.InternalMessageInfo
func (m *ImportDocumentsMetadata) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *ImportDocumentsMetadata) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
func (m *ImportDocumentsMetadata) GetOperationState() OperationState {
if m != nil {
return m.OperationState
}
return OperationState_STATE_UNSPECIFIED
}
func (m *ImportDocumentsMetadata) GetProgressDocuments() *Progress {
if m != nil {
return m.ProgressDocuments
}
return nil
}
func (m *ImportDocumentsMetadata) GetProgressBytes() *Progress {
if m != nil {
return m.ProgressBytes
}
return nil
}
func (m *ImportDocumentsMetadata) GetCollectionIds() []string {
if m != nil {
return m.CollectionIds
}
return nil
}
func (m *ImportDocumentsMetadata) GetInputUriPrefix() string {
if m != nil {
return m.InputUriPrefix
}
return ""
}
func init() {
proto.RegisterType((*IndexOperationMetadata)(nil), "google.firestore.admin.v1beta1.IndexOperationMetadata")
proto.RegisterType((*Progress)(nil), "google.firestore.admin.v1beta1.Progress")
@ -451,6 +865,12 @@ func init() {
proto.RegisterType((*ListIndexesRequest)(nil), "google.firestore.admin.v1beta1.ListIndexesRequest")
proto.RegisterType((*DeleteIndexRequest)(nil), "google.firestore.admin.v1beta1.DeleteIndexRequest")
proto.RegisterType((*ListIndexesResponse)(nil), "google.firestore.admin.v1beta1.ListIndexesResponse")
proto.RegisterType((*ExportDocumentsRequest)(nil), "google.firestore.admin.v1beta1.ExportDocumentsRequest")
proto.RegisterType((*ImportDocumentsRequest)(nil), "google.firestore.admin.v1beta1.ImportDocumentsRequest")
proto.RegisterType((*ExportDocumentsResponse)(nil), "google.firestore.admin.v1beta1.ExportDocumentsResponse")
proto.RegisterType((*ExportDocumentsMetadata)(nil), "google.firestore.admin.v1beta1.ExportDocumentsMetadata")
proto.RegisterType((*ImportDocumentsMetadata)(nil), "google.firestore.admin.v1beta1.ImportDocumentsMetadata")
proto.RegisterEnum("google.firestore.admin.v1beta1.OperationState", OperationState_name, OperationState_value)
proto.RegisterEnum("google.firestore.admin.v1beta1.IndexOperationMetadata_OperationType", IndexOperationMetadata_OperationType_name, IndexOperationMetadata_OperationType_value)
}
@ -486,6 +906,21 @@ type FirestoreAdminClient interface {
GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error)
// Deletes an index.
DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Exports a copy of all or a subset of documents from Google Cloud Firestore
// to another storage system, such as Google Cloud Storage. Recent updates to
// documents may not be reflected in the export. The export occurs in the
// background and its progress can be monitored and managed via the
// Operation resource that is created. The output of an export may only be
// used once the associated operation is done. If an export operation is
// cancelled before completion it may leave partial data behind in Google
// Cloud Storage.
ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Imports documents into Google Cloud Firestore. Existing documents with the
// same name are overwritten. The import occurs in the background and its
// progress can be monitored and managed via the Operation resource that is
// created. If an ImportDocuments operation is cancelled, it is possible
// that a subset of the data has already been imported to Cloud Firestore.
ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}
type firestoreAdminClient struct {
@ -532,6 +967,24 @@ func (c *firestoreAdminClient) DeleteIndex(ctx context.Context, in *DeleteIndexR
return out, nil
}
func (c *firestoreAdminClient) ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ExportDocuments", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *firestoreAdminClient) ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ImportDocuments", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// FirestoreAdminServer is the server API for FirestoreAdmin service.
type FirestoreAdminServer interface {
// Creates the specified index.
@ -554,6 +1007,21 @@ type FirestoreAdminServer interface {
GetIndex(context.Context, *GetIndexRequest) (*Index, error)
// Deletes an index.
DeleteIndex(context.Context, *DeleteIndexRequest) (*empty.Empty, error)
// Exports a copy of all or a subset of documents from Google Cloud Firestore
// to another storage system, such as Google Cloud Storage. Recent updates to
// documents may not be reflected in the export. The export occurs in the
// background and its progress can be monitored and managed via the
// Operation resource that is created. The output of an export may only be
// used once the associated operation is done. If an export operation is
// cancelled before completion it may leave partial data behind in Google
// Cloud Storage.
ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunning.Operation, error)
// Imports documents into Google Cloud Firestore. Existing documents with the
// same name are overwritten. The import occurs in the background and its
// progress can be monitored and managed via the Operation resource that is
// created. If an ImportDocuments operation is cancelled, it is possible
// that a subset of the data has already been imported to Cloud Firestore.
ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunning.Operation, error)
}
func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) {
@ -632,6 +1100,42 @@ func _FirestoreAdmin_DeleteIndex_Handler(srv interface{}, ctx context.Context, d
return interceptor(ctx, in, info, handler)
}
func _FirestoreAdmin_ExportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ExportDocumentsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FirestoreAdminServer).ExportDocuments(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ExportDocuments",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FirestoreAdminServer).ExportDocuments(ctx, req.(*ExportDocumentsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FirestoreAdmin_ImportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ImportDocumentsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FirestoreAdminServer).ImportDocuments(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ImportDocuments",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FirestoreAdminServer).ImportDocuments(ctx, req.(*ImportDocumentsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.firestore.admin.v1beta1.FirestoreAdmin",
HandlerType: (*FirestoreAdminServer)(nil),
@ -652,68 +1156,97 @@ var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{
MethodName: "DeleteIndex",
Handler: _FirestoreAdmin_DeleteIndex_Handler,
},
{
MethodName: "ExportDocuments",
Handler: _FirestoreAdmin_ExportDocuments_Handler,
},
{
MethodName: "ImportDocuments",
Handler: _FirestoreAdmin_ImportDocuments_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/firestore/admin/v1beta1/firestore_admin.proto",
}
func init() {
proto.RegisterFile("google/firestore/admin/v1beta1/firestore_admin.proto", fileDescriptor_firestore_admin_4aed9459ad95e423)
proto.RegisterFile("google/firestore/admin/v1beta1/firestore_admin.proto", fileDescriptor_firestore_admin_09f1d024c210e695)
}
var fileDescriptor_firestore_admin_4aed9459ad95e423 = []byte{
// 841 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0xc6, 0xe9, 0xcf, 0x26, 0xa7, 0x6a, 0xb6, 0xcc, 0xa2, 0x2a, 0xf2, 0xfe, 0x10, 0x19, 0x8a,
0xa2, 0x5c, 0xd8, 0x34, 0x0b, 0x12, 0xcb, 0x0a, 0xad, 0x5a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e6, 0x79, 0xe4, 0x44, 0xc8, 0x94, 0x39,
0xa7, 0x3c, 0xa2, 0x59, 0x2c, 0xae, 0xfa, 0xb7, 0x7d, 0xac, 0xa2, 0xdf, 0x1b, 0xcb, 0x07, 0xee,
0xfe, 0xf1, 0x1f, 0x8d, 0x0f, 0x0f, 0x4a, 0x31, 0x37, 0xe1, 0xd3, 0xd0, 0x9e, 0x15, 0xb4, 0x55,
0x45, 0xfb, 0xeb, 0xed, 0xdd, 0x82, 0x73, 0xb2, 0xaa, 0xd4, 0x1f, 0xfe, 0x17, 0x00, 0x00, 0xff,
0xff, 0x6b, 0x78, 0x44, 0x07, 0x3e, 0x08, 0x00, 0x00,
var fileDescriptor_firestore_admin_09f1d024c210e695 = []byte{
// 1183 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xdd, 0x6e, 0xe3, 0xc4,
0x17, 0xff, 0x3b, 0x69, 0x93, 0xe6, 0xf4, 0x9f, 0x34, 0x9d, 0x85, 0x6c, 0x94, 0xfd, 0x20, 0x32,
0x2c, 0x8a, 0x72, 0x61, 0xb3, 0x59, 0x58, 0xb1, 0x5b, 0xa1, 0x55, 0xea, 0x38, 0x95, 0xa5, 0x90,
0x46, 0x4e, 0xca, 0x2e, 0x7b, 0x63, 0xb9, 0xc9, 0x34, 0x32, 0x4d, 0x3c, 0xc6, 0x33, 0x81, 0x76,
0x51, 0x01, 0xf1, 0x0a, 0xcb, 0x25, 0x37, 0x70, 0x09, 0x12, 0xe2, 0x2d, 0x78, 0x00, 0x1e, 0x00,
0x21, 0xf1, 0x10, 0x5c, 0xa2, 0x19, 0xdb, 0xf9, 0xde, 0x75, 0x2b, 0xad, 0x84, 0x90, 0xb8, 0xcb,
0x39, 0x73, 0x3e, 0x7e, 0xe7, 0x23, 0xe7, 0x1c, 0xc3, 0xbb, 0x43, 0x42, 0x86, 0x23, 0xac, 0x9e,
0x38,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9, 0x27, 0x41, 0x84,
0xaa, 0x7a, 0x75, 0x54, 0x3f, 0x49, 0xb0, 0xb3, 0xb4, 0xfb, 0xd0, 0xfd, 0x38, 0x64, 0xeb, 0x8f,
0x8e, 0xb8, 0x9e, 0xac, 0x0b, 0x90, 0x7b, 0xf2, 0xfd, 0x4b, 0x81, 0xbc, 0x78, 0x88, 0x17, 0xbd,
0x3c, 0x94, 0xaa, 0x02, 0xed, 0xd2, 0x14, 0x8f, 0x47, 0xbb, 0xfe, 0x42, 0x79, 0xd5, 0x68, 0x9d,
0xf1, 0x32, 0xda, 0xfd, 0x9f, 0x25, 0x90, 0xfb, 0x64, 0x1c, 0x83, 0x6f, 0xff, 0xda, 0xe2, 0x78,
0xe8, 0xf0, 0xd2, 0x76, 0xa4, 0xa7, 0x5a, 0xa8, 0x36, 0x24, 0x23, 0xdb, 0x1d, 0x2a, 0xc4, 0x1f,
0xaa, 0x43, 0xec, 0x8a, 0xc2, 0xab, 0xc1, 0x93, 0xed, 0x39, 0xf4, 0x45, 0x5f, 0x9b, 0x7b, 0x82,
0xfa, 0x21, 0xb1, 0x71, 0xa0, 0x35, 0xbb, 0x3f, 0x26, 0xde, 0x3a, 0x08, 0x8c, 0x69, 0x23, 0x32,
0x19, 0x28, 0x53, 0x87, 0x8a, 0xf0, 0xa8, 0x7c, 0x74, 0x77, 0x9f, 0xeb, 0x1c, 0xa7, 0x84, 0xf5,
0x7b, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xab, 0xb1, 0x04, 0xab, 0x3e, 0x0f, 0x00, 0x00,
}

View File

@ -31,24 +31,29 @@ const (
// The field's values are indexed so as to support sequencing in
// descending order and also query by <, >, <=, >=, and =.
IndexField_DESCENDING IndexField_Mode = 3
// The field's array values are indexed so as to support membership using
// ARRAY_CONTAINS queries.
IndexField_ARRAY_CONTAINS IndexField_Mode = 4
)
var IndexField_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
2: "ASCENDING",
3: "DESCENDING",
4: "ARRAY_CONTAINS",
}
var IndexField_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"ASCENDING": 2,
"DESCENDING": 3,
"ARRAY_CONTAINS": 4,
}
func (x IndexField_Mode) String() string {
return proto.EnumName(IndexField_Mode_name, int32(x))
}
func (IndexField_Mode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_index_8502697994912cbb, []int{0, 0}
return fileDescriptor_index_1d76a8618e50431f, []int{0, 0}
}
// The state of an index. During index creation, an index will be in the
@ -94,7 +99,7 @@ func (x Index_State) String() string {
return proto.EnumName(Index_State_name, int32(x))
}
func (Index_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_index_8502697994912cbb, []int{1, 0}
return fileDescriptor_index_1d76a8618e50431f, []int{1, 0}
}
// A field of an index.
@ -115,7 +120,7 @@ func (m *IndexField) Reset() { *m = IndexField{} }
func (m *IndexField) String() string { return proto.CompactTextString(m) }
func (*IndexField) ProtoMessage() {}
func (*IndexField) Descriptor() ([]byte, []int) {
return fileDescriptor_index_8502697994912cbb, []int{0}
return fileDescriptor_index_1d76a8618e50431f, []int{0}
}
func (m *IndexField) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IndexField.Unmarshal(m, b)
@ -170,7 +175,7 @@ func (m *Index) Reset() { *m = Index{} }
func (m *Index) String() string { return proto.CompactTextString(m) }
func (*Index) ProtoMessage() {}
func (*Index) Descriptor() ([]byte, []int) {
return fileDescriptor_index_8502697994912cbb, []int{1}
return fileDescriptor_index_1d76a8618e50431f, []int{1}
}
func (m *Index) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Index.Unmarshal(m, b)
@ -226,36 +231,37 @@ func init() {
}
func init() {
proto.RegisterFile("google/firestore/admin/v1beta1/index.proto", fileDescriptor_index_8502697994912cbb)
proto.RegisterFile("google/firestore/admin/v1beta1/index.proto", fileDescriptor_index_1d76a8618e50431f)
}
var fileDescriptor_index_8502697994912cbb = []byte{
// 422 bytes of a gzipped FileDescriptorProto
0x1f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0xa8,
0xdb, 0xa2, 0x7b, 0xd1, 0xfe, 0xeb, 0xef, 0x5d, 0x5a, 0xf4, 0xc3, 0x1d, 0x2e, 0xd2, 0x79, 0xf9,
0xcb, 0x7d, 0xbb, 0xe8, 0xcc, 0xd2, 0x5a, 0x7d, 0x61, 0x78, 0x7e, 0x08, 0x10, 0xdb, 0x00, 0x1f,
0x67, 0x89, 0xd1, 0xdc, 0x8c, 0xac, 0xfb, 0xfb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x08, 0xcb,
0x38, 0x95, 0xd8, 0x02, 0x00, 0x00,
var fileDescriptor_index_1d76a8618e50431f = []byte{
// 438 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x5d, 0x8b, 0xd3, 0x40,
0x14, 0x35, 0x69, 0x52, 0xcc, 0x75, 0xb7, 0xc4, 0x41, 0xa1, 0x88, 0x4a, 0x89, 0x3e, 0x94, 0x15,
0x26, 0x74, 0x7d, 0xf4, 0x69, 0xf2, 0xd1, 0x92, 0x87, 0x4d, 0xcb, 0xa4, 0x0a, 0xeb, 0x4b, 0x99,
0x6d, 0x66, 0xb3, 0x81, 0x74, 0xa6, 0x34, 0xa3, 0xf8, 0x1f, 0xfc, 0x17, 0x82, 0x2f, 0xfe, 0x0b,
0xff, 0x99, 0xcc, 0x24, 0x74, 0x41, 0xd0, 0xed, 0xdb, 0x3d, 0x93, 0x73, 0xce, 0x3d, 0xf7, 0xe6,
0xc2, 0x45, 0x25, 0x65, 0xd5, 0xf0, 0xf0, 0xb6, 0x3e, 0xf0, 0x56, 0xc9, 0x03, 0x0f, 0x59, 0xb9,
0xab, 0x45, 0xf8, 0x75, 0x76, 0xc3, 0x15, 0x9b, 0x85, 0xb5, 0x28, 0xf9, 0x37, 0xbc, 0x3f, 0x48,
0x25, 0xd1, 0xeb, 0x8e, 0x8b, 0x8f, 0x5c, 0x6c, 0x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3, 0xa1, 0xd9, 0xce, 0xbb, 0x93, 0x2c, 0x70, 0xa1, 0x25, 0xb4, 0x53, 0x06, 0x11, 0xb8, 0x06,
0xa3, 0xe7, 0xf0, 0xb4, 0x58, 0x93, 0xf5, 0xdf, 0xcb, 0x39, 0x83, 0xc7, 0x31, 0x4d, 0xc9, 0xba,
0xdb, 0x85, 0x07, 0x2e, 0x4d, 0x49, 0x72, 0xed, 0xdb, 0xba, 0x4c, 0x29, 0x5d, 0x52, 0xdf, 0x8d,
0x7e, 0x5a, 0x10, 0x6c, 0xe5, 0xee, 0x81, 0xee, 0x51, 0xf7, 0xd7, 0x57, 0xfa, 0x08, 0x56, 0xd6,
0xe7, 0xb8, 0x67, 0x57, 0xb2, 0x61, 0xa2, 0xc2, 0xf2, 0x50, 0x85, 0x15, 0x17, 0xe6, 0x44, 0xc2,
0xee, 0x13, 0xdb, 0xd7, 0xed, 0xbf, 0xee, 0xf1, 0x83, 0x41, 0x3f, 0x6c, 0x67, 0x11, 0xcf, 0x8b,
0x5f, 0xf6, 0xdb, 0x45, 0x67, 0x16, 0x37, 0xf2, 0x4b, 0x89, 0xe7, 0xc7, 0x00, 0xc4, 0x04, 0xf8,
0x34, 0x8b, 0xb4, 0xe6, 0x66, 0x68, 0xdc, 0xdf, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xbf,
0x61, 0xbe, 0xec, 0x02, 0x00, 0x00,
}

View File

@ -0,0 +1,213 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/firestore/admin/v1beta2/field.proto
package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Represents a single field in the database.
//
// Fields are grouped by their "Collection Group", which represent all
// collections in the database with the same id.
type Field struct {
// A field name of the form
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
//
// A field path may be a simple field name, e.g. `address` or a path to fields
// within map_value , e.g. `address.city`,
// or a special field path. The only valid special field is `*`, which
// represents any field.
//
// Field paths may be quoted using ` (backtick). The only character that needs
// to be escaped within a quoted field path is the backtick character itself,
// escaped using a backslash. Special characters in field paths that
// must be quoted include: `*`, `.`,
// ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
//
// Examples:
// (Note: Comments here are written in markdown syntax, so there is an
// additional layer of backticks to represent a code block)
// `\`address.city\`` represents a field named `address.city`, not the map key
// `city` in the field `address`.
// `\`*\`` represents a field named `*`, not any field.
//
// A special `Field` contains the default indexing settings for all fields.
// This field's resource name is:
// `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
// Indexes defined on this `Field` will be applied to all fields which do not
// have their own `Field` index configuration.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The index configuration for this field. If unset, field indexing will
// revert to the configuration defined by the `ancestor_field`. To
// explicitly remove all indexes for this field, specify an index config
// with an empty list of indexes.
IndexConfig *Field_IndexConfig `protobuf:"bytes,2,opt,name=index_config,json=indexConfig,proto3" json:"index_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Field) Reset() { *m = Field{} }
func (m *Field) String() string { return proto.CompactTextString(m) }
func (*Field) ProtoMessage() {}
func (*Field) Descriptor() ([]byte, []int) {
return fileDescriptor_field_eabd3bc03800743e, []int{0}
}
func (m *Field) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Field.Unmarshal(m, b)
}
func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Field.Marshal(b, m, deterministic)
}
func (dst *Field) XXX_Merge(src proto.Message) {
xxx_messageInfo_Field.Merge(dst, src)
}
func (m *Field) XXX_Size() int {
return xxx_messageInfo_Field.Size(m)
}
func (m *Field) XXX_DiscardUnknown() {
xxx_messageInfo_Field.DiscardUnknown(m)
}
var xxx_messageInfo_Field proto.InternalMessageInfo
func (m *Field) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Field) GetIndexConfig() *Field_IndexConfig {
if m != nil {
return m.IndexConfig
}
return nil
}
// The index configuration for this field.
type Field_IndexConfig struct {
// The indexes supported for this field.
Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"`
// Output only.
// When true, the `Field`'s index configuration is set from the
// configuration specified by the `ancestor_field`.
// When false, the `Field`'s index configuration is defined explicitly.
UsesAncestorConfig bool `protobuf:"varint,2,opt,name=uses_ancestor_config,json=usesAncestorConfig,proto3" json:"uses_ancestor_config,omitempty"`
// Output only.
// Specifies the resource name of the `Field` from which this field's
// index configuration is set (when `uses_ancestor_config` is true),
// or from which it *would* be set if this field had no index configuration
// (when `uses_ancestor_config` is false).
AncestorField string `protobuf:"bytes,3,opt,name=ancestor_field,json=ancestorField,proto3" json:"ancestor_field,omitempty"`
// Output only
// When true, the `Field`'s index configuration is in the process of being
// reverted. Once complete, the index config will transition to the same
// state as the field specified by `ancestor_field`, at which point
// `uses_ancestor_config` will be `true` and `reverting` will be `false`.
Reverting bool `protobuf:"varint,4,opt,name=reverting,proto3" json:"reverting,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Field_IndexConfig) Reset() { *m = Field_IndexConfig{} }
func (m *Field_IndexConfig) String() string { return proto.CompactTextString(m) }
func (*Field_IndexConfig) ProtoMessage() {}
func (*Field_IndexConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_field_eabd3bc03800743e, []int{0, 0}
}
func (m *Field_IndexConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Field_IndexConfig.Unmarshal(m, b)
}
func (m *Field_IndexConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Field_IndexConfig.Marshal(b, m, deterministic)
}
func (dst *Field_IndexConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_Field_IndexConfig.Merge(dst, src)
}
func (m *Field_IndexConfig) XXX_Size() int {
return xxx_messageInfo_Field_IndexConfig.Size(m)
}
func (m *Field_IndexConfig) XXX_DiscardUnknown() {
xxx_messageInfo_Field_IndexConfig.DiscardUnknown(m)
}
var xxx_messageInfo_Field_IndexConfig proto.InternalMessageInfo
func (m *Field_IndexConfig) GetIndexes() []*Index {
if m != nil {
return m.Indexes
}
return nil
}
func (m *Field_IndexConfig) GetUsesAncestorConfig() bool {
if m != nil {
return m.UsesAncestorConfig
}
return false
}
func (m *Field_IndexConfig) GetAncestorField() string {
if m != nil {
return m.AncestorField
}
return ""
}
func (m *Field_IndexConfig) GetReverting() bool {
if m != nil {
return m.Reverting
}
return false
}
func init() {
proto.RegisterType((*Field)(nil), "google.firestore.admin.v1beta2.Field")
proto.RegisterType((*Field_IndexConfig)(nil), "google.firestore.admin.v1beta2.Field.IndexConfig")
}
func init() {
proto.RegisterFile("google/firestore/admin/v1beta2/field.proto", fileDescriptor_field_eabd3bc03800743e)
}
var fileDescriptor_field_eabd3bc03800743e = []byte{
// 346 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0x4a, 0xf3, 0x40,
0x14, 0xc5, 0x99, 0xb4, 0xdf, 0xa7, 0x9d, 0xa8, 0x8b, 0xc1, 0x45, 0x28, 0x45, 0x4a, 0xb1, 0x50,
0x5c, 0xcc, 0xd8, 0xba, 0x74, 0x21, 0x6d, 0xa0, 0xc5, 0x5d, 0x89, 0xe2, 0xc2, 0x4d, 0x99, 0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1b, 0x96, 0x52, 0x39, 0xb2, 0x4b, 0x2f, 0xf6, 0x30, 0x2e,
0x3e, 0xa8, 0xe1, 0x6f, 0x9f, 0xef, 0x6e, 0xdd, 0x4e, 0x5a, 0xb4, 0x91, 0xaa, 0xad, 0x4a, 0x73,
0x63, 0x75, 0x50, 0xc7, 0xb4, 0xc3, 0xc5, 0xe8, 0x83, 0xd0, 0xce, 0x02, 0x56, 0x15, 0x65, 0x47,
0x14, 0xb3, 0xa6, 0xc5, 0xba, 0xa7, 0xe4, 0x35, 0x2c, 0x69, 0x0d, 0x89, 0xb4, 0x9a, 0x43, 0xaa,
0x85, 0x56, 0x16, 0x1f, 0x43, 0x38, 0x49, 0xae, 0x4d, 0xf6, 0xdb, 0xdb, 0xdd, 0xe3, 0xe9, 0xdd,
0xab, 0x4f, 0xc2, 0xf1, 0xd3, 0xa7, 0x77, 0x3d, 0x71, 0x61, 0x61, 0x02, 0x9b, 0x98, 0x8f, 0xf7,
0x05, 0x86, 0x58, 0xe0, 0xa5, 0x3f, 0x2a, 0x3c, 0xf3, 0xff, 0x98, 0x7e, 0xf7, 0x13, 0x00, 0x00,
0xff, 0xff, 0x31, 0xd7, 0xaa, 0xc3, 0x82, 0x02, 0x00, 0x00,
}

View File

@ -0,0 +1,475 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/firestore/admin/v1beta2/firestore_admin.proto
package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/golang/protobuf/ptypes/empty"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import longrunning "google.golang.org/genproto/googleapis/longrunning"
import field_mask "google.golang.org/genproto/protobuf/field_mask"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField].
type UpdateFieldRequest struct {
// The field to be updated.
Field *Field `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
// A mask, relative to the field. If specified, only configuration specified
// by this field_mask will be updated in the field.
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateFieldRequest) Reset() { *m = UpdateFieldRequest{} }
func (m *UpdateFieldRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateFieldRequest) ProtoMessage() {}
func (*UpdateFieldRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{0}
}
func (m *UpdateFieldRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateFieldRequest.Unmarshal(m, b)
}
func (m *UpdateFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateFieldRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateFieldRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateFieldRequest.Merge(dst, src)
}
func (m *UpdateFieldRequest) XXX_Size() int {
return xxx_messageInfo_UpdateFieldRequest.Size(m)
}
func (m *UpdateFieldRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateFieldRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateFieldRequest proto.InternalMessageInfo
func (m *UpdateFieldRequest) GetField() *Field {
if m != nil {
return m.Field
}
return nil
}
func (m *UpdateFieldRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// The request for [FirestoreAdmin.GetField][google.firestore.admin.v1beta2.FirestoreAdmin.GetField].
type GetFieldRequest struct {
// A name of the form
// `/projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetFieldRequest) Reset() { *m = GetFieldRequest{} }
func (m *GetFieldRequest) String() string { return proto.CompactTextString(m) }
func (*GetFieldRequest) ProtoMessage() {}
func (*GetFieldRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{1}
}
func (m *GetFieldRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetFieldRequest.Unmarshal(m, b)
}
func (m *GetFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetFieldRequest.Marshal(b, m, deterministic)
}
func (dst *GetFieldRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetFieldRequest.Merge(dst, src)
}
func (m *GetFieldRequest) XXX_Size() int {
return xxx_messageInfo_GetFieldRequest.Size(m)
}
func (m *GetFieldRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetFieldRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetFieldRequest proto.InternalMessageInfo
func (m *GetFieldRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields].
type ListFieldsRequest struct {
// A parent name of the form
// `/projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The filter to apply to list results. Currently,
// [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields
// that have been explicitly overridden. To issue this query, call
// [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to
// `indexConfig.usesAncestorConfig:false`.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// The number of results to return.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, returned from a previous call to
// [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields], that may be used to get the next
// page of results.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListFieldsRequest) Reset() { *m = ListFieldsRequest{} }
func (m *ListFieldsRequest) String() string { return proto.CompactTextString(m) }
func (*ListFieldsRequest) ProtoMessage() {}
func (*ListFieldsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{2}
}
func (m *ListFieldsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListFieldsRequest.Unmarshal(m, b)
}
func (m *ListFieldsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListFieldsRequest.Marshal(b, m, deterministic)
}
func (dst *ListFieldsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListFieldsRequest.Merge(dst, src)
}
func (m *ListFieldsRequest) XXX_Size() int {
return xxx_messageInfo_ListFieldsRequest.Size(m)
}
func (m *ListFieldsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListFieldsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListFieldsRequest proto.InternalMessageInfo
func (m *ListFieldsRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *ListFieldsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListFieldsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListFieldsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields].
type ListFieldsResponse struct {
// The requested fields.
Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
// A page token that may be used to request another page of results. If blank,
// this is the last page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListFieldsResponse) Reset() { *m = ListFieldsResponse{} }
func (m *ListFieldsResponse) String() string { return proto.CompactTextString(m) }
func (*ListFieldsResponse) ProtoMessage() {}
func (*ListFieldsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_admin_1ffbeeca3c483e85, []int{3}
}
func (m *ListFieldsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListFieldsResponse.Unmarshal(m, b)
}
func (m *ListFieldsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListFieldsResponse.Marshal(b, m, deterministic)
}
func (dst *ListFieldsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListFieldsResponse.Merge(dst, src)
}
func (m *ListFieldsResponse) XXX_Size() int {
return xxx_messageInfo_ListFieldsResponse.Size(m)
}
func (m *ListFieldsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListFieldsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListFieldsResponse proto.InternalMessageInfo
func (m *ListFieldsResponse) GetFields() []*Field {
if m != nil {
return m.Fields
}
return nil
}
func (m *ListFieldsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
func init() {
proto.RegisterType((*UpdateFieldRequest)(nil), "google.firestore.admin.v1beta2.UpdateFieldRequest")
proto.RegisterType((*GetFieldRequest)(nil), "google.firestore.admin.v1beta2.GetFieldRequest")
proto.RegisterType((*ListFieldsRequest)(nil), "google.firestore.admin.v1beta2.ListFieldsRequest")
proto.RegisterType((*ListFieldsResponse)(nil), "google.firestore.admin.v1beta2.ListFieldsResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// FirestoreAdminClient is the client API for FirestoreAdmin service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type FirestoreAdminClient interface {
// Gets the metadata and configuration for a Field.
GetField(ctx context.Context, in *GetFieldRequest, opts ...grpc.CallOption) (*Field, error)
// Updates a field configuration. Currently, field updates apply only to
// single field index configuration. However, calls to
// [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField] should provide a field mask to avoid
// changing any configuration that the caller isn't aware of. The field mask
// should be specified as: `{ paths: "index_config" }`.
//
// This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
// track the status of the field update. The metadata for
// the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1beta2.FieldOperationMetadata].
//
// To configure the default field settings for the database, use
// the special `Field` with resource name:
// `/projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Lists the field configuration and metadata for this database.
//
// Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields
// that have been explicitly overridden. To issue this query, call
// [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to
// `indexConfig.usesAncestorConfig:false`.
ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, error)
}
type firestoreAdminClient struct {
cc *grpc.ClientConn
}
func NewFirestoreAdminClient(cc *grpc.ClientConn) FirestoreAdminClient {
return &firestoreAdminClient{cc}
}
func (c *firestoreAdminClient) GetField(ctx context.Context, in *GetFieldRequest, opts ...grpc.CallOption) (*Field, error) {
out := new(Field)
err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/GetField", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *firestoreAdminClient) UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
out := new(longrunning.Operation)
err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/UpdateField", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *firestoreAdminClient) ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, error) {
out := new(ListFieldsResponse)
err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/ListFields", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// FirestoreAdminServer is the server API for FirestoreAdmin service.
type FirestoreAdminServer interface {
// Gets the metadata and configuration for a Field.
GetField(context.Context, *GetFieldRequest) (*Field, error)
// Updates a field configuration. Currently, field updates apply only to
// single field index configuration. However, calls to
// [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField] should provide a field mask to avoid
// changing any configuration that the caller isn't aware of. The field mask
// should be specified as: `{ paths: "index_config" }`.
//
// This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
// track the status of the field update. The metadata for
// the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1beta2.FieldOperationMetadata].
//
// To configure the default field settings for the database, use
// the special `Field` with resource name:
// `/projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
UpdateField(context.Context, *UpdateFieldRequest) (*longrunning.Operation, error)
// Lists the field configuration and metadata for this database.
//
// Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields
// that have been explicitly overridden. To issue this query, call
// [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to
// `indexConfig.usesAncestorConfig:false`.
ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, error)
}
func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) {
s.RegisterService(&_FirestoreAdmin_serviceDesc, srv)
}
func _FirestoreAdmin_GetField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetFieldRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FirestoreAdminServer).GetField(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/GetField",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FirestoreAdminServer).GetField(ctx, req.(*GetFieldRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FirestoreAdmin_UpdateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateFieldRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FirestoreAdminServer).UpdateField(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/UpdateField",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FirestoreAdminServer).UpdateField(ctx, req.(*UpdateFieldRequest))
}
return interceptor(ctx, in, info, handler)
}
func _FirestoreAdmin_ListFields_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListFieldsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FirestoreAdminServer).ListFields(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/ListFields",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FirestoreAdminServer).ListFields(ctx, req.(*ListFieldsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.firestore.admin.v1beta2.FirestoreAdmin",
HandlerType: (*FirestoreAdminServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetField",
Handler: _FirestoreAdmin_GetField_Handler,
},
{
MethodName: "UpdateField",
Handler: _FirestoreAdmin_UpdateField_Handler,
},
{
MethodName: "ListFields",
Handler: _FirestoreAdmin_ListFields_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/firestore/admin/v1beta2/firestore_admin.proto",
}
func init() {
proto.RegisterFile("google/firestore/admin/v1beta2/firestore_admin.proto", fileDescriptor_firestore_admin_1ffbeeca3c483e85)
}
var fileDescriptor_firestore_admin_1ffbeeca3c483e85 = []byte{
// 610 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c,
0x14, 0x95, 0xd3, 0xb4, 0x6a, 0xa7, 0xfa, 0xbe, 0x8a, 0x41, 0x42, 0x91, 0x4b, 0x51, 0x64, 0x28,
0xaa, 0xba, 0xf0, 0x28, 0x86, 0x15, 0x51, 0x17, 0x24, 0x28, 0x41, 0x08, 0x44, 0x48, 0xf9, 0x91,
0xd8, 0x44, 0x93, 0xf8, 0xc6, 0x32, 0x71, 0x66, 0x8c, 0x67, 0x8c, 0x4a, 0xab, 0x0a, 0x89, 0x07,
0x60, 0xc3, 0x1b, 0xb0, 0x64, 0xd1, 0x3d, 0xab, 0x3e, 0x04, 0xaf, 0xc0, 0x83, 0xa0, 0xf9, 0x71,
0x7e, 0x5a, 0x20, 0x81, 0xdd, 0xcc, 0xbd, 0xe7, 0xdc, 0x7b, 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 0x38, 0x0f, 0x07, 0x8b, 0x24,
0x5c, 0xb6, 0xa9, 0xbb, 0x53, 0x70, 0x66, 0x56, 0xc4, 0x7f, 0x5a, 0xac, 0x88, 0xf7, 0x4a, 0xcb,
0x7d, 0x16, 0x3c, 0x9c, 0xca, 0x35, 0xbb, 0xf8, 0xaf, 0xa2, 0xef, 0x59, 0x87, 0x9f, 0x3b, 0x08,
0x4d, 0xbf, 0x3e, 0xae, 0x2d, 0x92, 0x7e, 0xc9, 0xaa, 0x6e, 0xf0, 0x37, 0x14, 0x63, 0xae, 0x5f,
0x4d, 0xdf, 0x18, 0x7c, 0xf9, 0xa7, 0x9c, 0xda, 0xb7, 0x34, 0xce, 0x1c, 0xe4, 0x0d, 0xf8, 0x78,
0x81, 0x8a, 0xc6, 0xd5, 0x79, 0x97, 0x75, 0xd4, 0xee, 0x76, 0x9c, 0xd7, 0x4d, 0x4b, 0x8b, 0x78,
0x42, 0x59, 0xe4, 0xf3, 0x2c, 0x22, 0x11, 0x30, 0xbd, 0xd9, 0xc4, 0xa4, 0x68, 0x1a, 0x8b, 0xdf,
0xfd, 0xe4, 0xea, 0xfa, 0xf6, 0xa5, 0x54, 0x6e, 0x37, 0x5b, 0x87, 0x5f, 0x4b, 0xb7, 0xda, 0xa6,
0x58, 0x33, 0xe1, 0x79, 0xe8, 0x4f, 0x1a, 0xfa, 0xba, 0xa3, 0xff, 0xb2, 0xd6, 0x50, 0x9c, 0xfe,
0x9a, 0xae, 0x7e, 0xe7, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0xf6, 0x28, 0xdf, 0xe1, 0x05,
0x00, 0x00,
}

View File

@ -0,0 +1,446 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/firestore/admin/v1beta2/index.proto
package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Query Scope defines the scope at which a query is run. This is specified on
// a StructuredQuery's `from` field.
type Index_QueryScope int32
const (
// The query scope is unspecified. Not a valid option.
Index_QUERY_SCOPE_UNSPECIFIED Index_QueryScope = 0
// Indexes with a collection query scope specified allow queries
// against a collection that is the child of a specific document, specified
// at query time, and that has the collection id specified by the index.
Index_COLLECTION Index_QueryScope = 1
)
var Index_QueryScope_name = map[int32]string{
0: "QUERY_SCOPE_UNSPECIFIED",
1: "COLLECTION",
}
var Index_QueryScope_value = map[string]int32{
"QUERY_SCOPE_UNSPECIFIED": 0,
"COLLECTION": 1,
}
func (x Index_QueryScope) String() string {
return proto.EnumName(Index_QueryScope_name, int32(x))
}
func (Index_QueryScope) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0}
}
// The state of an index. During index creation, an index will be in the
// `CREATING` state. If the index is created successfully, it will transition
// to the `READY` state. If the index creation encounters a problem, the index
// will transition to the `NEEDS_REPAIR` state.
type Index_State int32
const (
// The state is unspecified.
Index_STATE_UNSPECIFIED Index_State = 0
// The index is being created.
// There is an active long-running operation for the index.
// The index is updated when writing a document.
// Some index data may exist.
Index_CREATING Index_State = 1
// The index is ready to be used.
// The index is updated when writing a document.
// The index is fully populated from all stored documents it applies to.
Index_READY Index_State = 2
// The index was being created, but something went wrong.
// There is no active long-running operation for the index,
// and the most recently finished long-running operation failed.
// The index is not updated when writing a document.
// Some index data may exist.
// Use the google.longrunning.Operations API to determine why the operation
// that last attempted to create this index failed, then re-create the
// index.
Index_NEEDS_REPAIR Index_State = 3
)
var Index_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "READY",
3: "NEEDS_REPAIR",
}
var Index_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"NEEDS_REPAIR": 3,
}
func (x Index_State) String() string {
return proto.EnumName(Index_State_name, int32(x))
}
func (Index_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 1}
}
// The supported orderings.
type Index_IndexField_Order int32
const (
// The ordering is unspecified. Not a valid option.
Index_IndexField_ORDER_UNSPECIFIED Index_IndexField_Order = 0
// The field is ordered by ascending field value.
Index_IndexField_ASCENDING Index_IndexField_Order = 1
// The field is ordered by descending field value.
Index_IndexField_DESCENDING Index_IndexField_Order = 2
)
var Index_IndexField_Order_name = map[int32]string{
0: "ORDER_UNSPECIFIED",
1: "ASCENDING",
2: "DESCENDING",
}
var Index_IndexField_Order_value = map[string]int32{
"ORDER_UNSPECIFIED": 0,
"ASCENDING": 1,
"DESCENDING": 2,
}
func (x Index_IndexField_Order) String() string {
return proto.EnumName(Index_IndexField_Order_name, int32(x))
}
func (Index_IndexField_Order) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0, 0}
}
// The supported array value configurations.
type Index_IndexField_ArrayConfig int32
const (
// The index does not support additional array queries.
Index_IndexField_ARRAY_CONFIG_UNSPECIFIED Index_IndexField_ArrayConfig = 0
// The index supports array containment queries.
Index_IndexField_CONTAINS Index_IndexField_ArrayConfig = 1
)
var Index_IndexField_ArrayConfig_name = map[int32]string{
0: "ARRAY_CONFIG_UNSPECIFIED",
1: "CONTAINS",
}
var Index_IndexField_ArrayConfig_value = map[string]int32{
"ARRAY_CONFIG_UNSPECIFIED": 0,
"CONTAINS": 1,
}
func (x Index_IndexField_ArrayConfig) String() string {
return proto.EnumName(Index_IndexField_ArrayConfig_name, int32(x))
}
func (Index_IndexField_ArrayConfig) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0, 1}
}
// Cloud Firestore indexes enable simple and complex queries against
// documents in a database.
type Index struct {
// Output only.
// A server defined name for this index.
// The form of this name for composite indexes will be:
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{composite_index_id}`
// For single field indexes, this field will be empty.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Indexes with a collection query scope specified allow queries
// against a collection that is the child of a specific document, specified at
// query time, and that has the same collection id.
//
// Indexes with a collection group query scope specified allow queries against
// all collections descended from a specific document, specified at query
// time, and that have the same collection id as this index.
QueryScope Index_QueryScope `protobuf:"varint,2,opt,name=query_scope,json=queryScope,proto3,enum=google.firestore.admin.v1beta2.Index_QueryScope" json:"query_scope,omitempty"`
// The fields supported by this index.
//
// For composite indexes, this is always 2 or more fields.
// The last field entry is always for the field path `__name__`. If, on
// creation, `__name__` was not specified as the last field, it will be added
// automatically with the same direction as that of the last field defined. If
// the final field in a composite index is not directional, the `__name__`
// will be ordered ASCENDING (unless explicitly specified).
//
// For single field indexes, this will always be exactly one entry with a
// field path equal to the field path of the associated field.
Fields []*Index_IndexField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
// Output only.
// The serving state of the index.
State Index_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.firestore.admin.v1beta2.Index_State" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Index) Reset() { *m = Index{} }
func (m *Index) String() string { return proto.CompactTextString(m) }
func (*Index) ProtoMessage() {}
func (*Index) Descriptor() ([]byte, []int) {
return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0}
}
func (m *Index) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Index.Unmarshal(m, b)
}
func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Index.Marshal(b, m, deterministic)
}
func (dst *Index) XXX_Merge(src proto.Message) {
xxx_messageInfo_Index.Merge(dst, src)
}
func (m *Index) XXX_Size() int {
return xxx_messageInfo_Index.Size(m)
}
func (m *Index) XXX_DiscardUnknown() {
xxx_messageInfo_Index.DiscardUnknown(m)
}
var xxx_messageInfo_Index proto.InternalMessageInfo
func (m *Index) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Index) GetQueryScope() Index_QueryScope {
if m != nil {
return m.QueryScope
}
return Index_QUERY_SCOPE_UNSPECIFIED
}
func (m *Index) GetFields() []*Index_IndexField {
if m != nil {
return m.Fields
}
return nil
}
func (m *Index) GetState() Index_State {
if m != nil {
return m.State
}
return Index_STATE_UNSPECIFIED
}
// A field in an index.
// The field_path describes which field is indexed, the value_mode describes
// how the field value is indexed.
type Index_IndexField struct {
// Can be __name__.
// For single field indexes, this must match the name of the field or may
// be omitted.
FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
// How the field value is indexed.
//
// Types that are valid to be assigned to ValueMode:
// *Index_IndexField_Order_
// *Index_IndexField_ArrayConfig_
ValueMode isIndex_IndexField_ValueMode `protobuf_oneof:"value_mode"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Index_IndexField) Reset() { *m = Index_IndexField{} }
func (m *Index_IndexField) String() string { return proto.CompactTextString(m) }
func (*Index_IndexField) ProtoMessage() {}
func (*Index_IndexField) Descriptor() ([]byte, []int) {
return fileDescriptor_index_47cf3a5e57bc9ffa, []int{0, 0}
}
func (m *Index_IndexField) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Index_IndexField.Unmarshal(m, b)
}
func (m *Index_IndexField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Index_IndexField.Marshal(b, m, deterministic)
}
func (dst *Index_IndexField) XXX_Merge(src proto.Message) {
xxx_messageInfo_Index_IndexField.Merge(dst, src)
}
func (m *Index_IndexField) XXX_Size() int {
return xxx_messageInfo_Index_IndexField.Size(m)
}
func (m *Index_IndexField) XXX_DiscardUnknown() {
xxx_messageInfo_Index_IndexField.DiscardUnknown(m)
}
var xxx_messageInfo_Index_IndexField proto.InternalMessageInfo
func (m *Index_IndexField) GetFieldPath() string {
if m != nil {
return m.FieldPath
}
return ""
}
type isIndex_IndexField_ValueMode interface {
isIndex_IndexField_ValueMode()
}
type Index_IndexField_Order_ struct {
Order Index_IndexField_Order `protobuf:"varint,2,opt,name=order,proto3,enum=google.firestore.admin.v1beta2.Index_IndexField_Order,oneof"`
}
type Index_IndexField_ArrayConfig_ struct {
ArrayConfig Index_IndexField_ArrayConfig `protobuf:"varint,3,opt,name=array_config,json=arrayConfig,proto3,enum=google.firestore.admin.v1beta2.Index_IndexField_ArrayConfig,oneof"`
}
func (*Index_IndexField_Order_) isIndex_IndexField_ValueMode() {}
func (*Index_IndexField_ArrayConfig_) isIndex_IndexField_ValueMode() {}
func (m *Index_IndexField) GetValueMode() isIndex_IndexField_ValueMode {
if m != nil {
return m.ValueMode
}
return nil
}
func (m *Index_IndexField) GetOrder() Index_IndexField_Order {
if x, ok := m.GetValueMode().(*Index_IndexField_Order_); ok {
return x.Order
}
return Index_IndexField_ORDER_UNSPECIFIED
}
func (m *Index_IndexField) GetArrayConfig() Index_IndexField_ArrayConfig {
if x, ok := m.GetValueMode().(*Index_IndexField_ArrayConfig_); ok {
return x.ArrayConfig
}
return Index_IndexField_ARRAY_CONFIG_UNSPECIFIED
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Index_IndexField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Index_IndexField_OneofMarshaler, _Index_IndexField_OneofUnmarshaler, _Index_IndexField_OneofSizer, []interface{}{
(*Index_IndexField_Order_)(nil),
(*Index_IndexField_ArrayConfig_)(nil),
}
}
func _Index_IndexField_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Index_IndexField)
// value_mode
switch x := m.ValueMode.(type) {
case *Index_IndexField_Order_:
b.EncodeVarint(2<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.Order))
case *Index_IndexField_ArrayConfig_:
b.EncodeVarint(3<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.ArrayConfig))
case nil:
default:
return fmt.Errorf("Index_IndexField.ValueMode has unexpected type %T", x)
}
return nil
}
func _Index_IndexField_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Index_IndexField)
switch tag {
case 2: // value_mode.order
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.ValueMode = &Index_IndexField_Order_{Index_IndexField_Order(x)}
return true, err
case 3: // value_mode.array_config
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.ValueMode = &Index_IndexField_ArrayConfig_{Index_IndexField_ArrayConfig(x)}
return true, err
default:
return false, nil
}
}
func _Index_IndexField_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Index_IndexField)
// value_mode
switch x := m.ValueMode.(type) {
case *Index_IndexField_Order_:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.Order))
case *Index_IndexField_ArrayConfig_:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.ArrayConfig))
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
func init() {
proto.RegisterType((*Index)(nil), "google.firestore.admin.v1beta2.Index")
proto.RegisterType((*Index_IndexField)(nil), "google.firestore.admin.v1beta2.Index.IndexField")
proto.RegisterEnum("google.firestore.admin.v1beta2.Index_QueryScope", Index_QueryScope_name, Index_QueryScope_value)
proto.RegisterEnum("google.firestore.admin.v1beta2.Index_State", Index_State_name, Index_State_value)
proto.RegisterEnum("google.firestore.admin.v1beta2.Index_IndexField_Order", Index_IndexField_Order_name, Index_IndexField_Order_value)
proto.RegisterEnum("google.firestore.admin.v1beta2.Index_IndexField_ArrayConfig", Index_IndexField_ArrayConfig_name, Index_IndexField_ArrayConfig_value)
}
func init() {
proto.RegisterFile("google/firestore/admin/v1beta2/index.proto", fileDescriptor_index_47cf3a5e57bc9ffa)
}
var fileDescriptor_index_47cf3a5e57bc9ffa = []byte{
// 545 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x6b, 0xdb, 0x4c,
0x10, 0xc6, 0x23, 0x39, 0x0a, 0xaf, 0xc7, 0x7e, 0x83, 0xba, 0x50, 0x2a, 0xd2, 0xb4, 0x18, 0xd1,
0x83, 0x69, 0x41, 0x6a, 0x52, 0x28, 0x84, 0xb6, 0x07, 0x59, 0x5a, 0xdb, 0x82, 0x20, 0xc9, 0x2b,
0xa7, 0xe0, 0x5e, 0xc4, 0xc6, 0x5a, 0x2b, 0x02, 0x5b, 0xeb, 0x48, 0x72, 0x68, 0xbe, 0x4e, 0xa1,
0x97, 0x7e, 0xb0, 0x1e, 0xfa, 0x29, 0x8a, 0x56, 0xc2, 0x2e, 0xa1, 0x7f, 0x92, 0x8b, 0xd8, 0x91,
0x9e, 0xe7, 0x37, 0xb3, 0xa3, 0x19, 0x78, 0x99, 0x70, 0x9e, 0x2c, 0x99, 0xb9, 0x48, 0x73, 0x56,
0x94, 0x3c, 0x67, 0x26, 0x8d, 0x57, 0x69, 0x66, 0xde, 0x9c, 0x5c, 0xb2, 0x92, 0x9e, 0x9a, 0x69,
0x16, 0xb3, 0xcf, 0xc6, 0x3a, 0xe7, 0x25, 0x47, 0xcf, 0x6b, 0xad, 0xb1, 0xd5, 0x1a, 0x42, 0x6b,
0x34, 0xda, 0xa3, 0xe3, 0x86, 0x45, 0xd7, 0xa9, 0x49, 0xb3, 0x8c, 0x97, 0xb4, 0x4c, 0x79, 0x56,
0xd4, 0x6e, 0xfd, 0x87, 0x02, 0x8a, 0x5b, 0xd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, 0x4b, 0x14, 0xf0, 0xf1, 0x64, 0x50, 0x79, 0x2e, 0x0f,
0x04, 0xfd, 0xcd, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xcd, 0x75, 0x16, 0x07, 0x04, 0x00,
0x00,
}

View File

@ -0,0 +1,361 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/firestore/admin/v1beta2/operation.proto
package admin // import "google.golang.org/genproto/googleapis/firestore/admin/v1beta2"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _ "google.golang.org/genproto/googleapis/api/annotations"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Describes the state of the operation.
type OperationState int32
const (
// Unspecified.
OperationState_OPERATION_STATE_UNSPECIFIED OperationState = 0
// Request is being prepared for processing.
OperationState_INITIALIZING OperationState = 1
// Request is actively being processed.
OperationState_PROCESSING OperationState = 2
// Request is in the process of being cancelled after user called
// google.longrunning.Operations.CancelOperation on the operation.
OperationState_CANCELLING OperationState = 3
// Request has been processed and is in its finalization stage.
OperationState_FINALIZING OperationState = 4
// Request has completed successfully.
OperationState_SUCCESSFUL OperationState = 5
// Request has finished being processed, but encountered an error.
OperationState_FAILED OperationState = 6
// Request has finished being cancelled after user called
// google.longrunning.Operations.CancelOperation.
OperationState_CANCELLED OperationState = 7
)
var OperationState_name = map[int32]string{
0: "OPERATION_STATE_UNSPECIFIED",
1: "INITIALIZING",
2: "PROCESSING",
3: "CANCELLING",
4: "FINALIZING",
5: "SUCCESSFUL",
6: "FAILED",
7: "CANCELLED",
}
var OperationState_value = map[string]int32{
"OPERATION_STATE_UNSPECIFIED": 0,
"INITIALIZING": 1,
"PROCESSING": 2,
"CANCELLING": 3,
"FINALIZING": 4,
"SUCCESSFUL": 5,
"FAILED": 6,
"CANCELLED": 7,
}
func (x OperationState) String() string {
return proto.EnumName(OperationState_name, int32(x))
}
func (OperationState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_operation_3f6f641f194f3566, []int{0}
}
// Specifies how the index is changing.
type FieldOperationMetadata_IndexConfigDelta_ChangeType int32
const (
// The type of change is not specified or known.
FieldOperationMetadata_IndexConfigDelta_CHANGE_TYPE_UNSPECIFIED FieldOperationMetadata_IndexConfigDelta_ChangeType = 0
// The single field index is being added.
FieldOperationMetadata_IndexConfigDelta_ADD FieldOperationMetadata_IndexConfigDelta_ChangeType = 1
// The single field index is being removed.
FieldOperationMetadata_IndexConfigDelta_REMOVE FieldOperationMetadata_IndexConfigDelta_ChangeType = 2
)
var FieldOperationMetadata_IndexConfigDelta_ChangeType_name = map[int32]string{
0: "CHANGE_TYPE_UNSPECIFIED",
1: "ADD",
2: "REMOVE",
}
var FieldOperationMetadata_IndexConfigDelta_ChangeType_value = map[string]int32{
"CHANGE_TYPE_UNSPECIFIED": 0,
"ADD": 1,
"REMOVE": 2,
}
func (x FieldOperationMetadata_IndexConfigDelta_ChangeType) String() string {
return proto.EnumName(FieldOperationMetadata_IndexConfigDelta_ChangeType_name, int32(x))
}
func (FieldOperationMetadata_IndexConfigDelta_ChangeType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_operation_3f6f641f194f3566, []int{0, 0, 0}
}
// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
// [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField].
type FieldOperationMetadata struct {
// The time this operation started.
StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The time this operation completed. Will be unset if operation still in
// progress.
EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The field resource that this operation is acting on. For example:
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
// A list of [IndexConfigDelta][google.firestore.admin.v1beta2.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
// operation.
IndexConfigDeltas []*FieldOperationMetadata_IndexConfigDelta `protobuf:"bytes,4,rep,name=index_config_deltas,json=indexConfigDeltas,proto3" json:"index_config_deltas,omitempty"`
// The state of the operation.
State OperationState `protobuf:"varint,5,opt,name=state,proto3,enum=google.firestore.admin.v1beta2.OperationState" json:"state,omitempty"`
// The progress, in documents, of this operation.
DocumentProgress *Progress `protobuf:"bytes,6,opt,name=document_progress,json=documentProgress,proto3" json:"document_progress,omitempty"`
// The progress, in bytes, of this operation.
BytesProgress *Progress `protobuf:"bytes,7,opt,name=bytes_progress,json=bytesProgress,proto3" json:"bytes_progress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FieldOperationMetadata) Reset() { *m = FieldOperationMetadata{} }
func (m *FieldOperationMetadata) String() string { return proto.CompactTextString(m) }
func (*FieldOperationMetadata) ProtoMessage() {}
func (*FieldOperationMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_operation_3f6f641f194f3566, []int{0}
}
func (m *FieldOperationMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FieldOperationMetadata.Unmarshal(m, b)
}
func (m *FieldOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FieldOperationMetadata.Marshal(b, m, deterministic)
}
func (dst *FieldOperationMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_FieldOperationMetadata.Merge(dst, src)
}
func (m *FieldOperationMetadata) XXX_Size() int {
return xxx_messageInfo_FieldOperationMetadata.Size(m)
}
func (m *FieldOperationMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_FieldOperationMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_FieldOperationMetadata proto.InternalMessageInfo
func (m *FieldOperationMetadata) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *FieldOperationMetadata) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
func (m *FieldOperationMetadata) GetField() string {
if m != nil {
return m.Field
}
return ""
}
func (m *FieldOperationMetadata) GetIndexConfigDeltas() []*FieldOperationMetadata_IndexConfigDelta {
if m != nil {
return m.IndexConfigDeltas
}
return nil
}
func (m *FieldOperationMetadata) GetState() OperationState {
if m != nil {
return m.State
}
return OperationState_OPERATION_STATE_UNSPECIFIED
}
func (m *FieldOperationMetadata) GetDocumentProgress() *Progress {
if m != nil {
return m.DocumentProgress
}
return nil
}
func (m *FieldOperationMetadata) GetBytesProgress() *Progress {
if m != nil {
return m.BytesProgress
}
return nil
}
// Information about an index configuration change.
type FieldOperationMetadata_IndexConfigDelta struct {
// Specifies how the index is changing.
ChangeType FieldOperationMetadata_IndexConfigDelta_ChangeType `protobuf:"varint,1,opt,name=change_type,json=changeType,proto3,enum=google.firestore.admin.v1beta2.FieldOperationMetadata_IndexConfigDelta_ChangeType" json:"change_type,omitempty"`
// The index being changed.
Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FieldOperationMetadata_IndexConfigDelta) Reset() {
*m = FieldOperationMetadata_IndexConfigDelta{}
}
func (m *FieldOperationMetadata_IndexConfigDelta) String() string { return proto.CompactTextString(m) }
func (*FieldOperationMetadata_IndexConfigDelta) ProtoMessage() {}
func (*FieldOperationMetadata_IndexConfigDelta) Descriptor() ([]byte, []int) {
return fileDescriptor_operation_3f6f641f194f3566, []int{0, 0}
}
func (m *FieldOperationMetadata_IndexConfigDelta) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Unmarshal(m, b)
}
func (m *FieldOperationMetadata_IndexConfigDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Marshal(b, m, deterministic)
}
func (dst *FieldOperationMetadata_IndexConfigDelta) XXX_Merge(src proto.Message) {
xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Merge(dst, src)
}
func (m *FieldOperationMetadata_IndexConfigDelta) XXX_Size() int {
return xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Size(m)
}
func (m *FieldOperationMetadata_IndexConfigDelta) XXX_DiscardUnknown() {
xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.DiscardUnknown(m)
}
var xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta proto.InternalMessageInfo
func (m *FieldOperationMetadata_IndexConfigDelta) GetChangeType() FieldOperationMetadata_IndexConfigDelta_ChangeType {
if m != nil {
return m.ChangeType
}
return FieldOperationMetadata_IndexConfigDelta_CHANGE_TYPE_UNSPECIFIED
}
func (m *FieldOperationMetadata_IndexConfigDelta) GetIndex() *Index {
if m != nil {
return m.Index
}
return nil
}
// Describes the progress of the operation.
// Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1beta2.Progress]
// is used.
type Progress struct {
// The amount of work estimated.
EstimatedWork int64 `protobuf:"varint,1,opt,name=estimated_work,json=estimatedWork,proto3" json:"estimated_work,omitempty"`
// The amount of work completed.
CompletedWork int64 `protobuf:"varint,2,opt,name=completed_work,json=completedWork,proto3" json:"completed_work,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Progress) Reset() { *m = Progress{} }
func (m *Progress) String() string { return proto.CompactTextString(m) }
func (*Progress) ProtoMessage() {}
func (*Progress) Descriptor() ([]byte, []int) {
return fileDescriptor_operation_3f6f641f194f3566, []int{1}
}
func (m *Progress) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Progress.Unmarshal(m, b)
}
func (m *Progress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Progress.Marshal(b, m, deterministic)
}
func (dst *Progress) XXX_Merge(src proto.Message) {
xxx_messageInfo_Progress.Merge(dst, src)
}
func (m *Progress) XXX_Size() int {
return xxx_messageInfo_Progress.Size(m)
}
func (m *Progress) XXX_DiscardUnknown() {
xxx_messageInfo_Progress.DiscardUnknown(m)
}
var xxx_messageInfo_Progress proto.InternalMessageInfo
func (m *Progress) GetEstimatedWork() int64 {
if m != nil {
return m.EstimatedWork
}
return 0
}
func (m *Progress) GetCompletedWork() int64 {
if m != nil {
return m.CompletedWork
}
return 0
}
func init() {
proto.RegisterType((*FieldOperationMetadata)(nil), "google.firestore.admin.v1beta2.FieldOperationMetadata")
proto.RegisterType((*FieldOperationMetadata_IndexConfigDelta)(nil), "google.firestore.admin.v1beta2.FieldOperationMetadata.IndexConfigDelta")
proto.RegisterType((*Progress)(nil), "google.firestore.admin.v1beta2.Progress")
proto.RegisterEnum("google.firestore.admin.v1beta2.OperationState", OperationState_name, OperationState_value)
proto.RegisterEnum("google.firestore.admin.v1beta2.FieldOperationMetadata_IndexConfigDelta_ChangeType", FieldOperationMetadata_IndexConfigDelta_ChangeType_name, FieldOperationMetadata_IndexConfigDelta_ChangeType_value)
}
func init() {
proto.RegisterFile("google/firestore/admin/v1beta2/operation.proto", fileDescriptor_operation_3f6f641f194f3566)
}
var fileDescriptor_operation_3f6f641f194f3566 = []byte{
// 665 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x4f, 0x6f, 0x12, 0x4f,
0x1c, 0xc6, 0x7f, 0x0b, 0x05, 0xda, 0x6f, 0x7f, 0x25, 0xdb, 0xd1, 0x28, 0xa1, 0xc6, 0x12, 0x62,
0x13, 0xd2, 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 0xee, 0xb3, 0xbb, 0x21, 0x26, 0xe2, 0x2d, 0x4f,
0x94, 0x4b, 0x23, 0x4b, 0x78, 0x6c, 0x4d, 0x42, 0x0f, 0xb3, 0xd8, 0xd3, 0x3c, 0x1a, 0xca, 0x97,
0xae, 0xa5, 0x5f, 0x91, 0xc8, 0x4f, 0x7e, 0xf7, 0x87, 0x75, 0x2a, 0xd5, 0xd7, 0xd2, 0xd6, 0xc0,
0xe8, 0x4f, 0xbf, 0x97, 0x9e, 0x0d, 0x52, 0x98, 0xb1, 0x66, 0xd7, 0x2e, 0xee, 0x17, 0x4d, 0xe8,
0xb2, 0x89, 0x8b, 0x93, 0x33, 0x91, 0x59, 0x54, 0x25, 0xfd, 0xf9, 0x8f, 0x00, 0x00, 0x00, 0xff,
0xff, 0x2e, 0x32, 0x9e, 0x39, 0x7b, 0x05, 0x00, 0x00,
}

View File

@ -38,7 +38,7 @@ func (m *DocumentMask) Reset() { *m = DocumentMask{} }
func (m *DocumentMask) String() string { return proto.CompactTextString(m) }
func (*DocumentMask) ProtoMessage() {}
func (*DocumentMask) Descriptor() ([]byte, []int) {
return fileDescriptor_common_0837eaa712bfb362, []int{0}
return fileDescriptor_common_ed079c0d96917e99, []int{0}
}
func (m *DocumentMask) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DocumentMask.Unmarshal(m, b)
@ -82,7 +82,7 @@ func (m *Precondition) Reset() { *m = Precondition{} }
func (m *Precondition) String() string { return proto.CompactTextString(m) }
func (*Precondition) ProtoMessage() {}
func (*Precondition) Descriptor() ([]byte, []int) {
return fileDescriptor_common_0837eaa712bfb362, []int{1}
return fileDescriptor_common_ed079c0d96917e99, []int{1}
}
func (m *Precondition) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Precondition.Unmarshal(m, b)
@ -229,7 +229,7 @@ func (m *TransactionOptions) Reset() { *m = TransactionOptions{} }
func (m *TransactionOptions) String() string { return proto.CompactTextString(m) }
func (*TransactionOptions) ProtoMessage() {}
func (*TransactionOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_common_0837eaa712bfb362, []int{2}
return fileDescriptor_common_ed079c0d96917e99, []int{2}
}
func (m *TransactionOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionOptions.Unmarshal(m, b)
@ -373,7 +373,7 @@ func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions
func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) }
func (*TransactionOptions_ReadWrite) ProtoMessage() {}
func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) {
return fileDescriptor_common_0837eaa712bfb362, []int{2, 0}
return fileDescriptor_common_ed079c0d96917e99, []int{2, 0}
}
func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b)
@ -417,7 +417,7 @@ func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_
func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) }
func (*TransactionOptions_ReadOnly) ProtoMessage() {}
func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) {
return fileDescriptor_common_0837eaa712bfb362, []int{2, 1}
return fileDescriptor_common_ed079c0d96917e99, []int{2, 1}
}
func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b)
@ -525,10 +525,10 @@ func init() {
}
func init() {
proto.RegisterFile("google/firestore/v1beta1/common.proto", fileDescriptor_common_0837eaa712bfb362)
proto.RegisterFile("google/firestore/v1beta1/common.proto", fileDescriptor_common_ed079c0d96917e99)
}
var fileDescriptor_common_0837eaa712bfb362 = []byte{
var fileDescriptor_common_ed079c0d96917e99 = []byte{
// 468 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xef, 0x8a, 0xd3, 0x40,
0x10, 0x6f, 0x7a, 0xc7, 0xd1, 0x4e, 0x8b, 0x9c, 0x41, 0x24, 0x84, 0xc3, 0x3b, 0x0a, 0x42, 0x41,

View File

@ -34,7 +34,7 @@ type Document struct {
// The map keys represent field names.
//
// A simple field name contains only characters `a` to `z`, `A` to `Z`,
// `0` to `9`, or `_`, and must not start with `0` to `9` or `_`. For example,
// `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
// `foo_bar_17`.
//
// Field names matching the regular expression `__.*__` are reserved. Reserved
@ -62,7 +62,7 @@ type Document struct {
CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time at which the document was last changed.
//
// This value is initally set to the `create_time` then increases
// This value is initially set to the `create_time` then increases
// monotonically with each change to the document. It can also be
// compared to values from other documents and the `read_time` of a query.
UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
@ -75,7 +75,7 @@ func (m *Document) Reset() { *m = Document{} }
func (m *Document) String() string { return proto.CompactTextString(m) }
func (*Document) ProtoMessage() {}
func (*Document) Descriptor() ([]byte, []int) {
return fileDescriptor_document_0cab453ff2a9f3d2, []int{0}
return fileDescriptor_document_fe46ba4c8da20ac8, []int{0}
}
func (m *Document) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Document.Unmarshal(m, b)
@ -149,7 +149,7 @@ func (m *Value) Reset() { *m = Value{} }
func (m *Value) String() string { return proto.CompactTextString(m) }
func (*Value) ProtoMessage() {}
func (*Value) Descriptor() ([]byte, []int) {
return fileDescriptor_document_0cab453ff2a9f3d2, []int{1}
return fileDescriptor_document_fe46ba4c8da20ac8, []int{1}
}
func (m *Value) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Value.Unmarshal(m, b)
@ -553,7 +553,7 @@ func (m *ArrayValue) Reset() { *m = ArrayValue{} }
func (m *ArrayValue) String() string { return proto.CompactTextString(m) }
func (*ArrayValue) ProtoMessage() {}
func (*ArrayValue) Descriptor() ([]byte, []int) {
return fileDescriptor_document_0cab453ff2a9f3d2, []int{2}
return fileDescriptor_document_fe46ba4c8da20ac8, []int{2}
}
func (m *ArrayValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ArrayValue.Unmarshal(m, b)
@ -598,7 +598,7 @@ func (m *MapValue) Reset() { *m = MapValue{} }
func (m *MapValue) String() string { return proto.CompactTextString(m) }
func (*MapValue) ProtoMessage() {}
func (*MapValue) Descriptor() ([]byte, []int) {
return fileDescriptor_document_0cab453ff2a9f3d2, []int{3}
return fileDescriptor_document_fe46ba4c8da20ac8, []int{3}
}
func (m *MapValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MapValue.Unmarshal(m, b)
@ -635,10 +635,10 @@ func init() {
}
func init() {
proto.RegisterFile("google/firestore/v1beta1/document.proto", fileDescriptor_document_0cab453ff2a9f3d2)
proto.RegisterFile("google/firestore/v1beta1/document.proto", fileDescriptor_document_fe46ba4c8da20ac8)
}
var fileDescriptor_document_0cab453ff2a9f3d2 = []byte{
var fileDescriptor_document_fe46ba4c8da20ac8 = []byte{
// 655 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xcf, 0x6e, 0xd3, 0x4c,
0x14, 0xc5, 0xe3, 0x24, 0x8d, 0x92, 0xeb, 0xb4, 0xfd, 0x3e, 0xb3, 0x89, 0xa2, 0x8a, 0x86, 0x00,

View File

@ -73,7 +73,7 @@ func (x TargetChange_TargetChangeType) String() string {
return proto.EnumName(TargetChange_TargetChangeType_name, int32(x))
}
func (TargetChange_TargetChangeType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{20, 0}
return fileDescriptor_firestore_6b2b6098f593317e, []int{20, 0}
}
// The request for [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument].
@ -102,7 +102,7 @@ func (m *GetDocumentRequest) Reset() { *m = GetDocumentRequest{} }
func (m *GetDocumentRequest) String() string { return proto.CompactTextString(m) }
func (*GetDocumentRequest) ProtoMessage() {}
func (*GetDocumentRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{0}
return fileDescriptor_firestore_6b2b6098f593317e, []int{0}
}
func (m *GetDocumentRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDocumentRequest.Unmarshal(m, b)
@ -290,7 +290,7 @@ func (m *ListDocumentsRequest) Reset() { *m = ListDocumentsRequest{} }
func (m *ListDocumentsRequest) String() string { return proto.CompactTextString(m) }
func (*ListDocumentsRequest) ProtoMessage() {}
func (*ListDocumentsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{1}
return fileDescriptor_firestore_6b2b6098f593317e, []int{1}
}
func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListDocumentsRequest.Unmarshal(m, b)
@ -481,7 +481,7 @@ func (m *ListDocumentsResponse) Reset() { *m = ListDocumentsResponse{} }
func (m *ListDocumentsResponse) String() string { return proto.CompactTextString(m) }
func (*ListDocumentsResponse) ProtoMessage() {}
func (*ListDocumentsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{2}
return fileDescriptor_firestore_6b2b6098f593317e, []int{2}
}
func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListDocumentsResponse.Unmarshal(m, b)
@ -543,7 +543,7 @@ func (m *CreateDocumentRequest) Reset() { *m = CreateDocumentRequest{} }
func (m *CreateDocumentRequest) String() string { return proto.CompactTextString(m) }
func (*CreateDocumentRequest) ProtoMessage() {}
func (*CreateDocumentRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{3}
return fileDescriptor_firestore_6b2b6098f593317e, []int{3}
}
func (m *CreateDocumentRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateDocumentRequest.Unmarshal(m, b)
@ -628,7 +628,7 @@ func (m *UpdateDocumentRequest) Reset() { *m = UpdateDocumentRequest{} }
func (m *UpdateDocumentRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateDocumentRequest) ProtoMessage() {}
func (*UpdateDocumentRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{4}
return fileDescriptor_firestore_6b2b6098f593317e, []int{4}
}
func (m *UpdateDocumentRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateDocumentRequest.Unmarshal(m, b)
@ -693,7 +693,7 @@ func (m *DeleteDocumentRequest) Reset() { *m = DeleteDocumentRequest{} }
func (m *DeleteDocumentRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteDocumentRequest) ProtoMessage() {}
func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{5}
return fileDescriptor_firestore_6b2b6098f593317e, []int{5}
}
func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteDocumentRequest.Unmarshal(m, b)
@ -759,7 +759,7 @@ func (m *BatchGetDocumentsRequest) Reset() { *m = BatchGetDocumentsReque
func (m *BatchGetDocumentsRequest) String() string { return proto.CompactTextString(m) }
func (*BatchGetDocumentsRequest) ProtoMessage() {}
func (*BatchGetDocumentsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{6}
return fileDescriptor_firestore_6b2b6098f593317e, []int{6}
}
func (m *BatchGetDocumentsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchGetDocumentsRequest.Unmarshal(m, b)
@ -966,7 +966,7 @@ func (m *BatchGetDocumentsResponse) Reset() { *m = BatchGetDocumentsResp
func (m *BatchGetDocumentsResponse) String() string { return proto.CompactTextString(m) }
func (*BatchGetDocumentsResponse) ProtoMessage() {}
func (*BatchGetDocumentsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{7}
return fileDescriptor_firestore_6b2b6098f593317e, []int{7}
}
func (m *BatchGetDocumentsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchGetDocumentsResponse.Unmarshal(m, b)
@ -1124,7 +1124,7 @@ func (m *BeginTransactionRequest) Reset() { *m = BeginTransactionRequest
func (m *BeginTransactionRequest) String() string { return proto.CompactTextString(m) }
func (*BeginTransactionRequest) ProtoMessage() {}
func (*BeginTransactionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{8}
return fileDescriptor_firestore_6b2b6098f593317e, []int{8}
}
func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b)
@ -1171,7 +1171,7 @@ func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionRespon
func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) }
func (*BeginTransactionResponse) ProtoMessage() {}
func (*BeginTransactionResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{9}
return fileDescriptor_firestore_6b2b6098f593317e, []int{9}
}
func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b)
@ -1218,7 +1218,7 @@ func (m *CommitRequest) Reset() { *m = CommitRequest{} }
func (m *CommitRequest) String() string { return proto.CompactTextString(m) }
func (*CommitRequest) ProtoMessage() {}
func (*CommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{10}
return fileDescriptor_firestore_6b2b6098f593317e, []int{10}
}
func (m *CommitRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommitRequest.Unmarshal(m, b)
@ -1277,7 +1277,7 @@ func (m *CommitResponse) Reset() { *m = CommitResponse{} }
func (m *CommitResponse) String() string { return proto.CompactTextString(m) }
func (*CommitResponse) ProtoMessage() {}
func (*CommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{11}
return fileDescriptor_firestore_6b2b6098f593317e, []int{11}
}
func (m *CommitResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommitResponse.Unmarshal(m, b)
@ -1327,7 +1327,7 @@ func (m *RollbackRequest) Reset() { *m = RollbackRequest{} }
func (m *RollbackRequest) String() string { return proto.CompactTextString(m) }
func (*RollbackRequest) ProtoMessage() {}
func (*RollbackRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{12}
return fileDescriptor_firestore_6b2b6098f593317e, []int{12}
}
func (m *RollbackRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RollbackRequest.Unmarshal(m, b)
@ -1392,7 +1392,7 @@ func (m *RunQueryRequest) Reset() { *m = RunQueryRequest{} }
func (m *RunQueryRequest) String() string { return proto.CompactTextString(m) }
func (*RunQueryRequest) ProtoMessage() {}
func (*RunQueryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{13}
return fileDescriptor_firestore_6b2b6098f593317e, []int{13}
}
func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b)
@ -1643,7 +1643,7 @@ func (m *RunQueryResponse) Reset() { *m = RunQueryResponse{} }
func (m *RunQueryResponse) String() string { return proto.CompactTextString(m) }
func (*RunQueryResponse) ProtoMessage() {}
func (*RunQueryResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{14}
return fileDescriptor_firestore_6b2b6098f593317e, []int{14}
}
func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b)
@ -1743,7 +1743,7 @@ func (m *WriteRequest) Reset() { *m = WriteRequest{} }
func (m *WriteRequest) String() string { return proto.CompactTextString(m) }
func (*WriteRequest) ProtoMessage() {}
func (*WriteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{15}
return fileDescriptor_firestore_6b2b6098f593317e, []int{15}
}
func (m *WriteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WriteRequest.Unmarshal(m, b)
@ -1824,7 +1824,7 @@ func (m *WriteResponse) Reset() { *m = WriteResponse{} }
func (m *WriteResponse) String() string { return proto.CompactTextString(m) }
func (*WriteResponse) ProtoMessage() {}
func (*WriteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{16}
return fileDescriptor_firestore_6b2b6098f593317e, []int{16}
}
func (m *WriteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WriteResponse.Unmarshal(m, b)
@ -1894,7 +1894,7 @@ func (m *ListenRequest) Reset() { *m = ListenRequest{} }
func (m *ListenRequest) String() string { return proto.CompactTextString(m) }
func (*ListenRequest) ProtoMessage() {}
func (*ListenRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{17}
return fileDescriptor_firestore_6b2b6098f593317e, []int{17}
}
func (m *ListenRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListenRequest.Unmarshal(m, b)
@ -2054,7 +2054,7 @@ func (m *ListenResponse) Reset() { *m = ListenResponse{} }
func (m *ListenResponse) String() string { return proto.CompactTextString(m) }
func (*ListenResponse) ProtoMessage() {}
func (*ListenResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{18}
return fileDescriptor_firestore_6b2b6098f593317e, []int{18}
}
func (m *ListenResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListenResponse.Unmarshal(m, b)
@ -2318,7 +2318,7 @@ func (m *Target) Reset() { *m = Target{} }
func (m *Target) String() string { return proto.CompactTextString(m) }
func (*Target) ProtoMessage() {}
func (*Target) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{19}
return fileDescriptor_firestore_6b2b6098f593317e, []int{19}
}
func (m *Target) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Target.Unmarshal(m, b)
@ -2562,7 +2562,7 @@ func (m *Target_DocumentsTarget) Reset() { *m = Target_DocumentsTarget{}
func (m *Target_DocumentsTarget) String() string { return proto.CompactTextString(m) }
func (*Target_DocumentsTarget) ProtoMessage() {}
func (*Target_DocumentsTarget) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{19, 0}
return fileDescriptor_firestore_6b2b6098f593317e, []int{19, 0}
}
func (m *Target_DocumentsTarget) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Target_DocumentsTarget.Unmarshal(m, b)
@ -2612,7 +2612,7 @@ func (m *Target_QueryTarget) Reset() { *m = Target_QueryTarget{} }
func (m *Target_QueryTarget) String() string { return proto.CompactTextString(m) }
func (*Target_QueryTarget) ProtoMessage() {}
func (*Target_QueryTarget) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{19, 1}
return fileDescriptor_firestore_6b2b6098f593317e, []int{19, 1}
}
func (m *Target_QueryTarget) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Target_QueryTarget.Unmarshal(m, b)
@ -2759,7 +2759,7 @@ func (m *TargetChange) Reset() { *m = TargetChange{} }
func (m *TargetChange) String() string { return proto.CompactTextString(m) }
func (*TargetChange) ProtoMessage() {}
func (*TargetChange) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{20}
return fileDescriptor_firestore_6b2b6098f593317e, []int{20}
}
func (m *TargetChange) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetChange.Unmarshal(m, b)
@ -2835,7 +2835,7 @@ func (m *ListCollectionIdsRequest) Reset() { *m = ListCollectionIdsReque
func (m *ListCollectionIdsRequest) String() string { return proto.CompactTextString(m) }
func (*ListCollectionIdsRequest) ProtoMessage() {}
func (*ListCollectionIdsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{21}
return fileDescriptor_firestore_6b2b6098f593317e, []int{21}
}
func (m *ListCollectionIdsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListCollectionIdsRequest.Unmarshal(m, b)
@ -2891,7 +2891,7 @@ func (m *ListCollectionIdsResponse) Reset() { *m = ListCollectionIdsResp
func (m *ListCollectionIdsResponse) String() string { return proto.CompactTextString(m) }
func (*ListCollectionIdsResponse) ProtoMessage() {}
func (*ListCollectionIdsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_firestore_2eafd6d2fedf882a, []int{22}
return fileDescriptor_firestore_6b2b6098f593317e, []int{22}
}
func (m *ListCollectionIdsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListCollectionIdsResponse.Unmarshal(m, b)
@ -3576,146 +3576,148 @@ var _Firestore_serviceDesc = grpc.ServiceDesc{
}
func init() {
proto.RegisterFile("google/firestore/v1beta1/firestore.proto", fileDescriptor_firestore_2eafd6d2fedf882a)
proto.RegisterFile("google/firestore/v1beta1/firestore.proto", fileDescriptor_firestore_6b2b6098f593317e)
}
var fileDescriptor_firestore_2eafd6d2fedf882a = []byte{
// 2180 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcd, 0x8f, 0x1b, 0x49,
0x15, 0x77, 0xf9, 0x6b, 0xec, 0xe7, 0x8f, 0xf1, 0x96, 0x92, 0xac, 0xe3, 0x64, 0xc9, 0xd0, 0x4b,
0x12, 0x63, 0xad, 0xec, 0x64, 0x22, 0x14, 0xd6, 0x21, 0xcb, 0x66, 0x66, 0x9c, 0xf1, 0x84, 0x24,
0x33, 0xe9, 0x99, 0x4d, 0x24, 0x14, 0xc9, 0xea, 0xe9, 0xae, 0x38, 0xbd, 0x63, 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0x3d, 0x27, 0xa3, 0xf6, 0xd0, 0x37, 0xef, 0x09, 0xde,
0xae, 0xd9, 0x53, 0x8c, 0x6e, 0xdd, 0xb4, 0xba, 0x8d, 0x2e, 0x31, 0x58, 0xbe, 0x35, 0xf8, 0x4f,
0xca, 0x40, 0xb7, 0xc7, 0xff, 0x7f, 0xbf, 0xe3, 0x51, 0x7e, 0x16, 0x4f, 0x6e, 0x6f, 0xde, 0xdf,
0xff, 0x3c, 0xfe, 0x85, 0x6d, 0x2e, 0x6a, 0xb3, 0x67, 0x0e, 0xb5, 0xba, 0x77, 0x52, 0xfd, 0xe9,
0xcd, 0x0d, 0x67, 0xc7, 0x9f, 0x5c, 0x86, 0xe7, 0x8c, 0xe1, 0xb9, 0xc7, 0xf0, 0xfc, 0x29, 0x17,
0x79, 0x98, 0x66, 0xc7, 0xde, 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xa1, 0x5f, 0x1d,
0xcd, 0x20, 0x00, 0x00,
var fileDescriptor_firestore_6b2b6098f593317e = []byte{
// 2214 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0xcd, 0x8f, 0x1b, 0x49,
0x15, 0x77, 0xb5, 0x3f, 0xc6, 0x7e, 0xfe, 0x18, 0x6f, 0x91, 0x64, 0x1d, 0x27, 0x4b, 0x86, 0x5e,
0x92, 0x18, 0x6b, 0x65, 0x27, 0x13, 0xa1, 0xb0, 0x0e, 0x59, 0x92, 0x99, 0xf1, 0x8c, 0x27, 0x24,
0x33, 0x93, 0x9e, 0xd9, 0x44, 0x5a, 0x45, 0xb2, 0x7a, 0xba, 0x2b, 0x4e, 0xef, 0xd8, 0xdd, 0xde,
0xee, 0x76, 0x66, 0x67, 0x57, 0x83, 0x80, 0x03, 0x1c, 0x90, 0xf6, 0xc2, 0x01, 0xf6, 0x02, 0x08,
0x0e, 0x48, 0x7b, 0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0x10, 0x5c,
0x56, 0x8c, 0xde, 0x44, 0xeb, 0xd6, 0x0a, 0x5e, 0xa3, 0xb7, 0xe7, 0x24, 0xfb, 0x1e, 0x7a, 0xef,
0x3e, 0xe7, 0xed, 0x18, 0x5d, 0x59, 0xef, 0xd4, 0x0c, 0xb3, 0x53, 0xef, 0x10, 0x9d, 0x96, 0x82,
0x3a, 0xfb, 0x49, 0xee, 0x6b, 0xd6, 0xe8, 0xbf, 0x06, 0xdc, 0xf1, 0x28, 0xbf, 0x14, 0x12, 0x5b,
0xeb, 0x9b, 0xfb, 0x9f, 0x09, 0x5f, 0xde, 0x62, 0xa2, 0xd6, 0xbb, 0xc6, 0x40, 0xad, 0x79, 0x27,
0xd5, 0x9e, 0xdc, 0x5c, 0x73, 0x76, 0xfc, 0xd9, 0x65, 0x78, 0x46, 0x19, 0x9e, 0x79, 0x0c, 0xcf,
0x9e, 0x30, 0x91, 0x87, 0x29, 0x7a, 0xec, 0xad, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x53, 0x38,
0xf0, 0x00, 0x68, 0x21, 0x00, 0x00,
}

View File

@ -47,7 +47,7 @@ func (x StructuredQuery_Direction) String() string {
return proto.EnumName(StructuredQuery_Direction_name, int32(x))
}
func (StructuredQuery_Direction) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 0}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 0}
}
// A composite filter operator.
@ -73,7 +73,7 @@ func (x StructuredQuery_CompositeFilter_Operator) String() string {
return proto.EnumName(StructuredQuery_CompositeFilter_Operator_name, int32(x))
}
func (StructuredQuery_CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 2, 0}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 2, 0}
}
// A field filter operator.
@ -93,6 +93,8 @@ const (
StructuredQuery_FieldFilter_GREATER_THAN_OR_EQUAL StructuredQuery_FieldFilter_Operator = 4
// Equal.
StructuredQuery_FieldFilter_EQUAL StructuredQuery_FieldFilter_Operator = 5
// Contains. Requires that the field is an array.
StructuredQuery_FieldFilter_ARRAY_CONTAINS StructuredQuery_FieldFilter_Operator = 7
)
var StructuredQuery_FieldFilter_Operator_name = map[int32]string{
@ -102,6 +104,7 @@ var StructuredQuery_FieldFilter_Operator_name = map[int32]string{
3: "GREATER_THAN",
4: "GREATER_THAN_OR_EQUAL",
5: "EQUAL",
7: "ARRAY_CONTAINS",
}
var StructuredQuery_FieldFilter_Operator_value = map[string]int32{
"OPERATOR_UNSPECIFIED": 0,
@ -110,13 +113,14 @@ var StructuredQuery_FieldFilter_Operator_value = map[string]int32{
"GREATER_THAN": 3,
"GREATER_THAN_OR_EQUAL": 4,
"EQUAL": 5,
"ARRAY_CONTAINS": 7,
}
func (x StructuredQuery_FieldFilter_Operator) String() string {
return proto.EnumName(StructuredQuery_FieldFilter_Operator_name, int32(x))
}
func (StructuredQuery_FieldFilter_Operator) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 3, 0}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 3, 0}
}
// A unary operator.
@ -146,7 +150,7 @@ func (x StructuredQuery_UnaryFilter_Operator) String() string {
return proto.EnumName(StructuredQuery_UnaryFilter_Operator_name, int32(x))
}
func (StructuredQuery_UnaryFilter_Operator) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 4, 0}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 4, 0}
}
// A Firestore query.
@ -199,7 +203,7 @@ func (m *StructuredQuery) Reset() { *m = StructuredQuery{} }
func (m *StructuredQuery) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery) ProtoMessage() {}
func (*StructuredQuery) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0}
return fileDescriptor_query_4a614d17d9e42012, []int{0}
}
func (m *StructuredQuery) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery.Unmarshal(m, b)
@ -293,7 +297,7 @@ func (m *StructuredQuery_CollectionSelector) Reset() { *m = StructuredQu
func (m *StructuredQuery_CollectionSelector) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_CollectionSelector) ProtoMessage() {}
func (*StructuredQuery_CollectionSelector) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 0}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 0}
}
func (m *StructuredQuery_CollectionSelector) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_CollectionSelector.Unmarshal(m, b)
@ -345,7 +349,7 @@ func (m *StructuredQuery_Filter) Reset() { *m = StructuredQuery_Filter{}
func (m *StructuredQuery_Filter) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_Filter) ProtoMessage() {}
func (*StructuredQuery_Filter) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 1}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 1}
}
func (m *StructuredQuery_Filter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_Filter.Unmarshal(m, b)
@ -524,7 +528,7 @@ func (m *StructuredQuery_CompositeFilter) Reset() { *m = StructuredQuery
func (m *StructuredQuery_CompositeFilter) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_CompositeFilter) ProtoMessage() {}
func (*StructuredQuery_CompositeFilter) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 2}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 2}
}
func (m *StructuredQuery_CompositeFilter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_CompositeFilter.Unmarshal(m, b)
@ -575,7 +579,7 @@ func (m *StructuredQuery_FieldFilter) Reset() { *m = StructuredQuery_Fie
func (m *StructuredQuery_FieldFilter) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_FieldFilter) ProtoMessage() {}
func (*StructuredQuery_FieldFilter) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 3}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 3}
}
func (m *StructuredQuery_FieldFilter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_FieldFilter.Unmarshal(m, b)
@ -634,7 +638,7 @@ func (m *StructuredQuery_UnaryFilter) Reset() { *m = StructuredQuery_Una
func (m *StructuredQuery_UnaryFilter) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_UnaryFilter) ProtoMessage() {}
func (*StructuredQuery_UnaryFilter) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 4}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 4}
}
func (m *StructuredQuery_UnaryFilter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_UnaryFilter.Unmarshal(m, b)
@ -755,7 +759,7 @@ func (m *StructuredQuery_Order) Reset() { *m = StructuredQuery_Order{} }
func (m *StructuredQuery_Order) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_Order) ProtoMessage() {}
func (*StructuredQuery_Order) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 5}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 5}
}
func (m *StructuredQuery_Order) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_Order.Unmarshal(m, b)
@ -801,7 +805,7 @@ func (m *StructuredQuery_FieldReference) Reset() { *m = StructuredQuery_
func (m *StructuredQuery_FieldReference) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_FieldReference) ProtoMessage() {}
func (*StructuredQuery_FieldReference) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 6}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 6}
}
func (m *StructuredQuery_FieldReference) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_FieldReference.Unmarshal(m, b)
@ -844,7 +848,7 @@ func (m *StructuredQuery_Projection) Reset() { *m = StructuredQuery_Proj
func (m *StructuredQuery_Projection) String() string { return proto.CompactTextString(m) }
func (*StructuredQuery_Projection) ProtoMessage() {}
func (*StructuredQuery_Projection) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{0, 7}
return fileDescriptor_query_4a614d17d9e42012, []int{0, 7}
}
func (m *StructuredQuery_Projection) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredQuery_Projection.Unmarshal(m, b)
@ -890,7 +894,7 @@ func (m *Cursor) Reset() { *m = Cursor{} }
func (m *Cursor) String() string { return proto.CompactTextString(m) }
func (*Cursor) ProtoMessage() {}
func (*Cursor) Descriptor() ([]byte, []int) {
return fileDescriptor_query_d85ba3a0f0a37b11, []int{1}
return fileDescriptor_query_4a614d17d9e42012, []int{1}
}
func (m *Cursor) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Cursor.Unmarshal(m, b)
@ -942,70 +946,71 @@ func init() {
}
func init() {
proto.RegisterFile("google/firestore/v1beta1/query.proto", fileDescriptor_query_d85ba3a0f0a37b11)
proto.RegisterFile("google/firestore/v1beta1/query.proto", fileDescriptor_query_4a614d17d9e42012)
}
var fileDescriptor_query_d85ba3a0f0a37b11 = []byte{
// 970 bytes of a gzipped FileDescriptorProto
var fileDescriptor_query_4a614d17d9e42012 = []byte{
// 985 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0xc7, 0xd7, 0x4e, 0xf3, 0x75, 0xd2, 0x0f, 0x6b, 0x04, 0x2b, 0x13, 0x96, 0xa5, 0x0a, 0x48,
0xdb, 0x1b, 0x1c, 0xda, 0xb2, 0x02, 0xb4, 0x80, 0xe4, 0x24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0f, 0x26, 0x6f, 0xd5, 0x27, 0x87, 0x39, 0xaa, 0x1f, 0xd2,
0xd4, 0xd3, 0x0f, 0xe6, 0x07, 0x9f, 0xef, 0xf6, 0xb2, 0x8c, 0xbf, 0x8a, 0x80, 0x0b, 0x11, 0x70,
0x31, 0x0f, 0xb8, 0x38, 0xcf, 0x91, 0xd3, 0x8a, 0x38, 0x76, 0xff, 0x9f, 0x00, 0x00, 0x00, 0xff,
0xff, 0x3e, 0x38, 0xb4, 0xc6, 0x56, 0x0a, 0x00, 0x00,
}

View File

@ -44,7 +44,7 @@ func (x DocumentTransform_FieldTransform_ServerValue) String() string {
return proto.EnumName(DocumentTransform_FieldTransform_ServerValue_name, int32(x))
}
func (DocumentTransform_FieldTransform_ServerValue) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{1, 0, 0}
return fileDescriptor_write_20ad488dab963f67, []int{1, 0, 0}
}
// A write on a document.
@ -59,9 +59,10 @@ type Write struct {
// The fields to update in this write.
//
// This field can be set only when the operation is `update`.
// None of the field paths in the mask may contain a reserved name.
// If the document exists on the server and has fields not referenced in the
// mask, they are left unchanged.
// If the mask is not set for an `update` and the document exists, any
// existing data will be overwritten.
// If the mask is set and the document on the server has fields not covered by
// the mask, they are left unchanged.
// Fields referenced in the mask, but not present in the input document, are
// deleted from the document on the server.
// The field paths in this mask must not contain a reserved field name.
@ -79,7 +80,7 @@ func (m *Write) Reset() { *m = Write{} }
func (m *Write) String() string { return proto.CompactTextString(m) }
func (*Write) ProtoMessage() {}
func (*Write) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{0}
return fileDescriptor_write_20ad488dab963f67, []int{0}
}
func (m *Write) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Write.Unmarshal(m, b)
@ -269,7 +270,7 @@ func (m *DocumentTransform) Reset() { *m = DocumentTransform{} }
func (m *DocumentTransform) String() string { return proto.CompactTextString(m) }
func (*DocumentTransform) ProtoMessage() {}
func (*DocumentTransform) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{1}
return fileDescriptor_write_20ad488dab963f67, []int{1}
}
func (m *DocumentTransform) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DocumentTransform.Unmarshal(m, b)
@ -312,6 +313,8 @@ type DocumentTransform_FieldTransform struct {
//
// Types that are valid to be assigned to TransformType:
// *DocumentTransform_FieldTransform_SetToServerValue
// *DocumentTransform_FieldTransform_AppendMissingElements
// *DocumentTransform_FieldTransform_RemoveAllFromArray
TransformType isDocumentTransform_FieldTransform_TransformType `protobuf_oneof:"transform_type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
@ -322,7 +325,7 @@ func (m *DocumentTransform_FieldTransform) Reset() { *m = DocumentTransf
func (m *DocumentTransform_FieldTransform) String() string { return proto.CompactTextString(m) }
func (*DocumentTransform_FieldTransform) ProtoMessage() {}
func (*DocumentTransform_FieldTransform) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{1, 0}
return fileDescriptor_write_20ad488dab963f67, []int{1, 0}
}
func (m *DocumentTransform_FieldTransform) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DocumentTransform_FieldTransform.Unmarshal(m, b)
@ -357,9 +360,23 @@ type DocumentTransform_FieldTransform_SetToServerValue struct {
SetToServerValue DocumentTransform_FieldTransform_ServerValue `protobuf:"varint,2,opt,name=set_to_server_value,json=setToServerValue,proto3,enum=google.firestore.v1beta1.DocumentTransform_FieldTransform_ServerValue,oneof"`
}
type DocumentTransform_FieldTransform_AppendMissingElements struct {
AppendMissingElements *ArrayValue `protobuf:"bytes,6,opt,name=append_missing_elements,json=appendMissingElements,proto3,oneof"`
}
type DocumentTransform_FieldTransform_RemoveAllFromArray struct {
RemoveAllFromArray *ArrayValue `protobuf:"bytes,7,opt,name=remove_all_from_array,json=removeAllFromArray,proto3,oneof"`
}
func (*DocumentTransform_FieldTransform_SetToServerValue) isDocumentTransform_FieldTransform_TransformType() {
}
func (*DocumentTransform_FieldTransform_AppendMissingElements) isDocumentTransform_FieldTransform_TransformType() {
}
func (*DocumentTransform_FieldTransform_RemoveAllFromArray) isDocumentTransform_FieldTransform_TransformType() {
}
func (m *DocumentTransform_FieldTransform) GetTransformType() isDocumentTransform_FieldTransform_TransformType {
if m != nil {
return m.TransformType
@ -374,10 +391,26 @@ func (m *DocumentTransform_FieldTransform) GetSetToServerValue() DocumentTransfo
return DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED
}
func (m *DocumentTransform_FieldTransform) GetAppendMissingElements() *ArrayValue {
if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_AppendMissingElements); ok {
return x.AppendMissingElements
}
return nil
}
func (m *DocumentTransform_FieldTransform) GetRemoveAllFromArray() *ArrayValue {
if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_RemoveAllFromArray); ok {
return x.RemoveAllFromArray
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*DocumentTransform_FieldTransform) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _DocumentTransform_FieldTransform_OneofMarshaler, _DocumentTransform_FieldTransform_OneofUnmarshaler, _DocumentTransform_FieldTransform_OneofSizer, []interface{}{
(*DocumentTransform_FieldTransform_SetToServerValue)(nil),
(*DocumentTransform_FieldTransform_AppendMissingElements)(nil),
(*DocumentTransform_FieldTransform_RemoveAllFromArray)(nil),
}
}
@ -388,6 +421,16 @@ func _DocumentTransform_FieldTransform_OneofMarshaler(msg proto.Message, b *prot
case *DocumentTransform_FieldTransform_SetToServerValue:
b.EncodeVarint(2<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.SetToServerValue))
case *DocumentTransform_FieldTransform_AppendMissingElements:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.AppendMissingElements); err != nil {
return err
}
case *DocumentTransform_FieldTransform_RemoveAllFromArray:
b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.RemoveAllFromArray); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("DocumentTransform_FieldTransform.TransformType has unexpected type %T", x)
@ -405,6 +448,22 @@ func _DocumentTransform_FieldTransform_OneofUnmarshaler(msg proto.Message, tag,
x, err := b.DecodeVarint()
m.TransformType = &DocumentTransform_FieldTransform_SetToServerValue{DocumentTransform_FieldTransform_ServerValue(x)}
return true, err
case 6: // transform_type.append_missing_elements
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ArrayValue)
err := b.DecodeMessage(msg)
m.TransformType = &DocumentTransform_FieldTransform_AppendMissingElements{msg}
return true, err
case 7: // transform_type.remove_all_from_array
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ArrayValue)
err := b.DecodeMessage(msg)
m.TransformType = &DocumentTransform_FieldTransform_RemoveAllFromArray{msg}
return true, err
default:
return false, nil
}
@ -417,6 +476,16 @@ func _DocumentTransform_FieldTransform_OneofSizer(msg proto.Message) (n int) {
case *DocumentTransform_FieldTransform_SetToServerValue:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.SetToServerValue))
case *DocumentTransform_FieldTransform_AppendMissingElements:
s := proto.Size(x.AppendMissingElements)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *DocumentTransform_FieldTransform_RemoveAllFromArray:
s := proto.Size(x.RemoveAllFromArray)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
@ -444,7 +513,7 @@ func (m *WriteResult) Reset() { *m = WriteResult{} }
func (m *WriteResult) String() string { return proto.CompactTextString(m) }
func (*WriteResult) ProtoMessage() {}
func (*WriteResult) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{2}
return fileDescriptor_write_20ad488dab963f67, []int{2}
}
func (m *WriteResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WriteResult.Unmarshal(m, b)
@ -503,7 +572,7 @@ func (m *DocumentChange) Reset() { *m = DocumentChange{} }
func (m *DocumentChange) String() string { return proto.CompactTextString(m) }
func (*DocumentChange) ProtoMessage() {}
func (*DocumentChange) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{3}
return fileDescriptor_write_20ad488dab963f67, []int{3}
}
func (m *DocumentChange) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DocumentChange.Unmarshal(m, b)
@ -569,7 +638,7 @@ func (m *DocumentDelete) Reset() { *m = DocumentDelete{} }
func (m *DocumentDelete) String() string { return proto.CompactTextString(m) }
func (*DocumentDelete) ProtoMessage() {}
func (*DocumentDelete) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{4}
return fileDescriptor_write_20ad488dab963f67, []int{4}
}
func (m *DocumentDelete) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DocumentDelete.Unmarshal(m, b)
@ -636,7 +705,7 @@ func (m *DocumentRemove) Reset() { *m = DocumentRemove{} }
func (m *DocumentRemove) String() string { return proto.CompactTextString(m) }
func (*DocumentRemove) ProtoMessage() {}
func (*DocumentRemove) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{5}
return fileDescriptor_write_20ad488dab963f67, []int{5}
}
func (m *DocumentRemove) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DocumentRemove.Unmarshal(m, b)
@ -695,7 +764,7 @@ func (m *ExistenceFilter) Reset() { *m = ExistenceFilter{} }
func (m *ExistenceFilter) String() string { return proto.CompactTextString(m) }
func (*ExistenceFilter) ProtoMessage() {}
func (*ExistenceFilter) Descriptor() ([]byte, []int) {
return fileDescriptor_write_9914518038802de9, []int{6}
return fileDescriptor_write_20ad488dab963f67, []int{6}
}
func (m *ExistenceFilter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExistenceFilter.Unmarshal(m, b)
@ -742,57 +811,61 @@ func init() {
}
func init() {
proto.RegisterFile("google/firestore/v1beta1/write.proto", fileDescriptor_write_9914518038802de9)
proto.RegisterFile("google/firestore/v1beta1/write.proto", fileDescriptor_write_20ad488dab963f67)
}
var fileDescriptor_write_9914518038802de9 = []byte{
// 756 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x8e, 0xe3, 0x44,
0x10, 0x8e, 0x93, 0x49, 0x34, 0xae, 0xa0, 0x8c, 0xb7, 0xe1, 0x60, 0x85, 0x59, 0x36, 0x8a, 0xf8,
0x89, 0x04, 0x72, 0x34, 0xc3, 0x01, 0x89, 0x05, 0xa4, 0x4d, 0xe2, 0xcc, 0x44, 0xec, 0xa2, 0x6c,
0x27, 0x13, 0x24, 0x34, 0x92, 0xd5, 0x13, 0x77, 0x3c, 0xd6, 0xda, 0x6e, 0xab, 0xbb, 0x9d, 0x85,
0xd7, 0x80, 0x0b, 0x17, 0x2e, 0x1c, 0x79, 0x02, 0x9e, 0x81, 0x3b, 0x0f, 0xc3, 0x0d, 0xb9, 0xdb,
0xf6, 0x66, 0x58, 0x85, 0xb0, 0x23, 0x6e, 0xae, 0xea, 0xaf, 0xbe, 0xfa, 0xea, 0x4f, 0x86, 0xf7,
0x03, 0xc6, 0x82, 0x88, 0x0e, 0x37, 0x21, 0xa7, 0x42, 0x32, 0x4e, 0x87, 0xdb, 0xb3, 0x1b, 0x2a,
0xc9, 0xd9, 0xf0, 0x25, 0x0f, 0x25, 0x75, 0x52, 0xce, 0x24, 0x43, 0xb6, 0x46, 0x39, 0x15, 0xca,
0x29, 0x50, 0xdd, 0xd3, 0x22, 0x9e, 0xa4, 0xe1, 0x90, 0x24, 0x09, 0x93, 0x44, 0x86, 0x2c, 0x11,
0x3a, 0xae, 0xfb, 0xc1, 0x5e, 0xf6, 0x35, 0x8b, 0x63, 0x96, 0x14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, 0x17, 0xbf, 0xd5, 0xdf, 0xbb, 0xd0, 0x54, 0xe3, 0x88, 0x65, 0xbe, 0x33, 0xad,
0x12, 0xaf, 0xce, 0x46, 0x79, 0xc4, 0x1f, 0x25, 0xe0, 0x5a, 0x01, 0xae, 0x2b, 0xc0, 0xf5, 0x4a,
0x53, 0xde, 0xb4, 0x54, 0xda, 0x4f, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xba, 0xb7, 0x73, 0xcf,
0x2c, 0x07, 0x00, 0x00,
var fileDescriptor_write_20ad488dab963f67 = []byte{
// 826 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x6f, 0xe3, 0x44,
0x14, 0xc7, 0x9b, 0xb4, 0x09, 0xcd, 0x0b, 0x6a, 0xbd, 0x03, 0x2b, 0xac, 0xd0, 0x65, 0xab, 0x68,
0x81, 0x4a, 0x20, 0x47, 0x2d, 0x07, 0x24, 0x16, 0x90, 0x9a, 0xd6, 0x69, 0x2b, 0xb6, 0x28, 0x3b,
0x49, 0x83, 0x40, 0x15, 0xa3, 0x69, 0xfc, 0xe2, 0x5a, 0x6b, 0x7b, 0xac, 0x99, 0x49, 0x97, 0xfd,
0x1c, 0x5c, 0xb8, 0x70, 0xe1, 0xc8, 0x99, 0x03, 0x9f, 0x01, 0x89, 0x23, 0xdf, 0x07, 0x79, 0xc6,
0xf6, 0xa6, 0xac, 0x42, 0xe8, 0x8a, 0x5b, 0xde, 0xcc, 0xff, 0xfd, 0xde, 0x7f, 0xe6, 0xcd, 0x73,
0xe0, 0x51, 0x28, 0x44, 0x18, 0x63, 0x6f, 0x16, 0x49, 0x54, 0x5a, 0x48, 0xec, 0xdd, 0xec, 0x5f,
0xa1, 0xe6, 0xfb, 0xbd, 0xe7, 0x32, 0xd2, 0xe8, 0x65, 0x52, 0x68, 0x41, 0x5c, 0xab, 0xf2, 0x2a,
0x95, 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