| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/bigtable/v2/bigtable.proto |
| |
| package bigtable |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| status "google.golang.org/genproto/googleapis/rpc/status" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Request message for Bigtable.ReadRows. |
| type ReadRowsRequest struct { |
| // Required. 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_7e9247725ec9a6cf, []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 (m *ReadRowsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ReadRowsRequest.Merge(m, 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 { |
| // A collection of a row's contents as part of the read request. |
| 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_7e9247725ec9a6cf, []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 (m *ReadRowsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ReadRowsResponse.Merge(m, 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"` |
| // Signals to the client concerning previous CellChunks received. |
| // |
| // 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_7e9247725ec9a6cf, []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 (m *ReadRowsResponse_CellChunk) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ReadRowsResponse_CellChunk.Merge(m, 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_OneofWrappers is for the internal use of the proto package. |
| func (*ReadRowsResponse_CellChunk) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*ReadRowsResponse_CellChunk_ResetRow)(nil), |
| (*ReadRowsResponse_CellChunk_CommitRow)(nil), |
| } |
| } |
| |
| // Request message for Bigtable.SampleRowKeys. |
| type SampleRowKeysRequest struct { |
| // Required. 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_7e9247725ec9a6cf, []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 (m *SampleRowKeysRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SampleRowKeysRequest.Merge(m, 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_7e9247725ec9a6cf, []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 (m *SampleRowKeysResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SampleRowKeysResponse.Merge(m, 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 { |
| // Required. 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"` |
| // Required. 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"` |
| // Required. 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_7e9247725ec9a6cf, []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 (m *MutateRowRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateRowRequest.Merge(m, 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_7e9247725ec9a6cf, []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 (m *MutateRowResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateRowResponse.Merge(m, 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 { |
| // Required. 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"` |
| // Required. 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_7e9247725ec9a6cf, []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 (m *MutateRowsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateRowsRequest.Merge(m, 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 |
| } |
| |
| // A mutation for a given row. |
| 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"` |
| // Required. 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_7e9247725ec9a6cf, []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 (m *MutateRowsRequest_Entry) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateRowsRequest_Entry.Merge(m, 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_7e9247725ec9a6cf, []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 (m *MutateRowsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateRowsResponse.Merge(m, 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 |
| } |
| |
| // The result of applying a passed mutation in the original request. |
| 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_7e9247725ec9a6cf, []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 (m *MutateRowsResponse_Entry) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateRowsResponse_Entry.Merge(m, 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 { |
| // Required. 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"` |
| // Required. 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_7e9247725ec9a6cf, []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 (m *CheckAndMutateRowRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CheckAndMutateRowRequest.Merge(m, 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_7e9247725ec9a6cf, []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 (m *CheckAndMutateRowResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CheckAndMutateRowResponse.Merge(m, 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 { |
| // Required. 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"` |
| // Required. 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"` |
| // Required. 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_7e9247725ec9a6cf, []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 (m *ReadModifyWriteRowRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ReadModifyWriteRowRequest.Merge(m, 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_7e9247725ec9a6cf, []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 (m *ReadModifyWriteRowResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ReadModifyWriteRowResponse.Merge(m, 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") |
| } |
| |
| func init() { proto.RegisterFile("google/bigtable/v2/bigtable.proto", fileDescriptor_7e9247725ec9a6cf) } |
| |
| var fileDescriptor_7e9247725ec9a6cf = []byte{ |
| // 1469 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6f, 0xdc, 0x44, |
| 0x14, 0xc7, 0xde, 0xec, 0x26, 0x3b, 0x49, 0xf3, 0x31, 0x84, 0xc6, 0x59, 0x12, 0x9a, 0x9a, 0x96, |
| 0x6e, 0xd3, 0xc4, 0xae, 0x82, 0x40, 0x6a, 0xaa, 0xb6, 0x78, 0x43, 0xdb, 0x14, 0x08, 0x2a, 0x0e, |
| 0x6a, 0x25, 0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 0x4a, 0x5d, 0x7f, 0x55, 0x55, 0xdb, 0xed, 0x76, 0xf7, 0x16, 0x44, 0x01, 0xdd, |
| 0x4e, 0xff, 0xb7, 0x68, 0x20, 0x8a, 0x96, 0x06, 0xb2, 0x56, 0xc2, 0x8c, 0x88, 0x63, 0xed, 0x1e, |
| 0xea, 0x66, 0x58, 0x24, 0x68, 0x2c, 0x0f, 0x76, 0x54, 0x8e, 0xcf, 0xa0, 0x07, 0xba, 0x16, 0xa2, |
| 0x4d, 0xe2, 0xd9, 0x03, 0x9a, 0xb3, 0x63, 0x96, 0xc3, 0x73, 0x6a, 0x7f, 0x0b, 0x7f, 0x68, 0x37, |
| 0x0f, 0xf9, 0x8e, 0x80, 0x6f, 0x26, 0xa5, 0xbb, 0xc7, 0x9f, 0xf6, 0x32, 0x25, 0xbc, 0x17, 0x3f, |
| 0xee, 0xc5, 0xb5, 0x8c, 0xaa, 0xbe, 0x07, 0x8e, 0x1a, 0xc4, 0xce, 0xe9, 0xc1, 0xda, 0x91, 0x78, |
| 0x71, 0x5f, 0x0f, 0x7f, 0x4f, 0x5f, 0x17, 0x3e, 0x5a, 0xe5, 0x46, 0x2d, 0x62, 0x21, 0xa7, 0xa5, |
| 0x10, 0xaf, 0xa5, 0xb6, 0xb0, 0xc3, 0x7e, 0x6d, 0xab, 0x69, 0x46, 0xd9, 0x3f, 0x79, 0xce, 0xc7, |
| 0xcf, 0x5f, 0x89, 0xd2, 0xd5, 0xc8, 0x79, 0x2d, 0xc4, 0xa8, 0xc4, 0xa1, 0x95, 0x1b, 0x2b, 0x0f, |
| 0x63, 0xd5, 0x2d, 0xa6, 0xba, 0x15, 0xab, 0x6e, 0xdd, 0x58, 0xd9, 0x2a, 0xb1, 0xe0, 0xaf, 0xff, |
| 0x13, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x39, 0x3a, 0x5b, 0xea, 0x12, 0x00, 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConnInterface |
| |
| // 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.SupportPackageIsVersion6 |
| |
| // 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.ClientConnInterface |
| } |
| |
| func NewBigtableClient(cc grpc.ClientConnInterface) 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) |
| } |
| |
| // UnimplementedBigtableServer can be embedded to have forward compatible implementations. |
| type UnimplementedBigtableServer struct { |
| } |
| |
| func (*UnimplementedBigtableServer) ReadRows(req *ReadRowsRequest, srv Bigtable_ReadRowsServer) error { |
| return status1.Errorf(codes.Unimplemented, "method ReadRows not implemented") |
| } |
| func (*UnimplementedBigtableServer) SampleRowKeys(req *SampleRowKeysRequest, srv Bigtable_SampleRowKeysServer) error { |
| return status1.Errorf(codes.Unimplemented, "method SampleRowKeys not implemented") |
| } |
| func (*UnimplementedBigtableServer) MutateRow(ctx context.Context, req *MutateRowRequest) (*MutateRowResponse, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method MutateRow not implemented") |
| } |
| func (*UnimplementedBigtableServer) MutateRows(req *MutateRowsRequest, srv Bigtable_MutateRowsServer) error { |
| return status1.Errorf(codes.Unimplemented, "method MutateRows not implemented") |
| } |
| func (*UnimplementedBigtableServer) CheckAndMutateRow(ctx context.Context, req *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method CheckAndMutateRow not implemented") |
| } |
| func (*UnimplementedBigtableServer) ReadModifyWriteRow(ctx context.Context, req *ReadModifyWriteRowRequest) (*ReadModifyWriteRowResponse, error) { |
| return nil, status1.Errorf(codes.Unimplemented, "method ReadModifyWriteRow not implemented") |
| } |
| |
| 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", |
| } |