github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/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 proto "github.com/golang/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  
    10  // Reference imports to suppress errors if they are not otherwise used.
    11  var _ = proto.Marshal
    12  var _ = fmt.Errorf
    13  var _ = math.Inf
    14  
    15  // This is a compile-time assertion to ensure that this generated file
    16  // is compatible with the proto package it is being compiled against.
    17  // A compilation error at this line likely means your copy of the
    18  // proto package needs to be updated.
    19  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    20  
    21  // RecoverableError is used with a grpc Status to indicate if the error is one
    22  // which is recoverable and can be reattempted by the client.
    23  type RecoverableError struct {
    24  	Recoverable          bool     `protobuf:"varint,1,opt,name=recoverable,proto3" json:"recoverable,omitempty"`
    25  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    26  	XXX_unrecognized     []byte   `json:"-"`
    27  	XXX_sizecache        int32    `json:"-"`
    28  }
    29  
    30  func (m *RecoverableError) Reset()         { *m = RecoverableError{} }
    31  func (m *RecoverableError) String() string { return proto.CompactTextString(m) }
    32  func (*RecoverableError) ProtoMessage()    {}
    33  func (*RecoverableError) Descriptor() ([]byte, []int) {
    34  	return fileDescriptor_recoverable_error_f746254fd69675b0, []int{0}
    35  }
    36  func (m *RecoverableError) XXX_Unmarshal(b []byte) error {
    37  	return xxx_messageInfo_RecoverableError.Unmarshal(m, b)
    38  }
    39  func (m *RecoverableError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    40  	return xxx_messageInfo_RecoverableError.Marshal(b, m, deterministic)
    41  }
    42  func (dst *RecoverableError) XXX_Merge(src proto.Message) {
    43  	xxx_messageInfo_RecoverableError.Merge(dst, src)
    44  }
    45  func (m *RecoverableError) XXX_Size() int {
    46  	return xxx_messageInfo_RecoverableError.Size(m)
    47  }
    48  func (m *RecoverableError) XXX_DiscardUnknown() {
    49  	xxx_messageInfo_RecoverableError.DiscardUnknown(m)
    50  }
    51  
    52  var xxx_messageInfo_RecoverableError proto.InternalMessageInfo
    53  
    54  func (m *RecoverableError) GetRecoverable() bool {
    55  	if m != nil {
    56  		return m.Recoverable
    57  	}
    58  	return false
    59  }
    60  
    61  func init() {
    62  	proto.RegisterType((*RecoverableError)(nil), "hashicorp.nomad.plugins.shared.structs.RecoverableError")
    63  }
    64  
    65  func init() {
    66  	proto.RegisterFile("plugins/shared/structs/proto/recoverable_error.proto", fileDescriptor_recoverable_error_f746254fd69675b0)
    67  }
    68  
    69  var fileDescriptor_recoverable_error_f746254fd69675b0 = []byte{
    70  	// 138 bytes of a gzipped FileDescriptorProto
    71  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x29, 0xc8, 0x29, 0x4d,
    72  	0xcf, 0xcc, 0x2b, 0xd6, 0x2f, 0xce, 0x48, 0x2c, 0x4a, 0x4d, 0xd1, 0x2f, 0x2e, 0x29, 0x2a, 0x4d,
    73  	0x2e, 0x29, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x2f, 0x4a, 0x4d, 0xce, 0x2f, 0x4b, 0x2d,
    74  	0x4a, 0x4c, 0xca, 0x49, 0x8d, 0x4f, 0x2d, 0x2a, 0xca, 0x2f, 0xd2, 0x03, 0x8b, 0x0b, 0xa9, 0x65,
    75  	0x24, 0x16, 0x67, 0x64, 0x26, 0xe7, 0x17, 0x15, 0xe8, 0xe5, 0xe5, 0xe7, 0x26, 0xa6, 0xe8, 0x41,
    76  	0x4d, 0xd1, 0x83, 0x98, 0xa2, 0x07, 0x35, 0x45, 0xc9, 0x84, 0x4b, 0x20, 0x08, 0x61, 0x84, 0x2b,
    77  	0xc8, 0x04, 0x21, 0x05, 0x2e, 0x6e, 0x24, 0x63, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x82, 0x90,
    78  	0x85, 0x9c, 0xd8, 0xa3, 0x58, 0xc1, 0xd6, 0x24, 0xb1, 0x81, 0x29, 0x63, 0x40, 0x00, 0x00, 0x00,
    79  	0xff, 0xff, 0xc5, 0x45, 0x79, 0xed, 0xa5, 0x00, 0x00, 0x00,
    80  }