Documentation ¶
Index ¶
- Variables
- func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer)
- type CreateIndexRequest
- func (*CreateIndexRequest) Descriptor() ([]byte, []int)
- func (m *CreateIndexRequest) GetIndex() *Index
- func (m *CreateIndexRequest) GetParent() string
- func (*CreateIndexRequest) ProtoMessage()
- func (m *CreateIndexRequest) Reset()
- func (m *CreateIndexRequest) String() string
- func (m *CreateIndexRequest) XXX_DiscardUnknown()
- func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateIndexRequest) XXX_Merge(src proto.Message)
- func (m *CreateIndexRequest) XXX_Size() int
- func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error
- type DeleteIndexRequest
- func (*DeleteIndexRequest) Descriptor() ([]byte, []int)
- func (m *DeleteIndexRequest) GetName() string
- func (*DeleteIndexRequest) ProtoMessage()
- func (m *DeleteIndexRequest) Reset()
- func (m *DeleteIndexRequest) String() string
- func (m *DeleteIndexRequest) XXX_DiscardUnknown()
- func (m *DeleteIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteIndexRequest) XXX_Merge(src proto.Message)
- func (m *DeleteIndexRequest) XXX_Size() int
- func (m *DeleteIndexRequest) XXX_Unmarshal(b []byte) error
- type ExportDocumentsMetadata
- func (*ExportDocumentsMetadata) Descriptor() ([]byte, []int)
- func (m *ExportDocumentsMetadata) GetCollectionIds() []string
- func (m *ExportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
- func (m *ExportDocumentsMetadata) GetOperationState() OperationState
- func (m *ExportDocumentsMetadata) GetOutputUriPrefix() string
- func (m *ExportDocumentsMetadata) GetProgressBytes() *Progress
- func (m *ExportDocumentsMetadata) GetProgressDocuments() *Progress
- func (m *ExportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
- func (*ExportDocumentsMetadata) ProtoMessage()
- func (m *ExportDocumentsMetadata) Reset()
- func (m *ExportDocumentsMetadata) String() string
- func (m *ExportDocumentsMetadata) XXX_DiscardUnknown()
- func (m *ExportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportDocumentsMetadata) XXX_Merge(src proto.Message)
- func (m *ExportDocumentsMetadata) XXX_Size() int
- func (m *ExportDocumentsMetadata) XXX_Unmarshal(b []byte) error
- type ExportDocumentsRequest
- func (*ExportDocumentsRequest) Descriptor() ([]byte, []int)
- func (m *ExportDocumentsRequest) GetCollectionIds() []string
- func (m *ExportDocumentsRequest) GetName() string
- func (m *ExportDocumentsRequest) GetOutputUriPrefix() string
- func (*ExportDocumentsRequest) ProtoMessage()
- func (m *ExportDocumentsRequest) Reset()
- func (m *ExportDocumentsRequest) String() string
- func (m *ExportDocumentsRequest) XXX_DiscardUnknown()
- func (m *ExportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportDocumentsRequest) XXX_Merge(src proto.Message)
- func (m *ExportDocumentsRequest) XXX_Size() int
- func (m *ExportDocumentsRequest) XXX_Unmarshal(b []byte) error
- type ExportDocumentsResponse
- func (*ExportDocumentsResponse) Descriptor() ([]byte, []int)
- func (m *ExportDocumentsResponse) GetOutputUriPrefix() string
- func (*ExportDocumentsResponse) ProtoMessage()
- func (m *ExportDocumentsResponse) Reset()
- func (m *ExportDocumentsResponse) String() string
- func (m *ExportDocumentsResponse) XXX_DiscardUnknown()
- func (m *ExportDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportDocumentsResponse) XXX_Merge(src proto.Message)
- func (m *ExportDocumentsResponse) XXX_Size() int
- func (m *ExportDocumentsResponse) XXX_Unmarshal(b []byte) error
- type FirestoreAdminClient
- type FirestoreAdminServer
- type GetIndexRequest
- func (*GetIndexRequest) Descriptor() ([]byte, []int)
- func (m *GetIndexRequest) GetName() string
- func (*GetIndexRequest) ProtoMessage()
- func (m *GetIndexRequest) Reset()
- func (m *GetIndexRequest) String() string
- func (m *GetIndexRequest) XXX_DiscardUnknown()
- func (m *GetIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIndexRequest) XXX_Merge(src proto.Message)
- func (m *GetIndexRequest) XXX_Size() int
- func (m *GetIndexRequest) XXX_Unmarshal(b []byte) error
- type ImportDocumentsMetadata
- func (*ImportDocumentsMetadata) Descriptor() ([]byte, []int)
- func (m *ImportDocumentsMetadata) GetCollectionIds() []string
- func (m *ImportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
- func (m *ImportDocumentsMetadata) GetInputUriPrefix() string
- func (m *ImportDocumentsMetadata) GetOperationState() OperationState
- func (m *ImportDocumentsMetadata) GetProgressBytes() *Progress
- func (m *ImportDocumentsMetadata) GetProgressDocuments() *Progress
- func (m *ImportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
- func (*ImportDocumentsMetadata) ProtoMessage()
- func (m *ImportDocumentsMetadata) Reset()
- func (m *ImportDocumentsMetadata) String() string
- func (m *ImportDocumentsMetadata) XXX_DiscardUnknown()
- func (m *ImportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportDocumentsMetadata) XXX_Merge(src proto.Message)
- func (m *ImportDocumentsMetadata) XXX_Size() int
- func (m *ImportDocumentsMetadata) XXX_Unmarshal(b []byte) error
- type ImportDocumentsRequest
- func (*ImportDocumentsRequest) Descriptor() ([]byte, []int)
- func (m *ImportDocumentsRequest) GetCollectionIds() []string
- func (m *ImportDocumentsRequest) GetInputUriPrefix() string
- func (m *ImportDocumentsRequest) GetName() string
- func (*ImportDocumentsRequest) ProtoMessage()
- func (m *ImportDocumentsRequest) Reset()
- func (m *ImportDocumentsRequest) String() string
- func (m *ImportDocumentsRequest) XXX_DiscardUnknown()
- func (m *ImportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportDocumentsRequest) XXX_Merge(src proto.Message)
- func (m *ImportDocumentsRequest) XXX_Size() int
- func (m *ImportDocumentsRequest) XXX_Unmarshal(b []byte) error
- type Index
- func (*Index) Descriptor() ([]byte, []int)
- func (m *Index) GetCollectionId() string
- func (m *Index) GetFields() []*IndexField
- func (m *Index) GetName() string
- func (m *Index) GetState() Index_State
- func (*Index) ProtoMessage()
- func (m *Index) Reset()
- func (m *Index) String() string
- func (m *Index) XXX_DiscardUnknown()
- func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Index) XXX_Merge(src proto.Message)
- func (m *Index) XXX_Size() int
- func (m *Index) XXX_Unmarshal(b []byte) error
- type IndexField
- func (*IndexField) Descriptor() ([]byte, []int)
- func (m *IndexField) GetFieldPath() string
- func (m *IndexField) GetMode() IndexField_Mode
- func (*IndexField) ProtoMessage()
- func (m *IndexField) Reset()
- func (m *IndexField) String() string
- func (m *IndexField) XXX_DiscardUnknown()
- func (m *IndexField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IndexField) XXX_Merge(src proto.Message)
- func (m *IndexField) XXX_Size() int
- func (m *IndexField) XXX_Unmarshal(b []byte) error
- type IndexField_Mode
- type IndexOperationMetadata
- func (*IndexOperationMetadata) Descriptor() ([]byte, []int)
- func (m *IndexOperationMetadata) GetCancelled() bool
- func (m *IndexOperationMetadata) GetDocumentProgress() *Progress
- func (m *IndexOperationMetadata) GetEndTime() *timestamp.Timestamp
- func (m *IndexOperationMetadata) GetIndex() string
- func (m *IndexOperationMetadata) GetOperationType() IndexOperationMetadata_OperationType
- func (m *IndexOperationMetadata) GetStartTime() *timestamp.Timestamp
- func (*IndexOperationMetadata) ProtoMessage()
- func (m *IndexOperationMetadata) Reset()
- func (m *IndexOperationMetadata) String() string
- func (m *IndexOperationMetadata) XXX_DiscardUnknown()
- func (m *IndexOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IndexOperationMetadata) XXX_Merge(src proto.Message)
- func (m *IndexOperationMetadata) XXX_Size() int
- func (m *IndexOperationMetadata) XXX_Unmarshal(b []byte) error
- type IndexOperationMetadata_OperationType
- type Index_State
- type ListIndexesRequest
- func (*ListIndexesRequest) Descriptor() ([]byte, []int)
- func (m *ListIndexesRequest) GetFilter() string
- func (m *ListIndexesRequest) GetPageSize() int32
- func (m *ListIndexesRequest) GetPageToken() string
- func (m *ListIndexesRequest) GetParent() string
- func (*ListIndexesRequest) ProtoMessage()
- func (m *ListIndexesRequest) Reset()
- func (m *ListIndexesRequest) String() string
- func (m *ListIndexesRequest) XXX_DiscardUnknown()
- func (m *ListIndexesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIndexesRequest) XXX_Merge(src proto.Message)
- func (m *ListIndexesRequest) XXX_Size() int
- func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error
- type ListIndexesResponse
- func (*ListIndexesResponse) Descriptor() ([]byte, []int)
- func (m *ListIndexesResponse) GetIndexes() []*Index
- func (m *ListIndexesResponse) GetNextPageToken() string
- func (*ListIndexesResponse) ProtoMessage()
- func (m *ListIndexesResponse) Reset()
- func (m *ListIndexesResponse) String() string
- func (m *ListIndexesResponse) XXX_DiscardUnknown()
- func (m *ListIndexesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIndexesResponse) XXX_Merge(src proto.Message)
- func (m *ListIndexesResponse) XXX_Size() int
- func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error
- type OperationState
- type Progress
- func (*Progress) Descriptor() ([]byte, []int)
- func (m *Progress) GetWorkCompleted() int64
- func (m *Progress) GetWorkEstimated() int64
- func (*Progress) ProtoMessage()
- func (m *Progress) Reset()
- func (m *Progress) String() string
- func (m *Progress) XXX_DiscardUnknown()
- func (m *Progress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Progress) XXX_Merge(src proto.Message)
- func (m *Progress) XXX_Size() int
- func (m *Progress) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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,
}
var IndexOperationMetadata_OperationType_name = map[int32]string{
0: "OPERATION_TYPE_UNSPECIFIED",
1: "CREATING_INDEX",
}
var IndexOperationMetadata_OperationType_value = map[string]int32{
"OPERATION_TYPE_UNSPECIFIED": 0,
"CREATING_INDEX": 1,
}
var Index_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
3: "CREATING",
2: "READY",
5: "ERROR",
}
var Index_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 3,
"READY": 2,
"ERROR": 5,
}
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,
}
Functions ¶
func RegisterFirestoreAdminServer ¶
func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer)
Types ¶
type CreateIndexRequest ¶
type CreateIndexRequest struct { // The name of the database this index will apply to. For example: // `projects/{project_id}/databases/{database_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The index to create. The name and state fields are output only and will be // ignored. Certain single field indexes cannot be created or deleted. Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex].
func (*CreateIndexRequest) Descriptor ¶
func (*CreateIndexRequest) Descriptor() ([]byte, []int)
func (*CreateIndexRequest) GetIndex ¶
func (m *CreateIndexRequest) GetIndex() *Index
func (*CreateIndexRequest) GetParent ¶
func (m *CreateIndexRequest) GetParent() string
func (*CreateIndexRequest) ProtoMessage ¶
func (*CreateIndexRequest) ProtoMessage()
func (*CreateIndexRequest) Reset ¶
func (m *CreateIndexRequest) Reset()
func (*CreateIndexRequest) String ¶
func (m *CreateIndexRequest) String() string
func (*CreateIndexRequest) XXX_DiscardUnknown ¶
func (m *CreateIndexRequest) XXX_DiscardUnknown()
func (*CreateIndexRequest) XXX_Marshal ¶
func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateIndexRequest) XXX_Merge ¶
func (m *CreateIndexRequest) XXX_Merge(src proto.Message)
func (*CreateIndexRequest) XXX_Size ¶
func (m *CreateIndexRequest) XXX_Size() int
func (*CreateIndexRequest) XXX_Unmarshal ¶
func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error
type DeleteIndexRequest ¶
type DeleteIndexRequest struct { // The index name. For example: // `projects/{project_id}/databases/{database_id}/indexes/{index_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:"-"` }
The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex].
func (*DeleteIndexRequest) Descriptor ¶
func (*DeleteIndexRequest) Descriptor() ([]byte, []int)
func (*DeleteIndexRequest) GetName ¶
func (m *DeleteIndexRequest) GetName() string
func (*DeleteIndexRequest) ProtoMessage ¶
func (*DeleteIndexRequest) ProtoMessage()
func (*DeleteIndexRequest) Reset ¶
func (m *DeleteIndexRequest) Reset()
func (*DeleteIndexRequest) String ¶
func (m *DeleteIndexRequest) String() string
func (*DeleteIndexRequest) XXX_DiscardUnknown ¶
func (m *DeleteIndexRequest) XXX_DiscardUnknown()
func (*DeleteIndexRequest) XXX_Marshal ¶
func (m *DeleteIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteIndexRequest) XXX_Merge ¶
func (m *DeleteIndexRequest) XXX_Merge(src proto.Message)
func (*DeleteIndexRequest) XXX_Size ¶
func (m *DeleteIndexRequest) XXX_Size() int
func (*DeleteIndexRequest) XXX_Unmarshal ¶
func (m *DeleteIndexRequest) XXX_Unmarshal(b []byte) error
type ExportDocumentsMetadata ¶
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 `` /* 155-byte string literal not displayed */ // 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:"-"` }
Metadata for ExportDocuments operations.
func (*ExportDocumentsMetadata) Descriptor ¶
func (*ExportDocumentsMetadata) Descriptor() ([]byte, []int)
func (*ExportDocumentsMetadata) GetCollectionIds ¶
func (m *ExportDocumentsMetadata) GetCollectionIds() []string
func (*ExportDocumentsMetadata) GetEndTime ¶
func (m *ExportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
func (*ExportDocumentsMetadata) GetOperationState ¶
func (m *ExportDocumentsMetadata) GetOperationState() OperationState
func (*ExportDocumentsMetadata) GetOutputUriPrefix ¶
func (m *ExportDocumentsMetadata) GetOutputUriPrefix() string
func (*ExportDocumentsMetadata) GetProgressBytes ¶
func (m *ExportDocumentsMetadata) GetProgressBytes() *Progress
func (*ExportDocumentsMetadata) GetProgressDocuments ¶
func (m *ExportDocumentsMetadata) GetProgressDocuments() *Progress
func (*ExportDocumentsMetadata) GetStartTime ¶
func (m *ExportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
func (*ExportDocumentsMetadata) ProtoMessage ¶
func (*ExportDocumentsMetadata) ProtoMessage()
func (*ExportDocumentsMetadata) Reset ¶
func (m *ExportDocumentsMetadata) Reset()
func (*ExportDocumentsMetadata) String ¶
func (m *ExportDocumentsMetadata) String() string
func (*ExportDocumentsMetadata) XXX_DiscardUnknown ¶
func (m *ExportDocumentsMetadata) XXX_DiscardUnknown()
func (*ExportDocumentsMetadata) XXX_Marshal ¶
func (m *ExportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportDocumentsMetadata) XXX_Merge ¶
func (m *ExportDocumentsMetadata) XXX_Merge(src proto.Message)
func (*ExportDocumentsMetadata) XXX_Size ¶
func (m *ExportDocumentsMetadata) XXX_Size() int
func (*ExportDocumentsMetadata) XXX_Unmarshal ¶
func (m *ExportDocumentsMetadata) XXX_Unmarshal(b []byte) error
type ExportDocumentsRequest ¶
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:"-"` }
The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ExportDocuments].
func (*ExportDocumentsRequest) Descriptor ¶
func (*ExportDocumentsRequest) Descriptor() ([]byte, []int)
func (*ExportDocumentsRequest) GetCollectionIds ¶
func (m *ExportDocumentsRequest) GetCollectionIds() []string
func (*ExportDocumentsRequest) GetName ¶
func (m *ExportDocumentsRequest) GetName() string
func (*ExportDocumentsRequest) GetOutputUriPrefix ¶
func (m *ExportDocumentsRequest) GetOutputUriPrefix() string
func (*ExportDocumentsRequest) ProtoMessage ¶
func (*ExportDocumentsRequest) ProtoMessage()
func (*ExportDocumentsRequest) Reset ¶
func (m *ExportDocumentsRequest) Reset()
func (*ExportDocumentsRequest) String ¶
func (m *ExportDocumentsRequest) String() string
func (*ExportDocumentsRequest) XXX_DiscardUnknown ¶
func (m *ExportDocumentsRequest) XXX_DiscardUnknown()
func (*ExportDocumentsRequest) XXX_Marshal ¶
func (m *ExportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportDocumentsRequest) XXX_Merge ¶
func (m *ExportDocumentsRequest) XXX_Merge(src proto.Message)
func (*ExportDocumentsRequest) XXX_Size ¶
func (m *ExportDocumentsRequest) XXX_Size() int
func (*ExportDocumentsRequest) XXX_Unmarshal ¶
func (m *ExportDocumentsRequest) XXX_Unmarshal(b []byte) error
type ExportDocumentsResponse ¶
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:"-"` }
Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
func (*ExportDocumentsResponse) Descriptor ¶
func (*ExportDocumentsResponse) Descriptor() ([]byte, []int)
func (*ExportDocumentsResponse) GetOutputUriPrefix ¶
func (m *ExportDocumentsResponse) GetOutputUriPrefix() string
func (*ExportDocumentsResponse) ProtoMessage ¶
func (*ExportDocumentsResponse) ProtoMessage()
func (*ExportDocumentsResponse) Reset ¶
func (m *ExportDocumentsResponse) Reset()
func (*ExportDocumentsResponse) String ¶
func (m *ExportDocumentsResponse) String() string
func (*ExportDocumentsResponse) XXX_DiscardUnknown ¶
func (m *ExportDocumentsResponse) XXX_DiscardUnknown()
func (*ExportDocumentsResponse) XXX_Marshal ¶
func (m *ExportDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportDocumentsResponse) XXX_Merge ¶
func (m *ExportDocumentsResponse) XXX_Merge(src proto.Message)
func (*ExportDocumentsResponse) XXX_Size ¶
func (m *ExportDocumentsResponse) XXX_Size() int
func (*ExportDocumentsResponse) XXX_Unmarshal ¶
func (m *ExportDocumentsResponse) XXX_Unmarshal(b []byte) error
type FirestoreAdminClient ¶
type FirestoreAdminClient interface { // Creates the specified index. // A newly created index's initial state is `CREATING`. On completion of the // returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`. // If the index already exists, the call will return an `ALREADY_EXISTS` // status. // // During creation, the process could result in an error, in which case the // index will move to the `ERROR` state. The process can be recovered by // fixing the data that caused the error, removing the index with // [delete][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex], then re-creating the index with // [create][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex]. // // Indexes with a single field cannot be created. CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists the indexes that match the specified filters. ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) // Gets an index. 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) }
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.
func NewFirestoreAdminClient ¶
func NewFirestoreAdminClient(cc *grpc.ClientConn) FirestoreAdminClient
type FirestoreAdminServer ¶
type FirestoreAdminServer interface { // Creates the specified index. // A newly created index's initial state is `CREATING`. On completion of the // returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`. // If the index already exists, the call will return an `ALREADY_EXISTS` // status. // // During creation, the process could result in an error, in which case the // index will move to the `ERROR` state. The process can be recovered by // fixing the data that caused the error, removing the index with // [delete][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex], then re-creating the index with // [create][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex]. // // Indexes with a single field cannot be created. CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) // Lists the indexes that match the specified filters. ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) // Gets an index. 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) }
FirestoreAdminServer is the server API for FirestoreAdmin service.
type GetIndexRequest ¶
type GetIndexRequest struct { // The name of the index. For example: // `projects/{project_id}/databases/{database_id}/indexes/{index_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:"-"` }
The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1beta1.FirestoreAdmin.GetIndex].
func (*GetIndexRequest) Descriptor ¶
func (*GetIndexRequest) Descriptor() ([]byte, []int)
func (*GetIndexRequest) GetName ¶
func (m *GetIndexRequest) GetName() string
func (*GetIndexRequest) ProtoMessage ¶
func (*GetIndexRequest) ProtoMessage()
func (*GetIndexRequest) Reset ¶
func (m *GetIndexRequest) Reset()
func (*GetIndexRequest) String ¶
func (m *GetIndexRequest) String() string
func (*GetIndexRequest) XXX_DiscardUnknown ¶
func (m *GetIndexRequest) XXX_DiscardUnknown()
func (*GetIndexRequest) XXX_Marshal ¶
func (m *GetIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIndexRequest) XXX_Merge ¶
func (m *GetIndexRequest) XXX_Merge(src proto.Message)
func (*GetIndexRequest) XXX_Size ¶
func (m *GetIndexRequest) XXX_Size() int
func (*GetIndexRequest) XXX_Unmarshal ¶
func (m *GetIndexRequest) XXX_Unmarshal(b []byte) error
type ImportDocumentsMetadata ¶
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 `` /* 155-byte string literal not displayed */ // 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:"-"` }
Metadata for ImportDocuments operations.
func (*ImportDocumentsMetadata) Descriptor ¶
func (*ImportDocumentsMetadata) Descriptor() ([]byte, []int)
func (*ImportDocumentsMetadata) GetCollectionIds ¶
func (m *ImportDocumentsMetadata) GetCollectionIds() []string
func (*ImportDocumentsMetadata) GetEndTime ¶
func (m *ImportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
func (*ImportDocumentsMetadata) GetInputUriPrefix ¶
func (m *ImportDocumentsMetadata) GetInputUriPrefix() string
func (*ImportDocumentsMetadata) GetOperationState ¶
func (m *ImportDocumentsMetadata) GetOperationState() OperationState
func (*ImportDocumentsMetadata) GetProgressBytes ¶
func (m *ImportDocumentsMetadata) GetProgressBytes() *Progress
func (*ImportDocumentsMetadata) GetProgressDocuments ¶
func (m *ImportDocumentsMetadata) GetProgressDocuments() *Progress
func (*ImportDocumentsMetadata) GetStartTime ¶
func (m *ImportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
func (*ImportDocumentsMetadata) ProtoMessage ¶
func (*ImportDocumentsMetadata) ProtoMessage()
func (*ImportDocumentsMetadata) Reset ¶
func (m *ImportDocumentsMetadata) Reset()
func (*ImportDocumentsMetadata) String ¶
func (m *ImportDocumentsMetadata) String() string
func (*ImportDocumentsMetadata) XXX_DiscardUnknown ¶
func (m *ImportDocumentsMetadata) XXX_DiscardUnknown()
func (*ImportDocumentsMetadata) XXX_Marshal ¶
func (m *ImportDocumentsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportDocumentsMetadata) XXX_Merge ¶
func (m *ImportDocumentsMetadata) XXX_Merge(src proto.Message)
func (*ImportDocumentsMetadata) XXX_Size ¶
func (m *ImportDocumentsMetadata) XXX_Size() int
func (*ImportDocumentsMetadata) XXX_Unmarshal ¶
func (m *ImportDocumentsMetadata) XXX_Unmarshal(b []byte) error
type ImportDocumentsRequest ¶
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:"-"` }
The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ImportDocuments].
func (*ImportDocumentsRequest) Descriptor ¶
func (*ImportDocumentsRequest) Descriptor() ([]byte, []int)
func (*ImportDocumentsRequest) GetCollectionIds ¶
func (m *ImportDocumentsRequest) GetCollectionIds() []string
func (*ImportDocumentsRequest) GetInputUriPrefix ¶
func (m *ImportDocumentsRequest) GetInputUriPrefix() string
func (*ImportDocumentsRequest) GetName ¶
func (m *ImportDocumentsRequest) GetName() string
func (*ImportDocumentsRequest) ProtoMessage ¶
func (*ImportDocumentsRequest) ProtoMessage()
func (*ImportDocumentsRequest) Reset ¶
func (m *ImportDocumentsRequest) Reset()
func (*ImportDocumentsRequest) String ¶
func (m *ImportDocumentsRequest) String() string
func (*ImportDocumentsRequest) XXX_DiscardUnknown ¶
func (m *ImportDocumentsRequest) XXX_DiscardUnknown()
func (*ImportDocumentsRequest) XXX_Marshal ¶
func (m *ImportDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportDocumentsRequest) XXX_Merge ¶
func (m *ImportDocumentsRequest) XXX_Merge(src proto.Message)
func (*ImportDocumentsRequest) XXX_Size ¶
func (m *ImportDocumentsRequest) XXX_Size() int
func (*ImportDocumentsRequest) XXX_Unmarshal ¶
func (m *ImportDocumentsRequest) XXX_Unmarshal(b []byte) error
type Index ¶
type Index struct { // The resource name of the index. // Output only. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The collection ID to which this index applies. Required. CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // The fields to index. Fields []*IndexField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // The state of the index. // Output only. State Index_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.firestore.admin.v1beta1.Index_State" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An index definition.
func (*Index) Descriptor ¶
func (*Index) GetCollectionId ¶
func (*Index) GetFields ¶
func (m *Index) GetFields() []*IndexField
func (*Index) GetState ¶
func (m *Index) GetState() Index_State
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
func (*Index) XXX_DiscardUnknown ¶
func (m *Index) XXX_DiscardUnknown()
func (*Index) XXX_Marshal ¶
func (*Index) XXX_Unmarshal ¶
type IndexField ¶
type IndexField struct { // The path of the field. Must match the field path specification described // by [google.firestore.v1beta1.Document.fields][fields]. // Special field path `__name__` may be used by itself or at the end of a // path. `__type__` may be used only at the end of path. FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` // The field's mode. Mode IndexField_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.firestore.admin.v1beta1.IndexField_Mode" json:"mode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A field of an index.
func (*IndexField) Descriptor ¶
func (*IndexField) Descriptor() ([]byte, []int)
func (*IndexField) GetFieldPath ¶
func (m *IndexField) GetFieldPath() string
func (*IndexField) GetMode ¶
func (m *IndexField) GetMode() IndexField_Mode
func (*IndexField) ProtoMessage ¶
func (*IndexField) ProtoMessage()
func (*IndexField) Reset ¶
func (m *IndexField) Reset()
func (*IndexField) String ¶
func (m *IndexField) String() string
func (*IndexField) XXX_DiscardUnknown ¶
func (m *IndexField) XXX_DiscardUnknown()
func (*IndexField) XXX_Marshal ¶
func (m *IndexField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexField) XXX_Merge ¶
func (m *IndexField) XXX_Merge(src proto.Message)
func (*IndexField) XXX_Size ¶
func (m *IndexField) XXX_Size() int
func (*IndexField) XXX_Unmarshal ¶
func (m *IndexField) XXX_Unmarshal(b []byte) error
type IndexField_Mode ¶
type IndexField_Mode int32
The mode determines how a field is indexed.
const ( // The mode is unspecified. IndexField_MODE_UNSPECIFIED IndexField_Mode = 0 // The field's values are indexed so as to support sequencing in // ascending order and also query by <, >, <=, >=, and =. IndexField_ASCENDING IndexField_Mode = 2 // 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 )
func (IndexField_Mode) EnumDescriptor ¶
func (IndexField_Mode) EnumDescriptor() ([]byte, []int)
func (IndexField_Mode) String ¶
func (x IndexField_Mode) String() string
type IndexOperationMetadata ¶
type IndexOperationMetadata 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 index resource that this operation is acting on. For example: // `projects/{project_id}/databases/{database_id}/indexes/{index_id}` Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` // The type of index operation. OperationType IndexOperationMetadata_OperationType `` /* 174-byte string literal not displayed */ // True if the [google.longrunning.Operation] was cancelled. If the // cancellation is in progress, cancelled will be true but // [google.longrunning.Operation.done][google.longrunning.Operation.done] will be false. Cancelled bool `protobuf:"varint,5,opt,name=cancelled,proto3" json:"cancelled,omitempty"` // Progress of the existing operation, measured in number of documents. DocumentProgress *Progress `protobuf:"bytes,6,opt,name=document_progress,json=documentProgress,proto3" json:"document_progress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for index operations. This metadata populates the metadata field of [google.longrunning.Operation][google.longrunning.Operation].
func (*IndexOperationMetadata) Descriptor ¶
func (*IndexOperationMetadata) Descriptor() ([]byte, []int)
func (*IndexOperationMetadata) GetCancelled ¶
func (m *IndexOperationMetadata) GetCancelled() bool
func (*IndexOperationMetadata) GetDocumentProgress ¶
func (m *IndexOperationMetadata) GetDocumentProgress() *Progress
func (*IndexOperationMetadata) GetEndTime ¶
func (m *IndexOperationMetadata) GetEndTime() *timestamp.Timestamp
func (*IndexOperationMetadata) GetIndex ¶
func (m *IndexOperationMetadata) GetIndex() string
func (*IndexOperationMetadata) GetOperationType ¶
func (m *IndexOperationMetadata) GetOperationType() IndexOperationMetadata_OperationType
func (*IndexOperationMetadata) GetStartTime ¶
func (m *IndexOperationMetadata) GetStartTime() *timestamp.Timestamp
func (*IndexOperationMetadata) ProtoMessage ¶
func (*IndexOperationMetadata) ProtoMessage()
func (*IndexOperationMetadata) Reset ¶
func (m *IndexOperationMetadata) Reset()
func (*IndexOperationMetadata) String ¶
func (m *IndexOperationMetadata) String() string
func (*IndexOperationMetadata) XXX_DiscardUnknown ¶
func (m *IndexOperationMetadata) XXX_DiscardUnknown()
func (*IndexOperationMetadata) XXX_Marshal ¶
func (m *IndexOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexOperationMetadata) XXX_Merge ¶
func (m *IndexOperationMetadata) XXX_Merge(src proto.Message)
func (*IndexOperationMetadata) XXX_Size ¶
func (m *IndexOperationMetadata) XXX_Size() int
func (*IndexOperationMetadata) XXX_Unmarshal ¶
func (m *IndexOperationMetadata) XXX_Unmarshal(b []byte) error
type IndexOperationMetadata_OperationType ¶
type IndexOperationMetadata_OperationType int32
The type of index operation.
const ( // Unspecified. Never set by server. IndexOperationMetadata_OPERATION_TYPE_UNSPECIFIED IndexOperationMetadata_OperationType = 0 // The operation is creating the index. Initiated by a `CreateIndex` call. IndexOperationMetadata_CREATING_INDEX IndexOperationMetadata_OperationType = 1 )
func (IndexOperationMetadata_OperationType) EnumDescriptor ¶
func (IndexOperationMetadata_OperationType) EnumDescriptor() ([]byte, []int)
func (IndexOperationMetadata_OperationType) String ¶
func (x IndexOperationMetadata_OperationType) String() string
type Index_State ¶
type Index_State int32
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 is not able to be created, it will transition to the `ERROR` state.
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 = 3 // 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. Index_ERROR Index_State = 5 )
func (Index_State) EnumDescriptor ¶
func (Index_State) EnumDescriptor() ([]byte, []int)
func (Index_State) String ¶
func (x Index_State) String() string
type ListIndexesRequest ¶
type ListIndexesRequest struct { // The database name. For example: // `projects/{project_id}/databases/{database_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The standard List page size. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The standard List page token. 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:"-"` }
The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes].
func (*ListIndexesRequest) Descriptor ¶
func (*ListIndexesRequest) Descriptor() ([]byte, []int)
func (*ListIndexesRequest) GetFilter ¶
func (m *ListIndexesRequest) GetFilter() string
func (*ListIndexesRequest) GetPageSize ¶
func (m *ListIndexesRequest) GetPageSize() int32
func (*ListIndexesRequest) GetPageToken ¶
func (m *ListIndexesRequest) GetPageToken() string
func (*ListIndexesRequest) GetParent ¶
func (m *ListIndexesRequest) GetParent() string
func (*ListIndexesRequest) ProtoMessage ¶
func (*ListIndexesRequest) ProtoMessage()
func (*ListIndexesRequest) Reset ¶
func (m *ListIndexesRequest) Reset()
func (*ListIndexesRequest) String ¶
func (m *ListIndexesRequest) String() string
func (*ListIndexesRequest) XXX_DiscardUnknown ¶
func (m *ListIndexesRequest) XXX_DiscardUnknown()
func (*ListIndexesRequest) XXX_Marshal ¶
func (m *ListIndexesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIndexesRequest) XXX_Merge ¶
func (m *ListIndexesRequest) XXX_Merge(src proto.Message)
func (*ListIndexesRequest) XXX_Size ¶
func (m *ListIndexesRequest) XXX_Size() int
func (*ListIndexesRequest) XXX_Unmarshal ¶
func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error
type ListIndexesResponse ¶
type ListIndexesResponse struct { // The indexes. Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` // The standard List next-page token. 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:"-"` }
The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes].
func (*ListIndexesResponse) Descriptor ¶
func (*ListIndexesResponse) Descriptor() ([]byte, []int)
func (*ListIndexesResponse) GetIndexes ¶
func (m *ListIndexesResponse) GetIndexes() []*Index
func (*ListIndexesResponse) GetNextPageToken ¶
func (m *ListIndexesResponse) GetNextPageToken() string
func (*ListIndexesResponse) ProtoMessage ¶
func (*ListIndexesResponse) ProtoMessage()
func (*ListIndexesResponse) Reset ¶
func (m *ListIndexesResponse) Reset()
func (*ListIndexesResponse) String ¶
func (m *ListIndexesResponse) String() string
func (*ListIndexesResponse) XXX_DiscardUnknown ¶
func (m *ListIndexesResponse) XXX_DiscardUnknown()
func (*ListIndexesResponse) XXX_Marshal ¶
func (m *ListIndexesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIndexesResponse) XXX_Merge ¶
func (m *ListIndexesResponse) XXX_Merge(src proto.Message)
func (*ListIndexesResponse) XXX_Size ¶
func (m *ListIndexesResponse) XXX_Size() int
func (*ListIndexesResponse) XXX_Unmarshal ¶
func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error
type OperationState ¶
type OperationState int32
The various possible states for an ongoing Operation.
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 )
func (OperationState) EnumDescriptor ¶
func (OperationState) EnumDescriptor() ([]byte, []int)
func (OperationState) String ¶
func (x OperationState) String() string
type Progress ¶
type Progress struct { // An estimate of how much work has been completed. Note that this may be // greater than `work_estimated`. WorkCompleted int64 `protobuf:"varint,1,opt,name=work_completed,json=workCompleted,proto3" json:"work_completed,omitempty"` // An estimate of how much work needs to be performed. Zero if the // work estimate is unavailable. May change as work progresses. WorkEstimated int64 `protobuf:"varint,2,opt,name=work_estimated,json=workEstimated,proto3" json:"work_estimated,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Measures the progress of a particular metric.
func (*Progress) Descriptor ¶
func (*Progress) GetWorkCompleted ¶
func (*Progress) GetWorkEstimated ¶
func (*Progress) ProtoMessage ¶
func (*Progress) ProtoMessage()
func (*Progress) XXX_DiscardUnknown ¶
func (m *Progress) XXX_DiscardUnknown()