aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go')
-rw-r--r--vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go55
1 files changed, 34 insertions, 21 deletions
diff --git a/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go b/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
index 8867ae7..7bfe37a 100644
--- a/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
+++ b/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
@@ -1,21 +1,12 @@
1// Code generated by protoc-gen-go. DO NOT EDIT. 1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/rpc/status.proto 2// source: google/rpc/status.proto
3 3
4/* 4package status // import "google.golang.org/genproto/googleapis/rpc/status"
5Package status is a generated protocol buffer package.
6
7It is generated from these files:
8 google/rpc/status.proto
9
10It has these top-level messages:
11 Status
12*/
13package status
14 5
15import proto "github.com/golang/protobuf/proto" 6import proto "github.com/golang/protobuf/proto"
16import fmt "fmt" 7import fmt "fmt"
17import math "math" 8import math "math"
18import google_protobuf "github.com/golang/protobuf/ptypes/any" 9import any "github.com/golang/protobuf/ptypes/any"
19 10
20// Reference imports to suppress errors if they are not otherwise used. 11// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal 12var _ = proto.Marshal
@@ -82,20 +73,42 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
82// be used directly after any stripping needed for security/privacy reasons. 73// be used directly after any stripping needed for security/privacy reasons.
83type Status struct { 74type Status struct {
84 // The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. 75 // The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
85 Code int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` 76 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
86 // A developer-facing error message, which should be in English. Any 77 // A developer-facing error message, which should be in English. Any
87 // user-facing error message should be localized and sent in the 78 // user-facing error message should be localized and sent in the
88 // [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. 79 // [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
89 Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` 80 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
90 // A list of messages that carry the error details. There is a common set of 81 // A list of messages that carry the error details. There is a common set of
91 // message types for APIs to use. 82 // message types for APIs to use.
92 Details []*google_protobuf.Any `protobuf:"bytes,3,rep,name=details" json:"details,omitempty"` 83 Details []*any.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
84 XXX_NoUnkeyedLiteral struct{} `json:"-"`
85 XXX_unrecognized []byte `json:"-"`
86 XXX_sizecache int32 `json:"-"`
87}
88
89func (m *Status) Reset() { *m = Status{} }
90func (m *Status) String() string { return proto.CompactTextString(m) }
91func (*Status) ProtoMessage() {}
92func (*Status) Descriptor() ([]byte, []int) {
93 return fileDescriptor_status_c6e4de62dcdf2edf, []int{0}
94}
95func (m *Status) XXX_Unmarshal(b []byte) error {
96 return xxx_messageInfo_Status.Unmarshal(m, b)
97}
98func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
99 return xxx_messageInfo_Status.Marshal(b, m, deterministic)
100}
101func (dst *Status) XXX_Merge(src proto.Message) {
102 xxx_messageInfo_Status.Merge(dst, src)
103}
104func (m *Status) XXX_Size() int {
105 return xxx_messageInfo_Status.Size(m)
106}
107func (m *Status) XXX_DiscardUnknown() {
108 xxx_messageInfo_Status.DiscardUnknown(m)
93} 109}
94 110
95func (m *Status) Reset() { *m = Status{} } 111var xxx_messageInfo_Status proto.InternalMessageInfo
96func (m *Status) String() string { return proto.CompactTextString(m) }
97func (*Status) ProtoMessage() {}
98func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
99 112
100func (m *Status) GetCode() int32 { 113func (m *Status) GetCode() int32 {
101 if m != nil { 114 if m != nil {
@@ -111,7 +124,7 @@ func (m *Status) GetMessage() string {
111 return "" 124 return ""
112} 125}
113 126
114func (m *Status) GetDetails() []*google_protobuf.Any { 127func (m *Status) GetDetails() []*any.Any {
115 if m != nil { 128 if m != nil {
116 return m.Details 129 return m.Details
117 } 130 }
@@ -122,9 +135,9 @@ func init() {
122 proto.RegisterType((*Status)(nil), "google.rpc.Status") 135 proto.RegisterType((*Status)(nil), "google.rpc.Status")
123} 136}
124 137
125func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptor0) } 138func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptor_status_c6e4de62dcdf2edf) }
126 139
127var fileDescriptor0 = []byte{ 140var fileDescriptor_status_c6e4de62dcdf2edf = []byte{
128 // 209 bytes of a gzipped FileDescriptorProto 141 // 209 bytes of a gzipped FileDescriptorProto
129 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcf, 0xcf, 0x4f, 142 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcf, 0xcf, 0x4f,
130 0xcf, 0x49, 0xd5, 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6, 0x2b, 0x28, 143 0xcf, 0x49, 0xd5, 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6, 0x2b, 0x28,