Bumping k8s dependencies to 1.13
This commit is contained in:
181
vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go
generated
vendored
181
vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go
generated
vendored
@@ -3,17 +3,25 @@
|
||||
|
||||
package spanner
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/struct"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// A modification to one or more Cloud Spanner rows. Mutations can be
|
||||
// applied to a Cloud Spanner database by sending them in a
|
||||
// [Commit][google.spanner.v1.Spanner.Commit] call.
|
||||
@@ -26,39 +34,70 @@ type Mutation struct {
|
||||
// *Mutation_InsertOrUpdate
|
||||
// *Mutation_Replace
|
||||
// *Mutation_Delete_
|
||||
Operation isMutation_Operation `protobuf_oneof:"operation"`
|
||||
Operation isMutation_Operation `protobuf_oneof:"operation"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Mutation) Reset() { *m = Mutation{} }
|
||||
func (m *Mutation) String() string { return proto.CompactTextString(m) }
|
||||
func (*Mutation) ProtoMessage() {}
|
||||
func (*Mutation) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (m *Mutation) Reset() { *m = Mutation{} }
|
||||
func (m *Mutation) String() string { return proto.CompactTextString(m) }
|
||||
func (*Mutation) ProtoMessage() {}
|
||||
func (*Mutation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_069356a524fd0232, []int{0}
|
||||
}
|
||||
|
||||
func (m *Mutation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Mutation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Mutation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Mutation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Mutation.Merge(m, src)
|
||||
}
|
||||
func (m *Mutation) XXX_Size() int {
|
||||
return xxx_messageInfo_Mutation.Size(m)
|
||||
}
|
||||
func (m *Mutation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Mutation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Mutation proto.InternalMessageInfo
|
||||
|
||||
type isMutation_Operation interface {
|
||||
isMutation_Operation()
|
||||
}
|
||||
|
||||
type Mutation_Insert struct {
|
||||
Insert *Mutation_Write `protobuf:"bytes,1,opt,name=insert,oneof"`
|
||||
}
|
||||
type Mutation_Update struct {
|
||||
Update *Mutation_Write `protobuf:"bytes,2,opt,name=update,oneof"`
|
||||
}
|
||||
type Mutation_InsertOrUpdate struct {
|
||||
InsertOrUpdate *Mutation_Write `protobuf:"bytes,3,opt,name=insert_or_update,json=insertOrUpdate,oneof"`
|
||||
}
|
||||
type Mutation_Replace struct {
|
||||
Replace *Mutation_Write `protobuf:"bytes,4,opt,name=replace,oneof"`
|
||||
}
|
||||
type Mutation_Delete_ struct {
|
||||
Delete *Mutation_Delete `protobuf:"bytes,5,opt,name=delete,oneof"`
|
||||
Insert *Mutation_Write `protobuf:"bytes,1,opt,name=insert,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Mutation_Insert) isMutation_Operation() {}
|
||||
func (*Mutation_Update) isMutation_Operation() {}
|
||||
type Mutation_Update struct {
|
||||
Update *Mutation_Write `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Mutation_InsertOrUpdate struct {
|
||||
InsertOrUpdate *Mutation_Write `protobuf:"bytes,3,opt,name=insert_or_update,json=insertOrUpdate,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Mutation_Replace struct {
|
||||
Replace *Mutation_Write `protobuf:"bytes,4,opt,name=replace,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Mutation_Delete_ struct {
|
||||
Delete *Mutation_Delete `protobuf:"bytes,5,opt,name=delete,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Mutation_Insert) isMutation_Operation() {}
|
||||
|
||||
func (*Mutation_Update) isMutation_Operation() {}
|
||||
|
||||
func (*Mutation_InsertOrUpdate) isMutation_Operation() {}
|
||||
func (*Mutation_Replace) isMutation_Operation() {}
|
||||
func (*Mutation_Delete_) isMutation_Operation() {}
|
||||
|
||||
func (*Mutation_Replace) isMutation_Operation() {}
|
||||
|
||||
func (*Mutation_Delete_) isMutation_Operation() {}
|
||||
|
||||
func (m *Mutation) GetOperation() isMutation_Operation {
|
||||
if m != nil {
|
||||
@@ -203,27 +242,27 @@ func _Mutation_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Operation.(type) {
|
||||
case *Mutation_Insert:
|
||||
s := proto.Size(x.Insert)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Mutation_Update:
|
||||
s := proto.Size(x.Update)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Mutation_InsertOrUpdate:
|
||||
s := proto.Size(x.InsertOrUpdate)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Mutation_Replace:
|
||||
s := proto.Size(x.Replace)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Mutation_Delete_:
|
||||
s := proto.Size(x.Delete)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -237,13 +276,13 @@ func _Mutation_OneofSizer(msg proto.Message) (n int) {
|
||||
// [replace][google.spanner.v1.Mutation.replace] operations.
|
||||
type Mutation_Write struct {
|
||||
// Required. The table whose rows will be written.
|
||||
Table string `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
|
||||
Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
|
||||
// The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
|
||||
//
|
||||
// The list of columns must contain enough columns to allow
|
||||
// Cloud Spanner to derive values for all primary key columns in the
|
||||
// row(s) to be modified.
|
||||
Columns []string `protobuf:"bytes,2,rep,name=columns" json:"columns,omitempty"`
|
||||
Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
|
||||
// The values to be written. `values` can contain more than one
|
||||
// list of values. If it does, then multiple rows are written, one
|
||||
// for each entry in `values`. Each list in `values` must have
|
||||
@@ -252,13 +291,36 @@ type Mutation_Write struct {
|
||||
// `Mutation`s, each containing one `values` entry and repeating
|
||||
// [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are
|
||||
// encoded as described [here][google.spanner.v1.TypeCode].
|
||||
Values []*google_protobuf1.ListValue `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
|
||||
Values []*_struct.ListValue `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Mutation_Write) Reset() { *m = Mutation_Write{} }
|
||||
func (m *Mutation_Write) String() string { return proto.CompactTextString(m) }
|
||||
func (*Mutation_Write) ProtoMessage() {}
|
||||
func (*Mutation_Write) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} }
|
||||
func (m *Mutation_Write) Reset() { *m = Mutation_Write{} }
|
||||
func (m *Mutation_Write) String() string { return proto.CompactTextString(m) }
|
||||
func (*Mutation_Write) ProtoMessage() {}
|
||||
func (*Mutation_Write) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_069356a524fd0232, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Mutation_Write) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Mutation_Write.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Mutation_Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Mutation_Write.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Mutation_Write) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Mutation_Write.Merge(m, src)
|
||||
}
|
||||
func (m *Mutation_Write) XXX_Size() int {
|
||||
return xxx_messageInfo_Mutation_Write.Size(m)
|
||||
}
|
||||
func (m *Mutation_Write) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Mutation_Write.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Mutation_Write proto.InternalMessageInfo
|
||||
|
||||
func (m *Mutation_Write) GetTable() string {
|
||||
if m != nil {
|
||||
@@ -274,7 +336,7 @@ func (m *Mutation_Write) GetColumns() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Mutation_Write) GetValues() []*google_protobuf1.ListValue {
|
||||
func (m *Mutation_Write) GetValues() []*_struct.ListValue {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
@@ -284,17 +346,40 @@ func (m *Mutation_Write) GetValues() []*google_protobuf1.ListValue {
|
||||
// Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
|
||||
type Mutation_Delete struct {
|
||||
// Required. The table whose rows will be deleted.
|
||||
Table string `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
|
||||
Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
|
||||
// Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.
|
||||
// Delete is idempotent. The transaction will succeed even if some or all
|
||||
// rows do not exist.
|
||||
KeySet *KeySet `protobuf:"bytes,2,opt,name=key_set,json=keySet" json:"key_set,omitempty"`
|
||||
KeySet *KeySet `protobuf:"bytes,2,opt,name=key_set,json=keySet,proto3" json:"key_set,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Mutation_Delete) Reset() { *m = Mutation_Delete{} }
|
||||
func (m *Mutation_Delete) String() string { return proto.CompactTextString(m) }
|
||||
func (*Mutation_Delete) ProtoMessage() {}
|
||||
func (*Mutation_Delete) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 1} }
|
||||
func (m *Mutation_Delete) Reset() { *m = Mutation_Delete{} }
|
||||
func (m *Mutation_Delete) String() string { return proto.CompactTextString(m) }
|
||||
func (*Mutation_Delete) ProtoMessage() {}
|
||||
func (*Mutation_Delete) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_069356a524fd0232, []int{0, 1}
|
||||
}
|
||||
|
||||
func (m *Mutation_Delete) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Mutation_Delete.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Mutation_Delete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Mutation_Delete.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Mutation_Delete) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Mutation_Delete.Merge(m, src)
|
||||
}
|
||||
func (m *Mutation_Delete) XXX_Size() int {
|
||||
return xxx_messageInfo_Mutation_Delete.Size(m)
|
||||
}
|
||||
func (m *Mutation_Delete) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Mutation_Delete.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Mutation_Delete proto.InternalMessageInfo
|
||||
|
||||
func (m *Mutation_Delete) GetTable() string {
|
||||
if m != nil {
|
||||
@@ -316,9 +401,9 @@ func init() {
|
||||
proto.RegisterType((*Mutation_Delete)(nil), "google.spanner.v1.Mutation.Delete")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/spanner/v1/mutation.proto", fileDescriptor1) }
|
||||
func init() { proto.RegisterFile("google/spanner/v1/mutation.proto", fileDescriptor_069356a524fd0232) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_069356a524fd0232 = []byte{
|
||||
// 413 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xd1, 0xea, 0xd3, 0x30,
|
||||
0x14, 0xc6, 0xed, 0xba, 0x75, 0x2e, 0x43, 0xd1, 0xa2, 0x58, 0x8b, 0x17, 0x75, 0x57, 0xbb, 0x4a,
|
||||
|
||||
Reference in New Issue
Block a user