|
|
|
@@ -23,11 +23,10 @@ const (
|
|
|
|
|
type ResourceOperation int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
ResourceOperation_UNKNOWN ResourceOperation = 0
|
|
|
|
|
ResourceOperation_CREATED ResourceOperation = 1
|
|
|
|
|
ResourceOperation_UPDATED ResourceOperation = 2
|
|
|
|
|
ResourceOperation_DELETED ResourceOperation = 3
|
|
|
|
|
ResourceOperation_BOOKMARK ResourceOperation = 4
|
|
|
|
|
ResourceOperation_UNKNOWN ResourceOperation = 0
|
|
|
|
|
ResourceOperation_CREATED ResourceOperation = 1
|
|
|
|
|
ResourceOperation_UPDATED ResourceOperation = 2
|
|
|
|
|
ResourceOperation_DELETED ResourceOperation = 3
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for ResourceOperation.
|
|
|
|
@@ -37,14 +36,12 @@ var (
|
|
|
|
|
1: "CREATED",
|
|
|
|
|
2: "UPDATED",
|
|
|
|
|
3: "DELETED",
|
|
|
|
|
4: "BOOKMARK",
|
|
|
|
|
}
|
|
|
|
|
ResourceOperation_value = map[string]int32{
|
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
|
"CREATED": 1,
|
|
|
|
|
"UPDATED": 2,
|
|
|
|
|
"DELETED": 3,
|
|
|
|
|
"BOOKMARK": 4,
|
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
|
"CREATED": 1,
|
|
|
|
|
"UPDATED": 2,
|
|
|
|
|
"DELETED": 3,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@@ -222,6 +219,64 @@ func (Sort_Order) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_resource_proto_rawDescGZIP(), []int{17, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type WatchEvent_Type int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
WatchEvent_UNKNOWN WatchEvent_Type = 0
|
|
|
|
|
WatchEvent_ADDED WatchEvent_Type = 1
|
|
|
|
|
WatchEvent_MODIFIED WatchEvent_Type = 2
|
|
|
|
|
WatchEvent_DELETED WatchEvent_Type = 3
|
|
|
|
|
WatchEvent_BOOKMARK WatchEvent_Type = 4
|
|
|
|
|
WatchEvent_ERROR WatchEvent_Type = 5
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for WatchEvent_Type.
|
|
|
|
|
var (
|
|
|
|
|
WatchEvent_Type_name = map[int32]string{
|
|
|
|
|
0: "UNKNOWN",
|
|
|
|
|
1: "ADDED",
|
|
|
|
|
2: "MODIFIED",
|
|
|
|
|
3: "DELETED",
|
|
|
|
|
4: "BOOKMARK",
|
|
|
|
|
5: "ERROR",
|
|
|
|
|
}
|
|
|
|
|
WatchEvent_Type_value = map[string]int32{
|
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
|
"ADDED": 1,
|
|
|
|
|
"MODIFIED": 2,
|
|
|
|
|
"DELETED": 3,
|
|
|
|
|
"BOOKMARK": 4,
|
|
|
|
|
"ERROR": 5,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x WatchEvent_Type) Enum() *WatchEvent_Type {
|
|
|
|
|
p := new(WatchEvent_Type)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x WatchEvent_Type) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (WatchEvent_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_resource_proto_enumTypes[4].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (WatchEvent_Type) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_resource_proto_enumTypes[4]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x WatchEvent_Type) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use WatchEvent_Type.Descriptor instead.
|
|
|
|
|
func (WatchEvent_Type) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_resource_proto_rawDescGZIP(), []int{22, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type HealthCheckResponse_ServingStatus int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
@@ -258,11 +313,11 @@ func (x HealthCheckResponse_ServingStatus) String() string {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_resource_proto_enumTypes[4].Descriptor()
|
|
|
|
|
return file_resource_proto_enumTypes[5].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (HealthCheckResponse_ServingStatus) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_resource_proto_enumTypes[4]
|
|
|
|
|
return &file_resource_proto_enumTypes[5]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x HealthCheckResponse_ServingStatus) Number() protoreflect.EnumNumber {
|
|
|
|
@@ -1857,21 +1912,25 @@ func (x *WatchRequest) GetAllowWatchBookmarks() bool {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type WatchResponse struct {
|
|
|
|
|
type WatchEvent struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// Timestamp the event was sent
|
|
|
|
|
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
|
|
|
// Entity that was created, updated, or deleted
|
|
|
|
|
Resource *ResourceWrapper `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
|
|
|
|
|
// previous version of the entity (in update+delete events)
|
|
|
|
|
Previous *ResourceWrapper `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"`
|
|
|
|
|
// Timestamp the event was sent
|
|
|
|
|
Type WatchEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=resource.WatchEvent_Type" json:"type,omitempty"`
|
|
|
|
|
// Resource version for the object
|
|
|
|
|
Resource *WatchEvent_Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
|
|
|
|
|
// Previous resource version (for update+delete)
|
|
|
|
|
Previous *WatchEvent_Resource `protobuf:"bytes,4,opt,name=previous,proto3" json:"previous,omitempty"`
|
|
|
|
|
// The commit message that triggered this change
|
|
|
|
|
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchResponse) Reset() {
|
|
|
|
|
*x = WatchResponse{}
|
|
|
|
|
func (x *WatchEvent) Reset() {
|
|
|
|
|
*x = WatchEvent{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_resource_proto_msgTypes[22]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
@@ -1879,13 +1938,13 @@ func (x *WatchResponse) Reset() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchResponse) String() string {
|
|
|
|
|
func (x *WatchEvent) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*WatchResponse) ProtoMessage() {}
|
|
|
|
|
func (*WatchEvent) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *WatchResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
func (x *WatchEvent) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_resource_proto_msgTypes[22]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
@@ -1897,32 +1956,46 @@ func (x *WatchResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*WatchResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
// Deprecated: Use WatchEvent.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*WatchEvent) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_resource_proto_rawDescGZIP(), []int{22}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchResponse) GetTimestamp() int64 {
|
|
|
|
|
func (x *WatchEvent) GetTimestamp() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Timestamp
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchResponse) GetResource() *ResourceWrapper {
|
|
|
|
|
func (x *WatchEvent) GetType() WatchEvent_Type {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return WatchEvent_UNKNOWN
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchEvent) GetResource() *WatchEvent_Resource {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Resource
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchResponse) GetPrevious() *ResourceWrapper {
|
|
|
|
|
func (x *WatchEvent) GetPrevious() *WatchEvent_Resource {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Previous
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchEvent) GetMessage() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Message
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type HistoryRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
@@ -2399,6 +2472,61 @@ func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus {
|
|
|
|
|
return HealthCheckResponse_UNKNOWN
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type WatchEvent_Resource struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchEvent_Resource) Reset() {
|
|
|
|
|
*x = WatchEvent_Resource{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_resource_proto_msgTypes[30]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchEvent_Resource) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*WatchEvent_Resource) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *WatchEvent_Resource) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_resource_proto_msgTypes[30]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use WatchEvent_Resource.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*WatchEvent_Resource) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_resource_proto_rawDescGZIP(), []int{22, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchEvent_Resource) GetVersion() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WatchEvent_Resource) GetValue() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Value
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_resource_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_resource_proto_rawDesc = []byte{
|
|
|
|
@@ -2605,92 +2733,105 @@ var file_resource_proto_rawDesc = []byte{
|
|
|
|
|
0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x77, 0x61, 0x74, 0x63,
|
|
|
|
|
0x68, 0x5f, 0x62, 0x6f, 0x6f, 0x6b, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
|
0x08, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x57, 0x61, 0x74, 0x63, 0x68, 0x42, 0x6f, 0x6f,
|
|
|
|
|
0x6b, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x0d, 0x57, 0x61, 0x74, 0x63, 0x68,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
|
|
|
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d,
|
|
|
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x35, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
|
|
|
0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x57, 0x72, 0x61, 0x70,
|
|
|
|
|
0x70, 0x65, 0x72, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x35, 0x0a,
|
|
|
|
|
0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x19, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x65, 0x76,
|
|
|
|
|
0x69, 0x6f, 0x75, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f,
|
|
|
|
|
0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
|
|
|
|
|
0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
|
|
|
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21,
|
|
|
|
|
0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
|
|
|
0x64, 0x22, 0x92, 0x01, 0x0a, 0x0f, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01,
|
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
|
|
|
|
|
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x05, 0x69, 0x74,
|
|
|
|
|
0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
|
|
|
|
|
0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
|
|
|
|
|
0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72,
|
|
|
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56,
|
|
|
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x67, 0x69,
|
|
|
|
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
|
|
|
|
|
0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52,
|
|
|
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
|
|
|
0x6b, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x22, 0xf9, 0x02, 0x0a, 0x0a, 0x57, 0x61, 0x74, 0x63, 0x68,
|
|
|
|
|
0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
|
|
|
0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
|
|
|
0x61, 0x6d, 0x70, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0e, 0x32, 0x19, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x57, 0x61, 0x74,
|
|
|
|
|
0x63, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
|
|
|
|
|
0x70, 0x65, 0x12, 0x39, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
|
|
|
|
|
0x57, 0x61, 0x74, 0x63, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x0a,
|
|
|
|
|
0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x1d, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68,
|
|
|
|
|
0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08,
|
|
|
|
|
0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
|
|
|
|
|
0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
|
|
0x67, 0x65, 0x1a, 0x3a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18,
|
|
|
|
|
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x52,
|
|
|
|
|
0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
|
|
|
|
|
0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c,
|
|
|
|
|
0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07,
|
|
|
|
|
0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x4f, 0x4f,
|
|
|
|
|
0x4b, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52,
|
|
|
|
|
0x10, 0x05, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61,
|
|
|
|
|
0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
|
|
|
|
0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a,
|
|
|
|
|
0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69,
|
|
|
|
|
0x6d, 0x69, 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f,
|
|
|
|
|
0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c,
|
|
|
|
|
0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22,
|
|
|
|
|
0x92, 0x01, 0x0a, 0x0f, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x16, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d,
|
|
|
|
|
0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
|
|
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
|
|
|
|
|
0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73,
|
|
|
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72,
|
|
|
|
|
0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70,
|
|
|
|
|
0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14,
|
|
|
|
|
0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c,
|
|
|
|
|
0x69, 0x6d, 0x69, 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73,
|
|
|
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x16, 0x0a,
|
|
|
|
|
0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f,
|
|
|
|
|
0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
|
|
|
0x63, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x0a, 0x03,
|
|
|
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x6f,
|
|
|
|
|
0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79,
|
|
|
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
|
|
|
0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f,
|
|
|
|
|
0x75, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27,
|
|
|
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b,
|
|
|
|
|
0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c,
|
|
|
|
|
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d,
|
|
|
|
|
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x61, 0x73,
|
|
|
|
|
0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74,
|
|
|
|
|
0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73,
|
|
|
|
|
0x68, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22,
|
|
|
|
|
0x97, 0x01, 0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73,
|
|
|
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
|
|
|
|
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70,
|
|
|
|
|
0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29,
|
|
|
|
|
0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
|
|
|
0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x0a, 0x12, 0x48, 0x65, 0x61,
|
|
|
|
|
0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x13, 0x48, 0x65,
|
|
|
|
|
0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x43, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0e, 0x32, 0x2b, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x61,
|
|
|
|
|
0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
|
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4f, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e,
|
|
|
|
|
0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
|
|
|
|
|
0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47, 0x10,
|
|
|
|
|
0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47,
|
|
|
|
|
0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x55, 0x4e,
|
|
|
|
|
0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x2a, 0x55, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07,
|
|
|
|
|
0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45,
|
|
|
|
|
0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
|
|
|
|
|
0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03,
|
|
|
|
|
0x12, 0x0c, 0x0a, 0x08, 0x42, 0x4f, 0x4f, 0x4b, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x04, 0x2a, 0x33,
|
|
|
|
|
0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
|
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x68,
|
|
|
|
|
0x61, 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12,
|
|
|
|
|
0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x97, 0x01,
|
|
|
|
|
0x0a, 0x0e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x32, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x1c, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x69,
|
|
|
|
|
0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67,
|
|
|
|
|
0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e,
|
|
|
|
|
0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x10,
|
|
|
|
|
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
|
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74,
|
|
|
|
|
0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
|
|
|
|
0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
|
|
|
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c,
|
|
|
|
|
0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x43, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
|
|
|
0x2b, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74,
|
|
|
|
|
0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53,
|
|
|
|
|
0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
|
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x22, 0x4f, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
|
|
|
|
|
0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12,
|
|
|
|
|
0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x02,
|
|
|
|
|
0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
|
|
|
|
|
0x4f, 0x57, 0x4e, 0x10, 0x03, 0x2a, 0x47, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
|
|
|
0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e,
|
|
|
|
|
0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45, 0x41, 0x54,
|
|
|
|
|
0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x10,
|
|
|
|
|
0x02, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a, 0x33,
|
|
|
|
|
0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
|
|
|
0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x4f, 0x6c, 0x64,
|
|
|
|
|
0x65, 0x72, 0x54, 0x68, 0x61, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x78, 0x61, 0x63,
|
|
|
|
|
0x74, 0x10, 0x01, 0x32, 0xf0, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
|
|
0x74, 0x10, 0x01, 0x32, 0xed, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
|
|
0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x15, 0x2e,
|
|
|
|
|
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
|
|
|
|
@@ -2709,37 +2850,37 @@ var file_resource_proto_rawDesc = []byte{
|
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4c, 0x69,
|
|
|
|
|
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x57, 0x61,
|
|
|
|
|
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x57, 0x61,
|
|
|
|
|
0x74, 0x63, 0x68, 0x12, 0x16, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x57,
|
|
|
|
|
0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x32, 0x84, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x35, 0x0a, 0x04, 0x52, 0x65, 0x61,
|
|
|
|
|
0x64, 0x12, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x61,
|
|
|
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x3e, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x18, 0x2e, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
|
|
0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x3e, 0x0a, 0x07, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x2e, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
|
|
0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x3b, 0x0a, 0x06, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x17, 0x2e, 0x72, 0x65, 0x73,
|
|
|
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4f,
|
|
|
|
|
0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x57, 0x0a,
|
|
|
|
|
0x0b, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x48, 0x0a, 0x09,
|
|
|
|
|
0x49, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x73, 0x6f,
|
|
|
|
|
0x75, 0x72, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
|
|
|
0x63, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
|
|
|
|
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x61, 0x6e, 0x61, 0x2f, 0x67, 0x72, 0x61,
|
|
|
|
|
0x66, 0x61, 0x6e, 0x61, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
|
|
|
|
|
0x2f, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
|
|
|
0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x72, 0x65,
|
|
|
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x45, 0x76, 0x65, 0x6e,
|
|
|
|
|
0x74, 0x30, 0x01, 0x32, 0x84, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
|
|
0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x35, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x15,
|
|
|
|
|
0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
|
|
0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a,
|
|
|
|
|
0x07, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x18, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x47, 0x65,
|
|
|
|
|
0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a,
|
|
|
|
|
0x07, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
|
|
|
0x72, 0x63, 0x65, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x48, 0x69,
|
|
|
|
|
0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a,
|
|
|
|
|
0x06, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x17, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
|
|
|
0x63, 0x65, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x1a, 0x18, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4f, 0x72, 0x69, 0x67,
|
|
|
|
|
0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x57, 0x0a, 0x0b, 0x44, 0x69,
|
|
|
|
|
0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x48, 0x0a, 0x09, 0x49, 0x73, 0x48,
|
|
|
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x1c, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
|
|
|
0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
|
|
|
|
|
0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
|
0x6d, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x61, 0x6e, 0x61, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x61, 0x6e,
|
|
|
|
|
0x61, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x75, 0x6e,
|
|
|
|
|
0x69, 0x66, 0x69, 0x65, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x62, 0x06,
|
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@@ -2754,105 +2895,108 @@ func file_resource_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_resource_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
|
|
|
|
|
var file_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
|
|
|
|
var file_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
|
|
|
|
|
var file_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 31)
|
|
|
|
|
var file_resource_proto_goTypes = []interface{}{
|
|
|
|
|
(ResourceOperation)(0), // 0: resource.ResourceOperation
|
|
|
|
|
(ResourceVersionMatch)(0), // 1: resource.ResourceVersionMatch
|
|
|
|
|
(LinkBlob_Action)(0), // 2: resource.LinkBlob.Action
|
|
|
|
|
(Sort_Order)(0), // 3: resource.Sort.Order
|
|
|
|
|
(HealthCheckResponse_ServingStatus)(0), // 4: resource.HealthCheckResponse.ServingStatus
|
|
|
|
|
(*ResourceKey)(nil), // 5: resource.ResourceKey
|
|
|
|
|
(*ResourceWrapper)(nil), // 6: resource.ResourceWrapper
|
|
|
|
|
(*ResourceMeta)(nil), // 7: resource.ResourceMeta
|
|
|
|
|
(*BlobInfo)(nil), // 8: resource.BlobInfo
|
|
|
|
|
(*StatusResult)(nil), // 9: resource.StatusResult
|
|
|
|
|
(*LinkBlob)(nil), // 10: resource.LinkBlob
|
|
|
|
|
(*CreateRequest)(nil), // 11: resource.CreateRequest
|
|
|
|
|
(*CreateResponse)(nil), // 12: resource.CreateResponse
|
|
|
|
|
(*UpdateRequest)(nil), // 13: resource.UpdateRequest
|
|
|
|
|
(*UpdateResponse)(nil), // 14: resource.UpdateResponse
|
|
|
|
|
(*DeleteRequest)(nil), // 15: resource.DeleteRequest
|
|
|
|
|
(*DeleteResponse)(nil), // 16: resource.DeleteResponse
|
|
|
|
|
(*ReadRequest)(nil), // 17: resource.ReadRequest
|
|
|
|
|
(*ReadResponse)(nil), // 18: resource.ReadResponse
|
|
|
|
|
(*GetBlobRequest)(nil), // 19: resource.GetBlobRequest
|
|
|
|
|
(*GetBlobResponse)(nil), // 20: resource.GetBlobResponse
|
|
|
|
|
(*Requirement)(nil), // 21: resource.Requirement
|
|
|
|
|
(*Sort)(nil), // 22: resource.Sort
|
|
|
|
|
(*ListOptions)(nil), // 23: resource.ListOptions
|
|
|
|
|
(*ListRequest)(nil), // 24: resource.ListRequest
|
|
|
|
|
(*ListResponse)(nil), // 25: resource.ListResponse
|
|
|
|
|
(*WatchRequest)(nil), // 26: resource.WatchRequest
|
|
|
|
|
(*WatchResponse)(nil), // 27: resource.WatchResponse
|
|
|
|
|
(*HistoryRequest)(nil), // 28: resource.HistoryRequest
|
|
|
|
|
(*HistoryResponse)(nil), // 29: resource.HistoryResponse
|
|
|
|
|
(*OriginRequest)(nil), // 30: resource.OriginRequest
|
|
|
|
|
(*ResourceOriginInfo)(nil), // 31: resource.ResourceOriginInfo
|
|
|
|
|
(*OriginResponse)(nil), // 32: resource.OriginResponse
|
|
|
|
|
(*HealthCheckRequest)(nil), // 33: resource.HealthCheckRequest
|
|
|
|
|
(*HealthCheckResponse)(nil), // 34: resource.HealthCheckResponse
|
|
|
|
|
(WatchEvent_Type)(0), // 4: resource.WatchEvent.Type
|
|
|
|
|
(HealthCheckResponse_ServingStatus)(0), // 5: resource.HealthCheckResponse.ServingStatus
|
|
|
|
|
(*ResourceKey)(nil), // 6: resource.ResourceKey
|
|
|
|
|
(*ResourceWrapper)(nil), // 7: resource.ResourceWrapper
|
|
|
|
|
(*ResourceMeta)(nil), // 8: resource.ResourceMeta
|
|
|
|
|
(*BlobInfo)(nil), // 9: resource.BlobInfo
|
|
|
|
|
(*StatusResult)(nil), // 10: resource.StatusResult
|
|
|
|
|
(*LinkBlob)(nil), // 11: resource.LinkBlob
|
|
|
|
|
(*CreateRequest)(nil), // 12: resource.CreateRequest
|
|
|
|
|
(*CreateResponse)(nil), // 13: resource.CreateResponse
|
|
|
|
|
(*UpdateRequest)(nil), // 14: resource.UpdateRequest
|
|
|
|
|
(*UpdateResponse)(nil), // 15: resource.UpdateResponse
|
|
|
|
|
(*DeleteRequest)(nil), // 16: resource.DeleteRequest
|
|
|
|
|
(*DeleteResponse)(nil), // 17: resource.DeleteResponse
|
|
|
|
|
(*ReadRequest)(nil), // 18: resource.ReadRequest
|
|
|
|
|
(*ReadResponse)(nil), // 19: resource.ReadResponse
|
|
|
|
|
(*GetBlobRequest)(nil), // 20: resource.GetBlobRequest
|
|
|
|
|
(*GetBlobResponse)(nil), // 21: resource.GetBlobResponse
|
|
|
|
|
(*Requirement)(nil), // 22: resource.Requirement
|
|
|
|
|
(*Sort)(nil), // 23: resource.Sort
|
|
|
|
|
(*ListOptions)(nil), // 24: resource.ListOptions
|
|
|
|
|
(*ListRequest)(nil), // 25: resource.ListRequest
|
|
|
|
|
(*ListResponse)(nil), // 26: resource.ListResponse
|
|
|
|
|
(*WatchRequest)(nil), // 27: resource.WatchRequest
|
|
|
|
|
(*WatchEvent)(nil), // 28: resource.WatchEvent
|
|
|
|
|
(*HistoryRequest)(nil), // 29: resource.HistoryRequest
|
|
|
|
|
(*HistoryResponse)(nil), // 30: resource.HistoryResponse
|
|
|
|
|
(*OriginRequest)(nil), // 31: resource.OriginRequest
|
|
|
|
|
(*ResourceOriginInfo)(nil), // 32: resource.ResourceOriginInfo
|
|
|
|
|
(*OriginResponse)(nil), // 33: resource.OriginResponse
|
|
|
|
|
(*HealthCheckRequest)(nil), // 34: resource.HealthCheckRequest
|
|
|
|
|
(*HealthCheckResponse)(nil), // 35: resource.HealthCheckResponse
|
|
|
|
|
(*WatchEvent_Resource)(nil), // 36: resource.WatchEvent.Resource
|
|
|
|
|
}
|
|
|
|
|
var file_resource_proto_depIdxs = []int32{
|
|
|
|
|
0, // 0: resource.ResourceWrapper.operation:type_name -> resource.ResourceOperation
|
|
|
|
|
0, // 1: resource.ResourceMeta.operation:type_name -> resource.ResourceOperation
|
|
|
|
|
5, // 2: resource.CreateRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
10, // 3: resource.CreateRequest.blob:type_name -> resource.LinkBlob
|
|
|
|
|
9, // 4: resource.CreateResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
5, // 5: resource.UpdateRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
10, // 6: resource.UpdateRequest.blob:type_name -> resource.LinkBlob
|
|
|
|
|
9, // 7: resource.UpdateResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
5, // 8: resource.DeleteRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
9, // 9: resource.DeleteResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
5, // 10: resource.ReadRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
9, // 11: resource.ReadResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
5, // 12: resource.GetBlobRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
9, // 13: resource.GetBlobResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
8, // 14: resource.GetBlobResponse.info:type_name -> resource.BlobInfo
|
|
|
|
|
6, // 2: resource.CreateRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
11, // 3: resource.CreateRequest.blob:type_name -> resource.LinkBlob
|
|
|
|
|
10, // 4: resource.CreateResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
6, // 5: resource.UpdateRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
11, // 6: resource.UpdateRequest.blob:type_name -> resource.LinkBlob
|
|
|
|
|
10, // 7: resource.UpdateResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
6, // 8: resource.DeleteRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
10, // 9: resource.DeleteResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
6, // 10: resource.ReadRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
10, // 11: resource.ReadResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
6, // 12: resource.GetBlobRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
10, // 13: resource.GetBlobResponse.status:type_name -> resource.StatusResult
|
|
|
|
|
9, // 14: resource.GetBlobResponse.info:type_name -> resource.BlobInfo
|
|
|
|
|
3, // 15: resource.Sort.order:type_name -> resource.Sort.Order
|
|
|
|
|
5, // 16: resource.ListOptions.key:type_name -> resource.ResourceKey
|
|
|
|
|
21, // 17: resource.ListOptions.labels:type_name -> resource.Requirement
|
|
|
|
|
21, // 18: resource.ListOptions.fields:type_name -> resource.Requirement
|
|
|
|
|
6, // 16: resource.ListOptions.key:type_name -> resource.ResourceKey
|
|
|
|
|
22, // 17: resource.ListOptions.labels:type_name -> resource.Requirement
|
|
|
|
|
22, // 18: resource.ListOptions.fields:type_name -> resource.Requirement
|
|
|
|
|
1, // 19: resource.ListRequest.version_match:type_name -> resource.ResourceVersionMatch
|
|
|
|
|
23, // 20: resource.ListRequest.options:type_name -> resource.ListOptions
|
|
|
|
|
22, // 21: resource.ListRequest.sort:type_name -> resource.Sort
|
|
|
|
|
6, // 22: resource.ListResponse.items:type_name -> resource.ResourceWrapper
|
|
|
|
|
23, // 23: resource.WatchRequest.options:type_name -> resource.ListOptions
|
|
|
|
|
6, // 24: resource.WatchResponse.resource:type_name -> resource.ResourceWrapper
|
|
|
|
|
6, // 25: resource.WatchResponse.previous:type_name -> resource.ResourceWrapper
|
|
|
|
|
5, // 26: resource.HistoryRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
7, // 27: resource.HistoryResponse.items:type_name -> resource.ResourceMeta
|
|
|
|
|
5, // 28: resource.OriginRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
5, // 29: resource.ResourceOriginInfo.key:type_name -> resource.ResourceKey
|
|
|
|
|
31, // 30: resource.OriginResponse.items:type_name -> resource.ResourceOriginInfo
|
|
|
|
|
4, // 31: resource.HealthCheckResponse.status:type_name -> resource.HealthCheckResponse.ServingStatus
|
|
|
|
|
17, // 32: resource.ResourceStore.Read:input_type -> resource.ReadRequest
|
|
|
|
|
11, // 33: resource.ResourceStore.Create:input_type -> resource.CreateRequest
|
|
|
|
|
13, // 34: resource.ResourceStore.Update:input_type -> resource.UpdateRequest
|
|
|
|
|
15, // 35: resource.ResourceStore.Delete:input_type -> resource.DeleteRequest
|
|
|
|
|
24, // 36: resource.ResourceStore.List:input_type -> resource.ListRequest
|
|
|
|
|
26, // 37: resource.ResourceStore.Watch:input_type -> resource.WatchRequest
|
|
|
|
|
17, // 38: resource.ResourceSearch.Read:input_type -> resource.ReadRequest
|
|
|
|
|
19, // 39: resource.ResourceSearch.GetBlob:input_type -> resource.GetBlobRequest
|
|
|
|
|
28, // 40: resource.ResourceSearch.History:input_type -> resource.HistoryRequest
|
|
|
|
|
30, // 41: resource.ResourceSearch.Origin:input_type -> resource.OriginRequest
|
|
|
|
|
33, // 42: resource.Diagnostics.IsHealthy:input_type -> resource.HealthCheckRequest
|
|
|
|
|
18, // 43: resource.ResourceStore.Read:output_type -> resource.ReadResponse
|
|
|
|
|
12, // 44: resource.ResourceStore.Create:output_type -> resource.CreateResponse
|
|
|
|
|
14, // 45: resource.ResourceStore.Update:output_type -> resource.UpdateResponse
|
|
|
|
|
16, // 46: resource.ResourceStore.Delete:output_type -> resource.DeleteResponse
|
|
|
|
|
25, // 47: resource.ResourceStore.List:output_type -> resource.ListResponse
|
|
|
|
|
27, // 48: resource.ResourceStore.Watch:output_type -> resource.WatchResponse
|
|
|
|
|
18, // 49: resource.ResourceSearch.Read:output_type -> resource.ReadResponse
|
|
|
|
|
20, // 50: resource.ResourceSearch.GetBlob:output_type -> resource.GetBlobResponse
|
|
|
|
|
29, // 51: resource.ResourceSearch.History:output_type -> resource.HistoryResponse
|
|
|
|
|
32, // 52: resource.ResourceSearch.Origin:output_type -> resource.OriginResponse
|
|
|
|
|
34, // 53: resource.Diagnostics.IsHealthy:output_type -> resource.HealthCheckResponse
|
|
|
|
|
43, // [43:54] is the sub-list for method output_type
|
|
|
|
|
32, // [32:43] is the sub-list for method input_type
|
|
|
|
|
32, // [32:32] is the sub-list for extension type_name
|
|
|
|
|
32, // [32:32] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:32] is the sub-list for field type_name
|
|
|
|
|
24, // 20: resource.ListRequest.options:type_name -> resource.ListOptions
|
|
|
|
|
23, // 21: resource.ListRequest.sort:type_name -> resource.Sort
|
|
|
|
|
7, // 22: resource.ListResponse.items:type_name -> resource.ResourceWrapper
|
|
|
|
|
24, // 23: resource.WatchRequest.options:type_name -> resource.ListOptions
|
|
|
|
|
4, // 24: resource.WatchEvent.type:type_name -> resource.WatchEvent.Type
|
|
|
|
|
36, // 25: resource.WatchEvent.resource:type_name -> resource.WatchEvent.Resource
|
|
|
|
|
36, // 26: resource.WatchEvent.previous:type_name -> resource.WatchEvent.Resource
|
|
|
|
|
6, // 27: resource.HistoryRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
8, // 28: resource.HistoryResponse.items:type_name -> resource.ResourceMeta
|
|
|
|
|
6, // 29: resource.OriginRequest.key:type_name -> resource.ResourceKey
|
|
|
|
|
6, // 30: resource.ResourceOriginInfo.key:type_name -> resource.ResourceKey
|
|
|
|
|
32, // 31: resource.OriginResponse.items:type_name -> resource.ResourceOriginInfo
|
|
|
|
|
5, // 32: resource.HealthCheckResponse.status:type_name -> resource.HealthCheckResponse.ServingStatus
|
|
|
|
|
18, // 33: resource.ResourceStore.Read:input_type -> resource.ReadRequest
|
|
|
|
|
12, // 34: resource.ResourceStore.Create:input_type -> resource.CreateRequest
|
|
|
|
|
14, // 35: resource.ResourceStore.Update:input_type -> resource.UpdateRequest
|
|
|
|
|
16, // 36: resource.ResourceStore.Delete:input_type -> resource.DeleteRequest
|
|
|
|
|
25, // 37: resource.ResourceStore.List:input_type -> resource.ListRequest
|
|
|
|
|
27, // 38: resource.ResourceStore.Watch:input_type -> resource.WatchRequest
|
|
|
|
|
18, // 39: resource.ResourceSearch.Read:input_type -> resource.ReadRequest
|
|
|
|
|
20, // 40: resource.ResourceSearch.GetBlob:input_type -> resource.GetBlobRequest
|
|
|
|
|
29, // 41: resource.ResourceSearch.History:input_type -> resource.HistoryRequest
|
|
|
|
|
31, // 42: resource.ResourceSearch.Origin:input_type -> resource.OriginRequest
|
|
|
|
|
34, // 43: resource.Diagnostics.IsHealthy:input_type -> resource.HealthCheckRequest
|
|
|
|
|
19, // 44: resource.ResourceStore.Read:output_type -> resource.ReadResponse
|
|
|
|
|
13, // 45: resource.ResourceStore.Create:output_type -> resource.CreateResponse
|
|
|
|
|
15, // 46: resource.ResourceStore.Update:output_type -> resource.UpdateResponse
|
|
|
|
|
17, // 47: resource.ResourceStore.Delete:output_type -> resource.DeleteResponse
|
|
|
|
|
26, // 48: resource.ResourceStore.List:output_type -> resource.ListResponse
|
|
|
|
|
28, // 49: resource.ResourceStore.Watch:output_type -> resource.WatchEvent
|
|
|
|
|
19, // 50: resource.ResourceSearch.Read:output_type -> resource.ReadResponse
|
|
|
|
|
21, // 51: resource.ResourceSearch.GetBlob:output_type -> resource.GetBlobResponse
|
|
|
|
|
30, // 52: resource.ResourceSearch.History:output_type -> resource.HistoryResponse
|
|
|
|
|
33, // 53: resource.ResourceSearch.Origin:output_type -> resource.OriginResponse
|
|
|
|
|
35, // 54: resource.Diagnostics.IsHealthy:output_type -> resource.HealthCheckResponse
|
|
|
|
|
44, // [44:55] is the sub-list for method output_type
|
|
|
|
|
33, // [33:44] is the sub-list for method input_type
|
|
|
|
|
33, // [33:33] is the sub-list for extension type_name
|
|
|
|
|
33, // [33:33] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:33] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_resource_proto_init() }
|
|
|
|
@@ -3126,7 +3270,7 @@ func file_resource_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_resource_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*WatchResponse); i {
|
|
|
|
|
switch v := v.(*WatchEvent); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@@ -3221,14 +3365,26 @@ func file_resource_proto_init() {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_resource_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*WatchEvent_Resource); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_resource_proto_rawDesc,
|
|
|
|
|
NumEnums: 5,
|
|
|
|
|
NumMessages: 30,
|
|
|
|
|
NumEnums: 6,
|
|
|
|
|
NumMessages: 31,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 3,
|
|
|
|
|
},
|
|
|
|
|