mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
1046
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go
generated
vendored
1046
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
44
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go
generated
vendored
44
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go
generated
vendored
@ -1,13 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/v1/bigtable_service.proto
|
||||
|
||||
package bigtable
|
||||
package bigtable // import "google.golang.org/genproto/googleapis/bigtable/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
@ -19,6 +19,12 @@ 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
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@ -27,8 +33,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for BigtableService service
|
||||
|
||||
// BigtableServiceClient is the client API for BigtableService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type BigtableServiceClient interface {
|
||||
// Streams back the contents of all requested rows, optionally applying
|
||||
// the same Reader filter to each. Depending on their size, rows may be
|
||||
@ -42,7 +49,7 @@ type BigtableServiceClient interface {
|
||||
SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error)
|
||||
// Mutates a row atomically. Cells already present in the row are left
|
||||
// unchanged unless explicitly changed by 'mutation'.
|
||||
MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Mutates multiple rows in a batch. Each individual row is mutated
|
||||
// atomically as in MutateRow, but the entire batch is not executed
|
||||
// atomically.
|
||||
@ -65,7 +72,7 @@ func NewBigtableServiceClient(cc *grpc.ClientConn) BigtableServiceClient {
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_BigtableService_serviceDesc.Streams[0], c.cc, "/google.bigtable.v1.BigtableService/ReadRows", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[0], "/google.bigtable.v1.BigtableService/ReadRows", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -97,7 +104,7 @@ func (x *bigtableServiceReadRowsClient) Recv() (*ReadRowsResponse, error) {
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_BigtableService_serviceDesc.Streams[1], c.cc, "/google.bigtable.v1.BigtableService/SampleRowKeys", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[1], "/google.bigtable.v1.BigtableService/SampleRowKeys", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -128,9 +135,9 @@ func (x *bigtableServiceSampleRowKeysClient) Recv() (*SampleRowKeysResponse, err
|
||||
return m, nil
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRow", in, out, c.cc, opts...)
|
||||
func (c *bigtableServiceClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -139,7 +146,7 @@ func (c *bigtableServiceClient) MutateRow(ctx context.Context, in *MutateRowRequ
|
||||
|
||||
func (c *bigtableServiceClient) MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error) {
|
||||
out := new(MutateRowsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRows", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRows", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -148,7 +155,7 @@ func (c *bigtableServiceClient) MutateRows(ctx context.Context, in *MutateRowsRe
|
||||
|
||||
func (c *bigtableServiceClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) {
|
||||
out := new(CheckAndMutateRowResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/CheckAndMutateRow", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/CheckAndMutateRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -157,15 +164,14 @@ func (c *bigtableServiceClient) CheckAndMutateRow(ctx context.Context, in *Check
|
||||
|
||||
func (c *bigtableServiceClient) ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error) {
|
||||
out := new(Row)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for BigtableService service
|
||||
|
||||
// BigtableServiceServer is the server API for BigtableService service.
|
||||
type BigtableServiceServer interface {
|
||||
// Streams back the contents of all requested rows, optionally applying
|
||||
// the same Reader filter to each. Depending on their size, rows may be
|
||||
@ -179,7 +185,7 @@ type BigtableServiceServer interface {
|
||||
SampleRowKeys(*SampleRowKeysRequest, BigtableService_SampleRowKeysServer) error
|
||||
// Mutates a row atomically. Cells already present in the row are left
|
||||
// unchanged unless explicitly changed by 'mutation'.
|
||||
MutateRow(context.Context, *MutateRowRequest) (*google_protobuf2.Empty, error)
|
||||
MutateRow(context.Context, *MutateRowRequest) (*empty.Empty, error)
|
||||
// Mutates multiple rows in a batch. Each individual row is mutated
|
||||
// atomically as in MutateRow, but the entire batch is not executed
|
||||
// atomically.
|
||||
@ -347,9 +353,11 @@ var _BigtableService_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "google/bigtable/v1/bigtable_service.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor1) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor_bigtable_service_ae822d62962d408a)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_bigtable_service_ae822d62962d408a = []byte{
|
||||
// 521 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcd, 0x6e, 0xd4, 0x30,
|
||||
0x10, 0xc7, 0x65, 0x0e, 0xa8, 0x58, 0x42, 0x08, 0x4b, 0x14, 0x69, 0xe1, 0x14, 0xa0, 0xa2, 0x11,
|
||||
|
476
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go
generated
vendored
476
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go
generated
vendored
@ -1,22 +1,28 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/v1/bigtable_service_messages.proto
|
||||
|
||||
package bigtable
|
||||
package bigtable // import "google.golang.org/genproto/googleapis/bigtable/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
import status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// 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
|
||||
|
||||
// Request message for BigtableServer.ReadRows.
|
||||
type ReadRowsRequest struct {
|
||||
// The unique name of the table from which to read.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// If neither row_key nor row_range is set, reads from all rows.
|
||||
//
|
||||
// Types that are valid to be assigned to Target:
|
||||
@ -26,24 +32,53 @@ type ReadRowsRequest struct {
|
||||
Target isReadRowsRequest_Target `protobuf_oneof:"target"`
|
||||
// The filter to apply to the contents of the specified row(s). If unset,
|
||||
// reads the entire table.
|
||||
Filter *RowFilter `protobuf:"bytes,5,opt,name=filter" json:"filter,omitempty"`
|
||||
Filter *RowFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
|
||||
// By default, rows are read sequentially, producing results which are
|
||||
// guaranteed to arrive in increasing row order. Setting
|
||||
// "allow_row_interleaving" to true allows multiple rows to be interleaved in
|
||||
// the response stream, which increases throughput but breaks this guarantee,
|
||||
// and may force the client to use more memory to buffer partially-received
|
||||
// rows. Cannot be set to true when specifying "num_rows_limit".
|
||||
AllowRowInterleaving bool `protobuf:"varint,6,opt,name=allow_row_interleaving,json=allowRowInterleaving" json:"allow_row_interleaving,omitempty"`
|
||||
AllowRowInterleaving bool `protobuf:"varint,6,opt,name=allow_row_interleaving,json=allowRowInterleaving,proto3" json:"allow_row_interleaving,omitempty"`
|
||||
// The read will terminate after committing to N rows' worth of results. The
|
||||
// default (zero) is to return all results.
|
||||
// Note that "allow_row_interleaving" cannot be set to true when this is set.
|
||||
NumRowsLimit int64 `protobuf:"varint,7,opt,name=num_rows_limit,json=numRowsLimit" json:"num_rows_limit,omitempty"`
|
||||
NumRowsLimit int64 `protobuf:"varint,7,opt,name=num_rows_limit,json=numRowsLimit,proto3" json:"num_rows_limit,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} }
|
||||
func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsRequest) ProtoMessage() {}
|
||||
func (*ReadRowsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} }
|
||||
func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsRequest) ProtoMessage() {}
|
||||
func (*ReadRowsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{0}
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsRequest.Size(m)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
return m.TableName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isReadRowsRequest_Target interface {
|
||||
isReadRowsRequest_Target()
|
||||
@ -52,16 +87,20 @@ type isReadRowsRequest_Target interface {
|
||||
type ReadRowsRequest_RowKey struct {
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ReadRowsRequest_RowRange struct {
|
||||
RowRange *RowRange `protobuf:"bytes,3,opt,name=row_range,json=rowRange,oneof"`
|
||||
}
|
||||
type ReadRowsRequest_RowSet struct {
|
||||
RowSet *RowSet `protobuf:"bytes,8,opt,name=row_set,json=rowSet,oneof"`
|
||||
RowRange *RowRange `protobuf:"bytes,3,opt,name=row_range,json=rowRange,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsRequest_RowKey) isReadRowsRequest_Target() {}
|
||||
type ReadRowsRequest_RowSet struct {
|
||||
RowSet *RowSet `protobuf:"bytes,8,opt,name=row_set,json=rowSet,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsRequest_RowKey) isReadRowsRequest_Target() {}
|
||||
|
||||
func (*ReadRowsRequest_RowRange) isReadRowsRequest_Target() {}
|
||||
func (*ReadRowsRequest_RowSet) isReadRowsRequest_Target() {}
|
||||
|
||||
func (*ReadRowsRequest_RowSet) isReadRowsRequest_Target() {}
|
||||
|
||||
func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target {
|
||||
if m != nil {
|
||||
@ -70,13 +109,6 @@ func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReadRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
return m.TableName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReadRowsRequest) GetRowKey() []byte {
|
||||
if x, ok := m.GetTarget().(*ReadRowsRequest_RowKey); ok {
|
||||
return x.RowKey
|
||||
@ -188,17 +220,17 @@ func _ReadRowsRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
// target
|
||||
switch x := m.Target.(type) {
|
||||
case *ReadRowsRequest_RowKey:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.RowKey)))
|
||||
n += len(x.RowKey)
|
||||
case *ReadRowsRequest_RowRange:
|
||||
s := proto.Size(x.RowRange)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ReadRowsRequest_RowSet:
|
||||
s := proto.Size(x.RowSet)
|
||||
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -215,13 +247,35 @@ type ReadRowsResponse struct {
|
||||
// "allow_row_interleaving" was specified in the request.
|
||||
RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// One or more chunks of the row specified by "row_key".
|
||||
Chunks []*ReadRowsResponse_Chunk `protobuf:"bytes,2,rep,name=chunks" json:"chunks,omitempty"`
|
||||
Chunks []*ReadRowsResponse_Chunk `protobuf:"bytes,2,rep,name=chunks,proto3" json:"chunks,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} }
|
||||
func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse) ProtoMessage() {}
|
||||
func (*ReadRowsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} }
|
||||
func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse) ProtoMessage() {}
|
||||
func (*ReadRowsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{1}
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsResponse.Size(m)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRowsResponse) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -244,31 +298,57 @@ type ReadRowsResponse_Chunk struct {
|
||||
// *ReadRowsResponse_Chunk_RowContents
|
||||
// *ReadRowsResponse_Chunk_ResetRow
|
||||
// *ReadRowsResponse_Chunk_CommitRow
|
||||
Chunk isReadRowsResponse_Chunk_Chunk `protobuf_oneof:"chunk"`
|
||||
Chunk isReadRowsResponse_Chunk_Chunk `protobuf_oneof:"chunk"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse_Chunk) Reset() { *m = ReadRowsResponse_Chunk{} }
|
||||
func (m *ReadRowsResponse_Chunk) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse_Chunk) ProtoMessage() {}
|
||||
func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1, 0} }
|
||||
func (m *ReadRowsResponse_Chunk) Reset() { *m = ReadRowsResponse_Chunk{} }
|
||||
func (m *ReadRowsResponse_Chunk) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse_Chunk) ProtoMessage() {}
|
||||
func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{1, 0}
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsResponse_Chunk.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsResponse_Chunk.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsResponse_Chunk) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsResponse_Chunk.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsResponse_Chunk.Size(m)
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsResponse_Chunk.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsResponse_Chunk proto.InternalMessageInfo
|
||||
|
||||
type isReadRowsResponse_Chunk_Chunk interface {
|
||||
isReadRowsResponse_Chunk_Chunk()
|
||||
}
|
||||
|
||||
type ReadRowsResponse_Chunk_RowContents struct {
|
||||
RowContents *Family `protobuf:"bytes,1,opt,name=row_contents,json=rowContents,oneof"`
|
||||
RowContents *Family `protobuf:"bytes,1,opt,name=row_contents,json=rowContents,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ReadRowsResponse_Chunk_ResetRow struct {
|
||||
ResetRow bool `protobuf:"varint,2,opt,name=reset_row,json=resetRow,oneof"`
|
||||
ResetRow bool `protobuf:"varint,2,opt,name=reset_row,json=resetRow,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ReadRowsResponse_Chunk_CommitRow struct {
|
||||
CommitRow bool `protobuf:"varint,3,opt,name=commit_row,json=commitRow,oneof"`
|
||||
CommitRow bool `protobuf:"varint,3,opt,name=commit_row,json=commitRow,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsResponse_Chunk_RowContents) isReadRowsResponse_Chunk_Chunk() {}
|
||||
func (*ReadRowsResponse_Chunk_ResetRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
func (*ReadRowsResponse_Chunk_CommitRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
|
||||
func (*ReadRowsResponse_Chunk_ResetRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
|
||||
func (*ReadRowsResponse_Chunk_CommitRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
|
||||
func (m *ReadRowsResponse_Chunk) GetChunk() isReadRowsResponse_Chunk_Chunk {
|
||||
if m != nil {
|
||||
@ -373,14 +453,14 @@ func _ReadRowsResponse_Chunk_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Chunk.(type) {
|
||||
case *ReadRowsResponse_Chunk_RowContents:
|
||||
s := proto.Size(x.RowContents)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ReadRowsResponse_Chunk_ResetRow:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *ReadRowsResponse_Chunk_CommitRow:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case nil:
|
||||
default:
|
||||
@ -392,13 +472,35 @@ func _ReadRowsResponse_Chunk_OneofSizer(msg proto.Message) (n int) {
|
||||
// Request message for BigtableService.SampleRowKeys.
|
||||
type SampleRowKeysRequest struct {
|
||||
// The unique name of the table from which to sample row keys.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} }
|
||||
func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysRequest) ProtoMessage() {}
|
||||
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} }
|
||||
func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysRequest) ProtoMessage() {}
|
||||
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{2}
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SampleRowKeysRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SampleRowKeysRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Size(m)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SampleRowKeysRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SampleRowKeysRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *SampleRowKeysRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -421,13 +523,35 @@ type SampleRowKeysResponse struct {
|
||||
// "row_key". Buffering the contents of all rows between two subsequent
|
||||
// samples would require space roughly equal to the difference in their
|
||||
// "offset_bytes" fields.
|
||||
OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes" json:"offset_bytes,omitempty"`
|
||||
OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes,proto3" json:"offset_bytes,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} }
|
||||
func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysResponse) ProtoMessage() {}
|
||||
func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} }
|
||||
func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysResponse) ProtoMessage() {}
|
||||
func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{3}
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SampleRowKeysResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SampleRowKeysResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Size(m)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SampleRowKeysResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SampleRowKeysResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *SampleRowKeysResponse) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -446,19 +570,41 @@ func (m *SampleRowKeysResponse) GetOffsetBytes() int64 {
|
||||
// Request message for BigtableService.MutateRow.
|
||||
type MutateRowRequest struct {
|
||||
// The unique name of the table to which the mutation should be applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The key of the row to which the mutation should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// Changes to be atomically applied to the specified row. Entries are applied
|
||||
// in order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry and at most 100000.
|
||||
Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations" json:"mutations,omitempty"`
|
||||
Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations,proto3" json:"mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} }
|
||||
func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowRequest) ProtoMessage() {}
|
||||
func (*MutateRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} }
|
||||
func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowRequest) ProtoMessage() {}
|
||||
func (*MutateRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{4}
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowRequest.Size(m)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -484,19 +630,41 @@ func (m *MutateRowRequest) GetMutations() []*Mutation {
|
||||
// Request message for BigtableService.MutateRows.
|
||||
type MutateRowsRequest struct {
|
||||
// The unique name of the table to which the mutations should be applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The row keys/mutations to be applied in bulk.
|
||||
// Each entry is applied as an atomic mutation, but the entries may be
|
||||
// applied in arbitrary order (even between entries for the same row).
|
||||
// At least one entry must be specified, and in total the entries may
|
||||
// contain at most 100000 mutations.
|
||||
Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
|
||||
Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} }
|
||||
func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest) ProtoMessage() {}
|
||||
func (*MutateRowsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} }
|
||||
func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest) ProtoMessage() {}
|
||||
func (*MutateRowsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{5}
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsRequest.Size(m)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -519,13 +687,35 @@ type MutateRowsRequest_Entry struct {
|
||||
// applied in order, meaning that earlier mutations can be masked by
|
||||
// later ones.
|
||||
// At least one mutation must be specified.
|
||||
Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
|
||||
Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry{} }
|
||||
func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5, 0} }
|
||||
func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry{} }
|
||||
func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{5, 0}
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsRequest_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsRequest_Entry.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Size(m)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsRequest_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsRequest_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsRequest_Entry) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -548,15 +738,37 @@ type MutateRowsResponse struct {
|
||||
// Depending on how requests are batched during execution, it is possible
|
||||
// for one Entry to fail due to an error with another Entry. In the event
|
||||
// that this occurs, the same error will be reported for both entries.
|
||||
Statuses []*google_rpc.Status `protobuf:"bytes,1,rep,name=statuses" json:"statuses,omitempty"`
|
||||
Statuses []*status.Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} }
|
||||
func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse) ProtoMessage() {}
|
||||
func (*MutateRowsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
|
||||
func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} }
|
||||
func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse) ProtoMessage() {}
|
||||
func (*MutateRowsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{6}
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsResponse.Size(m)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *MutateRowsResponse) GetStatuses() []*google_rpc.Status {
|
||||
var xxx_messageInfo_MutateRowsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsResponse) GetStatuses() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Statuses
|
||||
}
|
||||
@ -567,32 +779,54 @@ func (m *MutateRowsResponse) GetStatuses() []*google_rpc.Status {
|
||||
type CheckAndMutateRowRequest struct {
|
||||
// The unique name of the table to which the conditional mutation should be
|
||||
// applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The key of the row to which the conditional mutation should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// The filter to be applied to the contents of the specified row. Depending
|
||||
// on whether or not any results are yielded, either "true_mutations" or
|
||||
// "false_mutations" will be executed. If unset, checks that the row contains
|
||||
// any values at all.
|
||||
PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter" json:"predicate_filter,omitempty"`
|
||||
PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"`
|
||||
// Changes to be atomically applied to the specified row if "predicate_filter"
|
||||
// yields at least one cell when applied to "row_key". Entries are applied in
|
||||
// order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry if "false_mutations" is empty, and at most
|
||||
// 100000.
|
||||
TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations" json:"true_mutations,omitempty"`
|
||||
TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations,proto3" json:"true_mutations,omitempty"`
|
||||
// Changes to be atomically applied to the specified row if "predicate_filter"
|
||||
// does not yield any cells when applied to "row_key". Entries are applied in
|
||||
// order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry if "true_mutations" is empty, and at most
|
||||
// 100000.
|
||||
FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations" json:"false_mutations,omitempty"`
|
||||
FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations,proto3" json:"false_mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} }
|
||||
func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowRequest) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
|
||||
func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} }
|
||||
func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowRequest) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{7}
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CheckAndMutateRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckAndMutateRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Size(m)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckAndMutateRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckAndMutateRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckAndMutateRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -633,13 +867,35 @@ func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation {
|
||||
type CheckAndMutateRowResponse struct {
|
||||
// Whether or not the request's "predicate_filter" yielded any results for
|
||||
// the specified row.
|
||||
PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched" json:"predicate_matched,omitempty"`
|
||||
PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched,proto3" json:"predicate_matched,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} }
|
||||
func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowResponse) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }
|
||||
func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} }
|
||||
func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowResponse) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{8}
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CheckAndMutateRowResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckAndMutateRowResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Size(m)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckAndMutateRowResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckAndMutateRowResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool {
|
||||
if m != nil {
|
||||
@ -652,19 +908,41 @@ func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool {
|
||||
type ReadModifyWriteRowRequest struct {
|
||||
// The unique name of the table to which the read/modify/write rules should be
|
||||
// applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The key of the row to which the read/modify/write rules should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// Rules specifying how the specified row's contents are to be transformed
|
||||
// into writes. Entries are applied in order, meaning that earlier rules will
|
||||
// affect the results of later ones.
|
||||
Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} }
|
||||
func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowRequest) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} }
|
||||
func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} }
|
||||
func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowRequest) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{9}
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadModifyWriteRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadModifyWriteRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Size(m)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadModifyWriteRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadModifyWriteRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadModifyWriteRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -702,9 +980,11 @@ func init() {
|
||||
proto.RegisterType((*ReadModifyWriteRowRequest)(nil), "google.bigtable.v1.ReadModifyWriteRowRequest")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/v1/bigtable_service_messages.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/v1/bigtable_service_messages.proto", fileDescriptor_bigtable_service_messages_e7f32c735e59c16c)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_bigtable_service_messages_e7f32c735e59c16c = []byte{
|
||||
// 788 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5f, 0x8b, 0x23, 0x45,
|
||||
0x10, 0xdf, 0x49, 0xcc, 0xbf, 0x4a, 0xdc, 0xdd, 0x6b, 0xce, 0xdb, 0xd9, 0x70, 0x8b, 0x71, 0x10,
|
||||
|
Reference in New Issue
Block a user