go: cloud.google.com/go/firestore/internal/conformance Index | Files

package google_cloud_conformance_firestore_v1

import "cloud.google.com/go/firestore/internal/conformance"

Index

Package Files

tests.pb.go

Variables

var DocChange_Kind_name = map[int32]string{
    0:  "KIND_UNSPECIFIED",
    1:  "ADDED",
    2:  "REMOVED",
    3:  "MODIFIED",
}
var DocChange_Kind_value = map[string]int32{
    "KIND_UNSPECIFIED": 0,
    "ADDED":            1,
    "REMOVED":          2,
    "MODIFIED":         3,
}

type Clause Uses

type Clause struct {
    // Types that are valid to be assigned to Clause:
    //	*Clause_Select
    //	*Clause_Where
    //	*Clause_OrderBy
    //	*Clause_Offset
    //	*Clause_Limit
    //	*Clause_StartAt
    //	*Clause_StartAfter
    //	*Clause_EndAt
    //	*Clause_EndBefore
    Clause               isClause_Clause `protobuf_oneof:"clause"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*Clause) Descriptor Uses

func (*Clause) Descriptor() ([]byte, []int)

func (*Clause) GetClause Uses

func (m *Clause) GetClause() isClause_Clause

func (*Clause) GetEndAt Uses

func (m *Clause) GetEndAt() *Cursor

func (*Clause) GetEndBefore Uses

func (m *Clause) GetEndBefore() *Cursor

func (*Clause) GetLimit Uses

func (m *Clause) GetLimit() int32

func (*Clause) GetOffset Uses

func (m *Clause) GetOffset() int32

func (*Clause) GetOrderBy Uses

func (m *Clause) GetOrderBy() *OrderBy

func (*Clause) GetSelect Uses

func (m *Clause) GetSelect() *Select

func (*Clause) GetStartAfter Uses

func (m *Clause) GetStartAfter() *Cursor

func (*Clause) GetStartAt Uses

func (m *Clause) GetStartAt() *Cursor

func (*Clause) GetWhere Uses

func (m *Clause) GetWhere() *Where

func (*Clause) ProtoMessage Uses

func (*Clause) ProtoMessage()

func (*Clause) Reset Uses

func (m *Clause) Reset()

func (*Clause) String Uses

func (m *Clause) String() string

func (*Clause) XXX_DiscardUnknown Uses

func (m *Clause) XXX_DiscardUnknown()

func (*Clause) XXX_Marshal Uses

func (m *Clause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Clause) XXX_Merge Uses

func (m *Clause) XXX_Merge(src proto.Message)

func (*Clause) XXX_OneofWrappers Uses

func (*Clause) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Clause) XXX_Size Uses

func (m *Clause) XXX_Size() int

func (*Clause) XXX_Unmarshal Uses

func (m *Clause) XXX_Unmarshal(b []byte) error

type Clause_EndAt Uses

type Clause_EndAt struct {
    EndAt *Cursor `protobuf:"bytes,8,opt,name=end_at,json=endAt,proto3,oneof"`
}

type Clause_EndBefore Uses

type Clause_EndBefore struct {
    EndBefore *Cursor `protobuf:"bytes,9,opt,name=end_before,json=endBefore,proto3,oneof"`
}

type Clause_Limit Uses

type Clause_Limit struct {
    Limit int32 `protobuf:"varint,5,opt,name=limit,proto3,oneof"`
}

type Clause_Offset Uses

type Clause_Offset struct {
    Offset int32 `protobuf:"varint,4,opt,name=offset,proto3,oneof"`
}

type Clause_OrderBy Uses

type Clause_OrderBy struct {
    OrderBy *OrderBy `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3,oneof"`
}

type Clause_Select Uses

type Clause_Select struct {
    Select *Select `protobuf:"bytes,1,opt,name=select,proto3,oneof"`
}

type Clause_StartAfter Uses

type Clause_StartAfter struct {
    StartAfter *Cursor `protobuf:"bytes,7,opt,name=start_after,json=startAfter,proto3,oneof"`
}

type Clause_StartAt Uses

type Clause_StartAt struct {
    StartAt *Cursor `protobuf:"bytes,6,opt,name=start_at,json=startAt,proto3,oneof"`
}

type Clause_Where Uses

type Clause_Where struct {
    Where *Where `protobuf:"bytes,2,opt,name=where,proto3,oneof"`
}

type CreateTest Uses

type CreateTest struct {
    // The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
    DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath,proto3" json:"doc_ref_path,omitempty"`
    // The data passed to Create, as JSON. The strings "Delete" and "ServerTimestamp"
    // denote the two special sentinel values. Values that could be interpreted as integers
    // (i.e. digit strings) should be treated as integers.
    JsonData string `protobuf:"bytes,2,opt,name=json_data,json=jsonData,proto3" json:"json_data,omitempty"`
    // The request that the call should generate.
    Request *v1.CommitRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
    // If true, the call should result in an error without generating a request.
    // If this is true, request should not be set.
    IsError              bool     `protobuf:"varint,4,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Call to DocumentRef.Create.

func (*CreateTest) Descriptor Uses

func (*CreateTest) Descriptor() ([]byte, []int)

func (*CreateTest) GetDocRefPath Uses

func (m *CreateTest) GetDocRefPath() string

func (*CreateTest) GetIsError Uses

func (m *CreateTest) GetIsError() bool

func (*CreateTest) GetJsonData Uses

func (m *CreateTest) GetJsonData() string

func (*CreateTest) GetRequest Uses

func (m *CreateTest) GetRequest() *v1.CommitRequest

func (*CreateTest) ProtoMessage Uses

func (*CreateTest) ProtoMessage()

func (*CreateTest) Reset Uses

func (m *CreateTest) Reset()

func (*CreateTest) String Uses

func (m *CreateTest) String() string

func (*CreateTest) XXX_DiscardUnknown Uses

func (m *CreateTest) XXX_DiscardUnknown()

func (*CreateTest) XXX_Marshal Uses

func (m *CreateTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTest) XXX_Merge Uses

func (m *CreateTest) XXX_Merge(src proto.Message)

func (*CreateTest) XXX_Size Uses

func (m *CreateTest) XXX_Size() int

func (*CreateTest) XXX_Unmarshal Uses

func (m *CreateTest) XXX_Unmarshal(b []byte) error

type Cursor Uses

type Cursor struct {
    // one of:
    DocSnapshot          *DocSnapshot `protobuf:"bytes,1,opt,name=doc_snapshot,json=docSnapshot,proto3" json:"doc_snapshot,omitempty"`
    JsonValues           []string     `protobuf:"bytes,2,rep,name=json_values,json=jsonValues,proto3" json:"json_values,omitempty"`
    XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    XXX_unrecognized     []byte       `json:"-"`
    XXX_sizecache        int32        `json:"-"`
}

func (*Cursor) Descriptor Uses

func (*Cursor) Descriptor() ([]byte, []int)

func (*Cursor) GetDocSnapshot Uses

func (m *Cursor) GetDocSnapshot() *DocSnapshot

func (*Cursor) GetJsonValues Uses

func (m *Cursor) GetJsonValues() []string

func (*Cursor) ProtoMessage Uses

func (*Cursor) ProtoMessage()

func (*Cursor) Reset Uses

func (m *Cursor) Reset()

func (*Cursor) String Uses

func (m *Cursor) String() string

func (*Cursor) XXX_DiscardUnknown Uses

func (m *Cursor) XXX_DiscardUnknown()

func (*Cursor) XXX_Marshal Uses

func (m *Cursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cursor) XXX_Merge Uses

func (m *Cursor) XXX_Merge(src proto.Message)

func (*Cursor) XXX_Size Uses

func (m *Cursor) XXX_Size() int

func (*Cursor) XXX_Unmarshal Uses

func (m *Cursor) XXX_Unmarshal(b []byte) error

type DeleteTest Uses

type DeleteTest struct {
    DocRefPath           string            `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath,proto3" json:"doc_ref_path,omitempty"`
    Precondition         *v1.Precondition  `protobuf:"bytes,2,opt,name=precondition,proto3" json:"precondition,omitempty"`
    Request              *v1.CommitRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
    IsError              bool              `protobuf:"varint,4,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

A call to DocmentRef.Delete

func (*DeleteTest) Descriptor Uses

func (*DeleteTest) Descriptor() ([]byte, []int)

func (*DeleteTest) GetDocRefPath Uses

func (m *DeleteTest) GetDocRefPath() string

func (*DeleteTest) GetIsError Uses

func (m *DeleteTest) GetIsError() bool

func (*DeleteTest) GetPrecondition Uses

func (m *DeleteTest) GetPrecondition() *v1.Precondition

func (*DeleteTest) GetRequest Uses

func (m *DeleteTest) GetRequest() *v1.CommitRequest

func (*DeleteTest) ProtoMessage Uses

func (*DeleteTest) ProtoMessage()

func (*DeleteTest) Reset Uses

func (m *DeleteTest) Reset()

func (*DeleteTest) String Uses

func (m *DeleteTest) String() string

func (*DeleteTest) XXX_DiscardUnknown Uses

func (m *DeleteTest) XXX_DiscardUnknown()

func (*DeleteTest) XXX_Marshal Uses

func (m *DeleteTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTest) XXX_Merge Uses

func (m *DeleteTest) XXX_Merge(src proto.Message)

func (*DeleteTest) XXX_Size Uses

func (m *DeleteTest) XXX_Size() int

func (*DeleteTest) XXX_Unmarshal Uses

func (m *DeleteTest) XXX_Unmarshal(b []byte) error

type DocChange Uses

type DocChange struct {
    Kind                 DocChange_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.cloud.conformance.firestore.v1.DocChange_Kind" json:"kind,omitempty"`
    Doc                  *v1.Document   `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"`
    OldIndex             int32          `protobuf:"varint,3,opt,name=old_index,json=oldIndex,proto3" json:"old_index,omitempty"`
    NewIndex             int32          `protobuf:"varint,4,opt,name=new_index,json=newIndex,proto3" json:"new_index,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

func (*DocChange) Descriptor Uses

func (*DocChange) Descriptor() ([]byte, []int)

func (*DocChange) GetDoc Uses

func (m *DocChange) GetDoc() *v1.Document

func (*DocChange) GetKind Uses

func (m *DocChange) GetKind() DocChange_Kind

func (*DocChange) GetNewIndex Uses

func (m *DocChange) GetNewIndex() int32

func (*DocChange) GetOldIndex Uses

func (m *DocChange) GetOldIndex() int32

func (*DocChange) ProtoMessage Uses

func (*DocChange) ProtoMessage()

func (*DocChange) Reset Uses

func (m *DocChange) Reset()

func (*DocChange) String Uses

func (m *DocChange) String() string

func (*DocChange) XXX_DiscardUnknown Uses

func (m *DocChange) XXX_DiscardUnknown()

func (*DocChange) XXX_Marshal Uses

func (m *DocChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DocChange) XXX_Merge Uses

func (m *DocChange) XXX_Merge(src proto.Message)

func (*DocChange) XXX_Size Uses

func (m *DocChange) XXX_Size() int

func (*DocChange) XXX_Unmarshal Uses

func (m *DocChange) XXX_Unmarshal(b []byte) error

type DocChange_Kind Uses

type DocChange_Kind int32
const (
    DocChange_KIND_UNSPECIFIED DocChange_Kind = 0
    DocChange_ADDED            DocChange_Kind = 1
    DocChange_REMOVED          DocChange_Kind = 2
    DocChange_MODIFIED         DocChange_Kind = 3
)

func (DocChange_Kind) EnumDescriptor Uses

func (DocChange_Kind) EnumDescriptor() ([]byte, []int)

func (DocChange_Kind) String Uses

func (x DocChange_Kind) String() string

type DocSnapshot Uses

type DocSnapshot struct {
    Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    JsonData             string   `protobuf:"bytes,2,opt,name=json_data,json=jsonData,proto3" json:"json_data,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*DocSnapshot) Descriptor Uses

func (*DocSnapshot) Descriptor() ([]byte, []int)

func (*DocSnapshot) GetJsonData Uses

func (m *DocSnapshot) GetJsonData() string

func (*DocSnapshot) GetPath Uses

func (m *DocSnapshot) GetPath() string

func (*DocSnapshot) ProtoMessage Uses

func (*DocSnapshot) ProtoMessage()

func (*DocSnapshot) Reset Uses

func (m *DocSnapshot) Reset()

func (*DocSnapshot) String Uses

func (m *DocSnapshot) String() string

func (*DocSnapshot) XXX_DiscardUnknown Uses

func (m *DocSnapshot) XXX_DiscardUnknown()

func (*DocSnapshot) XXX_Marshal Uses

func (m *DocSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DocSnapshot) XXX_Merge Uses

func (m *DocSnapshot) XXX_Merge(src proto.Message)

func (*DocSnapshot) XXX_Size Uses

func (m *DocSnapshot) XXX_Size() int

func (*DocSnapshot) XXX_Unmarshal Uses

func (m *DocSnapshot) XXX_Unmarshal(b []byte) error

type FieldPath Uses

type FieldPath struct {
    Field                []string `protobuf:"bytes,1,rep,name=field,proto3" json:"field,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*FieldPath) Descriptor Uses

func (*FieldPath) Descriptor() ([]byte, []int)

func (*FieldPath) GetField Uses

func (m *FieldPath) GetField() []string

func (*FieldPath) ProtoMessage Uses

func (*FieldPath) ProtoMessage()

func (*FieldPath) Reset Uses

func (m *FieldPath) Reset()

func (*FieldPath) String Uses

func (m *FieldPath) String() string

func (*FieldPath) XXX_DiscardUnknown Uses

func (m *FieldPath) XXX_DiscardUnknown()

func (*FieldPath) XXX_Marshal Uses

func (m *FieldPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldPath) XXX_Merge Uses

func (m *FieldPath) XXX_Merge(src proto.Message)

func (*FieldPath) XXX_Size Uses

func (m *FieldPath) XXX_Size() int

func (*FieldPath) XXX_Unmarshal Uses

func (m *FieldPath) XXX_Unmarshal(b []byte) error

type GetTest Uses

type GetTest struct {
    // The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
    DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath,proto3" json:"doc_ref_path,omitempty"`
    // The request that the call should send to the Firestore service.
    Request              *v1.GetDocumentRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

Call to the DocumentRef.Get method.

func (*GetTest) Descriptor Uses

func (*GetTest) Descriptor() ([]byte, []int)

func (*GetTest) GetDocRefPath Uses

func (m *GetTest) GetDocRefPath() string

func (*GetTest) GetRequest Uses

func (m *GetTest) GetRequest() *v1.GetDocumentRequest

func (*GetTest) ProtoMessage Uses

func (*GetTest) ProtoMessage()

func (*GetTest) Reset Uses

func (m *GetTest) Reset()

func (*GetTest) String Uses

func (m *GetTest) String() string

func (*GetTest) XXX_DiscardUnknown Uses

func (m *GetTest) XXX_DiscardUnknown()

func (*GetTest) XXX_Marshal Uses

func (m *GetTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTest) XXX_Merge Uses

func (m *GetTest) XXX_Merge(src proto.Message)

func (*GetTest) XXX_Size Uses

func (m *GetTest) XXX_Size() int

func (*GetTest) XXX_Unmarshal Uses

func (m *GetTest) XXX_Unmarshal(b []byte) error

type ListenTest Uses

type ListenTest struct {
    Responses            []*v1.ListenResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
    Snapshots            []*Snapshot          `protobuf:"bytes,2,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
    IsError              bool                 `protobuf:"varint,3,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

A test of the Listen streaming RPC (a.k.a. FireStore watch). If the sequence of responses is provided to the implementation, it should produce the sequence of snapshots. If is_error is true, an error should occur after the snapshots.

The tests assume that the query is Collection("projects/projectID/databases/(default)/documents/C").OrderBy("a", Ascending)

The watch target ID used in these tests is 1. Test interpreters should either change their client's ID for testing, or change the ID in the tests before running them.

func (*ListenTest) Descriptor Uses

func (*ListenTest) Descriptor() ([]byte, []int)

func (*ListenTest) GetIsError Uses

func (m *ListenTest) GetIsError() bool

func (*ListenTest) GetResponses Uses

func (m *ListenTest) GetResponses() []*v1.ListenResponse

func (*ListenTest) GetSnapshots Uses

func (m *ListenTest) GetSnapshots() []*Snapshot

func (*ListenTest) ProtoMessage Uses

func (*ListenTest) ProtoMessage()

func (*ListenTest) Reset Uses

func (m *ListenTest) Reset()

func (*ListenTest) String Uses

func (m *ListenTest) String() string

func (*ListenTest) XXX_DiscardUnknown Uses

func (m *ListenTest) XXX_DiscardUnknown()

func (*ListenTest) XXX_Marshal Uses

func (m *ListenTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenTest) XXX_Merge Uses

func (m *ListenTest) XXX_Merge(src proto.Message)

func (*ListenTest) XXX_Size Uses

func (m *ListenTest) XXX_Size() int

func (*ListenTest) XXX_Unmarshal Uses

func (m *ListenTest) XXX_Unmarshal(b []byte) error

type OrderBy Uses

type OrderBy struct {
    Path                 *FieldPath `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    Direction            string     `protobuf:"bytes,2,opt,name=direction,proto3" json:"direction,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*OrderBy) Descriptor Uses

func (*OrderBy) Descriptor() ([]byte, []int)

func (*OrderBy) GetDirection Uses

func (m *OrderBy) GetDirection() string

func (*OrderBy) GetPath Uses

func (m *OrderBy) GetPath() *FieldPath

func (*OrderBy) ProtoMessage Uses

func (*OrderBy) ProtoMessage()

func (*OrderBy) Reset Uses

func (m *OrderBy) Reset()

func (*OrderBy) String Uses

func (m *OrderBy) String() string

func (*OrderBy) XXX_DiscardUnknown Uses

func (m *OrderBy) XXX_DiscardUnknown()

func (*OrderBy) XXX_Marshal Uses

func (m *OrderBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrderBy) XXX_Merge Uses

func (m *OrderBy) XXX_Merge(src proto.Message)

func (*OrderBy) XXX_Size Uses

func (m *OrderBy) XXX_Size() int

func (*OrderBy) XXX_Unmarshal Uses

func (m *OrderBy) XXX_Unmarshal(b []byte) error

type QueryTest Uses

type QueryTest struct {
    CollPath             string              `protobuf:"bytes,1,opt,name=coll_path,json=collPath,proto3" json:"coll_path,omitempty"`
    Clauses              []*Clause           `protobuf:"bytes,2,rep,name=clauses,proto3" json:"clauses,omitempty"`
    Query                *v1.StructuredQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
    IsError              bool                `protobuf:"varint,4,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

func (*QueryTest) Descriptor Uses

func (*QueryTest) Descriptor() ([]byte, []int)

func (*QueryTest) GetClauses Uses

func (m *QueryTest) GetClauses() []*Clause

func (*QueryTest) GetCollPath Uses

func (m *QueryTest) GetCollPath() string

func (*QueryTest) GetIsError Uses

func (m *QueryTest) GetIsError() bool

func (*QueryTest) GetQuery Uses

func (m *QueryTest) GetQuery() *v1.StructuredQuery

func (*QueryTest) ProtoMessage Uses

func (*QueryTest) ProtoMessage()

func (*QueryTest) Reset Uses

func (m *QueryTest) Reset()

func (*QueryTest) String Uses

func (m *QueryTest) String() string

func (*QueryTest) XXX_DiscardUnknown Uses

func (m *QueryTest) XXX_DiscardUnknown()

func (*QueryTest) XXX_Marshal Uses

func (m *QueryTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTest) XXX_Merge Uses

func (m *QueryTest) XXX_Merge(src proto.Message)

func (*QueryTest) XXX_Size Uses

func (m *QueryTest) XXX_Size() int

func (*QueryTest) XXX_Unmarshal Uses

func (m *QueryTest) XXX_Unmarshal(b []byte) error

type Select Uses

type Select struct {
    Fields               []*FieldPath `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
    XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    XXX_unrecognized     []byte       `json:"-"`
    XXX_sizecache        int32        `json:"-"`
}

func (*Select) Descriptor Uses

func (*Select) Descriptor() ([]byte, []int)

func (*Select) GetFields Uses

func (m *Select) GetFields() []*FieldPath

func (*Select) ProtoMessage Uses

func (*Select) ProtoMessage()

func (*Select) Reset Uses

func (m *Select) Reset()

func (*Select) String Uses

func (m *Select) String() string

func (*Select) XXX_DiscardUnknown Uses

func (m *Select) XXX_DiscardUnknown()

func (*Select) XXX_Marshal Uses

func (m *Select) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Select) XXX_Merge Uses

func (m *Select) XXX_Merge(src proto.Message)

func (*Select) XXX_Size Uses

func (m *Select) XXX_Size() int

func (*Select) XXX_Unmarshal Uses

func (m *Select) XXX_Unmarshal(b []byte) error

type SetOption Uses

type SetOption struct {
    All                  bool         `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
    Fields               []*FieldPath `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
    XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    XXX_unrecognized     []byte       `json:"-"`
    XXX_sizecache        int32        `json:"-"`
}

An option to the DocumentRef.Set call.

func (*SetOption) Descriptor Uses

func (*SetOption) Descriptor() ([]byte, []int)

func (*SetOption) GetAll Uses

func (m *SetOption) GetAll() bool

func (*SetOption) GetFields Uses

func (m *SetOption) GetFields() []*FieldPath

func (*SetOption) ProtoMessage Uses

func (*SetOption) ProtoMessage()

func (*SetOption) Reset Uses

func (m *SetOption) Reset()

func (*SetOption) String Uses

func (m *SetOption) String() string

func (*SetOption) XXX_DiscardUnknown Uses

func (m *SetOption) XXX_DiscardUnknown()

func (*SetOption) XXX_Marshal Uses

func (m *SetOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetOption) XXX_Merge Uses

func (m *SetOption) XXX_Merge(src proto.Message)

func (*SetOption) XXX_Size Uses

func (m *SetOption) XXX_Size() int

func (*SetOption) XXX_Unmarshal Uses

func (m *SetOption) XXX_Unmarshal(b []byte) error

type SetTest Uses

type SetTest struct {
    DocRefPath           string            `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath,proto3" json:"doc_ref_path,omitempty"`
    Option               *SetOption        `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
    JsonData             string            `protobuf:"bytes,3,opt,name=json_data,json=jsonData,proto3" json:"json_data,omitempty"`
    Request              *v1.CommitRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
    IsError              bool              `protobuf:"varint,5,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

A call to DocumentRef.Set.

func (*SetTest) Descriptor Uses

func (*SetTest) Descriptor() ([]byte, []int)

func (*SetTest) GetDocRefPath Uses

func (m *SetTest) GetDocRefPath() string

func (*SetTest) GetIsError Uses

func (m *SetTest) GetIsError() bool

func (*SetTest) GetJsonData Uses

func (m *SetTest) GetJsonData() string

func (*SetTest) GetOption Uses

func (m *SetTest) GetOption() *SetOption

func (*SetTest) GetRequest Uses

func (m *SetTest) GetRequest() *v1.CommitRequest

func (*SetTest) ProtoMessage Uses

func (*SetTest) ProtoMessage()

func (*SetTest) Reset Uses

func (m *SetTest) Reset()

func (*SetTest) String Uses

func (m *SetTest) String() string

func (*SetTest) XXX_DiscardUnknown Uses

func (m *SetTest) XXX_DiscardUnknown()

func (*SetTest) XXX_Marshal Uses

func (m *SetTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetTest) XXX_Merge Uses

func (m *SetTest) XXX_Merge(src proto.Message)

func (*SetTest) XXX_Size Uses

func (m *SetTest) XXX_Size() int

func (*SetTest) XXX_Unmarshal Uses

func (m *SetTest) XXX_Unmarshal(b []byte) error

type Snapshot Uses

type Snapshot struct {
    Docs                 []*v1.Document       `protobuf:"bytes,1,rep,name=docs,proto3" json:"docs,omitempty"`
    Changes              []*DocChange         `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"`
    ReadTime             *timestamp.Timestamp `protobuf:"bytes,3,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

func (*Snapshot) Descriptor Uses

func (*Snapshot) Descriptor() ([]byte, []int)

func (*Snapshot) GetChanges Uses

func (m *Snapshot) GetChanges() []*DocChange

func (*Snapshot) GetDocs Uses

func (m *Snapshot) GetDocs() []*v1.Document

func (*Snapshot) GetReadTime Uses

func (m *Snapshot) GetReadTime() *timestamp.Timestamp

func (*Snapshot) ProtoMessage Uses

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset Uses

func (m *Snapshot) Reset()

func (*Snapshot) String Uses

func (m *Snapshot) String() string

func (*Snapshot) XXX_DiscardUnknown Uses

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal Uses

func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot) XXX_Merge Uses

func (m *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size Uses

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal Uses

func (m *Snapshot) XXX_Unmarshal(b []byte) error

type Test Uses

type Test struct {
    Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
    Comment     string `protobuf:"bytes,10,opt,name=comment,proto3" json:"comment,omitempty"`
    // Types that are valid to be assigned to Test:
    //	*Test_Get
    //	*Test_Create
    //	*Test_Set
    //	*Test_Update
    //	*Test_UpdatePaths
    //	*Test_Delete
    //	*Test_Query
    //	*Test_Listen
    Test                 isTest_Test `protobuf_oneof:"test"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

A Test describes a single client method call and its expected result.

func (*Test) Descriptor Uses

func (*Test) Descriptor() ([]byte, []int)

func (*Test) GetComment Uses

func (m *Test) GetComment() string

func (*Test) GetCreate Uses

func (m *Test) GetCreate() *CreateTest

func (*Test) GetDelete Uses

func (m *Test) GetDelete() *DeleteTest

func (*Test) GetDescription Uses

func (m *Test) GetDescription() string

func (*Test) GetGet Uses

func (m *Test) GetGet() *GetTest

func (*Test) GetListen Uses

func (m *Test) GetListen() *ListenTest

func (*Test) GetQuery Uses

func (m *Test) GetQuery() *QueryTest

func (*Test) GetSet Uses

func (m *Test) GetSet() *SetTest

func (*Test) GetTest Uses

func (m *Test) GetTest() isTest_Test

func (*Test) GetUpdate Uses

func (m *Test) GetUpdate() *UpdateTest

func (*Test) GetUpdatePaths Uses

func (m *Test) GetUpdatePaths() *UpdatePathsTest

func (*Test) ProtoMessage Uses

func (*Test) ProtoMessage()

func (*Test) Reset Uses

func (m *Test) Reset()

func (*Test) String Uses

func (m *Test) String() string

func (*Test) XXX_DiscardUnknown Uses

func (m *Test) XXX_DiscardUnknown()

func (*Test) XXX_Marshal Uses

func (m *Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Test) XXX_Merge Uses

func (m *Test) XXX_Merge(src proto.Message)

func (*Test) XXX_OneofWrappers Uses

func (*Test) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Test) XXX_Size Uses

func (m *Test) XXX_Size() int

func (*Test) XXX_Unmarshal Uses

func (m *Test) XXX_Unmarshal(b []byte) error

type TestFile Uses

type TestFile struct {
    Tests                []*Test  `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A collection of tests.

func (*TestFile) Descriptor Uses

func (*TestFile) Descriptor() ([]byte, []int)

func (*TestFile) GetTests Uses

func (m *TestFile) GetTests() []*Test

func (*TestFile) ProtoMessage Uses

func (*TestFile) ProtoMessage()

func (*TestFile) Reset Uses

func (m *TestFile) Reset()

func (*TestFile) String Uses

func (m *TestFile) String() string

func (*TestFile) XXX_DiscardUnknown Uses

func (m *TestFile) XXX_DiscardUnknown()

func (*TestFile) XXX_Marshal Uses

func (m *TestFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestFile) XXX_Merge Uses

func (m *TestFile) XXX_Merge(src proto.Message)

func (*TestFile) XXX_Size Uses

func (m *TestFile) XXX_Size() int

func (*TestFile) XXX_Unmarshal Uses

func (m *TestFile) XXX_Unmarshal(b []byte) error

type Test_Create Uses

type Test_Create struct {
    Create *CreateTest `protobuf:"bytes,3,opt,name=create,proto3,oneof"`
}

type Test_Delete Uses

type Test_Delete struct {
    Delete *DeleteTest `protobuf:"bytes,7,opt,name=delete,proto3,oneof"`
}

type Test_Get Uses

type Test_Get struct {
    Get *GetTest `protobuf:"bytes,2,opt,name=get,proto3,oneof"`
}

type Test_Listen Uses

type Test_Listen struct {
    Listen *ListenTest `protobuf:"bytes,9,opt,name=listen,proto3,oneof"`
}

type Test_Query Uses

type Test_Query struct {
    Query *QueryTest `protobuf:"bytes,8,opt,name=query,proto3,oneof"`
}

type Test_Set Uses

type Test_Set struct {
    Set *SetTest `protobuf:"bytes,4,opt,name=set,proto3,oneof"`
}

type Test_Update Uses

type Test_Update struct {
    Update *UpdateTest `protobuf:"bytes,5,opt,name=update,proto3,oneof"`
}

type Test_UpdatePaths Uses

type Test_UpdatePaths struct {
    UpdatePaths *UpdatePathsTest `protobuf:"bytes,6,opt,name=update_paths,json=updatePaths,proto3,oneof"`
}

type UpdatePathsTest Uses

type UpdatePathsTest struct {
    DocRefPath   string           `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath,proto3" json:"doc_ref_path,omitempty"`
    Precondition *v1.Precondition `protobuf:"bytes,2,opt,name=precondition,proto3" json:"precondition,omitempty"`
    // parallel sequences: field_paths[i] corresponds to json_values[i]
    FieldPaths           []*FieldPath      `protobuf:"bytes,3,rep,name=field_paths,json=fieldPaths,proto3" json:"field_paths,omitempty"`
    JsonValues           []string          `protobuf:"bytes,4,rep,name=json_values,json=jsonValues,proto3" json:"json_values,omitempty"`
    Request              *v1.CommitRequest `protobuf:"bytes,5,opt,name=request,proto3" json:"request,omitempty"`
    IsError              bool              `protobuf:"varint,6,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

A call to the form of DocumentRef.Update that represents the data as a list of field paths and their values.

func (*UpdatePathsTest) Descriptor Uses

func (*UpdatePathsTest) Descriptor() ([]byte, []int)

func (*UpdatePathsTest) GetDocRefPath Uses

func (m *UpdatePathsTest) GetDocRefPath() string

func (*UpdatePathsTest) GetFieldPaths Uses

func (m *UpdatePathsTest) GetFieldPaths() []*FieldPath

func (*UpdatePathsTest) GetIsError Uses

func (m *UpdatePathsTest) GetIsError() bool

func (*UpdatePathsTest) GetJsonValues Uses

func (m *UpdatePathsTest) GetJsonValues() []string

func (*UpdatePathsTest) GetPrecondition Uses

func (m *UpdatePathsTest) GetPrecondition() *v1.Precondition

func (*UpdatePathsTest) GetRequest Uses

func (m *UpdatePathsTest) GetRequest() *v1.CommitRequest

func (*UpdatePathsTest) ProtoMessage Uses

func (*UpdatePathsTest) ProtoMessage()

func (*UpdatePathsTest) Reset Uses

func (m *UpdatePathsTest) Reset()

func (*UpdatePathsTest) String Uses

func (m *UpdatePathsTest) String() string

func (*UpdatePathsTest) XXX_DiscardUnknown Uses

func (m *UpdatePathsTest) XXX_DiscardUnknown()

func (*UpdatePathsTest) XXX_Marshal Uses

func (m *UpdatePathsTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdatePathsTest) XXX_Merge Uses

func (m *UpdatePathsTest) XXX_Merge(src proto.Message)

func (*UpdatePathsTest) XXX_Size Uses

func (m *UpdatePathsTest) XXX_Size() int

func (*UpdatePathsTest) XXX_Unmarshal Uses

func (m *UpdatePathsTest) XXX_Unmarshal(b []byte) error

type UpdateTest Uses

type UpdateTest struct {
    DocRefPath           string            `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath,proto3" json:"doc_ref_path,omitempty"`
    Precondition         *v1.Precondition  `protobuf:"bytes,2,opt,name=precondition,proto3" json:"precondition,omitempty"`
    JsonData             string            `protobuf:"bytes,3,opt,name=json_data,json=jsonData,proto3" json:"json_data,omitempty"`
    Request              *v1.CommitRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
    IsError              bool              `protobuf:"varint,5,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

A call to the form of DocumentRef.Update that represents the data as a map or dictionary.

func (*UpdateTest) Descriptor Uses

func (*UpdateTest) Descriptor() ([]byte, []int)

func (*UpdateTest) GetDocRefPath Uses

func (m *UpdateTest) GetDocRefPath() string

func (*UpdateTest) GetIsError Uses

func (m *UpdateTest) GetIsError() bool

func (*UpdateTest) GetJsonData Uses

func (m *UpdateTest) GetJsonData() string

func (*UpdateTest) GetPrecondition Uses

func (m *UpdateTest) GetPrecondition() *v1.Precondition

func (*UpdateTest) GetRequest Uses

func (m *UpdateTest) GetRequest() *v1.CommitRequest

func (*UpdateTest) ProtoMessage Uses

func (*UpdateTest) ProtoMessage()

func (*UpdateTest) Reset Uses

func (m *UpdateTest) Reset()

func (*UpdateTest) String Uses

func (m *UpdateTest) String() string

func (*UpdateTest) XXX_DiscardUnknown Uses

func (m *UpdateTest) XXX_DiscardUnknown()

func (*UpdateTest) XXX_Marshal Uses

func (m *UpdateTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateTest) XXX_Merge Uses

func (m *UpdateTest) XXX_Merge(src proto.Message)

func (*UpdateTest) XXX_Size Uses

func (m *UpdateTest) XXX_Size() int

func (*UpdateTest) XXX_Unmarshal Uses

func (m *UpdateTest) XXX_Unmarshal(b []byte) error

type Where Uses

type Where struct {
    Path                 *FieldPath `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    Op                   string     `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
    JsonValue            string     `protobuf:"bytes,3,opt,name=json_value,json=jsonValue,proto3" json:"json_value,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*Where) Descriptor Uses

func (*Where) Descriptor() ([]byte, []int)

func (*Where) GetJsonValue Uses

func (m *Where) GetJsonValue() string

func (*Where) GetOp Uses

func (m *Where) GetOp() string

func (*Where) GetPath Uses

func (m *Where) GetPath() *FieldPath

func (*Where) ProtoMessage Uses

func (*Where) ProtoMessage()

func (*Where) Reset Uses

func (m *Where) Reset()

func (*Where) String Uses

func (m *Where) String() string

func (*Where) XXX_DiscardUnknown Uses

func (m *Where) XXX_DiscardUnknown()

func (*Where) XXX_Marshal Uses

func (m *Where) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Where) XXX_Merge Uses

func (m *Where) XXX_Merge(src proto.Message)

func (*Where) XXX_Size Uses

func (m *Where) XXX_Size() int

func (*Where) XXX_Unmarshal Uses

func (m *Where) XXX_Unmarshal(b []byte) error

Package google_cloud_conformance_firestore_v1 imports 5 packages (graph). Updated 2020-04-09. Refresh now. Tools for package owners.