mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-25 15:21:16 +00:00
1532 lines
61 KiB
Go
1532 lines
61 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: google/bigtable/v2/bigtable.proto
|
|
|
|
package bigtable // import "google.golang.org/genproto/googleapis/bigtable/v2"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
|
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
|
import status "google.golang.org/genproto/googleapis/rpc/status"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// 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 Bigtable.ReadRows.
|
|
type ReadRowsRequest struct {
|
|
// The unique name of the table from which to read.
|
|
// Values are of the form
|
|
// `projects/<project>/instances/<instance>/tables/<table>`.
|
|
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
|
// This value specifies routing for replication. If not specified, the
|
|
// "default" application profile will be used.
|
|
AppProfileId string `protobuf:"bytes,5,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
|
// The row keys and/or ranges to read. If not specified, reads from all rows.
|
|
Rows *RowSet `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"`
|
|
// The filter to apply to the contents of the specified row(s). If unset,
|
|
// reads the entirety of each row.
|
|
Filter *RowFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
// The read will terminate after committing to N rows' worth of results. The
|
|
// default (zero) is to return all results.
|
|
RowsLimit int64 `protobuf:"varint,4,opt,name=rows_limit,json=rowsLimit,proto3" json:"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 fileDescriptor_bigtable_63a4918e49d59690, []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 ""
|
|
}
|
|
|
|
func (m *ReadRowsRequest) GetAppProfileId() string {
|
|
if m != nil {
|
|
return m.AppProfileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReadRowsRequest) GetRows() *RowSet {
|
|
if m != nil {
|
|
return m.Rows
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsRequest) GetFilter() *RowFilter {
|
|
if m != nil {
|
|
return m.Filter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsRequest) GetRowsLimit() int64 {
|
|
if m != nil {
|
|
return m.RowsLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Response message for Bigtable.ReadRows.
|
|
type ReadRowsResponse struct {
|
|
Chunks []*ReadRowsResponse_CellChunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
|
|
// Optionally the server might return the row key of the last row it
|
|
// has scanned. The client can use this to construct a more
|
|
// efficient retry request if needed: any row keys or portions of
|
|
// ranges less than this row key can be dropped from the request.
|
|
// This is primarily useful for cases where the server has read a
|
|
// lot of data that was filtered out since the last committed row
|
|
// key, allowing the client to skip that work on a retry.
|
|
LastScannedRowKey []byte `protobuf:"bytes,2,opt,name=last_scanned_row_key,json=lastScannedRowKey,proto3" json:"last_scanned_row_key,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 fileDescriptor_bigtable_63a4918e49d59690, []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) GetChunks() []*ReadRowsResponse_CellChunk {
|
|
if m != nil {
|
|
return m.Chunks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsResponse) GetLastScannedRowKey() []byte {
|
|
if m != nil {
|
|
return m.LastScannedRowKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Specifies a piece of a row's contents returned as part of the read
|
|
// response stream.
|
|
type ReadRowsResponse_CellChunk struct {
|
|
// The row key for this chunk of data. If the row key is empty,
|
|
// this CellChunk is a continuation of the same row as the previous
|
|
// CellChunk in the response stream, even if that CellChunk was in a
|
|
// previous ReadRowsResponse message.
|
|
RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
|
// The column family name for this chunk of data. If this message
|
|
// is not present this CellChunk is a continuation of the same column
|
|
// family as the previous CellChunk. The empty string can occur as a
|
|
// column family name in a response so clients must check
|
|
// explicitly for the presence of this message, not just for
|
|
// `family_name.value` being non-empty.
|
|
FamilyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
|
|
// The column qualifier for this chunk of data. If this message
|
|
// is not present, this CellChunk is a continuation of the same column
|
|
// as the previous CellChunk. Column qualifiers may be empty so
|
|
// clients must check for the presence of this message, not just
|
|
// for `qualifier.value` being non-empty.
|
|
Qualifier *wrappers.BytesValue `protobuf:"bytes,3,opt,name=qualifier,proto3" json:"qualifier,omitempty"`
|
|
// The cell's stored timestamp, which also uniquely identifies it
|
|
// within its column. Values are always expressed in
|
|
// microseconds, but individual tables may set a coarser
|
|
// granularity to further restrict the allowed values. For
|
|
// example, a table which specifies millisecond granularity will
|
|
// only allow values of `timestamp_micros` which are multiples of
|
|
// 1000. Timestamps are only set in the first CellChunk per cell
|
|
// (for cells split into multiple chunks).
|
|
TimestampMicros int64 `protobuf:"varint,4,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"`
|
|
// Labels applied to the cell by a
|
|
// [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set
|
|
// on the first CellChunk per cell.
|
|
Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
|
|
// The value stored in the cell. Cell values can be split across
|
|
// multiple CellChunks. In that case only the value field will be
|
|
// set in CellChunks after the first: the timestamp and labels
|
|
// will only be present in the first CellChunk, even if the first
|
|
// CellChunk came in a previous ReadRowsResponse.
|
|
Value []byte `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
|
|
// If this CellChunk is part of a chunked cell value and this is
|
|
// not the final chunk of that cell, value_size will be set to the
|
|
// total length of the cell value. The client can use this size
|
|
// to pre-allocate memory to hold the full cell value.
|
|
ValueSize int32 `protobuf:"varint,7,opt,name=value_size,json=valueSize,proto3" json:"value_size,omitempty"`
|
|
// Types that are valid to be assigned to RowStatus:
|
|
// *ReadRowsResponse_CellChunk_ResetRow
|
|
// *ReadRowsResponse_CellChunk_CommitRow
|
|
RowStatus isReadRowsResponse_CellChunk_RowStatus `protobuf_oneof:"row_status"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) Reset() { *m = ReadRowsResponse_CellChunk{} }
|
|
func (m *ReadRowsResponse_CellChunk) String() string { return proto.CompactTextString(m) }
|
|
func (*ReadRowsResponse_CellChunk) ProtoMessage() {}
|
|
func (*ReadRowsResponse_CellChunk) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_bigtable_63a4918e49d59690, []int{1, 0}
|
|
}
|
|
func (m *ReadRowsResponse_CellChunk) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ReadRowsResponse_CellChunk.Unmarshal(m, b)
|
|
}
|
|
func (m *ReadRowsResponse_CellChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ReadRowsResponse_CellChunk.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ReadRowsResponse_CellChunk) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReadRowsResponse_CellChunk.Merge(dst, src)
|
|
}
|
|
func (m *ReadRowsResponse_CellChunk) XXX_Size() int {
|
|
return xxx_messageInfo_ReadRowsResponse_CellChunk.Size(m)
|
|
}
|
|
func (m *ReadRowsResponse_CellChunk) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReadRowsResponse_CellChunk.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReadRowsResponse_CellChunk proto.InternalMessageInfo
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetRowKey() []byte {
|
|
if m != nil {
|
|
return m.RowKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetFamilyName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.FamilyName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetQualifier() *wrappers.BytesValue {
|
|
if m != nil {
|
|
return m.Qualifier
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetTimestampMicros() int64 {
|
|
if m != nil {
|
|
return m.TimestampMicros
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetLabels() []string {
|
|
if m != nil {
|
|
return m.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetValue() []byte {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetValueSize() int32 {
|
|
if m != nil {
|
|
return m.ValueSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type isReadRowsResponse_CellChunk_RowStatus interface {
|
|
isReadRowsResponse_CellChunk_RowStatus()
|
|
}
|
|
|
|
type ReadRowsResponse_CellChunk_ResetRow struct {
|
|
ResetRow bool `protobuf:"varint,8,opt,name=reset_row,json=resetRow,proto3,oneof"`
|
|
}
|
|
|
|
type ReadRowsResponse_CellChunk_CommitRow struct {
|
|
CommitRow bool `protobuf:"varint,9,opt,name=commit_row,json=commitRow,proto3,oneof"`
|
|
}
|
|
|
|
func (*ReadRowsResponse_CellChunk_ResetRow) isReadRowsResponse_CellChunk_RowStatus() {}
|
|
|
|
func (*ReadRowsResponse_CellChunk_CommitRow) isReadRowsResponse_CellChunk_RowStatus() {}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetRowStatus() isReadRowsResponse_CellChunk_RowStatus {
|
|
if m != nil {
|
|
return m.RowStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetResetRow() bool {
|
|
if x, ok := m.GetRowStatus().(*ReadRowsResponse_CellChunk_ResetRow); ok {
|
|
return x.ResetRow
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ReadRowsResponse_CellChunk) GetCommitRow() bool {
|
|
if x, ok := m.GetRowStatus().(*ReadRowsResponse_CellChunk_CommitRow); ok {
|
|
return x.CommitRow
|
|
}
|
|
return false
|
|
}
|
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
|
func (*ReadRowsResponse_CellChunk) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
|
return _ReadRowsResponse_CellChunk_OneofMarshaler, _ReadRowsResponse_CellChunk_OneofUnmarshaler, _ReadRowsResponse_CellChunk_OneofSizer, []interface{}{
|
|
(*ReadRowsResponse_CellChunk_ResetRow)(nil),
|
|
(*ReadRowsResponse_CellChunk_CommitRow)(nil),
|
|
}
|
|
}
|
|
|
|
func _ReadRowsResponse_CellChunk_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
m := msg.(*ReadRowsResponse_CellChunk)
|
|
// row_status
|
|
switch x := m.RowStatus.(type) {
|
|
case *ReadRowsResponse_CellChunk_ResetRow:
|
|
t := uint64(0)
|
|
if x.ResetRow {
|
|
t = 1
|
|
}
|
|
b.EncodeVarint(8<<3 | proto.WireVarint)
|
|
b.EncodeVarint(t)
|
|
case *ReadRowsResponse_CellChunk_CommitRow:
|
|
t := uint64(0)
|
|
if x.CommitRow {
|
|
t = 1
|
|
}
|
|
b.EncodeVarint(9<<3 | proto.WireVarint)
|
|
b.EncodeVarint(t)
|
|
case nil:
|
|
default:
|
|
return fmt.Errorf("ReadRowsResponse_CellChunk.RowStatus has unexpected type %T", x)
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func _ReadRowsResponse_CellChunk_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
m := msg.(*ReadRowsResponse_CellChunk)
|
|
switch tag {
|
|
case 8: // row_status.reset_row
|
|
if wire != proto.WireVarint {
|
|
return true, proto.ErrInternalBadWireType
|
|
}
|
|
x, err := b.DecodeVarint()
|
|
m.RowStatus = &ReadRowsResponse_CellChunk_ResetRow{x != 0}
|
|
return true, err
|
|
case 9: // row_status.commit_row
|
|
if wire != proto.WireVarint {
|
|
return true, proto.ErrInternalBadWireType
|
|
}
|
|
x, err := b.DecodeVarint()
|
|
m.RowStatus = &ReadRowsResponse_CellChunk_CommitRow{x != 0}
|
|
return true, err
|
|
default:
|
|
return false, nil
|
|
}
|
|
}
|
|
|
|
func _ReadRowsResponse_CellChunk_OneofSizer(msg proto.Message) (n int) {
|
|
m := msg.(*ReadRowsResponse_CellChunk)
|
|
// row_status
|
|
switch x := m.RowStatus.(type) {
|
|
case *ReadRowsResponse_CellChunk_ResetRow:
|
|
n += 1 // tag and wire
|
|
n += 1
|
|
case *ReadRowsResponse_CellChunk_CommitRow:
|
|
n += 1 // tag and wire
|
|
n += 1
|
|
case nil:
|
|
default:
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
}
|
|
return n
|
|
}
|
|
|
|
// Request message for Bigtable.SampleRowKeys.
|
|
type SampleRowKeysRequest struct {
|
|
// The unique name of the table from which to sample row keys.
|
|
// Values are of the form
|
|
// `projects/<project>/instances/<instance>/tables/<table>`.
|
|
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
|
// This value specifies routing for replication. If not specified, the
|
|
// "default" application profile will be used.
|
|
AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,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 fileDescriptor_bigtable_63a4918e49d59690, []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 {
|
|
return m.TableName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SampleRowKeysRequest) GetAppProfileId() string {
|
|
if m != nil {
|
|
return m.AppProfileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Response message for Bigtable.SampleRowKeys.
|
|
type SampleRowKeysResponse struct {
|
|
// Sorted streamed sequence of sample row keys in the table. The table might
|
|
// have contents before the first row key in the list and after the last one,
|
|
// but a key containing the empty string indicates "end of table" and will be
|
|
// the last response given, if present.
|
|
// Note that row keys in this list may not have ever been written to or read
|
|
// from, and users should therefore not make any assumptions about the row key
|
|
// structure that are specific to their use case.
|
|
RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
|
// Approximate total storage space used by all rows in the table which precede
|
|
// `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,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 fileDescriptor_bigtable_63a4918e49d59690, []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 {
|
|
return m.RowKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SampleRowKeysResponse) GetOffsetBytes() int64 {
|
|
if m != nil {
|
|
return m.OffsetBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Request message for Bigtable.MutateRow.
|
|
type MutateRowRequest struct {
|
|
// The unique name of the table to which the mutation should be applied.
|
|
// Values are of the form
|
|
// `projects/<project>/instances/<instance>/tables/<table>`.
|
|
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
|
// This value specifies routing for replication. If not specified, the
|
|
// "default" application profile will be used.
|
|
AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,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,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 fileDescriptor_bigtable_63a4918e49d59690, []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 {
|
|
return m.TableName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MutateRowRequest) GetAppProfileId() string {
|
|
if m != nil {
|
|
return m.AppProfileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MutateRowRequest) GetRowKey() []byte {
|
|
if m != nil {
|
|
return m.RowKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *MutateRowRequest) GetMutations() []*Mutation {
|
|
if m != nil {
|
|
return m.Mutations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Response message for Bigtable.MutateRow.
|
|
type MutateRowResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MutateRowResponse) Reset() { *m = MutateRowResponse{} }
|
|
func (m *MutateRowResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*MutateRowResponse) ProtoMessage() {}
|
|
func (*MutateRowResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_bigtable_63a4918e49d59690, []int{5}
|
|
}
|
|
func (m *MutateRowResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MutateRowResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *MutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MutateRowResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *MutateRowResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MutateRowResponse.Merge(dst, src)
|
|
}
|
|
func (m *MutateRowResponse) XXX_Size() int {
|
|
return xxx_messageInfo_MutateRowResponse.Size(m)
|
|
}
|
|
func (m *MutateRowResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MutateRowResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MutateRowResponse proto.InternalMessageInfo
|
|
|
|
// 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,proto3" json:"table_name,omitempty"`
|
|
// This value specifies routing for replication. If not specified, the
|
|
// "default" application profile will be used.
|
|
AppProfileId string `protobuf:"bytes,3,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
|
// The row keys and corresponding 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 can
|
|
// contain at most 100000 mutations.
|
|
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 fileDescriptor_bigtable_63a4918e49d59690, []int{6}
|
|
}
|
|
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 {
|
|
return m.TableName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MutateRowsRequest) GetAppProfileId() string {
|
|
if m != nil {
|
|
return m.AppProfileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MutateRowsRequest) GetEntries() []*MutateRowsRequest_Entry {
|
|
if m != nil {
|
|
return m.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MutateRowsRequest_Entry struct {
|
|
// The key of the row to which the `mutations` should be applied.
|
|
RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
|
// Changes to be atomically applied to the specified row. Mutations are
|
|
// applied in order, meaning that earlier mutations can be masked by
|
|
// later ones.
|
|
// You must specify at least one mutation.
|
|
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 fileDescriptor_bigtable_63a4918e49d59690, []int{6, 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 {
|
|
return m.RowKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *MutateRowsRequest_Entry) GetMutations() []*Mutation {
|
|
if m != nil {
|
|
return m.Mutations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Response message for BigtableService.MutateRows.
|
|
type MutateRowsResponse struct {
|
|
// One or more results for Entries from the batch request.
|
|
Entries []*MutateRowsResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,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 fileDescriptor_bigtable_63a4918e49d59690, []int{7}
|
|
}
|
|
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)
|
|
}
|
|
|
|
var xxx_messageInfo_MutateRowsResponse proto.InternalMessageInfo
|
|
|
|
func (m *MutateRowsResponse) GetEntries() []*MutateRowsResponse_Entry {
|
|
if m != nil {
|
|
return m.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MutateRowsResponse_Entry struct {
|
|
// The index into the original request's `entries` list of the Entry
|
|
// for which a result is being reported.
|
|
Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
|
// The result of the request Entry identified by `index`.
|
|
// 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.
|
|
Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MutateRowsResponse_Entry) Reset() { *m = MutateRowsResponse_Entry{} }
|
|
func (m *MutateRowsResponse_Entry) String() string { return proto.CompactTextString(m) }
|
|
func (*MutateRowsResponse_Entry) ProtoMessage() {}
|
|
func (*MutateRowsResponse_Entry) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_bigtable_63a4918e49d59690, []int{7, 0}
|
|
}
|
|
func (m *MutateRowsResponse_Entry) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MutateRowsResponse_Entry.Unmarshal(m, b)
|
|
}
|
|
func (m *MutateRowsResponse_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MutateRowsResponse_Entry.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *MutateRowsResponse_Entry) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MutateRowsResponse_Entry.Merge(dst, src)
|
|
}
|
|
func (m *MutateRowsResponse_Entry) XXX_Size() int {
|
|
return xxx_messageInfo_MutateRowsResponse_Entry.Size(m)
|
|
}
|
|
func (m *MutateRowsResponse_Entry) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MutateRowsResponse_Entry.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MutateRowsResponse_Entry proto.InternalMessageInfo
|
|
|
|
func (m *MutateRowsResponse_Entry) GetIndex() int64 {
|
|
if m != nil {
|
|
return m.Index
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MutateRowsResponse_Entry) GetStatus() *status.Status {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Request message for Bigtable.CheckAndMutateRow.
|
|
type CheckAndMutateRowRequest struct {
|
|
// The unique name of the table to which the conditional mutation should be
|
|
// applied.
|
|
// Values are of the form
|
|
// `projects/<project>/instances/<instance>/tables/<table>`.
|
|
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
|
// This value specifies routing for replication. If not specified, the
|
|
// "default" application profile will be used.
|
|
AppProfileId string `protobuf:"bytes,7,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,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,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,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,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 fileDescriptor_bigtable_63a4918e49d59690, []int{8}
|
|
}
|
|
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 {
|
|
return m.TableName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CheckAndMutateRowRequest) GetAppProfileId() string {
|
|
if m != nil {
|
|
return m.AppProfileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CheckAndMutateRowRequest) GetRowKey() []byte {
|
|
if m != nil {
|
|
return m.RowKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CheckAndMutateRowRequest) GetPredicateFilter() *RowFilter {
|
|
if m != nil {
|
|
return m.PredicateFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CheckAndMutateRowRequest) GetTrueMutations() []*Mutation {
|
|
if m != nil {
|
|
return m.TrueMutations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation {
|
|
if m != nil {
|
|
return m.FalseMutations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Response message for Bigtable.CheckAndMutateRow.
|
|
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,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 fileDescriptor_bigtable_63a4918e49d59690, []int{9}
|
|
}
|
|
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 {
|
|
return m.PredicateMatched
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Request message for Bigtable.ReadModifyWriteRow.
|
|
type ReadModifyWriteRowRequest struct {
|
|
// The unique name of the table to which the read/modify/write rules should be
|
|
// applied.
|
|
// Values are of the form
|
|
// `projects/<project>/instances/<instance>/tables/<table>`.
|
|
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
|
// This value specifies routing for replication. If not specified, the
|
|
// "default" application profile will be used.
|
|
AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,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,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 fileDescriptor_bigtable_63a4918e49d59690, []int{10}
|
|
}
|
|
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 {
|
|
return m.TableName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReadModifyWriteRowRequest) GetAppProfileId() string {
|
|
if m != nil {
|
|
return m.AppProfileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReadModifyWriteRowRequest) GetRowKey() []byte {
|
|
if m != nil {
|
|
return m.RowKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule {
|
|
if m != nil {
|
|
return m.Rules
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Response message for Bigtable.ReadModifyWriteRow.
|
|
type ReadModifyWriteRowResponse struct {
|
|
// A Row containing the new contents of all cells modified by the request.
|
|
Row *Row `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ReadModifyWriteRowResponse) Reset() { *m = ReadModifyWriteRowResponse{} }
|
|
func (m *ReadModifyWriteRowResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ReadModifyWriteRowResponse) ProtoMessage() {}
|
|
func (*ReadModifyWriteRowResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_bigtable_63a4918e49d59690, []int{11}
|
|
}
|
|
func (m *ReadModifyWriteRowResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ReadModifyWriteRowResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ReadModifyWriteRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ReadModifyWriteRowResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ReadModifyWriteRowResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReadModifyWriteRowResponse.Merge(dst, src)
|
|
}
|
|
func (m *ReadModifyWriteRowResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ReadModifyWriteRowResponse.Size(m)
|
|
}
|
|
func (m *ReadModifyWriteRowResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReadModifyWriteRowResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReadModifyWriteRowResponse proto.InternalMessageInfo
|
|
|
|
func (m *ReadModifyWriteRowResponse) GetRow() *Row {
|
|
if m != nil {
|
|
return m.Row
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ReadRowsRequest)(nil), "google.bigtable.v2.ReadRowsRequest")
|
|
proto.RegisterType((*ReadRowsResponse)(nil), "google.bigtable.v2.ReadRowsResponse")
|
|
proto.RegisterType((*ReadRowsResponse_CellChunk)(nil), "google.bigtable.v2.ReadRowsResponse.CellChunk")
|
|
proto.RegisterType((*SampleRowKeysRequest)(nil), "google.bigtable.v2.SampleRowKeysRequest")
|
|
proto.RegisterType((*SampleRowKeysResponse)(nil), "google.bigtable.v2.SampleRowKeysResponse")
|
|
proto.RegisterType((*MutateRowRequest)(nil), "google.bigtable.v2.MutateRowRequest")
|
|
proto.RegisterType((*MutateRowResponse)(nil), "google.bigtable.v2.MutateRowResponse")
|
|
proto.RegisterType((*MutateRowsRequest)(nil), "google.bigtable.v2.MutateRowsRequest")
|
|
proto.RegisterType((*MutateRowsRequest_Entry)(nil), "google.bigtable.v2.MutateRowsRequest.Entry")
|
|
proto.RegisterType((*MutateRowsResponse)(nil), "google.bigtable.v2.MutateRowsResponse")
|
|
proto.RegisterType((*MutateRowsResponse_Entry)(nil), "google.bigtable.v2.MutateRowsResponse.Entry")
|
|
proto.RegisterType((*CheckAndMutateRowRequest)(nil), "google.bigtable.v2.CheckAndMutateRowRequest")
|
|
proto.RegisterType((*CheckAndMutateRowResponse)(nil), "google.bigtable.v2.CheckAndMutateRowResponse")
|
|
proto.RegisterType((*ReadModifyWriteRowRequest)(nil), "google.bigtable.v2.ReadModifyWriteRowRequest")
|
|
proto.RegisterType((*ReadModifyWriteRowResponse)(nil), "google.bigtable.v2.ReadModifyWriteRowResponse")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// BigtableClient is the client API for Bigtable service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type BigtableClient interface {
|
|
// Streams back the contents of all requested rows in key order, optionally
|
|
// applying the same Reader filter to each. Depending on their size,
|
|
// rows and cells may be broken up across multiple responses, but
|
|
// atomicity of each row will still be preserved. See the
|
|
// ReadRowsResponse documentation for details.
|
|
ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (Bigtable_ReadRowsClient, error)
|
|
// Returns a sample of row keys in the table. The returned row keys will
|
|
// delimit contiguous sections of the table of approximately equal size,
|
|
// which can be used to break up the data for distributed tasks like
|
|
// mapreduces.
|
|
SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (Bigtable_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) (*MutateRowResponse, error)
|
|
// Mutates multiple rows in a batch. Each individual row is mutated
|
|
// atomically as in MutateRow, but the entire batch is not executed
|
|
// atomically.
|
|
MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (Bigtable_MutateRowsClient, error)
|
|
// Mutates a row atomically based on the output of a predicate Reader filter.
|
|
CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error)
|
|
// Modifies a row atomically on the server. The method reads the latest
|
|
// existing timestamp and value from the specified columns and writes a new
|
|
// entry based on pre-defined read/modify/write rules. The new value for the
|
|
// timestamp is the greater of the existing timestamp or the current server
|
|
// time. The method returns the new contents of all modified cells.
|
|
ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*ReadModifyWriteRowResponse, error)
|
|
}
|
|
|
|
type bigtableClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewBigtableClient(cc *grpc.ClientConn) BigtableClient {
|
|
return &bigtableClient{cc}
|
|
}
|
|
|
|
func (c *bigtableClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (Bigtable_ReadRowsClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[0], "/google.bigtable.v2.Bigtable/ReadRows", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &bigtableReadRowsClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type Bigtable_ReadRowsClient interface {
|
|
Recv() (*ReadRowsResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type bigtableReadRowsClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *bigtableReadRowsClient) Recv() (*ReadRowsResponse, error) {
|
|
m := new(ReadRowsResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *bigtableClient) SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (Bigtable_SampleRowKeysClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[1], "/google.bigtable.v2.Bigtable/SampleRowKeys", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &bigtableSampleRowKeysClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type Bigtable_SampleRowKeysClient interface {
|
|
Recv() (*SampleRowKeysResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type bigtableSampleRowKeysClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *bigtableSampleRowKeysClient) Recv() (*SampleRowKeysResponse, error) {
|
|
m := new(SampleRowKeysResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *bigtableClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*MutateRowResponse, error) {
|
|
out := new(MutateRowResponse)
|
|
err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/MutateRow", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *bigtableClient) MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (Bigtable_MutateRowsClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[2], "/google.bigtable.v2.Bigtable/MutateRows", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &bigtableMutateRowsClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type Bigtable_MutateRowsClient interface {
|
|
Recv() (*MutateRowsResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type bigtableMutateRowsClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *bigtableMutateRowsClient) Recv() (*MutateRowsResponse, error) {
|
|
m := new(MutateRowsResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *bigtableClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) {
|
|
out := new(CheckAndMutateRowResponse)
|
|
err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/CheckAndMutateRow", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *bigtableClient) ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*ReadModifyWriteRowResponse, error) {
|
|
out := new(ReadModifyWriteRowResponse)
|
|
err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/ReadModifyWriteRow", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// BigtableServer is the server API for Bigtable service.
|
|
type BigtableServer interface {
|
|
// Streams back the contents of all requested rows in key order, optionally
|
|
// applying the same Reader filter to each. Depending on their size,
|
|
// rows and cells may be broken up across multiple responses, but
|
|
// atomicity of each row will still be preserved. See the
|
|
// ReadRowsResponse documentation for details.
|
|
ReadRows(*ReadRowsRequest, Bigtable_ReadRowsServer) error
|
|
// Returns a sample of row keys in the table. The returned row keys will
|
|
// delimit contiguous sections of the table of approximately equal size,
|
|
// which can be used to break up the data for distributed tasks like
|
|
// mapreduces.
|
|
SampleRowKeys(*SampleRowKeysRequest, Bigtable_SampleRowKeysServer) error
|
|
// Mutates a row atomically. Cells already present in the row are left
|
|
// unchanged unless explicitly changed by `mutation`.
|
|
MutateRow(context.Context, *MutateRowRequest) (*MutateRowResponse, error)
|
|
// Mutates multiple rows in a batch. Each individual row is mutated
|
|
// atomically as in MutateRow, but the entire batch is not executed
|
|
// atomically.
|
|
MutateRows(*MutateRowsRequest, Bigtable_MutateRowsServer) error
|
|
// Mutates a row atomically based on the output of a predicate Reader filter.
|
|
CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error)
|
|
// Modifies a row atomically on the server. The method reads the latest
|
|
// existing timestamp and value from the specified columns and writes a new
|
|
// entry based on pre-defined read/modify/write rules. The new value for the
|
|
// timestamp is the greater of the existing timestamp or the current server
|
|
// time. The method returns the new contents of all modified cells.
|
|
ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*ReadModifyWriteRowResponse, error)
|
|
}
|
|
|
|
func RegisterBigtableServer(s *grpc.Server, srv BigtableServer) {
|
|
s.RegisterService(&_Bigtable_serviceDesc, srv)
|
|
}
|
|
|
|
func _Bigtable_ReadRows_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(ReadRowsRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(BigtableServer).ReadRows(m, &bigtableReadRowsServer{stream})
|
|
}
|
|
|
|
type Bigtable_ReadRowsServer interface {
|
|
Send(*ReadRowsResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type bigtableReadRowsServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *bigtableReadRowsServer) Send(m *ReadRowsResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _Bigtable_SampleRowKeys_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(SampleRowKeysRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(BigtableServer).SampleRowKeys(m, &bigtableSampleRowKeysServer{stream})
|
|
}
|
|
|
|
type Bigtable_SampleRowKeysServer interface {
|
|
Send(*SampleRowKeysResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type bigtableSampleRowKeysServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *bigtableSampleRowKeysServer) Send(m *SampleRowKeysResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _Bigtable_MutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(MutateRowRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(BigtableServer).MutateRow(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.bigtable.v2.Bigtable/MutateRow",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BigtableServer).MutateRow(ctx, req.(*MutateRowRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Bigtable_MutateRows_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(MutateRowsRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(BigtableServer).MutateRows(m, &bigtableMutateRowsServer{stream})
|
|
}
|
|
|
|
type Bigtable_MutateRowsServer interface {
|
|
Send(*MutateRowsResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type bigtableMutateRowsServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *bigtableMutateRowsServer) Send(m *MutateRowsResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _Bigtable_CheckAndMutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CheckAndMutateRowRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(BigtableServer).CheckAndMutateRow(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.bigtable.v2.Bigtable/CheckAndMutateRow",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BigtableServer).CheckAndMutateRow(ctx, req.(*CheckAndMutateRowRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Bigtable_ReadModifyWriteRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ReadModifyWriteRowRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(BigtableServer).ReadModifyWriteRow(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/google.bigtable.v2.Bigtable/ReadModifyWriteRow",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BigtableServer).ReadModifyWriteRow(ctx, req.(*ReadModifyWriteRowRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _Bigtable_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "google.bigtable.v2.Bigtable",
|
|
HandlerType: (*BigtableServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "MutateRow",
|
|
Handler: _Bigtable_MutateRow_Handler,
|
|
},
|
|
{
|
|
MethodName: "CheckAndMutateRow",
|
|
Handler: _Bigtable_CheckAndMutateRow_Handler,
|
|
},
|
|
{
|
|
MethodName: "ReadModifyWriteRow",
|
|
Handler: _Bigtable_ReadModifyWriteRow_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "ReadRows",
|
|
Handler: _Bigtable_ReadRows_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "SampleRowKeys",
|
|
Handler: _Bigtable_SampleRowKeys_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "MutateRows",
|
|
Handler: _Bigtable_MutateRows_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
},
|
|
Metadata: "google/bigtable/v2/bigtable.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("google/bigtable/v2/bigtable.proto", fileDescriptor_bigtable_63a4918e49d59690)
|
|
}
|
|
|
|
var fileDescriptor_bigtable_63a4918e49d59690 = []byte{
|
|
// 1210 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x41, 0x6f, 0x1b, 0x45,
|
|
0x14, 0x66, 0xec, 0xd8, 0xf1, 0xbe, 0xa4, 0x4d, 0x32, 0x84, 0x76, 0x6b, 0x5a, 0x70,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