results_go_proto

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_resources_proto protoreflect.FileDescriptor

Functions

func RegisterResultsServer

func RegisterResultsServer(s grpc.ServiceRegistrar, srv ResultsServer)

Types

type Any added in v0.3.0

type Any struct {

	// Unique identifier of the data type stored in value.
	// This is used as a type hint to determine how to unmarshal value.
	// Limited to 128 characters.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// JSON-encoded data.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Any represents loosely typed data to be stored within a Record.

func (*Any) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Any.ProtoReflect.Descriptor instead.

func (*Any) GetType added in v0.3.0

func (x *Any) GetType() string

func (*Any) GetValue added in v0.3.0

func (x *Any) GetValue() []byte

func (*Any) ProtoMessage added in v0.3.0

func (*Any) ProtoMessage()

func (*Any) ProtoReflect added in v0.3.0

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

func (*Any) Reset added in v0.3.0

func (x *Any) Reset()

func (*Any) String added in v0.3.0

func (x *Any) String() string

type CreateRecordRequest

type CreateRecordRequest struct {

	// User provided parent to partition results under.
	Parent string  `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Record *Record `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRecordRequest) Descriptor deprecated

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

Deprecated: Use CreateRecordRequest.ProtoReflect.Descriptor instead.

func (*CreateRecordRequest) GetParent

func (x *CreateRecordRequest) GetParent() string

func (*CreateRecordRequest) GetRecord

func (x *CreateRecordRequest) GetRecord() *Record

func (*CreateRecordRequest) ProtoMessage

func (*CreateRecordRequest) ProtoMessage()

func (*CreateRecordRequest) ProtoReflect

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

func (*CreateRecordRequest) Reset

func (x *CreateRecordRequest) Reset()

func (*CreateRecordRequest) String

func (x *CreateRecordRequest) String() string

type CreateResultRequest

type CreateResultRequest struct {

	// User provided parent to partition results under.
	Parent string  `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResultRequest) Descriptor deprecated

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

Deprecated: Use CreateResultRequest.ProtoReflect.Descriptor instead.

func (*CreateResultRequest) GetParent

func (x *CreateResultRequest) GetParent() string

func (*CreateResultRequest) GetResult

func (x *CreateResultRequest) GetResult() *Result

func (*CreateResultRequest) ProtoMessage

func (*CreateResultRequest) ProtoMessage()

func (*CreateResultRequest) ProtoReflect

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

func (*CreateResultRequest) Reset

func (x *CreateResultRequest) Reset()

func (*CreateResultRequest) String

func (x *CreateResultRequest) String() string

type DeleteRecordRequest

type DeleteRecordRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRecordRequest) Descriptor deprecated

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

Deprecated: Use DeleteRecordRequest.ProtoReflect.Descriptor instead.

func (*DeleteRecordRequest) GetName

func (x *DeleteRecordRequest) GetName() string

func (*DeleteRecordRequest) ProtoMessage

func (*DeleteRecordRequest) ProtoMessage()

func (*DeleteRecordRequest) ProtoReflect

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

func (*DeleteRecordRequest) Reset

func (x *DeleteRecordRequest) Reset()

func (*DeleteRecordRequest) String

func (x *DeleteRecordRequest) String() string

type DeleteResultRequest

type DeleteResultRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResultRequest) Descriptor deprecated

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

Deprecated: Use DeleteResultRequest.ProtoReflect.Descriptor instead.

func (*DeleteResultRequest) GetName

func (x *DeleteResultRequest) GetName() string

func (*DeleteResultRequest) ProtoMessage

func (*DeleteResultRequest) ProtoMessage()

func (*DeleteResultRequest) ProtoReflect

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

func (*DeleteResultRequest) Reset

func (x *DeleteResultRequest) Reset()

func (*DeleteResultRequest) String

func (x *DeleteResultRequest) String() string

type GetRecordRequest

type GetRecordRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRecordRequest) Descriptor deprecated

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

Deprecated: Use GetRecordRequest.ProtoReflect.Descriptor instead.

func (*GetRecordRequest) GetName

func (x *GetRecordRequest) GetName() string

func (*GetRecordRequest) ProtoMessage

func (*GetRecordRequest) ProtoMessage()

func (*GetRecordRequest) ProtoReflect

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

func (*GetRecordRequest) Reset

func (x *GetRecordRequest) Reset()

func (*GetRecordRequest) String

func (x *GetRecordRequest) String() string

type GetResultRequest

type GetResultRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResultRequest) Descriptor deprecated

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

Deprecated: Use GetResultRequest.ProtoReflect.Descriptor instead.

func (*GetResultRequest) GetName

func (x *GetResultRequest) GetName() string

func (*GetResultRequest) ProtoMessage

func (*GetResultRequest) ProtoMessage()

func (*GetResultRequest) ProtoReflect

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

func (*GetResultRequest) Reset

func (x *GetResultRequest) Reset()

func (*GetResultRequest) String

func (x *GetResultRequest) String() string

type ListRecordsRequest

type ListRecordsRequest struct {
	Parent    string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Filter    string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	PageSize  int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecordsRequest) Descriptor deprecated

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

Deprecated: Use ListRecordsRequest.ProtoReflect.Descriptor instead.

func (*ListRecordsRequest) GetFilter

func (x *ListRecordsRequest) GetFilter() string

func (*ListRecordsRequest) GetOrderBy added in v0.2.0

func (x *ListRecordsRequest) GetOrderBy() string

func (*ListRecordsRequest) GetPageSize

func (x *ListRecordsRequest) GetPageSize() int32

func (*ListRecordsRequest) GetPageToken

func (x *ListRecordsRequest) GetPageToken() string

func (*ListRecordsRequest) GetParent

func (x *ListRecordsRequest) GetParent() string

func (*ListRecordsRequest) ProtoMessage

func (*ListRecordsRequest) ProtoMessage()

func (*ListRecordsRequest) ProtoReflect

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

func (*ListRecordsRequest) Reset

func (x *ListRecordsRequest) Reset()

func (*ListRecordsRequest) String

func (x *ListRecordsRequest) String() string

type ListRecordsResponse

type ListRecordsResponse struct {
	Records       []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	NextPageToken string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecordsResponse) Descriptor deprecated

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

Deprecated: Use ListRecordsResponse.ProtoReflect.Descriptor instead.

func (*ListRecordsResponse) GetNextPageToken

func (x *ListRecordsResponse) GetNextPageToken() string

func (*ListRecordsResponse) GetRecords

func (x *ListRecordsResponse) GetRecords() []*Record

func (*ListRecordsResponse) ProtoMessage

func (*ListRecordsResponse) ProtoMessage()

func (*ListRecordsResponse) ProtoReflect

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

func (*ListRecordsResponse) Reset

func (x *ListRecordsResponse) Reset()

func (*ListRecordsResponse) String

func (x *ListRecordsResponse) String() string

type ListResultsRequest

type ListResultsRequest struct {
	Parent    string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Filter    string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	PageSize  int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResultsRequest) Descriptor deprecated

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

Deprecated: Use ListResultsRequest.ProtoReflect.Descriptor instead.

func (*ListResultsRequest) GetFilter

func (x *ListResultsRequest) GetFilter() string

func (*ListResultsRequest) GetOrderBy added in v0.2.0

func (x *ListResultsRequest) GetOrderBy() string

func (*ListResultsRequest) GetPageSize

func (x *ListResultsRequest) GetPageSize() int32

func (*ListResultsRequest) GetPageToken

func (x *ListResultsRequest) GetPageToken() string

func (*ListResultsRequest) GetParent

func (x *ListResultsRequest) GetParent() string

func (*ListResultsRequest) ProtoMessage

func (*ListResultsRequest) ProtoMessage()

func (*ListResultsRequest) ProtoReflect

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

func (*ListResultsRequest) Reset

func (x *ListResultsRequest) Reset()

func (*ListResultsRequest) String

func (x *ListResultsRequest) String() string

type ListResultsResponse

type ListResultsResponse struct {
	Results       []*Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	NextPageToken string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResultsResponse) Descriptor deprecated

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

Deprecated: Use ListResultsResponse.ProtoReflect.Descriptor instead.

func (*ListResultsResponse) GetNextPageToken

func (x *ListResultsResponse) GetNextPageToken() string

func (*ListResultsResponse) GetResults

func (x *ListResultsResponse) GetResults() []*Result

func (*ListResultsResponse) ProtoMessage

func (*ListResultsResponse) ProtoMessage()

func (*ListResultsResponse) ProtoReflect

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

func (*ListResultsResponse) Reset

func (x *ListResultsResponse) Reset()

func (*ListResultsResponse) String

func (x *ListResultsResponse) String() string

type Record

type Record struct {

	// Resource name, must be rooted in parent result.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Server assigned identifier of the Result.
	// DEPRECATED: use uid instead.
	//
	// Deprecated: Do not use.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Server assigned identifier of the Result.
	Uid  string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
	Data *Any   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// The etag for this record.
	// If this is provided on update, it must match the server's etag.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// Server assigned timestamp for when the result was created.
	// DEPRECATED: use create_time instead.
	//
	// Deprecated: Do not use.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// Server assigned timestamp for when the result was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Server assigned timestamp for when the results was updated.
	// DEPRECATED: use update_time instead.
	//
	// Deprecated: Do not use.
	UpdatedTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	// Server assigned timestamp for when the results was updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

Record belonging to a Result. Typically will be Tekton Task/PipelineRuns, but may also include other execution information (e.g. alternative configs, DSLs, input payloads, post-execution actions, etc.) Next field number: 7

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetCreateTime added in v0.3.0

func (x *Record) GetCreateTime() *timestamp.Timestamp

func (*Record) GetCreatedTime deprecated

func (x *Record) GetCreatedTime() *timestamp.Timestamp

Deprecated: Do not use.

func (*Record) GetData

func (x *Record) GetData() *Any

func (*Record) GetEtag

func (x *Record) GetEtag() string

func (*Record) GetId deprecated

func (x *Record) GetId() string

Deprecated: Do not use.

func (*Record) GetName

func (x *Record) GetName() string

func (*Record) GetUid added in v0.3.0

func (x *Record) GetUid() string

func (*Record) GetUpdateTime added in v0.3.0

func (x *Record) GetUpdateTime() *timestamp.Timestamp

func (*Record) GetUpdatedTime deprecated

func (x *Record) GetUpdatedTime() *timestamp.Timestamp

Deprecated: Do not use.

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type Result

type Result struct {

	// User assigned identifier of the Result.
	// Encodes parent information.
	//
	// Examples: namespace/default/results/1234
	//           cluster/<cluster-id>/namespace/tekton/results/1234
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Server assigned identifier of the Result.
	// DEPRECATED: use uid instead.
	//
	// Deprecated: Do not use.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Server assigned identifier of the Result.
	Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
	// Server assigned timestamp for when the result was created.
	// DEPRECATED: use create_time instead.
	//
	// Deprecated: Do not use.
	CreatedTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// Server assigned timestamp for when the result was created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Server assigned timestamp for when the results was updated.
	// DEPRECATED: use update_time instead.
	//
	// Deprecated: Do not use.
	UpdatedTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	// Server assigned timestamp for when the results was updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Arbitrary user provided labels for the result.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// The etag for this result.
	// If this is provided on update, it must match the server's etag.
	Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Next field number: 7

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetAnnotations

func (x *Result) GetAnnotations() map[string]string

func (*Result) GetCreateTime added in v0.3.0

func (x *Result) GetCreateTime() *timestamp.Timestamp

func (*Result) GetCreatedTime deprecated

func (x *Result) GetCreatedTime() *timestamp.Timestamp

Deprecated: Do not use.

func (*Result) GetEtag

func (x *Result) GetEtag() string

func (*Result) GetId deprecated

func (x *Result) GetId() string

Deprecated: Do not use.

func (*Result) GetName

func (x *Result) GetName() string

func (*Result) GetUid added in v0.3.0

func (x *Result) GetUid() string

func (*Result) GetUpdateTime added in v0.3.0

func (x *Result) GetUpdateTime() *timestamp.Timestamp

func (*Result) GetUpdatedTime deprecated

func (x *Result) GetUpdatedTime() *timestamp.Timestamp

Deprecated: Do not use.

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type ResultsClient

type ResultsClient interface {
	CreateResult(ctx context.Context, in *CreateResultRequest, opts ...grpc.CallOption) (*Result, error)
	UpdateResult(ctx context.Context, in *UpdateResultRequest, opts ...grpc.CallOption) (*Result, error)
	GetResult(ctx context.Context, in *GetResultRequest, opts ...grpc.CallOption) (*Result, error)
	DeleteResult(ctx context.Context, in *DeleteResultRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ListResults(ctx context.Context, in *ListResultsRequest, opts ...grpc.CallOption) (*ListResultsResponse, error)
	CreateRecord(ctx context.Context, in *CreateRecordRequest, opts ...grpc.CallOption) (*Record, error)
	UpdateRecord(ctx context.Context, in *UpdateRecordRequest, opts ...grpc.CallOption) (*Record, error)
	GetRecord(ctx context.Context, in *GetRecordRequest, opts ...grpc.CallOption) (*Record, error)
	ListRecords(ctx context.Context, in *ListRecordsRequest, opts ...grpc.CallOption) (*ListRecordsResponse, error)
	DeleteRecord(ctx context.Context, in *DeleteRecordRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

ResultsClient is the client API for Results service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewResultsClient

func NewResultsClient(cc grpc.ClientConnInterface) ResultsClient

type ResultsServer

type ResultsServer interface {
	CreateResult(context.Context, *CreateResultRequest) (*Result, error)
	UpdateResult(context.Context, *UpdateResultRequest) (*Result, error)
	GetResult(context.Context, *GetResultRequest) (*Result, error)
	DeleteResult(context.Context, *DeleteResultRequest) (*empty.Empty, error)
	ListResults(context.Context, *ListResultsRequest) (*ListResultsResponse, error)
	CreateRecord(context.Context, *CreateRecordRequest) (*Record, error)
	UpdateRecord(context.Context, *UpdateRecordRequest) (*Record, error)
	GetRecord(context.Context, *GetRecordRequest) (*Record, error)
	ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error)
	DeleteRecord(context.Context, *DeleteRecordRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

ResultsServer is the server API for Results service. All implementations must embed UnimplementedResultsServer for forward compatibility

type UnimplementedResultsServer

type UnimplementedResultsServer struct {
}

UnimplementedResultsServer must be embedded to have forward compatible implementations.

func (UnimplementedResultsServer) CreateRecord

func (UnimplementedResultsServer) CreateResult

func (UnimplementedResultsServer) DeleteRecord

func (UnimplementedResultsServer) DeleteResult

func (UnimplementedResultsServer) GetRecord

func (UnimplementedResultsServer) GetResult

func (UnimplementedResultsServer) ListRecords

func (UnimplementedResultsServer) ListResults

func (UnimplementedResultsServer) UpdateRecord

func (UnimplementedResultsServer) UpdateResult

type UnsafeResultsServer

type UnsafeResultsServer interface {
	// contains filtered or unexported methods
}

UnsafeResultsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResultsServer will result in compilation errors.

type UpdateRecordRequest

type UpdateRecordRequest struct {
	Record     *Record               `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If set, then the request will succeed if and only if the provided etag
	// matches the server-computed value, else will fail.
	// Should be used to prevent concurrent updates from overwritting each other.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRecordRequest) Descriptor deprecated

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

Deprecated: Use UpdateRecordRequest.ProtoReflect.Descriptor instead.

func (*UpdateRecordRequest) GetEtag

func (x *UpdateRecordRequest) GetEtag() string

func (*UpdateRecordRequest) GetRecord

func (x *UpdateRecordRequest) GetRecord() *Record

func (*UpdateRecordRequest) GetUpdateMask

func (x *UpdateRecordRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateRecordRequest) ProtoMessage

func (*UpdateRecordRequest) ProtoMessage()

func (*UpdateRecordRequest) ProtoReflect

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

func (*UpdateRecordRequest) Reset

func (x *UpdateRecordRequest) Reset()

func (*UpdateRecordRequest) String

func (x *UpdateRecordRequest) String() string

type UpdateResultRequest

type UpdateResultRequest struct {
	Name   string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// If set, then the request will succeed if and only if the provided etag
	// matches the server-computed value, else will fail.
	// Should be used to prevent concurrent updates from overwritting each other.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResultRequest) Descriptor deprecated

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

Deprecated: Use UpdateResultRequest.ProtoReflect.Descriptor instead.

func (*UpdateResultRequest) GetEtag

func (x *UpdateResultRequest) GetEtag() string

func (*UpdateResultRequest) GetName

func (x *UpdateResultRequest) GetName() string

func (*UpdateResultRequest) GetResult

func (x *UpdateResultRequest) GetResult() *Result

func (*UpdateResultRequest) ProtoMessage

func (*UpdateResultRequest) ProtoMessage()

func (*UpdateResultRequest) ProtoReflect

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

func (*UpdateResultRequest) Reset

func (x *UpdateResultRequest) Reset()

func (*UpdateResultRequest) String

func (x *UpdateResultRequest) String() string

Jump to

Keyboard shortcuts

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