protobuf

package
v0.0.0-...-53f3f2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2014 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package protobuf is a generated protocol buffer package.

It is generated from these files:

ots_protocol_2.proto

It has these top-level messages:

Error
ColumnSchema
ColumnValue
Column
Row
TableMeta
Condition
CapacityUnit
ReservedThroughputDetails
ReservedThroughput
ConsumedCapacity
CreateTableRequest
CreateTableResponse
UpdateTableRequest
UpdateTableResponse
DescribeTableRequest
DescribeTableResponse
ListTableRequest
ListTableResponse
DeleteTableRequest
DeleteTableResponse
GetRowRequest
GetRowResponse
ColumnUpdate
UpdateRowRequest
UpdateRowResponse
PutRowRequest
PutRowResponse
DeleteRowRequest
DeleteRowResponse
RowInBatchGetRowRequest
TableInBatchGetRowRequest
BatchGetRowRequest
RowInBatchGetRowResponse
TableInBatchGetRowResponse
BatchGetRowResponse
PutRowInBatchWriteRowRequest
UpdateRowInBatchWriteRowRequest
DeleteRowInBatchWriteRowRequest
TableInBatchWriteRowRequest
BatchWriteRowRequest
RowInBatchWriteRowResponse
TableInBatchWriteRowResponse
BatchWriteRowResponse
GetRangeRequest
GetRangeResponse

Index

Constants

View Source
const Default_RowInBatchGetRowResponse_IsOk bool = true
View Source
const Default_RowInBatchWriteRowResponse_IsOk bool = true

Variables

View Source
var ColumnType_name = map[int32]string{
	0: "INF_MIN",
	1: "INF_MAX",
	2: "INTEGER",
	3: "STRING",
	4: "BOOLEAN",
	5: "DOUBLE",
	6: "BINARY",
}
View Source
var ColumnType_value = map[string]int32{
	"INF_MIN": 0,
	"INF_MAX": 1,
	"INTEGER": 2,
	"STRING":  3,
	"BOOLEAN": 4,
	"DOUBLE":  5,
	"BINARY":  6,
}
View Source
var Direction_name = map[int32]string{
	0: "FORWARD",
	1: "BACKWARD",
}
View Source
var Direction_value = map[string]int32{
	"FORWARD":  0,
	"BACKWARD": 1,
}
View Source
var OperationType_name = map[int32]string{
	1: "PUT",
	2: "DELETE",
}
View Source
var OperationType_value = map[string]int32{
	"PUT":    1,
	"DELETE": 2,
}
View Source
var RowExistenceExpectation_name = map[int32]string{
	0: "IGNORE",
	1: "EXPECT_EXIST",
	2: "EXPECT_NOT_EXIST",
}
View Source
var RowExistenceExpectation_value = map[string]int32{
	"IGNORE":           0,
	"EXPECT_EXIST":     1,
	"EXPECT_NOT_EXIST": 2,
}

Functions

This section is empty.

Types

type BatchGetRowRequest

type BatchGetRowRequest struct {
	Tables           []*TableInBatchGetRowRequest `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	XXX_unrecognized []byte                       `json:"-"`
}

func (*BatchGetRowRequest) GetTables

func (*BatchGetRowRequest) ProtoMessage

func (*BatchGetRowRequest) ProtoMessage()

func (*BatchGetRowRequest) Reset

func (m *BatchGetRowRequest) Reset()

func (*BatchGetRowRequest) String

func (m *BatchGetRowRequest) String() string

type BatchGetRowResponse

type BatchGetRowResponse struct {
	Tables           []*TableInBatchGetRowResponse `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	XXX_unrecognized []byte                        `json:"-"`
}

func (*BatchGetRowResponse) GetTables

func (*BatchGetRowResponse) ProtoMessage

func (*BatchGetRowResponse) ProtoMessage()

func (*BatchGetRowResponse) Reset

func (m *BatchGetRowResponse) Reset()

func (*BatchGetRowResponse) String

func (m *BatchGetRowResponse) String() string

type BatchWriteRowRequest

type BatchWriteRowRequest struct {
	Tables           []*TableInBatchWriteRowRequest `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	XXX_unrecognized []byte                         `json:"-"`
}

func (*BatchWriteRowRequest) GetTables

func (*BatchWriteRowRequest) ProtoMessage

func (*BatchWriteRowRequest) ProtoMessage()

func (*BatchWriteRowRequest) Reset

func (m *BatchWriteRowRequest) Reset()

func (*BatchWriteRowRequest) String

func (m *BatchWriteRowRequest) String() string

type BatchWriteRowResponse

type BatchWriteRowResponse struct {
	Tables           []*TableInBatchWriteRowResponse `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	XXX_unrecognized []byte                          `json:"-"`
}

func (*BatchWriteRowResponse) GetTables

func (*BatchWriteRowResponse) ProtoMessage

func (*BatchWriteRowResponse) ProtoMessage()

func (*BatchWriteRowResponse) Reset

func (m *BatchWriteRowResponse) Reset()

func (*BatchWriteRowResponse) String

func (m *BatchWriteRowResponse) String() string

type CapacityUnit

type CapacityUnit struct {
	Read             *int32 `protobuf:"varint,1,opt,name=read" json:"read,omitempty"`
	Write            *int32 `protobuf:"varint,2,opt,name=write" json:"write,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*CapacityUnit) GetRead

func (m *CapacityUnit) GetRead() int32

func (*CapacityUnit) GetWrite

func (m *CapacityUnit) GetWrite() int32

func (*CapacityUnit) ProtoMessage

func (*CapacityUnit) ProtoMessage()

func (*CapacityUnit) Reset

func (m *CapacityUnit) Reset()

func (*CapacityUnit) String

func (m *CapacityUnit) String() string

type Column

type Column struct {
	Name             *string      `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value            *ColumnValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*Column) GetName

func (m *Column) GetName() string

func (*Column) GetValue

func (m *Column) GetValue() *ColumnValue

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) Reset

func (m *Column) Reset()

func (*Column) String

func (m *Column) String() string

type ColumnSchema

type ColumnSchema struct {
	Name             *string     `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Type             *ColumnType `protobuf:"varint,2,req,name=type,enum=protobuf.ColumnType" json:"type,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*ColumnSchema) GetName

func (m *ColumnSchema) GetName() string

func (*ColumnSchema) GetType

func (m *ColumnSchema) GetType() ColumnType

func (*ColumnSchema) ProtoMessage

func (*ColumnSchema) ProtoMessage()

func (*ColumnSchema) Reset

func (m *ColumnSchema) Reset()

func (*ColumnSchema) String

func (m *ColumnSchema) String() string

type ColumnType

type ColumnType int32
const (
	ColumnType_INF_MIN ColumnType = 0
	ColumnType_INF_MAX ColumnType = 1
	ColumnType_INTEGER ColumnType = 2
	ColumnType_STRING  ColumnType = 3
	ColumnType_BOOLEAN ColumnType = 4
	ColumnType_DOUBLE  ColumnType = 5
	ColumnType_BINARY  ColumnType = 6
)

func (ColumnType) Enum

func (x ColumnType) Enum() *ColumnType

func (ColumnType) String

func (x ColumnType) String() string

func (*ColumnType) UnmarshalJSON

func (x *ColumnType) UnmarshalJSON(data []byte) error

type ColumnUpdate

type ColumnUpdate struct {
	Type             *OperationType `protobuf:"varint,1,req,name=type,enum=protobuf.OperationType" json:"type,omitempty"`
	Name             *string        `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	Value            *ColumnValue   `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*ColumnUpdate) GetName

func (m *ColumnUpdate) GetName() string

func (*ColumnUpdate) GetType

func (m *ColumnUpdate) GetType() OperationType

func (*ColumnUpdate) GetValue

func (m *ColumnUpdate) GetValue() *ColumnValue

func (*ColumnUpdate) ProtoMessage

func (*ColumnUpdate) ProtoMessage()

func (*ColumnUpdate) Reset

func (m *ColumnUpdate) Reset()

func (*ColumnUpdate) String

func (m *ColumnUpdate) String() string

type ColumnValue

type ColumnValue struct {
	Type             *ColumnType `protobuf:"varint,1,req,name=type,enum=protobuf.ColumnType" json:"type,omitempty"`
	VInt             *int64      `protobuf:"varint,2,opt,name=v_int" json:"v_int,omitempty"`
	VString          *string     `protobuf:"bytes,3,opt,name=v_string" json:"v_string,omitempty"`
	VBool            *bool       `protobuf:"varint,4,opt,name=v_bool" json:"v_bool,omitempty"`
	VDouble          *float64    `protobuf:"fixed64,5,opt,name=v_double" json:"v_double,omitempty"`
	VBinary          []byte      `protobuf:"bytes,6,opt,name=v_binary" json:"v_binary,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*ColumnValue) GetType

func (m *ColumnValue) GetType() ColumnType

func (*ColumnValue) GetVBinary

func (m *ColumnValue) GetVBinary() []byte

func (*ColumnValue) GetVBool

func (m *ColumnValue) GetVBool() bool

func (*ColumnValue) GetVDouble

func (m *ColumnValue) GetVDouble() float64

func (*ColumnValue) GetVInt

func (m *ColumnValue) GetVInt() int64

func (*ColumnValue) GetVString

func (m *ColumnValue) GetVString() string

func (*ColumnValue) ProtoMessage

func (*ColumnValue) ProtoMessage()

func (*ColumnValue) Reset

func (m *ColumnValue) Reset()

func (*ColumnValue) String

func (m *ColumnValue) String() string

type Condition

type Condition struct {
	RowExistence     *RowExistenceExpectation `protobuf:"varint,1,req,name=row_existence,enum=protobuf.RowExistenceExpectation" json:"row_existence,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

func (*Condition) GetRowExistence

func (m *Condition) GetRowExistence() RowExistenceExpectation

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) String

func (m *Condition) String() string

type ConsumedCapacity

type ConsumedCapacity struct {
	CapacityUnit     *CapacityUnit `protobuf:"bytes,1,req,name=capacity_unit" json:"capacity_unit,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*ConsumedCapacity) GetCapacityUnit

func (m *ConsumedCapacity) GetCapacityUnit() *CapacityUnit

func (*ConsumedCapacity) ProtoMessage

func (*ConsumedCapacity) ProtoMessage()

func (*ConsumedCapacity) Reset

func (m *ConsumedCapacity) Reset()

func (*ConsumedCapacity) String

func (m *ConsumedCapacity) String() string

type CreateTableRequest

type CreateTableRequest struct {
	TableMeta          *TableMeta          `protobuf:"bytes,1,req,name=table_meta" json:"table_meta,omitempty"`
	ReservedThroughput *ReservedThroughput `protobuf:"bytes,2,req,name=reserved_throughput" json:"reserved_throughput,omitempty"`
	XXX_unrecognized   []byte              `json:"-"`
}

CreateTable

func (*CreateTableRequest) GetReservedThroughput

func (m *CreateTableRequest) GetReservedThroughput() *ReservedThroughput

func (*CreateTableRequest) GetTableMeta

func (m *CreateTableRequest) GetTableMeta() *TableMeta

func (*CreateTableRequest) ProtoMessage

func (*CreateTableRequest) ProtoMessage()

func (*CreateTableRequest) Reset

func (m *CreateTableRequest) Reset()

func (*CreateTableRequest) String

func (m *CreateTableRequest) String() string

type CreateTableResponse

type CreateTableResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*CreateTableResponse) ProtoMessage

func (*CreateTableResponse) ProtoMessage()

func (*CreateTableResponse) Reset

func (m *CreateTableResponse) Reset()

func (*CreateTableResponse) String

func (m *CreateTableResponse) String() string

type DeleteRowInBatchWriteRowRequest

type DeleteRowInBatchWriteRowRequest struct {
	Condition        *Condition `protobuf:"bytes,1,req,name=condition" json:"condition,omitempty"`
	PrimaryKey       []*Column  `protobuf:"bytes,2,rep,name=primary_key" json:"primary_key,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

func (*DeleteRowInBatchWriteRowRequest) GetCondition

func (m *DeleteRowInBatchWriteRowRequest) GetCondition() *Condition

func (*DeleteRowInBatchWriteRowRequest) GetPrimaryKey

func (m *DeleteRowInBatchWriteRowRequest) GetPrimaryKey() []*Column

func (*DeleteRowInBatchWriteRowRequest) ProtoMessage

func (*DeleteRowInBatchWriteRowRequest) ProtoMessage()

func (*DeleteRowInBatchWriteRowRequest) Reset

func (*DeleteRowInBatchWriteRowRequest) String

type DeleteRowRequest

type DeleteRowRequest struct {
	TableName        *string    `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	Condition        *Condition `protobuf:"bytes,2,req,name=condition" json:"condition,omitempty"`
	PrimaryKey       []*Column  `protobuf:"bytes,3,rep,name=primary_key" json:"primary_key,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

DeleteRow

func (*DeleteRowRequest) GetCondition

func (m *DeleteRowRequest) GetCondition() *Condition

func (*DeleteRowRequest) GetPrimaryKey

func (m *DeleteRowRequest) GetPrimaryKey() []*Column

func (*DeleteRowRequest) GetTableName

func (m *DeleteRowRequest) GetTableName() string

func (*DeleteRowRequest) ProtoMessage

func (*DeleteRowRequest) ProtoMessage()

func (*DeleteRowRequest) Reset

func (m *DeleteRowRequest) Reset()

func (*DeleteRowRequest) String

func (m *DeleteRowRequest) String() string

type DeleteRowResponse

type DeleteRowResponse struct {
	Consumed         *ConsumedCapacity `protobuf:"bytes,1,req,name=consumed" json:"consumed,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*DeleteRowResponse) GetConsumed

func (m *DeleteRowResponse) GetConsumed() *ConsumedCapacity

func (*DeleteRowResponse) ProtoMessage

func (*DeleteRowResponse) ProtoMessage()

func (*DeleteRowResponse) Reset

func (m *DeleteRowResponse) Reset()

func (*DeleteRowResponse) String

func (m *DeleteRowResponse) String() string

type DeleteTableRequest

type DeleteTableRequest struct {
	TableName        *string `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

DeleteTable

func (*DeleteTableRequest) GetTableName

func (m *DeleteTableRequest) GetTableName() string

func (*DeleteTableRequest) ProtoMessage

func (*DeleteTableRequest) ProtoMessage()

func (*DeleteTableRequest) Reset

func (m *DeleteTableRequest) Reset()

func (*DeleteTableRequest) String

func (m *DeleteTableRequest) String() string

type DeleteTableResponse

type DeleteTableResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*DeleteTableResponse) ProtoMessage

func (*DeleteTableResponse) ProtoMessage()

func (*DeleteTableResponse) Reset

func (m *DeleteTableResponse) Reset()

func (*DeleteTableResponse) String

func (m *DeleteTableResponse) String() string

type DescribeTableRequest

type DescribeTableRequest struct {
	TableName        *string `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

DescribeTable

func (*DescribeTableRequest) GetTableName

func (m *DescribeTableRequest) GetTableName() string

func (*DescribeTableRequest) ProtoMessage

func (*DescribeTableRequest) ProtoMessage()

func (*DescribeTableRequest) Reset

func (m *DescribeTableRequest) Reset()

func (*DescribeTableRequest) String

func (m *DescribeTableRequest) String() string

type DescribeTableResponse

type DescribeTableResponse struct {
	TableMeta                 *TableMeta                 `protobuf:"bytes,1,req,name=table_meta" json:"table_meta,omitempty"`
	ReservedThroughputDetails *ReservedThroughputDetails `protobuf:"bytes,2,req,name=reserved_throughput_details" json:"reserved_throughput_details,omitempty"`
	XXX_unrecognized          []byte                     `json:"-"`
}

func (*DescribeTableResponse) GetReservedThroughputDetails

func (m *DescribeTableResponse) GetReservedThroughputDetails() *ReservedThroughputDetails

func (*DescribeTableResponse) GetTableMeta

func (m *DescribeTableResponse) GetTableMeta() *TableMeta

func (*DescribeTableResponse) ProtoMessage

func (*DescribeTableResponse) ProtoMessage()

func (*DescribeTableResponse) Reset

func (m *DescribeTableResponse) Reset()

func (*DescribeTableResponse) String

func (m *DescribeTableResponse) String() string

type Direction

type Direction int32

GetRange

const (
	Direction_FORWARD  Direction = 0
	Direction_BACKWARD Direction = 1
)

func (Direction) Enum

func (x Direction) Enum() *Direction

func (Direction) String

func (x Direction) String() string

func (*Direction) UnmarshalJSON

func (x *Direction) UnmarshalJSON(data []byte) error

type Error

type Error struct {
	Code             *string `protobuf:"bytes,1,req,name=code" json:"code,omitempty"`
	Message          *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Error) GetCode

func (m *Error) GetCode() string

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

type GetRangeRequest

type GetRangeRequest struct {
	TableName                *string    `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	Direction                *Direction `protobuf:"varint,2,req,name=direction,enum=protobuf.Direction" json:"direction,omitempty"`
	ColumnsToGet             []string   `protobuf:"bytes,3,rep,name=columns_to_get" json:"columns_to_get,omitempty"`
	Limit                    *int32     `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
	InclusiveStartPrimaryKey []*Column  `protobuf:"bytes,5,rep,name=inclusive_start_primary_key" json:"inclusive_start_primary_key,omitempty"`
	ExclusiveEndPrimaryKey   []*Column  `protobuf:"bytes,6,rep,name=exclusive_end_primary_key" json:"exclusive_end_primary_key,omitempty"`
	XXX_unrecognized         []byte     `json:"-"`
}

func (*GetRangeRequest) GetColumnsToGet

func (m *GetRangeRequest) GetColumnsToGet() []string

func (*GetRangeRequest) GetDirection

func (m *GetRangeRequest) GetDirection() Direction

func (*GetRangeRequest) GetExclusiveEndPrimaryKey

func (m *GetRangeRequest) GetExclusiveEndPrimaryKey() []*Column

func (*GetRangeRequest) GetInclusiveStartPrimaryKey

func (m *GetRangeRequest) GetInclusiveStartPrimaryKey() []*Column

func (*GetRangeRequest) GetLimit

func (m *GetRangeRequest) GetLimit() int32

func (*GetRangeRequest) GetTableName

func (m *GetRangeRequest) GetTableName() string

func (*GetRangeRequest) ProtoMessage

func (*GetRangeRequest) ProtoMessage()

func (*GetRangeRequest) Reset

func (m *GetRangeRequest) Reset()

func (*GetRangeRequest) String

func (m *GetRangeRequest) String() string

type GetRangeResponse

type GetRangeResponse struct {
	Consumed            *ConsumedCapacity `protobuf:"bytes,1,req,name=consumed" json:"consumed,omitempty"`
	NextStartPrimaryKey []*Column         `protobuf:"bytes,2,rep,name=next_start_primary_key" json:"next_start_primary_key,omitempty"`
	Rows                []*Row            `protobuf:"bytes,3,rep,name=rows" json:"rows,omitempty"`
	XXX_unrecognized    []byte            `json:"-"`
}

func (*GetRangeResponse) GetConsumed

func (m *GetRangeResponse) GetConsumed() *ConsumedCapacity

func (*GetRangeResponse) GetNextStartPrimaryKey

func (m *GetRangeResponse) GetNextStartPrimaryKey() []*Column

func (*GetRangeResponse) GetRows

func (m *GetRangeResponse) GetRows() []*Row

func (*GetRangeResponse) ProtoMessage

func (*GetRangeResponse) ProtoMessage()

func (*GetRangeResponse) Reset

func (m *GetRangeResponse) Reset()

func (*GetRangeResponse) String

func (m *GetRangeResponse) String() string

type GetRowRequest

type GetRowRequest struct {
	TableName        *string   `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	PrimaryKey       []*Column `protobuf:"bytes,2,rep,name=primary_key" json:"primary_key,omitempty"`
	ColumnsToGet     []string  `protobuf:"bytes,3,rep,name=columns_to_get" json:"columns_to_get,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

GetRow

func (*GetRowRequest) GetColumnsToGet

func (m *GetRowRequest) GetColumnsToGet() []string

func (*GetRowRequest) GetPrimaryKey

func (m *GetRowRequest) GetPrimaryKey() []*Column

func (*GetRowRequest) GetTableName

func (m *GetRowRequest) GetTableName() string

func (*GetRowRequest) ProtoMessage

func (*GetRowRequest) ProtoMessage()

func (*GetRowRequest) Reset

func (m *GetRowRequest) Reset()

func (*GetRowRequest) String

func (m *GetRowRequest) String() string

type GetRowResponse

type GetRowResponse struct {
	Consumed         *ConsumedCapacity `protobuf:"bytes,1,req,name=consumed" json:"consumed,omitempty"`
	Row              *Row              `protobuf:"bytes,2,req,name=row" json:"row,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*GetRowResponse) GetConsumed

func (m *GetRowResponse) GetConsumed() *ConsumedCapacity

func (*GetRowResponse) GetRow

func (m *GetRowResponse) GetRow() *Row

func (*GetRowResponse) ProtoMessage

func (*GetRowResponse) ProtoMessage()

func (*GetRowResponse) Reset

func (m *GetRowResponse) Reset()

func (*GetRowResponse) String

func (m *GetRowResponse) String() string

type ListTableRequest

type ListTableRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

ListTable

func (*ListTableRequest) ProtoMessage

func (*ListTableRequest) ProtoMessage()

func (*ListTableRequest) Reset

func (m *ListTableRequest) Reset()

func (*ListTableRequest) String

func (m *ListTableRequest) String() string

type ListTableResponse

type ListTableResponse struct {
	TableNames       []string `protobuf:"bytes,1,rep,name=table_names" json:"table_names,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*ListTableResponse) GetTableNames

func (m *ListTableResponse) GetTableNames() []string

func (*ListTableResponse) ProtoMessage

func (*ListTableResponse) ProtoMessage()

func (*ListTableResponse) Reset

func (m *ListTableResponse) Reset()

func (*ListTableResponse) String

func (m *ListTableResponse) String() string

type OperationType

type OperationType int32

UpdateRow

const (
	OperationType_PUT    OperationType = 1
	OperationType_DELETE OperationType = 2
)

func (OperationType) Enum

func (x OperationType) Enum() *OperationType

func (OperationType) String

func (x OperationType) String() string

func (*OperationType) UnmarshalJSON

func (x *OperationType) UnmarshalJSON(data []byte) error

type PutRowInBatchWriteRowRequest

type PutRowInBatchWriteRowRequest struct {
	Condition        *Condition `protobuf:"bytes,1,req,name=condition" json:"condition,omitempty"`
	PrimaryKey       []*Column  `protobuf:"bytes,2,rep,name=primary_key" json:"primary_key,omitempty"`
	AttributeColumns []*Column  `protobuf:"bytes,3,rep,name=attribute_columns" json:"attribute_columns,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

BatchWriteRow

func (*PutRowInBatchWriteRowRequest) GetAttributeColumns

func (m *PutRowInBatchWriteRowRequest) GetAttributeColumns() []*Column

func (*PutRowInBatchWriteRowRequest) GetCondition

func (m *PutRowInBatchWriteRowRequest) GetCondition() *Condition

func (*PutRowInBatchWriteRowRequest) GetPrimaryKey

func (m *PutRowInBatchWriteRowRequest) GetPrimaryKey() []*Column

func (*PutRowInBatchWriteRowRequest) ProtoMessage

func (*PutRowInBatchWriteRowRequest) ProtoMessage()

func (*PutRowInBatchWriteRowRequest) Reset

func (m *PutRowInBatchWriteRowRequest) Reset()

func (*PutRowInBatchWriteRowRequest) String

type PutRowRequest

type PutRowRequest struct {
	TableName        *string    `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	Condition        *Condition `protobuf:"bytes,2,req,name=condition" json:"condition,omitempty"`
	PrimaryKey       []*Column  `protobuf:"bytes,3,rep,name=primary_key" json:"primary_key,omitempty"`
	AttributeColumns []*Column  `protobuf:"bytes,4,rep,name=attribute_columns" json:"attribute_columns,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

PutRow

func (*PutRowRequest) GetAttributeColumns

func (m *PutRowRequest) GetAttributeColumns() []*Column

func (*PutRowRequest) GetCondition

func (m *PutRowRequest) GetCondition() *Condition

func (*PutRowRequest) GetPrimaryKey

func (m *PutRowRequest) GetPrimaryKey() []*Column

func (*PutRowRequest) GetTableName

func (m *PutRowRequest) GetTableName() string

func (*PutRowRequest) ProtoMessage

func (*PutRowRequest) ProtoMessage()

func (*PutRowRequest) Reset

func (m *PutRowRequest) Reset()

func (*PutRowRequest) String

func (m *PutRowRequest) String() string

type PutRowResponse

type PutRowResponse struct {
	Consumed         *ConsumedCapacity `protobuf:"bytes,1,req,name=consumed" json:"consumed,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*PutRowResponse) GetConsumed

func (m *PutRowResponse) GetConsumed() *ConsumedCapacity

func (*PutRowResponse) ProtoMessage

func (*PutRowResponse) ProtoMessage()

func (*PutRowResponse) Reset

func (m *PutRowResponse) Reset()

func (*PutRowResponse) String

func (m *PutRowResponse) String() string

type ReservedThroughput

type ReservedThroughput struct {
	CapacityUnit     *CapacityUnit `protobuf:"bytes,1,req,name=capacity_unit" json:"capacity_unit,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*ReservedThroughput) GetCapacityUnit

func (m *ReservedThroughput) GetCapacityUnit() *CapacityUnit

func (*ReservedThroughput) ProtoMessage

func (*ReservedThroughput) ProtoMessage()

func (*ReservedThroughput) Reset

func (m *ReservedThroughput) Reset()

func (*ReservedThroughput) String

func (m *ReservedThroughput) String() string

type ReservedThroughputDetails

type ReservedThroughputDetails struct {
	CapacityUnit           *CapacityUnit `protobuf:"bytes,1,req,name=capacity_unit" json:"capacity_unit,omitempty"`
	LastIncreaseTime       *int64        `protobuf:"varint,2,req,name=last_increase_time" json:"last_increase_time,omitempty"`
	LastDecreaseTime       *int64        `protobuf:"varint,3,opt,name=last_decrease_time" json:"last_decrease_time,omitempty"`
	NumberOfDecreasesToday *int32        `protobuf:"varint,4,req,name=number_of_decreases_today" json:"number_of_decreases_today,omitempty"`
	XXX_unrecognized       []byte        `json:"-"`
}

func (*ReservedThroughputDetails) GetCapacityUnit

func (m *ReservedThroughputDetails) GetCapacityUnit() *CapacityUnit

func (*ReservedThroughputDetails) GetLastDecreaseTime

func (m *ReservedThroughputDetails) GetLastDecreaseTime() int64

func (*ReservedThroughputDetails) GetLastIncreaseTime

func (m *ReservedThroughputDetails) GetLastIncreaseTime() int64

func (*ReservedThroughputDetails) GetNumberOfDecreasesToday

func (m *ReservedThroughputDetails) GetNumberOfDecreasesToday() int32

func (*ReservedThroughputDetails) ProtoMessage

func (*ReservedThroughputDetails) ProtoMessage()

func (*ReservedThroughputDetails) Reset

func (m *ReservedThroughputDetails) Reset()

func (*ReservedThroughputDetails) String

func (m *ReservedThroughputDetails) String() string

type Row

type Row struct {
	PrimaryKeyColumns []*Column `protobuf:"bytes,1,rep,name=primary_key_columns" json:"primary_key_columns,omitempty"`
	AttributeColumns  []*Column `protobuf:"bytes,2,rep,name=attribute_columns" json:"attribute_columns,omitempty"`
	XXX_unrecognized  []byte    `json:"-"`
}

func (*Row) GetAttributeColumns

func (m *Row) GetAttributeColumns() []*Column

func (*Row) GetPrimaryKeyColumns

func (m *Row) GetPrimaryKeyColumns() []*Column

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) Reset

func (m *Row) Reset()

func (*Row) String

func (m *Row) String() string

type RowExistenceExpectation

type RowExistenceExpectation int32
const (
	RowExistenceExpectation_IGNORE           RowExistenceExpectation = 0
	RowExistenceExpectation_EXPECT_EXIST     RowExistenceExpectation = 1
	RowExistenceExpectation_EXPECT_NOT_EXIST RowExistenceExpectation = 2
)

func (RowExistenceExpectation) Enum

func (RowExistenceExpectation) String

func (x RowExistenceExpectation) String() string

func (*RowExistenceExpectation) UnmarshalJSON

func (x *RowExistenceExpectation) UnmarshalJSON(data []byte) error

type RowInBatchGetRowRequest

type RowInBatchGetRowRequest struct {
	PrimaryKey       []*Column `protobuf:"bytes,1,rep,name=primary_key" json:"primary_key,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

BatchGetRow

func (*RowInBatchGetRowRequest) GetPrimaryKey

func (m *RowInBatchGetRowRequest) GetPrimaryKey() []*Column

func (*RowInBatchGetRowRequest) ProtoMessage

func (*RowInBatchGetRowRequest) ProtoMessage()

func (*RowInBatchGetRowRequest) Reset

func (m *RowInBatchGetRowRequest) Reset()

func (*RowInBatchGetRowRequest) String

func (m *RowInBatchGetRowRequest) String() string

type RowInBatchGetRowResponse

type RowInBatchGetRowResponse struct {
	IsOk             *bool             `protobuf:"varint,1,req,name=is_ok,def=1" json:"is_ok,omitempty"`
	Error            *Error            `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	Consumed         *ConsumedCapacity `protobuf:"bytes,3,opt,name=consumed" json:"consumed,omitempty"`
	Row              *Row              `protobuf:"bytes,4,opt,name=row" json:"row,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*RowInBatchGetRowResponse) GetConsumed

func (m *RowInBatchGetRowResponse) GetConsumed() *ConsumedCapacity

func (*RowInBatchGetRowResponse) GetError

func (m *RowInBatchGetRowResponse) GetError() *Error

func (*RowInBatchGetRowResponse) GetIsOk

func (m *RowInBatchGetRowResponse) GetIsOk() bool

func (*RowInBatchGetRowResponse) GetRow

func (m *RowInBatchGetRowResponse) GetRow() *Row

func (*RowInBatchGetRowResponse) ProtoMessage

func (*RowInBatchGetRowResponse) ProtoMessage()

func (*RowInBatchGetRowResponse) Reset

func (m *RowInBatchGetRowResponse) Reset()

func (*RowInBatchGetRowResponse) String

func (m *RowInBatchGetRowResponse) String() string

type RowInBatchWriteRowResponse

type RowInBatchWriteRowResponse struct {
	IsOk             *bool             `protobuf:"varint,1,req,name=is_ok,def=1" json:"is_ok,omitempty"`
	Error            *Error            `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	Consumed         *ConsumedCapacity `protobuf:"bytes,3,opt,name=consumed" json:"consumed,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*RowInBatchWriteRowResponse) GetConsumed

func (m *RowInBatchWriteRowResponse) GetConsumed() *ConsumedCapacity

func (*RowInBatchWriteRowResponse) GetError

func (m *RowInBatchWriteRowResponse) GetError() *Error

func (*RowInBatchWriteRowResponse) GetIsOk

func (m *RowInBatchWriteRowResponse) GetIsOk() bool

func (*RowInBatchWriteRowResponse) ProtoMessage

func (*RowInBatchWriteRowResponse) ProtoMessage()

func (*RowInBatchWriteRowResponse) Reset

func (m *RowInBatchWriteRowResponse) Reset()

func (*RowInBatchWriteRowResponse) String

func (m *RowInBatchWriteRowResponse) String() string

type TableInBatchGetRowRequest

type TableInBatchGetRowRequest struct {
	TableName        *string                    `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	Rows             []*RowInBatchGetRowRequest `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"`
	ColumnsToGet     []string                   `protobuf:"bytes,3,rep,name=columns_to_get" json:"columns_to_get,omitempty"`
	XXX_unrecognized []byte                     `json:"-"`
}

func (*TableInBatchGetRowRequest) GetColumnsToGet

func (m *TableInBatchGetRowRequest) GetColumnsToGet() []string

func (*TableInBatchGetRowRequest) GetRows

func (*TableInBatchGetRowRequest) GetTableName

func (m *TableInBatchGetRowRequest) GetTableName() string

func (*TableInBatchGetRowRequest) ProtoMessage

func (*TableInBatchGetRowRequest) ProtoMessage()

func (*TableInBatchGetRowRequest) Reset

func (m *TableInBatchGetRowRequest) Reset()

func (*TableInBatchGetRowRequest) String

func (m *TableInBatchGetRowRequest) String() string

type TableInBatchGetRowResponse

type TableInBatchGetRowResponse struct {
	TableName        *string                     `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	Rows             []*RowInBatchGetRowResponse `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

func (*TableInBatchGetRowResponse) GetRows

func (*TableInBatchGetRowResponse) GetTableName

func (m *TableInBatchGetRowResponse) GetTableName() string

func (*TableInBatchGetRowResponse) ProtoMessage

func (*TableInBatchGetRowResponse) ProtoMessage()

func (*TableInBatchGetRowResponse) Reset

func (m *TableInBatchGetRowResponse) Reset()

func (*TableInBatchGetRowResponse) String

func (m *TableInBatchGetRowResponse) String() string

type TableInBatchWriteRowRequest

type TableInBatchWriteRowRequest struct {
	TableName        *string                            `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	PutRows          []*PutRowInBatchWriteRowRequest    `protobuf:"bytes,2,rep,name=put_rows" json:"put_rows,omitempty"`
	UpdateRows       []*UpdateRowInBatchWriteRowRequest `protobuf:"bytes,3,rep,name=update_rows" json:"update_rows,omitempty"`
	DeleteRows       []*DeleteRowInBatchWriteRowRequest `protobuf:"bytes,4,rep,name=delete_rows" json:"delete_rows,omitempty"`
	XXX_unrecognized []byte                             `json:"-"`
}

func (*TableInBatchWriteRowRequest) GetDeleteRows

func (*TableInBatchWriteRowRequest) GetPutRows

func (*TableInBatchWriteRowRequest) GetTableName

func (m *TableInBatchWriteRowRequest) GetTableName() string

func (*TableInBatchWriteRowRequest) GetUpdateRows

func (*TableInBatchWriteRowRequest) ProtoMessage

func (*TableInBatchWriteRowRequest) ProtoMessage()

func (*TableInBatchWriteRowRequest) Reset

func (m *TableInBatchWriteRowRequest) Reset()

func (*TableInBatchWriteRowRequest) String

func (m *TableInBatchWriteRowRequest) String() string

type TableInBatchWriteRowResponse

type TableInBatchWriteRowResponse struct {
	TableName        *string                       `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	PutRows          []*RowInBatchWriteRowResponse `protobuf:"bytes,2,rep,name=put_rows" json:"put_rows,omitempty"`
	UpdateRows       []*RowInBatchWriteRowResponse `protobuf:"bytes,3,rep,name=update_rows" json:"update_rows,omitempty"`
	DeleteRows       []*RowInBatchWriteRowResponse `protobuf:"bytes,4,rep,name=delete_rows" json:"delete_rows,omitempty"`
	XXX_unrecognized []byte                        `json:"-"`
}

func (*TableInBatchWriteRowResponse) GetDeleteRows

func (*TableInBatchWriteRowResponse) GetPutRows

func (*TableInBatchWriteRowResponse) GetTableName

func (m *TableInBatchWriteRowResponse) GetTableName() string

func (*TableInBatchWriteRowResponse) GetUpdateRows

func (*TableInBatchWriteRowResponse) ProtoMessage

func (*TableInBatchWriteRowResponse) ProtoMessage()

func (*TableInBatchWriteRowResponse) Reset

func (m *TableInBatchWriteRowResponse) Reset()

func (*TableInBatchWriteRowResponse) String

type TableMeta

type TableMeta struct {
	TableName        *string         `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	PrimaryKey       []*ColumnSchema `protobuf:"bytes,2,rep,name=primary_key" json:"primary_key,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*TableMeta) GetPrimaryKey

func (m *TableMeta) GetPrimaryKey() []*ColumnSchema

func (*TableMeta) GetTableName

func (m *TableMeta) GetTableName() string

func (*TableMeta) ProtoMessage

func (*TableMeta) ProtoMessage()

func (*TableMeta) Reset

func (m *TableMeta) Reset()

func (*TableMeta) String

func (m *TableMeta) String() string

type UpdateRowInBatchWriteRowRequest

type UpdateRowInBatchWriteRowRequest struct {
	Condition        *Condition      `protobuf:"bytes,1,req,name=condition" json:"condition,omitempty"`
	PrimaryKey       []*Column       `protobuf:"bytes,2,rep,name=primary_key" json:"primary_key,omitempty"`
	AttributeColumns []*ColumnUpdate `protobuf:"bytes,3,rep,name=attribute_columns" json:"attribute_columns,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*UpdateRowInBatchWriteRowRequest) GetAttributeColumns

func (m *UpdateRowInBatchWriteRowRequest) GetAttributeColumns() []*ColumnUpdate

func (*UpdateRowInBatchWriteRowRequest) GetCondition

func (m *UpdateRowInBatchWriteRowRequest) GetCondition() *Condition

func (*UpdateRowInBatchWriteRowRequest) GetPrimaryKey

func (m *UpdateRowInBatchWriteRowRequest) GetPrimaryKey() []*Column

func (*UpdateRowInBatchWriteRowRequest) ProtoMessage

func (*UpdateRowInBatchWriteRowRequest) ProtoMessage()

func (*UpdateRowInBatchWriteRowRequest) Reset

func (*UpdateRowInBatchWriteRowRequest) String

type UpdateRowRequest

type UpdateRowRequest struct {
	TableName        *string         `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	Condition        *Condition      `protobuf:"bytes,2,req,name=condition" json:"condition,omitempty"`
	PrimaryKey       []*Column       `protobuf:"bytes,3,rep,name=primary_key" json:"primary_key,omitempty"`
	AttributeColumns []*ColumnUpdate `protobuf:"bytes,4,rep,name=attribute_columns" json:"attribute_columns,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*UpdateRowRequest) GetAttributeColumns

func (m *UpdateRowRequest) GetAttributeColumns() []*ColumnUpdate

func (*UpdateRowRequest) GetCondition

func (m *UpdateRowRequest) GetCondition() *Condition

func (*UpdateRowRequest) GetPrimaryKey

func (m *UpdateRowRequest) GetPrimaryKey() []*Column

func (*UpdateRowRequest) GetTableName

func (m *UpdateRowRequest) GetTableName() string

func (*UpdateRowRequest) ProtoMessage

func (*UpdateRowRequest) ProtoMessage()

func (*UpdateRowRequest) Reset

func (m *UpdateRowRequest) Reset()

func (*UpdateRowRequest) String

func (m *UpdateRowRequest) String() string

type UpdateRowResponse

type UpdateRowResponse struct {
	Consumed         *ConsumedCapacity `protobuf:"bytes,1,req,name=consumed" json:"consumed,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*UpdateRowResponse) GetConsumed

func (m *UpdateRowResponse) GetConsumed() *ConsumedCapacity

func (*UpdateRowResponse) ProtoMessage

func (*UpdateRowResponse) ProtoMessage()

func (*UpdateRowResponse) Reset

func (m *UpdateRowResponse) Reset()

func (*UpdateRowResponse) String

func (m *UpdateRowResponse) String() string

type UpdateTableRequest

type UpdateTableRequest struct {
	TableName          *string             `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
	ReservedThroughput *ReservedThroughput `protobuf:"bytes,2,req,name=reserved_throughput" json:"reserved_throughput,omitempty"`
	XXX_unrecognized   []byte              `json:"-"`
}

func (*UpdateTableRequest) GetReservedThroughput

func (m *UpdateTableRequest) GetReservedThroughput() *ReservedThroughput

func (*UpdateTableRequest) GetTableName

func (m *UpdateTableRequest) GetTableName() string

func (*UpdateTableRequest) ProtoMessage

func (*UpdateTableRequest) ProtoMessage()

func (*UpdateTableRequest) Reset

func (m *UpdateTableRequest) Reset()

func (*UpdateTableRequest) String

func (m *UpdateTableRequest) String() string

type UpdateTableResponse

type UpdateTableResponse struct {
	ReservedThroughputDetails *ReservedThroughputDetails `protobuf:"bytes,1,req,name=reserved_throughput_details" json:"reserved_throughput_details,omitempty"`
	XXX_unrecognized          []byte                     `json:"-"`
}

func (*UpdateTableResponse) GetReservedThroughputDetails

func (m *UpdateTableResponse) GetReservedThroughputDetails() *ReservedThroughputDetails

func (*UpdateTableResponse) ProtoMessage

func (*UpdateTableResponse) ProtoMessage()

func (*UpdateTableResponse) Reset

func (m *UpdateTableResponse) Reset()

func (*UpdateTableResponse) String

func (m *UpdateTableResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL