|
|
|
@ -231,11 +231,6 @@ type DtmBranchInfo struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
Gid string `protobuf:"bytes,1,opt,name=Gid,proto3" json:"Gid,omitempty"` |
|
|
|
TransType string `protobuf:"bytes,2,opt,name=TransType,proto3" json:"TransType,omitempty"` |
|
|
|
BranchID string `protobuf:"bytes,3,opt,name=BranchID,proto3" json:"BranchID,omitempty"` |
|
|
|
BranchType string `protobuf:"bytes,4,opt,name=BranchType,proto3" json:"BranchType,omitempty"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmBranchInfo) Reset() { |
|
|
|
@ -270,47 +265,21 @@ func (*DtmBranchInfo) Descriptor() ([]byte, []int) { |
|
|
|
return file_dtmgrpc_dtmgimp_dtmgimp_proto_rawDescGZIP(), []int{3} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmBranchInfo) GetGid() string { |
|
|
|
if x != nil { |
|
|
|
return x.Gid |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmBranchInfo) GetTransType() string { |
|
|
|
if x != nil { |
|
|
|
return x.TransType |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmBranchInfo) GetBranchID() string { |
|
|
|
if x != nil { |
|
|
|
return x.BranchID |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmBranchInfo) GetBranchType() string { |
|
|
|
if x != nil { |
|
|
|
return x.BranchType |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type DtmTccBranchRequest struct { |
|
|
|
type DtmBranchRequest struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
Info *DtmBranchInfo `protobuf:"bytes,1,opt,name=Info,proto3" json:"Info,omitempty"` |
|
|
|
BusiPayload []byte `protobuf:"bytes,2,opt,name=BusiPayload,proto3" json:"BusiPayload,omitempty"` |
|
|
|
Confirm string `protobuf:"bytes,3,opt,name=Confirm,proto3" json:"Confirm,omitempty"` |
|
|
|
Cancel string `protobuf:"bytes,4,opt,name=Cancel,proto3" json:"Cancel,omitempty"` |
|
|
|
Gid string `protobuf:"bytes,1,opt,name=Gid,proto3" json:"Gid,omitempty"` |
|
|
|
TransType string `protobuf:"bytes,2,opt,name=TransType,proto3" json:"TransType,omitempty"` |
|
|
|
BranchID string `protobuf:"bytes,3,opt,name=BranchID,proto3" json:"BranchID,omitempty"` |
|
|
|
BranchType string `protobuf:"bytes,4,opt,name=BranchType,proto3" json:"BranchType,omitempty"` |
|
|
|
Data map[string]string `protobuf:"bytes,5,rep,name=Data,proto3" json:"Data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
|
|
|
BusiPayload []byte `protobuf:"bytes,6,opt,name=BusiPayload,proto3" json:"BusiPayload,omitempty"` |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmTccBranchRequest) Reset() { |
|
|
|
*x = DtmTccBranchRequest{} |
|
|
|
func (x *DtmBranchRequest) Reset() { |
|
|
|
*x = DtmBranchRequest{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_dtmgrpc_dtmgimp_dtmgimp_proto_msgTypes[4] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
@ -318,13 +287,13 @@ func (x *DtmTccBranchRequest) Reset() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmTccBranchRequest) String() string { |
|
|
|
func (x *DtmBranchRequest) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*DtmTccBranchRequest) ProtoMessage() {} |
|
|
|
func (*DtmBranchRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *DtmTccBranchRequest) ProtoReflect() protoreflect.Message { |
|
|
|
func (x *DtmBranchRequest) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_dtmgrpc_dtmgimp_dtmgimp_proto_msgTypes[4] |
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
@ -336,102 +305,53 @@ func (x *DtmTccBranchRequest) ProtoReflect() protoreflect.Message { |
|
|
|
return mi.MessageOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
// Deprecated: Use DtmTccBranchRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DtmTccBranchRequest) Descriptor() ([]byte, []int) { |
|
|
|
// Deprecated: Use DtmBranchRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DtmBranchRequest) Descriptor() ([]byte, []int) { |
|
|
|
return file_dtmgrpc_dtmgimp_dtmgimp_proto_rawDescGZIP(), []int{4} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmTccBranchRequest) GetInfo() *DtmBranchInfo { |
|
|
|
func (x *DtmBranchRequest) GetGid() string { |
|
|
|
if x != nil { |
|
|
|
return x.Info |
|
|
|
return x.Gid |
|
|
|
} |
|
|
|
return nil |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmTccBranchRequest) GetBusiPayload() []byte { |
|
|
|
func (x *DtmBranchRequest) GetTransType() string { |
|
|
|
if x != nil { |
|
|
|
return x.BusiPayload |
|
|
|
return x.TransType |
|
|
|
} |
|
|
|
return nil |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmTccBranchRequest) GetConfirm() string { |
|
|
|
func (x *DtmBranchRequest) GetBranchID() string { |
|
|
|
if x != nil { |
|
|
|
return x.Confirm |
|
|
|
return x.BranchID |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmTccBranchRequest) GetCancel() string { |
|
|
|
func (x *DtmBranchRequest) GetBranchType() string { |
|
|
|
if x != nil { |
|
|
|
return x.Cancel |
|
|
|
return x.BranchType |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
type DtmXaBranchRequest struct { |
|
|
|
state protoimpl.MessageState |
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
Info *DtmBranchInfo `protobuf:"bytes,1,opt,name=Info,proto3" json:"Info,omitempty"` |
|
|
|
BusiPayload []byte `protobuf:"bytes,2,opt,name=BusiPayload,proto3" json:"BusiPayload,omitempty"` |
|
|
|
Notify string `protobuf:"bytes,3,opt,name=Notify,proto3" json:"Notify,omitempty"` // dtm will call this url to commit/rollback
|
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmXaBranchRequest) Reset() { |
|
|
|
*x = DtmXaBranchRequest{} |
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
mi := &file_dtmgrpc_dtmgimp_dtmgimp_proto_msgTypes[5] |
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmXaBranchRequest) String() string { |
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
} |
|
|
|
|
|
|
|
func (*DtmXaBranchRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (x *DtmXaBranchRequest) ProtoReflect() protoreflect.Message { |
|
|
|
mi := &file_dtmgrpc_dtmgimp_dtmgimp_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 DtmXaBranchRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DtmXaBranchRequest) Descriptor() ([]byte, []int) { |
|
|
|
return file_dtmgrpc_dtmgimp_dtmgimp_proto_rawDescGZIP(), []int{5} |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmXaBranchRequest) GetInfo() *DtmBranchInfo { |
|
|
|
func (x *DtmBranchRequest) GetData() map[string]string { |
|
|
|
if x != nil { |
|
|
|
return x.Info |
|
|
|
return x.Data |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmXaBranchRequest) GetBusiPayload() []byte { |
|
|
|
func (x *DtmBranchRequest) GetBusiPayload() []byte { |
|
|
|
if x != nil { |
|
|
|
return x.BusiPayload |
|
|
|
} |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
func (x *DtmXaBranchRequest) GetNotify() string { |
|
|
|
if x != nil { |
|
|
|
return x.Notify |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
var File_dtmgrpc_dtmgimp_dtmgimp_proto protoreflect.FileDescriptor |
|
|
|
|
|
|
|
var file_dtmgrpc_dtmgimp_dtmgimp_proto_rawDesc = []byte{ |
|
|
|
@ -465,59 +385,47 @@ var file_dtmgrpc_dtmgimp_dtmgimp_proto_rawDesc = []byte{ |
|
|
|
0x05, 0x53, 0x74, 0x65, 0x70, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x53, 0x74, |
|
|
|
0x65, 0x70, 0x73, 0x22, 0x1f, 0x0a, 0x0b, 0x44, 0x74, 0x6d, 0x47, 0x69, 0x64, 0x52, 0x65, 0x70, |
|
|
|
0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x47, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
|
|
|
0x03, 0x47, 0x69, 0x64, 0x22, 0x7b, 0x0a, 0x0d, 0x44, 0x74, 0x6d, 0x42, 0x72, 0x61, 0x6e, 0x63, |
|
|
|
0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x47, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, |
|
|
|
0x28, 0x09, 0x52, 0x03, 0x47, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x6e, 0x73, |
|
|
|
0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x54, 0x72, 0x61, 0x6e, |
|
|
|
0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x49, |
|
|
|
0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x49, |
|
|
|
0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x18, |
|
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x54, 0x79, 0x70, |
|
|
|
0x65, 0x22, 0x95, 0x01, 0x0a, 0x13, 0x44, 0x74, 0x6d, 0x54, 0x63, 0x63, 0x42, 0x72, 0x61, 0x6e, |
|
|
|
0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x04, 0x49, 0x6e, 0x66, |
|
|
|
0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, |
|
|
|
0x70, 0x2e, 0x44, 0x74, 0x6d, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
|
|
|
0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x50, 0x61, 0x79, |
|
|
|
0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x42, 0x75, 0x73, 0x69, |
|
|
|
0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
|
|
|
0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, |
|
|
|
0x6d, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, |
|
|
|
0x09, 0x52, 0x06, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x22, 0x7a, 0x0a, 0x12, 0x44, 0x74, 0x6d, |
|
|
|
0x58, 0x61, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
|
|
|
0x2a, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, |
|
|
|
0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, 0x6d, 0x42, 0x72, 0x61, 0x6e, 0x63, |
|
|
|
0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x42, |
|
|
|
0x75, 0x73, 0x69, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, |
|
|
|
0x52, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x16, 0x0a, |
|
|
|
0x06, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, |
|
|
|
0x6f, 0x74, 0x69, 0x66, 0x79, 0x32, 0x82, 0x03, 0x0a, 0x03, 0x44, 0x74, 0x6d, 0x12, 0x38, 0x0a, |
|
|
|
0x06, 0x4e, 0x65, 0x77, 0x47, 0x69, 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, |
|
|
|
0x14, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, 0x6d, 0x47, 0x69, 0x64, |
|
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x06, 0x53, 0x75, 0x62, 0x6d, 0x69, |
|
|
|
0x74, 0x12, 0x13, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, 0x6d, 0x52, |
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, |
|
|
|
0x12, 0x38, 0x0a, 0x07, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x12, 0x13, 0x2e, 0x64, 0x74, |
|
|
|
0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
|
|
|
0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
|
|
|
0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x36, 0x0a, 0x05, 0x41, 0x62, |
|
|
|
0x6f, 0x72, 0x74, 0x12, 0x13, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, |
|
|
|
0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
|
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, |
|
|
|
0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x54, 0x63, |
|
|
|
0x63, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1c, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, |
|
|
|
0x70, 0x2e, 0x44, 0x74, 0x6d, 0x54, 0x63, 0x63, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, |
|
|
|
0x03, 0x47, 0x69, 0x64, 0x22, 0x0f, 0x0a, 0x0d, 0x44, 0x74, 0x6d, 0x42, 0x72, 0x61, 0x6e, 0x63, |
|
|
|
0x68, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x92, 0x02, 0x0a, 0x10, 0x44, 0x74, 0x6d, 0x42, 0x72, 0x61, |
|
|
|
0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x47, 0x69, |
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x47, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, |
|
|
|
0x54, 0x72, 0x61, 0x6e, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
|
|
|
0x09, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x72, |
|
|
|
0x61, 0x6e, 0x63, 0x68, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x72, |
|
|
|
0x61, 0x6e, 0x63, 0x68, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, |
|
|
|
0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x42, 0x72, 0x61, 0x6e, |
|
|
|
0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x05, |
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, |
|
|
|
0x74, 0x6d, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, |
|
|
|
0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, |
|
|
|
0x20, 0x0a, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, |
|
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, |
|
|
|
0x64, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, |
|
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, |
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
|
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xb1, 0x02, 0x0a, 0x03, 0x44, |
|
|
|
0x74, 0x6d, 0x12, 0x38, 0x0a, 0x06, 0x4e, 0x65, 0x77, 0x47, 0x69, 0x64, 0x12, 0x16, 0x2e, 0x67, |
|
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, |
|
|
|
0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, |
|
|
|
0x74, 0x6d, 0x47, 0x69, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x06, |
|
|
|
0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x12, 0x13, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, |
|
|
|
0x2e, 0x44, 0x74, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, |
|
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, |
|
|
|
0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x07, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, |
|
|
|
0x12, 0x13, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, 0x6d, 0x52, 0x65, |
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, |
|
|
|
0x49, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x58, 0x61, 0x42, 0x72, 0x61, |
|
|
|
0x6e, 0x63, 0x68, 0x12, 0x1b, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, |
|
|
|
0x6d, 0x58, 0x61, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
|
|
|
0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
|
|
|
0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x25, 0x5a, 0x23, 0x67, 0x69, |
|
|
|
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x79, 0x65, 0x64, 0x66, 0x2f, 0x64, 0x74, |
|
|
|
0x6d, 0x2f, 0x64, 0x74, 0x6d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x64, 0x74, 0x6d, 0x67, 0x69, 0x6d, |
|
|
|
0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
0x36, 0x0a, 0x05, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x12, 0x13, 0x2e, 0x64, 0x74, 0x6d, 0x67, 0x69, |
|
|
|
0x6d, 0x70, 0x2e, 0x44, 0x74, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, |
|
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
|
|
|
0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, |
|
|
|
0x74, 0x65, 0x72, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x19, 0x2e, 0x64, 0x74, 0x6d, 0x67, |
|
|
|
0x69, 0x6d, 0x70, 0x2e, 0x44, 0x74, 0x6d, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, |
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
|
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x25, |
|
|
|
0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x79, 0x65, 0x64, |
|
|
|
0x66, 0x2f, 0x64, 0x74, 0x6d, 0x2f, 0x64, 0x74, 0x6d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x64, 0x74, |
|
|
|
0x6d, 0x67, 0x69, 0x6d, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
} |
|
|
|
|
|
|
|
var ( |
|
|
|
@ -534,35 +442,32 @@ func file_dtmgrpc_dtmgimp_dtmgimp_proto_rawDescGZIP() []byte { |
|
|
|
|
|
|
|
var file_dtmgrpc_dtmgimp_dtmgimp_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
|
|
|
var file_dtmgrpc_dtmgimp_dtmgimp_proto_goTypes = []interface{}{ |
|
|
|
(*DtmTransOptions)(nil), // 0: dtmgimp.DtmTransOptions
|
|
|
|
(*DtmRequest)(nil), // 1: dtmgimp.DtmRequest
|
|
|
|
(*DtmGidReply)(nil), // 2: dtmgimp.DtmGidReply
|
|
|
|
(*DtmBranchInfo)(nil), // 3: dtmgimp.DtmBranchInfo
|
|
|
|
(*DtmTccBranchRequest)(nil), // 4: dtmgimp.DtmTccBranchRequest
|
|
|
|
(*DtmXaBranchRequest)(nil), // 5: dtmgimp.DtmXaBranchRequest
|
|
|
|
(*emptypb.Empty)(nil), // 6: google.protobuf.Empty
|
|
|
|
(*DtmTransOptions)(nil), // 0: dtmgimp.DtmTransOptions
|
|
|
|
(*DtmRequest)(nil), // 1: dtmgimp.DtmRequest
|
|
|
|
(*DtmGidReply)(nil), // 2: dtmgimp.DtmGidReply
|
|
|
|
(*DtmBranchInfo)(nil), // 3: dtmgimp.DtmBranchInfo
|
|
|
|
(*DtmBranchRequest)(nil), // 4: dtmgimp.DtmBranchRequest
|
|
|
|
nil, // 5: dtmgimp.DtmBranchRequest.DataEntry
|
|
|
|
(*emptypb.Empty)(nil), // 6: google.protobuf.Empty
|
|
|
|
} |
|
|
|
var file_dtmgrpc_dtmgimp_dtmgimp_proto_depIdxs = []int32{ |
|
|
|
0, // 0: dtmgimp.DtmRequest.TransOptions:type_name -> dtmgimp.DtmTransOptions
|
|
|
|
3, // 1: dtmgimp.DtmTccBranchRequest.Info:type_name -> dtmgimp.DtmBranchInfo
|
|
|
|
3, // 2: dtmgimp.DtmXaBranchRequest.Info:type_name -> dtmgimp.DtmBranchInfo
|
|
|
|
6, // 3: dtmgimp.Dtm.NewGid:input_type -> google.protobuf.Empty
|
|
|
|
1, // 4: dtmgimp.Dtm.Submit:input_type -> dtmgimp.DtmRequest
|
|
|
|
1, // 5: dtmgimp.Dtm.Prepare:input_type -> dtmgimp.DtmRequest
|
|
|
|
1, // 6: dtmgimp.Dtm.Abort:input_type -> dtmgimp.DtmRequest
|
|
|
|
4, // 7: dtmgimp.Dtm.RegisterTccBranch:input_type -> dtmgimp.DtmTccBranchRequest
|
|
|
|
5, // 8: dtmgimp.Dtm.RegisterXaBranch:input_type -> dtmgimp.DtmXaBranchRequest
|
|
|
|
2, // 9: dtmgimp.Dtm.NewGid:output_type -> dtmgimp.DtmGidReply
|
|
|
|
6, // 10: dtmgimp.Dtm.Submit:output_type -> google.protobuf.Empty
|
|
|
|
6, // 11: dtmgimp.Dtm.Prepare:output_type -> google.protobuf.Empty
|
|
|
|
6, // 12: dtmgimp.Dtm.Abort:output_type -> google.protobuf.Empty
|
|
|
|
6, // 13: dtmgimp.Dtm.RegisterTccBranch:output_type -> google.protobuf.Empty
|
|
|
|
6, // 14: dtmgimp.Dtm.RegisterXaBranch:output_type -> google.protobuf.Empty
|
|
|
|
9, // [9:15] is the sub-list for method output_type
|
|
|
|
3, // [3:9] is the sub-list for method input_type
|
|
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
|
|
0, // [0:3] is the sub-list for field type_name
|
|
|
|
5, // 1: dtmgimp.DtmBranchRequest.Data:type_name -> dtmgimp.DtmBranchRequest.DataEntry
|
|
|
|
6, // 2: dtmgimp.Dtm.NewGid:input_type -> google.protobuf.Empty
|
|
|
|
1, // 3: dtmgimp.Dtm.Submit:input_type -> dtmgimp.DtmRequest
|
|
|
|
1, // 4: dtmgimp.Dtm.Prepare:input_type -> dtmgimp.DtmRequest
|
|
|
|
1, // 5: dtmgimp.Dtm.Abort:input_type -> dtmgimp.DtmRequest
|
|
|
|
4, // 6: dtmgimp.Dtm.RegisterBranch:input_type -> dtmgimp.DtmBranchRequest
|
|
|
|
2, // 7: dtmgimp.Dtm.NewGid:output_type -> dtmgimp.DtmGidReply
|
|
|
|
6, // 8: dtmgimp.Dtm.Submit:output_type -> google.protobuf.Empty
|
|
|
|
6, // 9: dtmgimp.Dtm.Prepare:output_type -> google.protobuf.Empty
|
|
|
|
6, // 10: dtmgimp.Dtm.Abort:output_type -> google.protobuf.Empty
|
|
|
|
6, // 11: dtmgimp.Dtm.RegisterBranch:output_type -> google.protobuf.Empty
|
|
|
|
7, // [7:12] is the sub-list for method output_type
|
|
|
|
2, // [2:7] 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_dtmgrpc_dtmgimp_dtmgimp_proto_init() } |
|
|
|
@ -620,19 +525,7 @@ func file_dtmgrpc_dtmgimp_dtmgimp_proto_init() { |
|
|
|
} |
|
|
|
} |
|
|
|
file_dtmgrpc_dtmgimp_dtmgimp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*DtmTccBranchRequest); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
return &v.sizeCache |
|
|
|
case 2: |
|
|
|
return &v.unknownFields |
|
|
|
default: |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
file_dtmgrpc_dtmgimp_dtmgimp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
switch v := v.(*DtmXaBranchRequest); i { |
|
|
|
switch v := v.(*DtmBranchRequest); i { |
|
|
|
case 0: |
|
|
|
return &v.state |
|
|
|
case 1: |
|
|
|
|