github.com/hyperledger/fabric-protos-go@v0.3.3/orderer/smartbft/configuration.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: orderer/smartbft/configuration.proto 3 4 package smartbft 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23 type Options_Rotation int32 24 25 const ( 26 Options_ROTATION_UNSPECIFIED Options_Rotation = 0 27 Options_ROTATION_OFF Options_Rotation = 1 28 Options_ROTATION_ON Options_Rotation = 2 29 ) 30 31 var Options_Rotation_name = map[int32]string{ 32 0: "ROTATION_UNSPECIFIED", 33 1: "ROTATION_OFF", 34 2: "ROTATION_ON", 35 } 36 37 var Options_Rotation_value = map[string]int32{ 38 "ROTATION_UNSPECIFIED": 0, 39 "ROTATION_OFF": 1, 40 "ROTATION_ON": 2, 41 } 42 43 func (x Options_Rotation) String() string { 44 return proto.EnumName(Options_Rotation_name, int32(x)) 45 } 46 47 func (Options_Rotation) EnumDescriptor() ([]byte, []int) { 48 return fileDescriptor_a8a81ac5a2771ff3, []int{0, 0} 49 } 50 51 // Options to be specified for all the smartbft nodes. These can be modified on a 52 // per-channel basis. 53 type Options struct { 54 RequestBatchMaxCount uint64 `protobuf:"varint,1,opt,name=request_batch_max_count,json=requestBatchMaxCount,proto3" json:"request_batch_max_count,omitempty"` 55 RequestBatchMaxBytes uint64 `protobuf:"varint,2,opt,name=request_batch_max_bytes,json=requestBatchMaxBytes,proto3" json:"request_batch_max_bytes,omitempty"` 56 RequestBatchMaxInterval string `protobuf:"bytes,3,opt,name=request_batch_max_interval,json=requestBatchMaxInterval,proto3" json:"request_batch_max_interval,omitempty"` 57 IncomingMessageBufferSize uint64 `protobuf:"varint,4,opt,name=incoming_message_buffer_size,json=incomingMessageBufferSize,proto3" json:"incoming_message_buffer_size,omitempty"` 58 RequestPoolSize uint64 `protobuf:"varint,5,opt,name=request_pool_size,json=requestPoolSize,proto3" json:"request_pool_size,omitempty"` 59 RequestForwardTimeout string `protobuf:"bytes,6,opt,name=request_forward_timeout,json=requestForwardTimeout,proto3" json:"request_forward_timeout,omitempty"` 60 RequestComplainTimeout string `protobuf:"bytes,7,opt,name=request_complain_timeout,json=requestComplainTimeout,proto3" json:"request_complain_timeout,omitempty"` 61 RequestAutoRemoveTimeout string `protobuf:"bytes,8,opt,name=request_auto_remove_timeout,json=requestAutoRemoveTimeout,proto3" json:"request_auto_remove_timeout,omitempty"` 62 RequestMaxBytes uint64 `protobuf:"varint,9,opt,name=request_max_bytes,json=requestMaxBytes,proto3" json:"request_max_bytes,omitempty"` 63 ViewChangeResendInterval string `protobuf:"bytes,10,opt,name=view_change_resend_interval,json=viewChangeResendInterval,proto3" json:"view_change_resend_interval,omitempty"` 64 ViewChangeTimeout string `protobuf:"bytes,11,opt,name=view_change_timeout,json=viewChangeTimeout,proto3" json:"view_change_timeout,omitempty"` 65 LeaderHeartbeatTimeout string `protobuf:"bytes,12,opt,name=leader_heartbeat_timeout,json=leaderHeartbeatTimeout,proto3" json:"leader_heartbeat_timeout,omitempty"` 66 LeaderHeartbeatCount uint64 `protobuf:"varint,13,opt,name=leader_heartbeat_count,json=leaderHeartbeatCount,proto3" json:"leader_heartbeat_count,omitempty"` 67 CollectTimeout string `protobuf:"bytes,14,opt,name=collect_timeout,json=collectTimeout,proto3" json:"collect_timeout,omitempty"` 68 SyncOnStart bool `protobuf:"varint,15,opt,name=sync_on_start,json=syncOnStart,proto3" json:"sync_on_start,omitempty"` 69 SpeedUpViewChange bool `protobuf:"varint,16,opt,name=speed_up_view_change,json=speedUpViewChange,proto3" json:"speed_up_view_change,omitempty"` 70 LeaderRotation Options_Rotation `protobuf:"varint,17,opt,name=leader_rotation,json=leaderRotation,proto3,enum=orderer.smartbft.Options_Rotation" json:"leader_rotation,omitempty"` 71 DecisionsPerLeader uint64 `protobuf:"varint,18,opt,name=decisions_per_leader,json=decisionsPerLeader,proto3" json:"decisions_per_leader,omitempty"` 72 XXX_NoUnkeyedLiteral struct{} `json:"-"` 73 XXX_unrecognized []byte `json:"-"` 74 XXX_sizecache int32 `json:"-"` 75 } 76 77 func (m *Options) Reset() { *m = Options{} } 78 func (m *Options) String() string { return proto.CompactTextString(m) } 79 func (*Options) ProtoMessage() {} 80 func (*Options) Descriptor() ([]byte, []int) { 81 return fileDescriptor_a8a81ac5a2771ff3, []int{0} 82 } 83 84 func (m *Options) XXX_Unmarshal(b []byte) error { 85 return xxx_messageInfo_Options.Unmarshal(m, b) 86 } 87 func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 88 return xxx_messageInfo_Options.Marshal(b, m, deterministic) 89 } 90 func (m *Options) XXX_Merge(src proto.Message) { 91 xxx_messageInfo_Options.Merge(m, src) 92 } 93 func (m *Options) XXX_Size() int { 94 return xxx_messageInfo_Options.Size(m) 95 } 96 func (m *Options) XXX_DiscardUnknown() { 97 xxx_messageInfo_Options.DiscardUnknown(m) 98 } 99 100 var xxx_messageInfo_Options proto.InternalMessageInfo 101 102 func (m *Options) GetRequestBatchMaxCount() uint64 { 103 if m != nil { 104 return m.RequestBatchMaxCount 105 } 106 return 0 107 } 108 109 func (m *Options) GetRequestBatchMaxBytes() uint64 { 110 if m != nil { 111 return m.RequestBatchMaxBytes 112 } 113 return 0 114 } 115 116 func (m *Options) GetRequestBatchMaxInterval() string { 117 if m != nil { 118 return m.RequestBatchMaxInterval 119 } 120 return "" 121 } 122 123 func (m *Options) GetIncomingMessageBufferSize() uint64 { 124 if m != nil { 125 return m.IncomingMessageBufferSize 126 } 127 return 0 128 } 129 130 func (m *Options) GetRequestPoolSize() uint64 { 131 if m != nil { 132 return m.RequestPoolSize 133 } 134 return 0 135 } 136 137 func (m *Options) GetRequestForwardTimeout() string { 138 if m != nil { 139 return m.RequestForwardTimeout 140 } 141 return "" 142 } 143 144 func (m *Options) GetRequestComplainTimeout() string { 145 if m != nil { 146 return m.RequestComplainTimeout 147 } 148 return "" 149 } 150 151 func (m *Options) GetRequestAutoRemoveTimeout() string { 152 if m != nil { 153 return m.RequestAutoRemoveTimeout 154 } 155 return "" 156 } 157 158 func (m *Options) GetRequestMaxBytes() uint64 { 159 if m != nil { 160 return m.RequestMaxBytes 161 } 162 return 0 163 } 164 165 func (m *Options) GetViewChangeResendInterval() string { 166 if m != nil { 167 return m.ViewChangeResendInterval 168 } 169 return "" 170 } 171 172 func (m *Options) GetViewChangeTimeout() string { 173 if m != nil { 174 return m.ViewChangeTimeout 175 } 176 return "" 177 } 178 179 func (m *Options) GetLeaderHeartbeatTimeout() string { 180 if m != nil { 181 return m.LeaderHeartbeatTimeout 182 } 183 return "" 184 } 185 186 func (m *Options) GetLeaderHeartbeatCount() uint64 { 187 if m != nil { 188 return m.LeaderHeartbeatCount 189 } 190 return 0 191 } 192 193 func (m *Options) GetCollectTimeout() string { 194 if m != nil { 195 return m.CollectTimeout 196 } 197 return "" 198 } 199 200 func (m *Options) GetSyncOnStart() bool { 201 if m != nil { 202 return m.SyncOnStart 203 } 204 return false 205 } 206 207 func (m *Options) GetSpeedUpViewChange() bool { 208 if m != nil { 209 return m.SpeedUpViewChange 210 } 211 return false 212 } 213 214 func (m *Options) GetLeaderRotation() Options_Rotation { 215 if m != nil { 216 return m.LeaderRotation 217 } 218 return Options_ROTATION_UNSPECIFIED 219 } 220 221 func (m *Options) GetDecisionsPerLeader() uint64 { 222 if m != nil { 223 return m.DecisionsPerLeader 224 } 225 return 0 226 } 227 228 func init() { 229 proto.RegisterEnum("orderer.smartbft.Options_Rotation", Options_Rotation_name, Options_Rotation_value) 230 proto.RegisterType((*Options)(nil), "orderer.smartbft.Options") 231 } 232 233 func init() { 234 proto.RegisterFile("orderer/smartbft/configuration.proto", fileDescriptor_a8a81ac5a2771ff3) 235 } 236 237 var fileDescriptor_a8a81ac5a2771ff3 = []byte{ 238 // 615 bytes of a gzipped FileDescriptorProto 239 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x94, 0x5d, 0x6f, 0xd3, 0x30, 240 0x14, 0x86, 0xe9, 0x18, 0x5b, 0xe7, 0x6d, 0xfd, 0x08, 0x65, 0x0b, 0x8c, 0x8b, 0xaa, 0x42, 0xa2, 241 0xe2, 0x22, 0x41, 0xc0, 0x10, 0x12, 0x9a, 0xd0, 0x5a, 0x56, 0xa8, 0x60, 0xeb, 0x94, 0x6d, 0x5c, 242 0x70, 0x63, 0x39, 0xc9, 0x69, 0x6a, 0x29, 0x89, 0x83, 0xed, 0xec, 0xeb, 0xef, 0xf0, 0x47, 0x51, 243 0xec, 0x38, 0x2d, 0xed, 0x2e, 0xe3, 0xe7, 0x7d, 0x72, 0x7c, 0xe2, 0xe3, 0xa0, 0x57, 0x8c, 0x87, 244 0xc0, 0x81, 0xbb, 0x22, 0x21, 0x5c, 0xfa, 0x53, 0xe9, 0x06, 0x2c, 0x9d, 0xd2, 0x28, 0xe7, 0x44, 245 0x52, 0x96, 0x3a, 0x19, 0x67, 0x92, 0x59, 0xad, 0x32, 0xe5, 0x98, 0x54, 0xef, 0x6f, 0x1d, 0x6d, 246 0x4e, 0xb2, 0x22, 0x22, 0xac, 0x43, 0xb4, 0xcf, 0xe1, 0x4f, 0x0e, 0x42, 0x62, 0x9f, 0xc8, 0x60, 247 0x86, 0x13, 0x72, 0x8b, 0x03, 0x96, 0xa7, 0xd2, 0xae, 0x75, 0x6b, 0xfd, 0x75, 0xaf, 0x53, 0xe2, 248 0x41, 0x41, 0x4f, 0xc9, 0xed, 0xb0, 0x60, 0x0f, 0x6b, 0xfe, 0x9d, 0x04, 0x61, 0xaf, 0x3d, 0xa8, 249 0x0d, 0x0a, 0x66, 0x7d, 0x46, 0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