diff --git a/gen/optable/external/v1/cleanroom.pb.go b/gen/optable/external/v1/cleanroom.pb.go index 6f49011..9724f68 100644 --- a/gen/optable/external/v1/cleanroom.pb.go +++ b/gen/optable/external/v1/cleanroom.pb.go @@ -646,7 +646,8 @@ type Cleanroom_Participant struct { // Update time of the participant. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Invitation update time for the participant. - InvitationUpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=invitation_update_time,json=invitationUpdateTime,proto3" json:"invitation_update_time,omitempty"` + InvitationUpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=invitation_update_time,json=invitationUpdateTime,proto3" json:"invitation_update_time,omitempty"` + Error *Cleanroom_Participant_Error `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` // Role of the participant. Role Cleanroom_Participant_Role `protobuf:"varint,4,opt,name=role,proto3,enum=optable.external.v1.Cleanroom_Participant_Role" json:"role,omitempty"` } @@ -702,6 +703,13 @@ func (x *Cleanroom_Participant) GetInvitationUpdateTime() *timestamppb.Timestamp return nil } +func (x *Cleanroom_Participant) GetError() *Cleanroom_Participant_Error { + if x != nil { + return x.Error + } + return nil +} + func (x *Cleanroom_Participant) GetRole() Cleanroom_Participant_Role { if x != nil { return x.Role @@ -845,6 +853,61 @@ func (x *Cleanroom_Config_PairConfig_AuthToken) GetExpireTime() *timestamppb.Tim return nil } +type Cleanroom_Participant_Error struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Error code. + Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + // Error message. + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *Cleanroom_Participant_Error) Reset() { + *x = Cleanroom_Participant_Error{} + mi := &file_optable_external_v1_cleanroom_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Cleanroom_Participant_Error) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Cleanroom_Participant_Error) ProtoMessage() {} + +func (x *Cleanroom_Participant_Error) ProtoReflect() protoreflect.Message { + mi := &file_optable_external_v1_cleanroom_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Cleanroom_Participant_Error.ProtoReflect.Descriptor instead. +func (*Cleanroom_Participant_Error) Descriptor() ([]byte, []int) { + return file_optable_external_v1_cleanroom_proto_rawDescGZIP(), []int{0, 1, 0} +} + +func (x *Cleanroom_Participant_Error) GetCode() string { + if x != nil { + return x.Code + } + return "" +} + +func (x *Cleanroom_Participant_Error) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + var File_optable_external_v1_cleanroom_proto protoreflect.FileDescriptor var file_optable_external_v1_cleanroom_proto_rawDesc = []byte{ @@ -857,7 +920,7 @@ var file_optable_external_v1_cleanroom_proto_rawDesc = []byte{ 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x0f, 0x0a, 0x09, 0x43, 0x6c, 0x65, 0x61, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x10, 0x0a, 0x09, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, @@ -934,7 +997,7 @@ var file_optable_external_v1_cleanroom_proto_rawDesc = []byte{ 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, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x01, - 0x10, 0x02, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xc5, 0x04, 0x0a, + 0x10, 0x02, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xd3, 0x05, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x76, @@ -950,73 +1013,82 @@ var file_optable_external_v1_cleanroom_proto_rawDesc = []byte{ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x14, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, - 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2f, 0x2e, 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, - 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x2e, 0x52, 0x6f, 0x6c, - 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0xc8, 0x01, 0x0a, - 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, - 0x07, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, - 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, - 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, - 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x05, - 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x10, 0x06, 0x12, 0x15, 0x0a, - 0x11, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x49, - 0x4e, 0x47, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x43, 0x4f, 0x4e, - 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x41, - 0x54, 0x41, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x49, 0x4e, 0x47, 0x10, - 0x09, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, - 0x4f, 0x52, 0x4d, 0x45, 0x44, 0x10, 0x0a, 0x22, 0x3b, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, - 0x14, 0x0a, 0x10, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, - 0x45, 0x52, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x44, 0x56, 0x45, 0x52, 0x54, 0x49, 0x53, - 0x45, 0x52, 0x10, 0x02, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, - 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, - 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0a, - 0x0a, 0x06, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4e, - 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, - 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x06, 0x22, - 0x26, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, - 0x04, 0x50, 0x41, 0x49, 0x52, 0x10, 0x01, 0x3a, 0x3a, 0xea, 0x41, 0x37, 0x0a, 0x1d, 0x63, 0x6c, - 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x62, 0x6c, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x16, 0x63, 0x6c, 0x65, - 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, - 0x6f, 0x6d, 0x7d, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x22, 0xcf, 0x01, 0x0a, 0x13, 0x47, 0x65, - 0x74, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, - 0x6f, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x62, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x65, - 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x04, - 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6f, 0x70, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, - 0x76, 0x69, 0x65, 0x77, 0x22, 0x35, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x14, 0x0a, 0x10, - 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, - 0x53, 0x45, 0x4e, 0x53, 0x49, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x22, 0x50, 0x0a, 0x13, 0x52, - 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x72, - 0x6f, 0x6f, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x62, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, - 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xcd, 0x01, - 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, - 0x72, 0x6f, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, - 0x6d, 0x61, 0x74, 0x63, 0x68, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x70, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x76, - 0x31, 0xa2, 0x02, 0x03, 0x4f, 0x45, 0x58, 0xaa, 0x02, 0x13, 0x4f, 0x70, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, - 0x4f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x4f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5c, 0x45, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x4f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3a, - 0x3a, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, + 0x6d, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x2e, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x48, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, + 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x50, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x03, + 0xe0, 0x41, 0x03, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x1a, 0x3f, 0x0a, 0x05, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x03, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x05, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x49, + 0x4e, 0x56, 0x49, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, + 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, + 0x45, 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, + 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0b, + 0x0a, 0x07, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x44, + 0x41, 0x54, 0x41, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x49, 0x4e, 0x47, + 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, + 0x49, 0x42, 0x55, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x41, 0x54, 0x41, + 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, + 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, + 0x4d, 0x45, 0x44, 0x10, 0x0a, 0x22, 0x3b, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x14, 0x0a, + 0x10, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x52, + 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x44, 0x56, 0x45, 0x52, 0x54, 0x49, 0x53, 0x45, 0x52, + 0x10, 0x02, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, + 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, + 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4e, 0x44, 0x45, + 0x44, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, + 0x0c, 0x0a, 0x08, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x06, 0x22, 0x26, 0x0a, + 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, + 0x41, 0x49, 0x52, 0x10, 0x01, 0x3a, 0x3a, 0xea, 0x41, 0x37, 0x0a, 0x1d, 0x63, 0x6c, 0x65, 0x61, + 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x62, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x16, 0x63, 0x6c, 0x65, 0x61, 0x6e, + 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, + 0x7d, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x22, 0xcf, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, + 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, + 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, + 0x2e, 0x6f, 0x70, 0x74, 0x62, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x65, 0x61, 0x6e, + 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x04, 0x76, 0x69, + 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6f, 0x70, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x76, 0x69, + 0x65, 0x77, 0x22, 0x35, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x49, + 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x45, + 0x4e, 0x53, 0x49, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x22, 0x50, 0x0a, 0x13, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, + 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, 0x6f, + 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x62, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x65, 0x61, + 0x6e, 0x72, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xcd, 0x01, 0x0a, 0x17, + 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x72, 0x6f, + 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6f, 0x70, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0xa2, + 0x02, 0x03, 0x4f, 0x45, 0x58, 0xaa, 0x02, 0x13, 0x4f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, + 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x4f, 0x70, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x1f, 0x4f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5c, 0x45, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x4f, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3a, 0x3a, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -1032,7 +1104,7 @@ func file_optable_external_v1_cleanroom_proto_rawDescGZIP() []byte { } var file_optable_external_v1_cleanroom_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_optable_external_v1_cleanroom_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_optable_external_v1_cleanroom_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_optable_external_v1_cleanroom_proto_goTypes = []any{ (Cleanroom_State)(0), // 0: optable.external.v1.Cleanroom.State (Cleanroom_Type)(0), // 1: optable.external.v1.Cleanroom.Type @@ -1046,12 +1118,13 @@ var file_optable_external_v1_cleanroom_proto_goTypes = []any{ (*Cleanroom_Participant)(nil), // 9: optable.external.v1.Cleanroom.Participant (*Cleanroom_Config_PairConfig)(nil), // 10: optable.external.v1.Cleanroom.Config.PairConfig (*Cleanroom_Config_PairConfig_AuthToken)(nil), // 11: optable.external.v1.Cleanroom.Config.PairConfig.AuthToken - (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp + (*Cleanroom_Participant_Error)(nil), // 12: optable.external.v1.Cleanroom.Participant.Error + (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp } var file_optable_external_v1_cleanroom_proto_depIdxs = []int32{ - 12, // 0: optable.external.v1.Cleanroom.create_time:type_name -> google.protobuf.Timestamp - 12, // 1: optable.external.v1.Cleanroom.update_time:type_name -> google.protobuf.Timestamp - 12, // 2: optable.external.v1.Cleanroom.expire_time:type_name -> google.protobuf.Timestamp + 13, // 0: optable.external.v1.Cleanroom.create_time:type_name -> google.protobuf.Timestamp + 13, // 1: optable.external.v1.Cleanroom.update_time:type_name -> google.protobuf.Timestamp + 13, // 2: optable.external.v1.Cleanroom.expire_time:type_name -> google.protobuf.Timestamp 0, // 3: optable.external.v1.Cleanroom.state:type_name -> optable.external.v1.Cleanroom.State 1, // 4: optable.external.v1.Cleanroom.type:type_name -> optable.external.v1.Cleanroom.Type 8, // 5: optable.external.v1.Cleanroom.config:type_name -> optable.external.v1.Cleanroom.Config @@ -1059,16 +1132,17 @@ var file_optable_external_v1_cleanroom_proto_depIdxs = []int32{ 4, // 7: optable.external.v1.GetCleanroomRequest.view:type_name -> optable.external.v1.GetCleanroomRequest.View 10, // 8: optable.external.v1.Cleanroom.Config.pair:type_name -> optable.external.v1.Cleanroom.Config.PairConfig 2, // 9: optable.external.v1.Cleanroom.Participant.state:type_name -> optable.external.v1.Cleanroom.Participant.State - 12, // 10: optable.external.v1.Cleanroom.Participant.update_time:type_name -> google.protobuf.Timestamp - 12, // 11: optable.external.v1.Cleanroom.Participant.invitation_update_time:type_name -> google.protobuf.Timestamp - 3, // 12: optable.external.v1.Cleanroom.Participant.role:type_name -> optable.external.v1.Cleanroom.Participant.Role - 11, // 13: optable.external.v1.Cleanroom.Config.PairConfig.gcs_token:type_name -> optable.external.v1.Cleanroom.Config.PairConfig.AuthToken - 12, // 14: optable.external.v1.Cleanroom.Config.PairConfig.AuthToken.expire_time:type_name -> google.protobuf.Timestamp - 15, // [15:15] is the sub-list for method output_type - 15, // [15:15] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name + 13, // 10: optable.external.v1.Cleanroom.Participant.update_time:type_name -> google.protobuf.Timestamp + 13, // 11: optable.external.v1.Cleanroom.Participant.invitation_update_time:type_name -> google.protobuf.Timestamp + 12, // 12: optable.external.v1.Cleanroom.Participant.error:type_name -> optable.external.v1.Cleanroom.Participant.Error + 3, // 13: optable.external.v1.Cleanroom.Participant.role:type_name -> optable.external.v1.Cleanroom.Participant.Role + 11, // 14: optable.external.v1.Cleanroom.Config.PairConfig.gcs_token:type_name -> optable.external.v1.Cleanroom.Config.PairConfig.AuthToken + 13, // 15: optable.external.v1.Cleanroom.Config.PairConfig.AuthToken.expire_time:type_name -> google.protobuf.Timestamp + 16, // [16:16] is the sub-list for method output_type + 16, // [16:16] is the sub-list for method input_type + 16, // [16:16] is the sub-list for extension type_name + 16, // [16:16] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name } func init() { file_optable_external_v1_cleanroom_proto_init() } @@ -1085,7 +1159,7 @@ func file_optable_external_v1_cleanroom_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_optable_external_v1_cleanroom_proto_rawDesc, NumEnums: 5, - NumMessages: 7, + NumMessages: 8, NumExtensions: 0, NumServices: 0, }, diff --git a/proto/optable/external/v1/cleanroom.proto b/proto/optable/external/v1/cleanroom.proto index 7ffb9cf..5317664 100644 --- a/proto/optable/external/v1/cleanroom.proto +++ b/proto/optable/external/v1/cleanroom.proto @@ -141,6 +141,16 @@ message Cleanroom { // Invitation update time for the participant. google.protobuf.Timestamp invitation_update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + message Error { + // Error code. + string code = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Error message. + string message = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + Error error = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + //buf:lint:ignore ENUM_VALUE_PREFIX enum Role { // Unspecified role.