- Network-policy SPIRE plugin extension - Governance event notification with merkle anchoring - Shellstream specs for consent channels + HFL embedded ABI - All 17 audit findings from AUDIT.md remediated - SSH credential composer + substrate key manager updates - Test coverage for config + sshcert packages Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
644 lines
24 KiB
Go
644 lines
24 KiB
Go
// Source of truth: guildhouse monorepo
|
|
// services/qm-proto/proto/quartermaster/v1/notary.proto
|
|
// This file is a copy for Go code generation. Do not edit here.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.21.12
|
|
// source: quartermaster/v1/notary.proto
|
|
|
|
package quartermasterv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type CreateAnchorRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
Leaves [][]byte `protobuf:"bytes,2,rep,name=leaves,proto3" json:"leaves,omitempty"`
|
|
EtcdRevision int64 `protobuf:"varint,3,opt,name=etcd_revision,json=etcdRevision,proto3" json:"etcd_revision,omitempty"` // 0 means not set
|
|
}
|
|
|
|
func (x *CreateAnchorRequest) Reset() {
|
|
*x = CreateAnchorRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateAnchorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAnchorRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateAnchorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[0]
|
|
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 CreateAnchorRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateAnchorRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_notary_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateAnchorRequest) GetClusterId() string {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAnchorRequest) GetLeaves() [][]byte {
|
|
if x != nil {
|
|
return x.Leaves
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateAnchorRequest) GetEtcdRevision() int64 {
|
|
if x != nil {
|
|
return x.EtcdRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateAnchorResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AnchorId string `protobuf:"bytes,1,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty"`
|
|
MerkleRoot []byte `protobuf:"bytes,2,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
|
|
PreviousRoot []byte `protobuf:"bytes,3,opt,name=previous_root,json=previousRoot,proto3" json:"previous_root,omitempty"`
|
|
LeafCount int32 `protobuf:"varint,4,opt,name=leaf_count,json=leafCount,proto3" json:"leaf_count,omitempty"`
|
|
Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
|
|
}
|
|
|
|
func (x *CreateAnchorResponse) Reset() {
|
|
*x = CreateAnchorResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateAnchorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAnchorResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateAnchorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[1]
|
|
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 CreateAnchorResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateAnchorResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_notary_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateAnchorResponse) GetAnchorId() string {
|
|
if x != nil {
|
|
return x.AnchorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAnchorResponse) GetMerkleRoot() []byte {
|
|
if x != nil {
|
|
return x.MerkleRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateAnchorResponse) GetPreviousRoot() []byte {
|
|
if x != nil {
|
|
return x.PreviousRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateAnchorResponse) GetLeafCount() int32 {
|
|
if x != nil {
|
|
return x.LeafCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateAnchorResponse) GetTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetLatestAnchorRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetLatestAnchorRequest) Reset() {
|
|
*x = GetLatestAnchorRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetLatestAnchorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLatestAnchorRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLatestAnchorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[2]
|
|
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 GetLatestAnchorRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLatestAnchorRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_notary_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetLatestAnchorRequest) GetClusterId() string {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLatestAnchorResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AnchorId string `protobuf:"bytes,1,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty"`
|
|
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
MerkleRoot []byte `protobuf:"bytes,3,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
|
|
PreviousRoot []byte `protobuf:"bytes,4,opt,name=previous_root,json=previousRoot,proto3" json:"previous_root,omitempty"`
|
|
EtcdRevision int64 `protobuf:"varint,5,opt,name=etcd_revision,json=etcdRevision,proto3" json:"etcd_revision,omitempty"`
|
|
LeafCount int32 `protobuf:"varint,6,opt,name=leaf_count,json=leafCount,proto3" json:"leaf_count,omitempty"`
|
|
Time *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"`
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) Reset() {
|
|
*x = GetLatestAnchorResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLatestAnchorResponse) ProtoMessage() {}
|
|
|
|
func (x *GetLatestAnchorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[3]
|
|
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 GetLatestAnchorResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetLatestAnchorResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_notary_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) GetAnchorId() string {
|
|
if x != nil {
|
|
return x.AnchorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) GetClusterId() string {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) GetMerkleRoot() []byte {
|
|
if x != nil {
|
|
return x.MerkleRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) GetPreviousRoot() []byte {
|
|
if x != nil {
|
|
return x.PreviousRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) GetEtcdRevision() int64 {
|
|
if x != nil {
|
|
return x.EtcdRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) GetLeafCount() int32 {
|
|
if x != nil {
|
|
return x.LeafCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetLatestAnchorResponse) GetTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VerifyInclusionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AnchorId string `protobuf:"bytes,1,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty"`
|
|
Leaf []byte `protobuf:"bytes,2,opt,name=leaf,proto3" json:"leaf,omitempty"`
|
|
Proof [][]byte `protobuf:"bytes,3,rep,name=proof,proto3" json:"proof,omitempty"`
|
|
}
|
|
|
|
func (x *VerifyInclusionRequest) Reset() {
|
|
*x = VerifyInclusionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *VerifyInclusionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyInclusionRequest) ProtoMessage() {}
|
|
|
|
func (x *VerifyInclusionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[4]
|
|
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 VerifyInclusionRequest.ProtoReflect.Descriptor instead.
|
|
func (*VerifyInclusionRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_notary_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *VerifyInclusionRequest) GetAnchorId() string {
|
|
if x != nil {
|
|
return x.AnchorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerifyInclusionRequest) GetLeaf() []byte {
|
|
if x != nil {
|
|
return x.Leaf
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VerifyInclusionRequest) GetProof() [][]byte {
|
|
if x != nil {
|
|
return x.Proof
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VerifyInclusionResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
|
|
}
|
|
|
|
func (x *VerifyInclusionResponse) Reset() {
|
|
*x = VerifyInclusionResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *VerifyInclusionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyInclusionResponse) ProtoMessage() {}
|
|
|
|
func (x *VerifyInclusionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_notary_proto_msgTypes[5]
|
|
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 VerifyInclusionResponse.ProtoReflect.Descriptor instead.
|
|
func (*VerifyInclusionResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_notary_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *VerifyInclusionResponse) GetValid() bool {
|
|
if x != nil {
|
|
return x.Valid
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_quartermaster_v1_notary_proto protoreflect.FileDescriptor
|
|
|
|
var file_quartermaster_v1_notary_proto_rawDesc = []byte{
|
|
0x0a, 0x1d, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2f,
|
|
0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x61, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x10, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76,
|
|
0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x22, 0x71, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x63, 0x68,
|
|
0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75,
|
|
0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63,
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x76,
|
|
0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x73,
|
|
0x12, 0x23, 0x0a, 0x0d, 0x65, 0x74, 0x63, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x74, 0x63, 0x64, 0x52, 0x65, 0x76,
|
|
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xc8, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b,
|
|
0x0a, 0x09, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x08, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d,
|
|
0x65, 0x72, 0x6b, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x0d,
|
|
0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x52, 0x6f, 0x6f,
|
|
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x61, 0x66, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6c, 0x65, 0x61, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65,
|
|
0x22, 0x37, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x63,
|
|
0x68, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c,
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8f, 0x02, 0x0a, 0x17, 0x47, 0x65,
|
|
0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72,
|
|
0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
|
|
0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x52, 0x6f,
|
|
0x6f, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x72,
|
|
0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x76, 0x69,
|
|
0x6f, 0x75, 0x73, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x74, 0x63, 0x64, 0x5f,
|
|
0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
0x65, 0x74, 0x63, 0x64, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
|
|
0x6c, 0x65, 0x61, 0x66, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x09, 0x6c, 0x65, 0x61, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x74,
|
|
0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x5f, 0x0a, 0x16, 0x56,
|
|
0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72,
|
|
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x65, 0x61, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x04, 0x6c, 0x65, 0x61, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18,
|
|
0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x2f, 0x0a, 0x17,
|
|
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x32, 0xc4, 0x02,
|
|
0x0a, 0x13, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e,
|
|
0x6f, 0x74, 0x61, 0x72, 0x79, 0x12, 0x5d, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
|
|
0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x25, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d,
|
|
0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
|
|
0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x71,
|
|
0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73,
|
|
0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x28, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65,
|
|
0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61,
|
|
0x74, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x29, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65,
|
|
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x6e,
|
|
0x63, 0x68, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x0f,
|
|
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x28, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x71, 0x75, 0x61, 0x72,
|
|
0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72,
|
|
0x69, 0x66, 0x79, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x42, 0x61, 0x5a, 0x5f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
|
0x6f, 0x6d, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2d, 0x63, 0x6f,
|
|
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x68,
|
|
0x6f, 0x75, 0x73, 0x65, 0x2d, 0x73, 0x70, 0x69, 0x72, 0x65, 0x2d, 0x70, 0x6c, 0x75, 0x67, 0x69,
|
|
0x6e, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61,
|
|
0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d,
|
|
0x61, 0x73, 0x74, 0x65, 0x72, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_quartermaster_v1_notary_proto_rawDescOnce sync.Once
|
|
file_quartermaster_v1_notary_proto_rawDescData = file_quartermaster_v1_notary_proto_rawDesc
|
|
)
|
|
|
|
func file_quartermaster_v1_notary_proto_rawDescGZIP() []byte {
|
|
file_quartermaster_v1_notary_proto_rawDescOnce.Do(func() {
|
|
file_quartermaster_v1_notary_proto_rawDescData = protoimpl.X.CompressGZIP(file_quartermaster_v1_notary_proto_rawDescData)
|
|
})
|
|
return file_quartermaster_v1_notary_proto_rawDescData
|
|
}
|
|
|
|
var file_quartermaster_v1_notary_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_quartermaster_v1_notary_proto_goTypes = []interface{}{
|
|
(*CreateAnchorRequest)(nil), // 0: quartermaster.v1.CreateAnchorRequest
|
|
(*CreateAnchorResponse)(nil), // 1: quartermaster.v1.CreateAnchorResponse
|
|
(*GetLatestAnchorRequest)(nil), // 2: quartermaster.v1.GetLatestAnchorRequest
|
|
(*GetLatestAnchorResponse)(nil), // 3: quartermaster.v1.GetLatestAnchorResponse
|
|
(*VerifyInclusionRequest)(nil), // 4: quartermaster.v1.VerifyInclusionRequest
|
|
(*VerifyInclusionResponse)(nil), // 5: quartermaster.v1.VerifyInclusionResponse
|
|
(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
|
|
}
|
|
var file_quartermaster_v1_notary_proto_depIdxs = []int32{
|
|
6, // 0: quartermaster.v1.CreateAnchorResponse.time:type_name -> google.protobuf.Timestamp
|
|
6, // 1: quartermaster.v1.GetLatestAnchorResponse.time:type_name -> google.protobuf.Timestamp
|
|
0, // 2: quartermaster.v1.QuartermasterNotary.CreateAnchor:input_type -> quartermaster.v1.CreateAnchorRequest
|
|
2, // 3: quartermaster.v1.QuartermasterNotary.GetLatestAnchor:input_type -> quartermaster.v1.GetLatestAnchorRequest
|
|
4, // 4: quartermaster.v1.QuartermasterNotary.VerifyInclusion:input_type -> quartermaster.v1.VerifyInclusionRequest
|
|
1, // 5: quartermaster.v1.QuartermasterNotary.CreateAnchor:output_type -> quartermaster.v1.CreateAnchorResponse
|
|
3, // 6: quartermaster.v1.QuartermasterNotary.GetLatestAnchor:output_type -> quartermaster.v1.GetLatestAnchorResponse
|
|
5, // 7: quartermaster.v1.QuartermasterNotary.VerifyInclusion:output_type -> quartermaster.v1.VerifyInclusionResponse
|
|
5, // [5:8] is the sub-list for method output_type
|
|
2, // [2:5] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_quartermaster_v1_notary_proto_init() }
|
|
func file_quartermaster_v1_notary_proto_init() {
|
|
if File_quartermaster_v1_notary_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_quartermaster_v1_notary_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateAnchorRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_notary_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateAnchorResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_notary_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetLatestAnchorRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_notary_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetLatestAnchorResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_notary_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*VerifyInclusionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_notary_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*VerifyInclusionResponse); 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_quartermaster_v1_notary_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_quartermaster_v1_notary_proto_goTypes,
|
|
DependencyIndexes: file_quartermaster_v1_notary_proto_depIdxs,
|
|
MessageInfos: file_quartermaster_v1_notary_proto_msgTypes,
|
|
}.Build()
|
|
File_quartermaster_v1_notary_proto = out.File
|
|
file_quartermaster_v1_notary_proto_rawDesc = nil
|
|
file_quartermaster_v1_notary_proto_goTypes = nil
|
|
file_quartermaster_v1_notary_proto_depIdxs = nil
|
|
}
|