Documentation
Index ¶
- Variables
- func RegisterTablesServiceServer(s *grpc.Server, srv TablesServiceServer)
- type BatchCreateRowsRequest
- func (*BatchCreateRowsRequest) Descriptor() ([]byte, []int)
- func (x *BatchCreateRowsRequest) GetParent() string
- func (x *BatchCreateRowsRequest) GetRequests() []*CreateRowRequest
- func (*BatchCreateRowsRequest) ProtoMessage()
- func (x *BatchCreateRowsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateRowsRequest) Reset()
- func (x *BatchCreateRowsRequest) String() string
- type BatchCreateRowsResponse
- func (*BatchCreateRowsResponse) Descriptor() ([]byte, []int)
- func (x *BatchCreateRowsResponse) GetRows() []*Row
- func (*BatchCreateRowsResponse) ProtoMessage()
- func (x *BatchCreateRowsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateRowsResponse) Reset()
- func (x *BatchCreateRowsResponse) String() string
- type BatchUpdateRowsRequest
- func (*BatchUpdateRowsRequest) Descriptor() ([]byte, []int)
- func (x *BatchUpdateRowsRequest) GetParent() string
- func (x *BatchUpdateRowsRequest) GetRequests() []*UpdateRowRequest
- func (*BatchUpdateRowsRequest) ProtoMessage()
- func (x *BatchUpdateRowsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateRowsRequest) Reset()
- func (x *BatchUpdateRowsRequest) String() string
- type BatchUpdateRowsResponse
- func (*BatchUpdateRowsResponse) Descriptor() ([]byte, []int)
- func (x *BatchUpdateRowsResponse) GetRows() []*Row
- func (*BatchUpdateRowsResponse) ProtoMessage()
- func (x *BatchUpdateRowsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateRowsResponse) Reset()
- func (x *BatchUpdateRowsResponse) String() string
- type ColumnDescription
- func (*ColumnDescription) Descriptor() ([]byte, []int)
- func (x *ColumnDescription) GetDataType() string
- func (x *ColumnDescription) GetId() string
- func (x *ColumnDescription) GetName() string
- func (*ColumnDescription) ProtoMessage()
- func (x *ColumnDescription) ProtoReflect() protoreflect.Message
- func (x *ColumnDescription) Reset()
- func (x *ColumnDescription) String() string
- type CreateRowRequest
- func (*CreateRowRequest) Descriptor() ([]byte, []int)
- func (x *CreateRowRequest) GetParent() string
- func (x *CreateRowRequest) GetRow() *Row
- func (x *CreateRowRequest) GetView() View
- func (*CreateRowRequest) ProtoMessage()
- func (x *CreateRowRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRowRequest) Reset()
- func (x *CreateRowRequest) String() string
- type DeleteRowRequest
- type GetRowRequest
- type GetTableRequest
- type ListRowsRequest
- func (*ListRowsRequest) Descriptor() ([]byte, []int)
- func (x *ListRowsRequest) GetPageSize() int32
- func (x *ListRowsRequest) GetPageToken() string
- func (x *ListRowsRequest) GetParent() string
- func (x *ListRowsRequest) GetView() View
- func (*ListRowsRequest) ProtoMessage()
- func (x *ListRowsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRowsRequest) Reset()
- func (x *ListRowsRequest) String() string
- type ListRowsResponse
- func (*ListRowsResponse) Descriptor() ([]byte, []int)
- func (x *ListRowsResponse) GetNextPageToken() string
- func (x *ListRowsResponse) GetRows() []*Row
- func (*ListRowsResponse) ProtoMessage()
- func (x *ListRowsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRowsResponse) Reset()
- func (x *ListRowsResponse) String() string
- type ListTablesRequest
- func (*ListTablesRequest) Descriptor() ([]byte, []int)
- func (x *ListTablesRequest) GetPageSize() int32
- func (x *ListTablesRequest) GetPageToken() string
- func (*ListTablesRequest) ProtoMessage()
- func (x *ListTablesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTablesRequest) Reset()
- func (x *ListTablesRequest) String() string
- type ListTablesResponse
- func (*ListTablesResponse) Descriptor() ([]byte, []int)
- func (x *ListTablesResponse) GetNextPageToken() string
- func (x *ListTablesResponse) GetTables() []*Table
- func (*ListTablesResponse) ProtoMessage()
- func (x *ListTablesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTablesResponse) Reset()
- func (x *ListTablesResponse) String() string
- type Row
- type Table
- func (*Table) Descriptor() ([]byte, []int)
- func (x *Table) GetColumns() []*ColumnDescription
- func (x *Table) GetDisplayName() string
- func (x *Table) GetName() string
- func (*Table) ProtoMessage()
- func (x *Table) ProtoReflect() protoreflect.Message
- func (x *Table) Reset()
- func (x *Table) String() string
- type TablesServiceClient
- type TablesServiceServer
- type UnimplementedTablesServiceServer
- func (*UnimplementedTablesServiceServer) BatchCreateRows(context.Context, *BatchCreateRowsRequest) (*BatchCreateRowsResponse, error)
- func (*UnimplementedTablesServiceServer) BatchUpdateRows(context.Context, *BatchUpdateRowsRequest) (*BatchUpdateRowsResponse, error)
- func (*UnimplementedTablesServiceServer) CreateRow(context.Context, *CreateRowRequest) (*Row, error)
- func (*UnimplementedTablesServiceServer) DeleteRow(context.Context, *DeleteRowRequest) (*emptypb.Empty, error)
- func (*UnimplementedTablesServiceServer) GetRow(context.Context, *GetRowRequest) (*Row, error)
- func (*UnimplementedTablesServiceServer) GetTable(context.Context, *GetTableRequest) (*Table, error)
- func (*UnimplementedTablesServiceServer) ListRows(context.Context, *ListRowsRequest) (*ListRowsResponse, error)
- func (*UnimplementedTablesServiceServer) ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error)
- func (*UnimplementedTablesServiceServer) UpdateRow(context.Context, *UpdateRowRequest) (*Row, error)
- type UpdateRowRequest
- func (*UpdateRowRequest) Descriptor() ([]byte, []int)
- func (x *UpdateRowRequest) GetRow() *Row
- func (x *UpdateRowRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateRowRequest) GetView() View
- func (*UpdateRowRequest) ProtoMessage()
- func (x *UpdateRowRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRowRequest) Reset()
- func (x *UpdateRowRequest) String() string
- type View
Constants ¶
Variables ¶
var ( View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "COLUMN_ID_VIEW", } View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "COLUMN_ID_VIEW": 1, } )
Enum value maps for View.
var File_google_area120_tables_v1alpha1_tables_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTablesServiceServer ¶
func RegisterTablesServiceServer(s *grpc.Server, srv TablesServiceServer)
Types ¶
type BatchCreateRowsRequest ¶
type BatchCreateRowsRequest struct { // Required. The parent table where the rows will be created. // Format: tables/{table} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The request message specifying the rows to create. // // A maximum of 500 rows can be created in a single batch. Requests []*CreateRowRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.BatchCreateRows.
func (*BatchCreateRowsRequest) Descriptor ¶
func (*BatchCreateRowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateRowsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateRowsRequest) GetParent ¶
func (x *BatchCreateRowsRequest) GetParent() string
func (*BatchCreateRowsRequest) GetRequests ¶
func (x *BatchCreateRowsRequest) GetRequests() []*CreateRowRequest
func (*BatchCreateRowsRequest) ProtoMessage ¶
func (*BatchCreateRowsRequest) ProtoMessage()
func (*BatchCreateRowsRequest) ProtoReflect ¶
func (x *BatchCreateRowsRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateRowsRequest) Reset ¶
func (x *BatchCreateRowsRequest) Reset()
func (*BatchCreateRowsRequest) String ¶
func (x *BatchCreateRowsRequest) String() string
type BatchCreateRowsResponse ¶
type BatchCreateRowsResponse struct { // The created rows. Rows []*Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
Response message for TablesService.BatchCreateRows.
func (*BatchCreateRowsResponse) Descriptor ¶
func (*BatchCreateRowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateRowsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateRowsResponse) GetRows ¶
func (x *BatchCreateRowsResponse) GetRows() []*Row
func (*BatchCreateRowsResponse) ProtoMessage ¶
func (*BatchCreateRowsResponse) ProtoMessage()
func (*BatchCreateRowsResponse) ProtoReflect ¶
func (x *BatchCreateRowsResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateRowsResponse) Reset ¶
func (x *BatchCreateRowsResponse) Reset()
func (*BatchCreateRowsResponse) String ¶
func (x *BatchCreateRowsResponse) String() string
type BatchUpdateRowsRequest ¶
type BatchUpdateRowsRequest struct { // Required. The parent table shared by all rows being updated. // Format: tables/{table} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The request messages specifying the rows to update. // // A maximum of 500 rows can be modified in a single batch. Requests []*UpdateRowRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.BatchUpdateRows.
func (*BatchUpdateRowsRequest) Descriptor ¶
func (*BatchUpdateRowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateRowsRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateRowsRequest) GetParent ¶
func (x *BatchUpdateRowsRequest) GetParent() string
func (*BatchUpdateRowsRequest) GetRequests ¶
func (x *BatchUpdateRowsRequest) GetRequests() []*UpdateRowRequest
func (*BatchUpdateRowsRequest) ProtoMessage ¶
func (*BatchUpdateRowsRequest) ProtoMessage()
func (*BatchUpdateRowsRequest) ProtoReflect ¶
func (x *BatchUpdateRowsRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateRowsRequest) Reset ¶
func (x *BatchUpdateRowsRequest) Reset()
func (*BatchUpdateRowsRequest) String ¶
func (x *BatchUpdateRowsRequest) String() string
type BatchUpdateRowsResponse ¶
type BatchUpdateRowsResponse struct { // The updated rows. Rows []*Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
Response message for TablesService.BatchUpdateRows.
func (*BatchUpdateRowsResponse) Descriptor ¶
func (*BatchUpdateRowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateRowsResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateRowsResponse) GetRows ¶
func (x *BatchUpdateRowsResponse) GetRows() []*Row
func (*BatchUpdateRowsResponse) ProtoMessage ¶
func (*BatchUpdateRowsResponse) ProtoMessage()
func (*BatchUpdateRowsResponse) ProtoReflect ¶
func (x *BatchUpdateRowsResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateRowsResponse) Reset ¶
func (x *BatchUpdateRowsResponse) Reset()
func (*BatchUpdateRowsResponse) String ¶
func (x *BatchUpdateRowsResponse) String() string
type ColumnDescription ¶
type ColumnDescription struct { // column name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data type of the column // Supported types are number, text, boolean, number_list, text_list, // boolean_list. DataType string `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"` // Internal id for a column. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Details on a column in the table.
func (*ColumnDescription) Descriptor ¶
func (*ColumnDescription) Descriptor() ([]byte, []int)
Deprecated: Use ColumnDescription.ProtoReflect.Descriptor instead.
func (*ColumnDescription) GetDataType ¶
func (x *ColumnDescription) GetDataType() string
func (*ColumnDescription) GetId ¶
func (x *ColumnDescription) GetId() string
func (*ColumnDescription) GetName ¶
func (x *ColumnDescription) GetName() string
func (*ColumnDescription) ProtoMessage ¶
func (*ColumnDescription) ProtoMessage()
func (*ColumnDescription) ProtoReflect ¶
func (x *ColumnDescription) ProtoReflect() protoreflect.Message
func (*ColumnDescription) Reset ¶
func (x *ColumnDescription) Reset()
func (*ColumnDescription) String ¶
func (x *ColumnDescription) String() string
type CreateRowRequest ¶
type CreateRowRequest struct { // Required. The parent table where this row will be created. // Format: tables/{table} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The row to create. Row *Row `protobuf:"bytes,2,opt,name=row,proto3" json:"row,omitempty"` // Optional. Column key to use for values in the row. // Defaults to user entered name. View View `protobuf:"varint,3,opt,name=view,proto3,enum=google.area120.tables.v1alpha1.View" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.CreateRow.
func (*CreateRowRequest) Descriptor ¶
func (*CreateRowRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRowRequest.ProtoReflect.Descriptor instead.
func (*CreateRowRequest) GetParent ¶
func (x *CreateRowRequest) GetParent() string
func (*CreateRowRequest) GetRow ¶
func (x *CreateRowRequest) GetRow() *Row
func (*CreateRowRequest) GetView ¶
func (x *CreateRowRequest) GetView() View
func (*CreateRowRequest) ProtoMessage ¶
func (*CreateRowRequest) ProtoMessage()
func (*CreateRowRequest) ProtoReflect ¶
func (x *CreateRowRequest) ProtoReflect() protoreflect.Message
func (*CreateRowRequest) Reset ¶
func (x *CreateRowRequest) Reset()
func (*CreateRowRequest) String ¶
func (x *CreateRowRequest) String() string
type DeleteRowRequest ¶
type DeleteRowRequest struct { // Required. The name of the row to delete. // Format: tables/{table}/rows/{row} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.DeleteRow
func (*DeleteRowRequest) Descriptor ¶
func (*DeleteRowRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRowRequest.ProtoReflect.Descriptor instead.
func (*DeleteRowRequest) GetName ¶
func (x *DeleteRowRequest) GetName() string
func (*DeleteRowRequest) ProtoMessage ¶
func (*DeleteRowRequest) ProtoMessage()
func (*DeleteRowRequest) ProtoReflect ¶
func (x *DeleteRowRequest) ProtoReflect() protoreflect.Message
func (*DeleteRowRequest) Reset ¶
func (x *DeleteRowRequest) Reset()
func (*DeleteRowRequest) String ¶
func (x *DeleteRowRequest) String() string
type GetRowRequest ¶
type GetRowRequest struct { // Required. The name of the row to retrieve. // Format: tables/{table}/rows/{row} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Column key to use for values in the row. // Defaults to user entered name. View View `protobuf:"varint,2,opt,name=view,proto3,enum=google.area120.tables.v1alpha1.View" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.GetRow.
func (*GetRowRequest) Descriptor ¶
func (*GetRowRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRowRequest.ProtoReflect.Descriptor instead.
func (*GetRowRequest) GetName ¶
func (x *GetRowRequest) GetName() string
func (*GetRowRequest) GetView ¶
func (x *GetRowRequest) GetView() View
func (*GetRowRequest) ProtoMessage ¶
func (*GetRowRequest) ProtoMessage()
func (*GetRowRequest) ProtoReflect ¶
func (x *GetRowRequest) ProtoReflect() protoreflect.Message
func (*GetRowRequest) Reset ¶
func (x *GetRowRequest) Reset()
func (*GetRowRequest) String ¶
func (x *GetRowRequest) String() string
type GetTableRequest ¶
type GetTableRequest struct { // Required. The name of the table to retrieve. // Format: tables/{table} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.GetTable.
func (*GetTableRequest) Descriptor ¶
func (*GetTableRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTableRequest.ProtoReflect.Descriptor instead.
func (*GetTableRequest) GetName ¶
func (x *GetTableRequest) GetName() string
func (*GetTableRequest) ProtoMessage ¶
func (*GetTableRequest) ProtoMessage()
func (*GetTableRequest) ProtoReflect ¶
func (x *GetTableRequest) ProtoReflect() protoreflect.Message
func (*GetTableRequest) Reset ¶
func (x *GetTableRequest) Reset()
func (*GetTableRequest) String ¶
func (x *GetTableRequest) String() string
type ListRowsRequest ¶
type ListRowsRequest struct { // Required. The parent table. // Format: tables/{table} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of rows to return. The service may return fewer than // this value. // // If unspecified, at most 50 rows are returned. The maximum value is 1,000; // values above 1,000 are coerced to 1,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListRows` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListRows` must match // the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Column key to use for values in the row. // Defaults to user entered name. View View `protobuf:"varint,4,opt,name=view,proto3,enum=google.area120.tables.v1alpha1.View" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.ListRows.
func (*ListRowsRequest) Descriptor ¶
func (*ListRowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRowsRequest.ProtoReflect.Descriptor instead.
func (*ListRowsRequest) GetPageSize ¶
func (x *ListRowsRequest) GetPageSize() int32
func (*ListRowsRequest) GetPageToken ¶
func (x *ListRowsRequest) GetPageToken() string
func (*ListRowsRequest) GetParent ¶
func (x *ListRowsRequest) GetParent() string
func (*ListRowsRequest) GetView ¶
func (x *ListRowsRequest) GetView() View
func (*ListRowsRequest) ProtoMessage ¶
func (*ListRowsRequest) ProtoMessage()
func (*ListRowsRequest) ProtoReflect ¶
func (x *ListRowsRequest) ProtoReflect() protoreflect.Message
func (*ListRowsRequest) Reset ¶
func (x *ListRowsRequest) Reset()
func (*ListRowsRequest) String ¶
func (x *ListRowsRequest) String() string
type ListRowsResponse ¶
type ListRowsResponse struct { // The rows from the specified table. Rows []*Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is empty, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for TablesService.ListRows.
func (*ListRowsResponse) Descriptor ¶
func (*ListRowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRowsResponse.ProtoReflect.Descriptor instead.
func (*ListRowsResponse) GetNextPageToken ¶
func (x *ListRowsResponse) GetNextPageToken() string
func (*ListRowsResponse) GetRows ¶
func (x *ListRowsResponse) GetRows() []*Row
func (*ListRowsResponse) ProtoMessage ¶
func (*ListRowsResponse) ProtoMessage()
func (*ListRowsResponse) ProtoReflect ¶
func (x *ListRowsResponse) ProtoReflect() protoreflect.Message
func (*ListRowsResponse) Reset ¶
func (x *ListRowsResponse) Reset()
func (*ListRowsResponse) String ¶
func (x *ListRowsResponse) String() string
type ListTablesRequest ¶
type ListTablesRequest struct { // The maximum number of tables to return. The service may return fewer than // this value. // // If unspecified, at most 20 tables are returned. The maximum value is 100; // values above 100 are coerced to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListTables` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListTables` must match // the call that provided the page token. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.ListTables.
func (*ListTablesRequest) Descriptor ¶
func (*ListTablesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTablesRequest.ProtoReflect.Descriptor instead.
func (*ListTablesRequest) GetPageSize ¶
func (x *ListTablesRequest) GetPageSize() int32
func (*ListTablesRequest) GetPageToken ¶
func (x *ListTablesRequest) GetPageToken() string
func (*ListTablesRequest) ProtoMessage ¶
func (*ListTablesRequest) ProtoMessage()
func (*ListTablesRequest) ProtoReflect ¶
func (x *ListTablesRequest) ProtoReflect() protoreflect.Message
func (*ListTablesRequest) Reset ¶
func (x *ListTablesRequest) Reset()
func (*ListTablesRequest) String ¶
func (x *ListTablesRequest) String() string
type ListTablesResponse ¶
type ListTablesResponse struct { // The list of tables. Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is empty, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for TablesService.ListTables.
func (*ListTablesResponse) Descriptor ¶
func (*ListTablesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTablesResponse.ProtoReflect.Descriptor instead.
func (*ListTablesResponse) GetNextPageToken ¶
func (x *ListTablesResponse) GetNextPageToken() string
func (*ListTablesResponse) GetTables ¶
func (x *ListTablesResponse) GetTables() []*Table
func (*ListTablesResponse) ProtoMessage ¶
func (*ListTablesResponse) ProtoMessage()
func (*ListTablesResponse) ProtoReflect ¶
func (x *ListTablesResponse) ProtoReflect() protoreflect.Message
func (*ListTablesResponse) Reset ¶
func (x *ListTablesResponse) Reset()
func (*ListTablesResponse) String ¶
func (x *ListTablesResponse) String() string
type Row ¶
type Row struct { // The resource name of the row. // Row names have the form `tables/{table}/rows/{row}`. // The name is ignored when creating a row. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The values of the row. This is a map of column key to value. // Key is user entered name(default) or the internal column id based on // the view in the request. Values map[string]*structpb.Value `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
A single row in a table.
func (*Row) Descriptor ¶
Deprecated: Use Row.ProtoReflect.Descriptor instead.
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type Table ¶
type Table struct { // The resource name of the table. // Table names have the form `tables/{table}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The human readable title of the table. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // List of columns in this table. // Order of columns matches the display order. Columns []*ColumnDescription `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"` // contains filtered or unexported fields }
A single table.
func (*Table) Descriptor ¶
Deprecated: Use Table.ProtoReflect.Descriptor instead.
func (*Table) GetColumns ¶
func (x *Table) GetColumns() []*ColumnDescription
func (*Table) GetDisplayName ¶
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
type TablesServiceClient ¶
type TablesServiceClient interface { // Gets a table. Returns NOT_FOUND if the table does not exist. GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) // Lists tables for the user. ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) // Gets a row. Returns NOT_FOUND if the row does not exist in the table. GetRow(ctx context.Context, in *GetRowRequest, opts ...grpc.CallOption) (*Row, error) // Lists rows in a table. Returns NOT_FOUND if the table does not exist. ListRows(ctx context.Context, in *ListRowsRequest, opts ...grpc.CallOption) (*ListRowsResponse, error) // Creates a row. CreateRow(ctx context.Context, in *CreateRowRequest, opts ...grpc.CallOption) (*Row, error) // Creates multiple rows. BatchCreateRows(ctx context.Context, in *BatchCreateRowsRequest, opts ...grpc.CallOption) (*BatchCreateRowsResponse, error) // Updates a row. UpdateRow(ctx context.Context, in *UpdateRowRequest, opts ...grpc.CallOption) (*Row, error) // Updates multiple rows. BatchUpdateRows(ctx context.Context, in *BatchUpdateRowsRequest, opts ...grpc.CallOption) (*BatchUpdateRowsResponse, error) // Deletes a row. DeleteRow(ctx context.Context, in *DeleteRowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TablesServiceClient is the client API for TablesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTablesServiceClient ¶
func NewTablesServiceClient(cc grpc.ClientConnInterface) TablesServiceClient
type TablesServiceServer ¶
type TablesServiceServer interface { // Gets a table. Returns NOT_FOUND if the table does not exist. GetTable(context.Context, *GetTableRequest) (*Table, error) // Lists tables for the user. ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error) // Gets a row. Returns NOT_FOUND if the row does not exist in the table. GetRow(context.Context, *GetRowRequest) (*Row, error) // Lists rows in a table. Returns NOT_FOUND if the table does not exist. ListRows(context.Context, *ListRowsRequest) (*ListRowsResponse, error) // Creates a row. CreateRow(context.Context, *CreateRowRequest) (*Row, error) // Creates multiple rows. BatchCreateRows(context.Context, *BatchCreateRowsRequest) (*BatchCreateRowsResponse, error) // Updates a row. UpdateRow(context.Context, *UpdateRowRequest) (*Row, error) // Updates multiple rows. BatchUpdateRows(context.Context, *BatchUpdateRowsRequest) (*BatchUpdateRowsResponse, error) // Deletes a row. DeleteRow(context.Context, *DeleteRowRequest) (*emptypb.Empty, error) }
TablesServiceServer is the server API for TablesService service.
type UnimplementedTablesServiceServer ¶
type UnimplementedTablesServiceServer struct { }
UnimplementedTablesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTablesServiceServer) BatchCreateRows ¶
func (*UnimplementedTablesServiceServer) BatchCreateRows(context.Context, *BatchCreateRowsRequest) (*BatchCreateRowsResponse, error)
func (*UnimplementedTablesServiceServer) BatchUpdateRows ¶
func (*UnimplementedTablesServiceServer) BatchUpdateRows(context.Context, *BatchUpdateRowsRequest) (*BatchUpdateRowsResponse, error)
func (*UnimplementedTablesServiceServer) CreateRow ¶
func (*UnimplementedTablesServiceServer) CreateRow(context.Context, *CreateRowRequest) (*Row, error)
func (*UnimplementedTablesServiceServer) DeleteRow ¶
func (*UnimplementedTablesServiceServer) DeleteRow(context.Context, *DeleteRowRequest) (*emptypb.Empty, error)
func (*UnimplementedTablesServiceServer) GetRow ¶
func (*UnimplementedTablesServiceServer) GetRow(context.Context, *GetRowRequest) (*Row, error)
func (*UnimplementedTablesServiceServer) GetTable ¶
func (*UnimplementedTablesServiceServer) GetTable(context.Context, *GetTableRequest) (*Table, error)
func (*UnimplementedTablesServiceServer) ListRows ¶
func (*UnimplementedTablesServiceServer) ListRows(context.Context, *ListRowsRequest) (*ListRowsResponse, error)
func (*UnimplementedTablesServiceServer) ListTables ¶
func (*UnimplementedTablesServiceServer) ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error)
func (*UnimplementedTablesServiceServer) UpdateRow ¶
func (*UnimplementedTablesServiceServer) UpdateRow(context.Context, *UpdateRowRequest) (*Row, error)
type UpdateRowRequest ¶
type UpdateRowRequest struct { // Required. The row to update. Row *Row `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"` // The list of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. Column key to use for values in the row. // Defaults to user entered name. View View `protobuf:"varint,3,opt,name=view,proto3,enum=google.area120.tables.v1alpha1.View" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for TablesService.UpdateRow.
func (*UpdateRowRequest) Descriptor ¶
func (*UpdateRowRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRowRequest.ProtoReflect.Descriptor instead.
func (*UpdateRowRequest) GetRow ¶
func (x *UpdateRowRequest) GetRow() *Row
func (*UpdateRowRequest) GetUpdateMask ¶
func (x *UpdateRowRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRowRequest) GetView ¶
func (x *UpdateRowRequest) GetView() View
func (*UpdateRowRequest) ProtoMessage ¶
func (*UpdateRowRequest) ProtoMessage()
func (*UpdateRowRequest) ProtoReflect ¶
func (x *UpdateRowRequest) ProtoReflect() protoreflect.Message
func (*UpdateRowRequest) Reset ¶
func (x *UpdateRowRequest) Reset()
func (*UpdateRowRequest) String ¶
func (x *UpdateRowRequest) String() string
type View ¶
type View int32
Column identifier used for the values in the row.
func (View) Descriptor ¶
func (View) Descriptor() protoreflect.EnumDescriptor
func (View) EnumDescriptor ¶
Deprecated: Use View.Descriptor instead.
func (View) Number ¶
func (x View) Number() protoreflect.EnumNumber
func (View) Type ¶
func (View) Type() protoreflect.EnumType