tables

package
v0.0.0-...-6cb3ea0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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 deprecated

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 deprecated

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 BatchDeleteRowsRequest

type BatchDeleteRowsRequest struct {

	// Required. The parent table shared by all rows being deleted.
	// Format: tables/{table}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The names of the rows to delete. All rows must belong to the parent table
	// or else the entire batch will fail. A maximum of 500 rows can be deleted
	// in a batch.
	// Format: tables/{table}/rows/{row}
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

Request message for TablesService.BatchDeleteRows

func (*BatchDeleteRowsRequest) Descriptor deprecated

func (*BatchDeleteRowsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchDeleteRowsRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteRowsRequest) GetNames

func (x *BatchDeleteRowsRequest) GetNames() []string

func (*BatchDeleteRowsRequest) GetParent

func (x *BatchDeleteRowsRequest) GetParent() string

func (*BatchDeleteRowsRequest) ProtoMessage

func (*BatchDeleteRowsRequest) ProtoMessage()

func (*BatchDeleteRowsRequest) ProtoReflect

func (x *BatchDeleteRowsRequest) ProtoReflect() protoreflect.Message

func (*BatchDeleteRowsRequest) Reset

func (x *BatchDeleteRowsRequest) Reset()

func (*BatchDeleteRowsRequest) String

func (x *BatchDeleteRowsRequest) 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 deprecated

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 deprecated

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 auto_id, boolean, boolean_list, creator,
	// create_timestamp, date, dropdown, location, integer,
	// integer_list, number, number_list, person, person_list, tags, check_list,
	// text, text_list, update_timestamp, updater, relationship,
	// file_attachment_list.
	// These types directly map to the column types supported on Tables website.
	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"`
	// Optional. Range of labeled values for the column.
	// Some columns like tags and drop-downs limit the values to a set of
	// possible values. We return the range of values in such cases to help
	// clients implement better user data validation.
	Labels []*LabeledItem `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	// Optional. Additional details about a relationship column. Specified when data_type
	// is relationship.
	RelationshipDetails *RelationshipDetails `protobuf:"bytes,5,opt,name=relationship_details,json=relationshipDetails,proto3" json:"relationship_details,omitempty"`
	// Optional. Indicates that this is a lookup column whose value is derived from the
	// relationship column specified in the details. Lookup columns can not be
	// updated directly. To change the value you must update the associated
	// relationship column.
	LookupDetails *LookupDetails `protobuf:"bytes,6,opt,name=lookup_details,json=lookupDetails,proto3" json:"lookup_details,omitempty"`
	// contains filtered or unexported fields
}

Details on a column in the table.

func (*ColumnDescription) Descriptor deprecated

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) GetLabels

func (x *ColumnDescription) GetLabels() []*LabeledItem

func (*ColumnDescription) GetLookupDetails

func (x *ColumnDescription) GetLookupDetails() *LookupDetails

func (*ColumnDescription) GetName

func (x *ColumnDescription) GetName() string

func (*ColumnDescription) GetRelationshipDetails

func (x *ColumnDescription) GetRelationshipDetails() *RelationshipDetails

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 deprecated

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 deprecated

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 deprecated

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 deprecated

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 GetWorkspaceRequest

type GetWorkspaceRequest struct {

	// Required. The name of the workspace to retrieve.
	// Format: workspaces/{workspace}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for TablesService.GetWorkspace.

func (*GetWorkspaceRequest) Descriptor deprecated

func (*GetWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspaceRequest) GetName

func (x *GetWorkspaceRequest) GetName() string

func (*GetWorkspaceRequest) ProtoMessage

func (*GetWorkspaceRequest) ProtoMessage()

func (*GetWorkspaceRequest) ProtoReflect

func (x *GetWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*GetWorkspaceRequest) Reset

func (x *GetWorkspaceRequest) Reset()

func (*GetWorkspaceRequest) String

func (x *GetWorkspaceRequest) String() string

type LabeledItem

type LabeledItem struct {

	// Display string as entered by user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Internal id associated with the item.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

A single item in a labeled column.

func (*LabeledItem) Descriptor deprecated

func (*LabeledItem) Descriptor() ([]byte, []int)

Deprecated: Use LabeledItem.ProtoReflect.Descriptor instead.

func (*LabeledItem) GetId

func (x *LabeledItem) GetId() string

func (*LabeledItem) GetName

func (x *LabeledItem) GetName() string

func (*LabeledItem) ProtoMessage

func (*LabeledItem) ProtoMessage()

func (*LabeledItem) ProtoReflect

func (x *LabeledItem) ProtoReflect() protoreflect.Message

func (*LabeledItem) Reset

func (x *LabeledItem) Reset()

func (*LabeledItem) String

func (x *LabeledItem) 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"`
	// Optional. Raw text query to search for in rows of the table.
	// Special characters must be escaped. Logical operators and field specific
	// filtering not supported.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for TablesService.ListRows.

func (*ListRowsRequest) Descriptor deprecated

func (*ListRowsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRowsRequest.ProtoReflect.Descriptor instead.

func (*ListRowsRequest) GetFilter

func (x *ListRowsRequest) GetFilter() string

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 deprecated

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 deprecated

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 deprecated

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 ListWorkspacesRequest

type ListWorkspacesRequest struct {

	// The maximum number of workspaces to return. The service may return fewer
	// than this value.
	//
	// If unspecified, at most 10 workspaces are returned. The maximum value is
	// 25; values above 25 are coerced to 25.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListWorkspaces` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListWorkspaces` 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.ListWorkspaces.

func (*ListWorkspacesRequest) Descriptor deprecated

func (*ListWorkspacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkspacesRequest.ProtoReflect.Descriptor instead.

func (*ListWorkspacesRequest) GetPageSize

func (x *ListWorkspacesRequest) GetPageSize() int32

func (*ListWorkspacesRequest) GetPageToken

func (x *ListWorkspacesRequest) GetPageToken() string

func (*ListWorkspacesRequest) ProtoMessage

func (*ListWorkspacesRequest) ProtoMessage()

func (*ListWorkspacesRequest) ProtoReflect

func (x *ListWorkspacesRequest) ProtoReflect() protoreflect.Message

func (*ListWorkspacesRequest) Reset

func (x *ListWorkspacesRequest) Reset()

func (*ListWorkspacesRequest) String

func (x *ListWorkspacesRequest) String() string

type ListWorkspacesResponse

type ListWorkspacesResponse struct {

	// The list of workspaces.
	Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,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.ListWorkspaces.

func (*ListWorkspacesResponse) Descriptor deprecated

func (*ListWorkspacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkspacesResponse.ProtoReflect.Descriptor instead.

func (*ListWorkspacesResponse) GetNextPageToken

func (x *ListWorkspacesResponse) GetNextPageToken() string

func (*ListWorkspacesResponse) GetWorkspaces

func (x *ListWorkspacesResponse) GetWorkspaces() []*Workspace

func (*ListWorkspacesResponse) ProtoMessage

func (*ListWorkspacesResponse) ProtoMessage()

func (*ListWorkspacesResponse) ProtoReflect

func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message

func (*ListWorkspacesResponse) Reset

func (x *ListWorkspacesResponse) Reset()

func (*ListWorkspacesResponse) String

func (x *ListWorkspacesResponse) String() string

type LookupDetails

type LookupDetails struct {

	// The name of the relationship column associated with the lookup.
	RelationshipColumn string `protobuf:"bytes,1,opt,name=relationship_column,json=relationshipColumn,proto3" json:"relationship_column,omitempty"`
	// The id of the relationship column.
	RelationshipColumnId string `protobuf:"bytes,2,opt,name=relationship_column_id,json=relationshipColumnId,proto3" json:"relationship_column_id,omitempty"`
	// contains filtered or unexported fields
}

Details about a lookup column whose value comes from the associated relationship.

func (*LookupDetails) Descriptor deprecated

func (*LookupDetails) Descriptor() ([]byte, []int)

Deprecated: Use LookupDetails.ProtoReflect.Descriptor instead.

func (*LookupDetails) GetRelationshipColumn

func (x *LookupDetails) GetRelationshipColumn() string

func (*LookupDetails) GetRelationshipColumnId

func (x *LookupDetails) GetRelationshipColumnId() string

func (*LookupDetails) ProtoMessage

func (*LookupDetails) ProtoMessage()

func (*LookupDetails) ProtoReflect

func (x *LookupDetails) ProtoReflect() protoreflect.Message

func (*LookupDetails) Reset

func (x *LookupDetails) Reset()

func (*LookupDetails) String

func (x *LookupDetails) String() string

type RelationshipDetails

type RelationshipDetails struct {

	// The name of the table this relationship is linked to.
	LinkedTable string `protobuf:"bytes,1,opt,name=linked_table,json=linkedTable,proto3" json:"linked_table,omitempty"`
	// contains filtered or unexported fields
}

Details about a relationship column.

func (*RelationshipDetails) Descriptor deprecated

func (*RelationshipDetails) Descriptor() ([]byte, []int)

Deprecated: Use RelationshipDetails.ProtoReflect.Descriptor instead.

func (*RelationshipDetails) GetLinkedTable

func (x *RelationshipDetails) GetLinkedTable() string

func (*RelationshipDetails) ProtoMessage

func (*RelationshipDetails) ProtoMessage()

func (*RelationshipDetails) ProtoReflect

func (x *RelationshipDetails) ProtoReflect() protoreflect.Message

func (*RelationshipDetails) Reset

func (x *RelationshipDetails) Reset()

func (*RelationshipDetails) String

func (x *RelationshipDetails) 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

func (*Row) Descriptor() ([]byte, []int)

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetName

func (x *Row) GetName() string

func (*Row) GetValues

func (x *Row) GetValues() map[string]*structpb.Value

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) ProtoReflect

func (x *Row) ProtoReflect() protoreflect.Message

func (*Row) Reset

func (x *Row) Reset()

func (*Row) String

func (x *Row) String() string

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

func (*Table) Descriptor() ([]byte, []int)

Deprecated: Use Table.ProtoReflect.Descriptor instead.

func (*Table) GetColumns

func (x *Table) GetColumns() []*ColumnDescription

func (*Table) GetDisplayName

func (x *Table) GetDisplayName() string

func (*Table) GetName

func (x *Table) GetName() string

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) ProtoReflect

func (x *Table) ProtoReflect() protoreflect.Message

func (*Table) Reset

func (x *Table) Reset()

func (*Table) String

func (x *Table) String() string

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 workspace. Returns NOT_FOUND if the workspace does not exist.
	GetWorkspace(ctx context.Context, in *GetWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error)
	// Lists workspaces for the user.
	ListWorkspaces(ctx context.Context, in *ListWorkspacesRequest, opts ...grpc.CallOption) (*ListWorkspacesResponse, 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)
	// Deletes multiple rows.
	BatchDeleteRows(ctx context.Context, in *BatchDeleteRowsRequest, 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.

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 workspace. Returns NOT_FOUND if the workspace does not exist.
	GetWorkspace(context.Context, *GetWorkspaceRequest) (*Workspace, error)
	// Lists workspaces for the user.
	ListWorkspaces(context.Context, *ListWorkspacesRequest) (*ListWorkspacesResponse, 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)
	// Deletes multiple rows.
	BatchDeleteRows(context.Context, *BatchDeleteRowsRequest) (*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) BatchDeleteRows

func (*UnimplementedTablesServiceServer) BatchUpdateRows

func (*UnimplementedTablesServiceServer) CreateRow

func (*UnimplementedTablesServiceServer) DeleteRow

func (*UnimplementedTablesServiceServer) GetRow

func (*UnimplementedTablesServiceServer) GetTable

func (*UnimplementedTablesServiceServer) GetWorkspace

func (*UnimplementedTablesServiceServer) ListRows

func (*UnimplementedTablesServiceServer) ListTables

func (*UnimplementedTablesServiceServer) ListWorkspaces

func (*UnimplementedTablesServiceServer) UpdateRow

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 deprecated

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.

const (
	// Defaults to user entered text.
	View_VIEW_UNSPECIFIED View = 0
	// Uses internally generated column id to identify values.
	View_COLUMN_ID_VIEW View = 1
)

func (View) Descriptor

func (View) Descriptor() protoreflect.EnumDescriptor

func (View) Enum

func (x View) Enum() *View

func (View) EnumDescriptor deprecated

func (View) EnumDescriptor() ([]byte, []int)

Deprecated: Use View.Descriptor instead.

func (View) Number

func (x View) Number() protoreflect.EnumNumber

func (View) String

func (x View) String() string

func (View) Type

func (View) Type() protoreflect.EnumType

type Workspace

type Workspace struct {

	// The resource name of the workspace.
	// Workspace names have the form `workspaces/{workspace}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The human readable title of the workspace.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The list of tables in the workspace.
	Tables []*Table `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty"`
	// contains filtered or unexported fields
}

A single workspace.

func (*Workspace) Descriptor deprecated

func (*Workspace) Descriptor() ([]byte, []int)

Deprecated: Use Workspace.ProtoReflect.Descriptor instead.

func (*Workspace) GetDisplayName

func (x *Workspace) GetDisplayName() string

func (*Workspace) GetName

func (x *Workspace) GetName() string

func (*Workspace) GetTables

func (x *Workspace) GetTables() []*Table

func (*Workspace) ProtoMessage

func (*Workspace) ProtoMessage()

func (*Workspace) ProtoReflect

func (x *Workspace) ProtoReflect() protoreflect.Message

func (*Workspace) Reset

func (x *Workspace) Reset()

func (*Workspace) String

func (x *Workspace) String() string

Jump to

Keyboard shortcuts

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