Cloud Spanner - Package cloud.google.com/go/spanner/test/proto/locationpb (v1.89.0)

Variables

RangeCacheTestCase_Step_Test_RangeMode_name, RangeCacheTestCase_Step_Test_RangeMode_value

  var 
  
 ( 
  
 RangeCacheTestCase_Step_Test_RangeMode_name 
  
 = 
  
 map 
 [ 
  int32 
 
 ] 
  string 
 
 { 
  
 0 
 : 
  
 "COVERING_SPLIT" 
 , 
  
 1 
 : 
  
 "PICK_RANDOM" 
 , 
  
 } 
  
 RangeCacheTestCase_Step_Test_RangeMode_value 
  
 = 
  
 map 
 [ 
  string 
 
 ] 
  int32 
 
 { 
  
 "COVERING_SPLIT" 
 : 
  
 0 
 , 
  
 "PICK_RANDOM" 
 : 
  
 1 
 , 
  
 } 
 ) 
 

Enum value maps for RangeCacheTestCase_Step_Test_RangeMode.

File_finder_test_proto

  var 
  
 File_finder_test_proto 
  
 protoreflect 
 . 
 FileDescriptor 
 

File_range_cache_test_proto

  var 
  
 File_range_cache_test_proto 
  
 protoreflect 
 . 
 FileDescriptor 
 

File_recipe_test_proto

  var 
  
 File_recipe_test_proto 
  
 protoreflect 
 . 
 FileDescriptor 
 

FinderTestCase

  type 
  
 FinderTestCase 
  
 struct 
  
 { 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 Event 
  
 [] 
 * 
  FinderTestCase_Event 
 
  
 `protobuf:"bytes,2,rep,name=event,proto3" json:"event,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

func (*FinderTestCase) Descriptor

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

Deprecated: Use FinderTestCase.ProtoReflect.Descriptor instead.

func (*FinderTestCase) GetEvent

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase 
 
 ) 
  
 GetEvent 
 () 
  
 [] 
 * 
  FinderTestCase_Event 
 
 

func (*FinderTestCase) GetName

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*FinderTestCase) ProtoMessage

  func 
  
 ( 
 * 
  FinderTestCase 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*FinderTestCase) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*FinderTestCase) Reset

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase 
 
 ) 
  
 Reset 
 () 
 

func (*FinderTestCase) String

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase 
 
 ) 
  
 String 
 () 
  
  string 
 
 

FinderTestCase_Event

  type 
  
 FinderTestCase_Event 
  
 struct 
  
 { 
  
 // Name for the event, for diagnostic purposes. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // A cache update that should be applied to the `Finder` before calling 
  
 // `FindServer`. 
  
 CacheUpdate 
  
 * 
 spannerpb 
 . 
 CacheUpdate 
  
 `protobuf:"bytes,2,opt,name=cache_update,json=cacheUpdate,proto3" json:"cache_update,omitempty"` 
  
 // During `FindServer`, servers in the `unhealthy_servers` list should 
  
 // report false to `Server::IsHealthy`. 
  
 UnhealthyServers 
  
 [] 
  string 
 
  
 `protobuf:"bytes,3,rep,name=unhealthy_servers,json=unhealthyServers,proto3" json:"unhealthy_servers,omitempty"` 
  
 // The argument to pass to `FindServer` 
  
 // 
  
 // Types that are assignable to Request: 
  
 // 
  
 //	*FinderTestCase_Event_Read 
  
 //	*FinderTestCase_Event_Sql 
  
 Request 
  
 isFinderTestCase_Event_Request 
  
 `protobuf_oneof:"request"` 
  
 // The server that `FindServer` should return. If empty, `FindServer` 
  
 // should return null. 
  
 Server 
  
  string 
 
  
 `protobuf:"bytes,6,opt,name=server,proto3" json:"server,omitempty"` 
  
 // The routing hint that should be filled in by `FindServer`. 
  
 Hint 
  
 * 
 spannerpb 
 . 
 RoutingHint 
  
 `protobuf:"bytes,7,opt,name=hint,proto3" json:"hint,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

func (*FinderTestCase_Event) Descriptor

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

Deprecated: Use FinderTestCase_Event.ProtoReflect.Descriptor instead.

func (*FinderTestCase_Event) GetCacheUpdate

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase_Event 
 
 ) 
  
 GetCacheUpdate 
 () 
  
 * 
  spannerpb 
 
 . 
  CacheUpdate 
 
 

func (*FinderTestCase_Event) GetHint

func (*FinderTestCase_Event) GetName

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase_Event 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*FinderTestCase_Event) GetRead

func (*FinderTestCase_Event) GetRequest

  func 
  
 ( 
 m 
  
 * 
  FinderTestCase_Event 
 
 ) 
  
 GetRequest 
 () 
  
 isFinderTestCase_Event_Request 
 

func (*FinderTestCase_Event) GetServer

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase_Event 
 
 ) 
  
 GetServer 
 () 
  
  string 
 
 

func (*FinderTestCase_Event) GetSql

func (*FinderTestCase_Event) GetUnhealthyServers

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase_Event 
 
 ) 
  
 GetUnhealthyServers 
 () 
  
 [] 
  string 
 
 

func (*FinderTestCase_Event) ProtoMessage

  func 
  
 ( 
 * 
  FinderTestCase_Event 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*FinderTestCase_Event) ProtoReflect

func (*FinderTestCase_Event) Reset

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase_Event 
 
 ) 
  
 Reset 
 () 
 

func (*FinderTestCase_Event) String

  func 
  
 ( 
 x 
  
 * 
  FinderTestCase_Event 
 
 ) 
  
 String 
 () 
  
  string 
 
 

FinderTestCase_Event_Read

  type 
  
 FinderTestCase_Event_Read 
  
 struct 
  
 { 
  
 Read 
  
 * 
 spannerpb 
 . 
 ReadRequest 
  
 `protobuf:"bytes,4,opt,name=read,proto3,oneof"` 
 } 
 

FinderTestCase_Event_Sql

  type 
  
 FinderTestCase_Event_Sql 
  
 struct 
  
 { 
  
 Sql 
  
 * 
 spannerpb 
 . 
 ExecuteSqlRequest 
  
 `protobuf:"bytes,5,opt,name=sql,proto3,oneof"` 
 } 
 

FinderTestCases

  type 
  
 FinderTestCases 
  
 struct 
  
 { 
  
 TestCase 
  
 [] 
 * 
  FinderTestCase 
 
  
 `protobuf:"bytes,2,rep,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

func (*FinderTestCases) Descriptor

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

Deprecated: Use FinderTestCases.ProtoReflect.Descriptor instead.

func (*FinderTestCases) GetTestCase

  func 
  
 ( 
 x 
  
 * 
  FinderTestCases 
 
 ) 
  
 GetTestCase 
 () 
  
 [] 
 * 
  FinderTestCase 
 
 

func (*FinderTestCases) ProtoMessage

  func 
  
 ( 
 * 
  FinderTestCases 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*FinderTestCases) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  FinderTestCases 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*FinderTestCases) Reset

  func 
  
 ( 
 x 
  
 * 
  FinderTestCases 
 
 ) 
  
 Reset 
 () 
 

func (*FinderTestCases) String

  func 
  
 ( 
 x 
  
 * 
  FinderTestCases 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RangeCacheTestCase

  type 
  
 RangeCacheTestCase 
  
 struct 
  
 { 
  
 // Name of the test case, for diagnostic purposes. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 Step 
  
 [] 
 * 
  RangeCacheTestCase_Step 
 
  
 `protobuf:"bytes,2,rep,name=step,proto3" json:"step,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

func (*RangeCacheTestCase) Descriptor

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

Deprecated: Use RangeCacheTestCase.ProtoReflect.Descriptor instead.

func (*RangeCacheTestCase) GetName

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*RangeCacheTestCase) GetStep

func (*RangeCacheTestCase) ProtoMessage

  func 
  
 ( 
 * 
  RangeCacheTestCase 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RangeCacheTestCase) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*RangeCacheTestCase) Reset

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase 
 
 ) 
  
 Reset 
 () 
 

func (*RangeCacheTestCase) String

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RangeCacheTestCase_Step

  type 
  
 RangeCacheTestCase_Step 
  
 struct 
  
 { 
  
 // If present, the cache is updated with this CacheUpdate before running 
  
 // the tests below. 
  
 Update 
  
 * 
 spannerpb 
 . 
 CacheUpdate 
  
 `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"` 
  
 Test 
  
 [] 
 * 
  RangeCacheTestCase_Step_Test 
 
  
 `protobuf:"bytes,2,rep,name=test,proto3" json:"test,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

A single step in the test case. Each test starts with a newly constructed empty RangeCache, and runs one step at a time.

func (*RangeCacheTestCase_Step) Descriptor

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

Deprecated: Use RangeCacheTestCase_Step.ProtoReflect.Descriptor instead.

func (*RangeCacheTestCase_Step) GetTest

func (*RangeCacheTestCase_Step) GetUpdate

func (*RangeCacheTestCase_Step) ProtoMessage

  func 
  
 ( 
 * 
  RangeCacheTestCase_Step 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RangeCacheTestCase_Step) ProtoReflect

func (*RangeCacheTestCase_Step) Reset

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase_Step 
 
 ) 
  
 Reset 
 () 
 

func (*RangeCacheTestCase_Step) String

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase_Step 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RangeCacheTestCase_Step_Test

  type 
  
 RangeCacheTestCase_Step_Test 
  
 struct 
  
 { 
  
 // If true, the test will be run with prefer_leader=true. Otherwise, 
  
 // prefer_leader will be false. 
  
 Leader 
  
  bool 
 
  
 `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"` 
  
 // If non-empty, the test will be run with this directed read options. 
  
 DirectedReadOptions 
  
 * 
 spannerpb 
 . 
 DirectedReadOptions 
  
 `protobuf:"bytes,2,opt,name=directed_read_options,json=directedReadOptions,proto3" json:"directed_read_options,omitempty"` 
  
 // key and limit_key are both optional, and if present, are copied into 
  
 // the routing hint passed to FillRoutingHint. 
  
 Key 
  
 [] 
  byte 
 
  
 `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` 
  
 LimitKey 
  
 [] 
  byte 
 
  
 `protobuf:"bytes,4,opt,name=limit_key,json=limitKey,proto3" json:"limit_key,omitempty"` 
  
 RangeMode 
  
  RangeCacheTestCase_Step_Test_RangeMode 
 
  
 `protobuf:"varint,5,opt,name=range_mode,json=rangeMode,proto3,enum=spanner.cloud.location.RangeCacheTestCase_Step_Test_RangeMode" json:"range_mode,omitempty"` 
  
 // If set, overrides the default value of the 
  
 // --spanner_cloud_location_range_cache_min_entries_for_random_pick flag. 
  
 MinCacheEntriesForRandomPick 
  
  int32 
 
  
 `protobuf:"varint,6,opt,name=min_cache_entries_for_random_pick,json=minCacheEntriesForRandomPick,proto3" json:"min_cache_entries_for_random_pick,omitempty"` 
  
 Result 
  
 * 
 spannerpb 
 . 
 RoutingHint 
  
 `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` 
  
 // If non-empty, then FillRoutingHint should return a server with this 
  
 // address. If empty, then FillRoutingHint should return nullptr. 
  
 Server 
  
  string 
 
  
 `protobuf:"bytes,8,opt,name=server,proto3" json:"server,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

The tests then run one at a time.

func (*RangeCacheTestCase_Step_Test) Descriptor

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

Deprecated: Use RangeCacheTestCase_Step_Test.ProtoReflect.Descriptor instead.

func (*RangeCacheTestCase_Step_Test) GetDirectedReadOptions

func (*RangeCacheTestCase_Step_Test) GetKey

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase_Step_Test 
 
 ) 
  
 GetKey 
 () 
  
 [] 
  byte 
 
 

func (*RangeCacheTestCase_Step_Test) GetLeader

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase_Step_Test 
 
 ) 
  
 GetLeader 
 () 
  
  bool 
 
 

func (*RangeCacheTestCase_Step_Test) GetLimitKey

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase_Step_Test 
 
 ) 
  
 GetLimitKey 
 () 
  
 [] 
  byte 
 
 

func (*RangeCacheTestCase_Step_Test) GetMinCacheEntriesForRandomPick

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase_Step_Test 
 
 ) 
  
 GetMinCacheEntriesForRandomPick 
 () 
  
  int32 
 
 

func (*RangeCacheTestCase_Step_Test) GetRangeMode

func (*RangeCacheTestCase_Step_Test) GetResult

func (*RangeCacheTestCase_Step_Test) GetServer

func (*RangeCacheTestCase_Step_Test) ProtoMessage

  func 
  
 ( 
 * 
  RangeCacheTestCase_Step_Test 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RangeCacheTestCase_Step_Test) ProtoReflect

func (*RangeCacheTestCase_Step_Test) Reset

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCase_Step_Test 
 
 ) 
  
 Reset 
 () 
 

func (*RangeCacheTestCase_Step_Test) String

RangeCacheTestCase_Step_Test_RangeMode

  type 
  
 RangeCacheTestCase_Step_Test_RangeMode 
  
  int32 
 
 

The mode for RangeCache::RangeMode.

RangeCacheTestCase_Step_Test_COVERING_SPLIT, RangeCacheTestCase_Step_Test_PICK_RANDOM

  const 
  
 ( 
  
 RangeCacheTestCase_Step_Test_COVERING_SPLIT 
  
  RangeCacheTestCase_Step_Test_RangeMode 
 
  
 = 
  
 0 
  
 RangeCacheTestCase_Step_Test_PICK_RANDOM 
  
  RangeCacheTestCase_Step_Test_RangeMode 
 
  
 = 
  
 1 
 ) 
 

func (RangeCacheTestCase_Step_Test_RangeMode) Descriptor

func (RangeCacheTestCase_Step_Test_RangeMode) Enum

func (RangeCacheTestCase_Step_Test_RangeMode) EnumDescriptor

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

Deprecated: Use RangeCacheTestCase_Step_Test_RangeMode.Descriptor instead.

func (RangeCacheTestCase_Step_Test_RangeMode) Number

func (RangeCacheTestCase_Step_Test_RangeMode) String

func (RangeCacheTestCase_Step_Test_RangeMode) Type

RangeCacheTestCases

  type 
  
 RangeCacheTestCases 
  
 struct 
  
 { 
  
 TestCase 
  
 [] 
 * 
  RangeCacheTestCase 
 
  
 `protobuf:"bytes,1,rep,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

func (*RangeCacheTestCases) Descriptor

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

Deprecated: Use RangeCacheTestCases.ProtoReflect.Descriptor instead.

func (*RangeCacheTestCases) GetTestCase

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCases 
 
 ) 
  
 GetTestCase 
 () 
  
 [] 
 * 
  RangeCacheTestCase 
 
 

func (*RangeCacheTestCases) ProtoMessage

  func 
  
 ( 
 * 
  RangeCacheTestCases 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RangeCacheTestCases) ProtoReflect

func (*RangeCacheTestCases) Reset

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCases 
 
 ) 
  
 Reset 
 () 
 

func (*RangeCacheTestCases) String

  func 
  
 ( 
 x 
  
 * 
  RangeCacheTestCases 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RecipeTestCase

  type 
  
 RecipeTestCase 
  
 struct 
  
 { 
  
 // Name of the test case, for diagnostic purposes. 
  
 Name 
  
  string 
 
  
 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 
  
 // A list of recipes to be used to evaluate the tests below. 
  
 Recipes 
  
 * 
 spannerpb 
 . 
 RecipeList 
  
 `protobuf:"bytes,2,opt,name=recipes,proto3" json:"recipes,omitempty"` 
  
 Test 
  
 [] 
 * 
  RecipeTestCase_Test 
 
  
 `protobuf:"bytes,3,rep,name=test,proto3" json:"test,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

func (*RecipeTestCase) Descriptor

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

Deprecated: Use RecipeTestCase.ProtoReflect.Descriptor instead.

func (*RecipeTestCase) GetName

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase 
 
 ) 
  
 GetName 
 () 
  
  string 
 
 

func (*RecipeTestCase) GetRecipes

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase 
 
 ) 
  
 GetRecipes 
 () 
  
 * 
  spannerpb 
 
 . 
  RecipeList 
 
 

func (*RecipeTestCase) GetTest

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase 
 
 ) 
  
 GetTest 
 () 
  
 [] 
 * 
  RecipeTestCase_Test 
 
 

func (*RecipeTestCase) ProtoMessage

  func 
  
 ( 
 * 
  RecipeTestCase 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RecipeTestCase) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*RecipeTestCase) Reset

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase 
 
 ) 
  
 Reset 
 () 
 

func (*RecipeTestCase) String

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RecipeTestCase_Test

  type 
  
 RecipeTestCase_Test 
  
 struct 
  
 { 
  
 // Each test encodes a single operation. 
  
 // 
  
 // Types that are assignable to Operation: 
  
 // 
  
 //	*RecipeTestCase_Test_Key 
  
 //	*RecipeTestCase_Test_KeyRange 
  
 //	*RecipeTestCase_Test_KeySet 
  
 //	*RecipeTestCase_Test_Mutation 
  
 //	*RecipeTestCase_Test_QueryParams 
  
 Operation 
  
 isRecipeTestCase_Test_Operation 
  
 `protobuf_oneof:"operation"` 
  
 // `start`, `limit`, and `approximate` are the expected results of encoding. 
  
 Start 
  
 [] 
  byte 
 
  
 `protobuf:"bytes,6,opt,name=start,proto3" json:"start,omitempty"` 
  
 Limit 
  
 [] 
  byte 
 
  
 `protobuf:"bytes,7,opt,name=limit,proto3" json:"limit,omitempty"` 
  
 Approximate 
  
  bool 
 
  
 `protobuf:"varint,8,opt,name=approximate,proto3" json:"approximate,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

func (*RecipeTestCase_Test) Descriptor

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

Deprecated: Use RecipeTestCase_Test.ProtoReflect.Descriptor instead.

func (*RecipeTestCase_Test) GetApproximate

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetApproximate 
 () 
  
  bool 
 
 

func (*RecipeTestCase_Test) GetKey

func (*RecipeTestCase_Test) GetKeyRange

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetKeyRange 
 () 
  
 * 
  spannerpb 
 
 . 
  KeyRange 
 
 

func (*RecipeTestCase_Test) GetKeySet

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetKeySet 
 () 
  
 * 
  spannerpb 
 
 . 
  KeySet 
 
 

func (*RecipeTestCase_Test) GetLimit

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetLimit 
 () 
  
 [] 
  byte 
 
 

func (*RecipeTestCase_Test) GetMutation

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetMutation 
 () 
  
 * 
  spannerpb 
 
 . 
  Mutation 
 
 

func (*RecipeTestCase_Test) GetOperation

  func 
  
 ( 
 m 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetOperation 
 () 
  
 isRecipeTestCase_Test_Operation 
 

func (*RecipeTestCase_Test) GetQueryParams

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetQueryParams 
 () 
  
 * 
  structpb 
 
 . 
  Struct 
 
 

func (*RecipeTestCase_Test) GetStart

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 GetStart 
 () 
  
 [] 
  byte 
 
 

func (*RecipeTestCase_Test) ProtoMessage

  func 
  
 ( 
 * 
  RecipeTestCase_Test 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RecipeTestCase_Test) ProtoReflect

func (*RecipeTestCase_Test) Reset

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 Reset 
 () 
 

func (*RecipeTestCase_Test) String

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCase_Test 
 
 ) 
  
 String 
 () 
  
  string 
 
 

RecipeTestCase_Test_Key

  type 
  
 RecipeTestCase_Test_Key 
  
 struct 
  
 { 
  
 Key 
  
 * 
 structpb 
 . 
 ListValue 
  
 `protobuf:"bytes,1,opt,name=key,proto3,oneof"` 
 } 
 

RecipeTestCase_Test_KeyRange

  type 
  
 RecipeTestCase_Test_KeyRange 
  
 struct 
  
 { 
  
 KeyRange 
  
 * 
 spannerpb 
 . 
 KeyRange 
  
 `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3,oneof"` 
 } 
 

RecipeTestCase_Test_KeySet

  type 
  
 RecipeTestCase_Test_KeySet 
  
 struct 
  
 { 
  
 KeySet 
  
 * 
 spannerpb 
 . 
 KeySet 
  
 `protobuf:"bytes,3,opt,name=key_set,json=keySet,proto3,oneof"` 
 } 
 

RecipeTestCase_Test_Mutation

  type 
  
 RecipeTestCase_Test_Mutation 
  
 struct 
  
 { 
  
 Mutation 
  
 * 
 spannerpb 
 . 
 Mutation 
  
 `protobuf:"bytes,4,opt,name=mutation,proto3,oneof"` 
 } 
 

RecipeTestCase_Test_QueryParams

  type 
  
 RecipeTestCase_Test_QueryParams 
  
 struct 
  
 { 
  
 QueryParams 
  
 * 
 structpb 
 . 
 Struct 
  
 `protobuf:"bytes,5,opt,name=query_params,json=queryParams,proto3,oneof"` 
 } 
 

RecipeTestCases

  type 
  
 RecipeTestCases 
  
 struct 
  
 { 
  
 TestCase 
  
 [] 
 * 
  RecipeTestCase 
 
  
 `protobuf:"bytes,1,rep,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` 
  
 // contains filtered or unexported fields 
 } 
 

Proto definition for the textproto of tests.

func (*RecipeTestCases) Descriptor

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

Deprecated: Use RecipeTestCases.ProtoReflect.Descriptor instead.

func (*RecipeTestCases) GetTestCase

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCases 
 
 ) 
  
 GetTestCase 
 () 
  
 [] 
 * 
  RecipeTestCase 
 
 

func (*RecipeTestCases) ProtoMessage

  func 
  
 ( 
 * 
  RecipeTestCases 
 
 ) 
  
 ProtoMessage 
 () 
 

func (*RecipeTestCases) ProtoReflect

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCases 
 
 ) 
  
 ProtoReflect 
 () 
  
  protoreflect 
 
 . 
  Message 
 
 

func (*RecipeTestCases) Reset

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCases 
 
 ) 
  
 Reset 
 () 
 

func (*RecipeTestCases) String

  func 
  
 ( 
 x 
  
 * 
  RecipeTestCases 
 
 ) 
  
 String 
 () 
  
  string 
 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: