github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/plugins/shared/structs/proto/recoverable_error.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: plugins/shared/structs/proto/recoverable_error.proto 3 4 package proto 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 // RecoverableError is used with a grpc Status to indicate if the error is one 24 // which is recoverable and can be reattempted by the client. 25 type RecoverableError struct { 26 Recoverable bool `protobuf:"varint,1,opt,name=recoverable,proto3" json:"recoverable,omitempty"` 27 XXX_NoUnkeyedLiteral struct{} `json:"-"` 28 XXX_unrecognized []byte `json:"-"` 29 XXX_sizecache int32 `json:"-"` 30 } 31 32 func (m *RecoverableError) Reset() { *m = RecoverableError{} } 33 func (m *RecoverableError) String() string { return proto.CompactTextString(m) } 34 func (*RecoverableError) ProtoMessage() {} 35 func (*RecoverableError) Descriptor() ([]byte, []int) { 36 return fileDescriptor_82d0e8d3a57dbb3c, []int{0} 37 } 38 39 func (m *RecoverableError) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_RecoverableError.Unmarshal(m, b) 41 } 42 func (m *RecoverableError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_RecoverableError.Marshal(b, m, deterministic) 44 } 45 func (m *RecoverableError) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_RecoverableError.Merge(m, src) 47 } 48 func (m *RecoverableError) XXX_Size() int { 49 return xxx_messageInfo_RecoverableError.Size(m) 50 } 51 func (m *RecoverableError) XXX_DiscardUnknown() { 52 xxx_messageInfo_RecoverableError.DiscardUnknown(m) 53 } 54 55 var xxx_messageInfo_RecoverableError proto.InternalMessageInfo 56 57 func (m *RecoverableError) GetRecoverable() bool { 58 if m != nil { 59 return m.Recoverable 60 } 61 return false 62 } 63 64 func init() { 65 proto.RegisterType((*RecoverableError)(nil), "hashicorp.nomad.plugins.shared.structs.RecoverableError") 66 } 67 68 func init() { 69 proto.RegisterFile("plugins/shared/structs/proto/recoverable_error.proto", fileDescriptor_82d0e8d3a57dbb3c) 70 } 71 72 var fileDescriptor_82d0e8d3a57dbb3c = []byte{ 73 // 138 bytes of a gzipped FileDescriptorProto 74 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x29, 0xc8, 0x29, 0x4d, 75 0xcf, 0xcc, 0x2b, 0xd6, 0x2f, 0xce, 0x48, 0x2c, 0x4a, 0x4d, 0xd1, 0x2f, 0x2e, 0x29, 0x2a, 0x4d, 76 0x2e, 0x29, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x2f, 0x4a, 0x4d, 0xce, 0x2f, 0x4b, 0x2d, 77 0x4a, 0x4c, 0xca, 0x49, 0x8d, 0x4f, 0x2d, 0x2a, 0xca, 0x2f, 0xd2, 0x03, 0x8b, 0x0b, 0xa9, 0x65, 78 0x24, 0x16, 0x67, 0x64, 0x26, 0xe7, 0x17, 0x15, 0xe8, 0xe5, 0xe5, 0xe7, 0x26, 0xa6, 0xe8, 0x41, 79 0x4d, 0xd1, 0x83, 0x98, 0xa2, 0x07, 0x35, 0x45, 0xc9, 0x84, 0x4b, 0x20, 0x08, 0x61, 0x84, 0x2b, 80 0xc8, 0x04, 0x21, 0x05, 0x2e, 0x6e, 0x24, 0x63, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x82, 0x90, 81 0x85, 0x9c, 0xd8, 0xa3, 0x58, 0xc1, 0xd6, 0x24, 0xb1, 0x81, 0x29, 0x63, 0x40, 0x00, 0x00, 0x00, 82 0xff, 0xff, 0xc5, 0x45, 0x79, 0xed, 0xa5, 0x00, 0x00, 0x00, 83 }