aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
diff options
context:
space:
mode:
authorappilon <apilon@hashicorp.com>2019-02-27 16:43:31 -0500
committerGitHub <noreply@github.com>2019-02-27 16:43:31 -0500
commit844b5a68d8af4791755b8f0ad293cc99f5959183 (patch)
tree255c250a5c9d4801c74092d33b7337d8c14438ff /vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
parent303b299eeb6b06e939e35905e4b34cb410dd9dc3 (diff)
parent15c0b25d011f37e7c20aeca9eaf461f78285b8d9 (diff)
downloadterraform-provider-statuscake-844b5a68d8af4791755b8f0ad293cc99f5959183.tar.gz
terraform-provider-statuscake-844b5a68d8af4791755b8f0ad293cc99f5959183.tar.zst
terraform-provider-statuscake-844b5a68d8af4791755b8f0ad293cc99f5959183.zip
Merge pull request #27 from terraform-providers/go-modules-2019-02-22
[MODULES] Switch to Go Modules
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.go143
1 files changed, 143 insertions, 0 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
new file mode 100644
index 0000000..8867ae7
--- /dev/null
+++ b/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
@@ -0,0 +1,143 @@
1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/rpc/status.proto
3
4/*
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
15import proto "github.com/golang/protobuf/proto"
16import fmt "fmt"
17import math "math"
18import google_protobuf "github.com/golang/protobuf/ptypes/any"
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
29const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
30
31// The `Status` type defines a logical error model that is suitable for different
32// programming environments, including REST APIs and RPC APIs. It is used by
33// [gRPC](https://github.com/grpc). The error model is designed to be:
34//
35// - Simple to use and understand for most users
36// - Flexible enough to meet unexpected needs
37//
38// # Overview
39//
40// The `Status` message contains three pieces of data: error code, error message,
41// and error details. The error code should be an enum value of
42// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The
43// error message should be a developer-facing English message that helps
44// developers *understand* and *resolve* the error. If a localized user-facing
45// error message is needed, put the localized message in the error details or
46// localize it in the client. The optional error details may contain arbitrary
47// information about the error. There is a predefined set of error detail types
48// in the package `google.rpc` that can be used for common error conditions.
49//
50// # Language mapping
51//
52// The `Status` message is the logical representation of the error model, but it
53// is not necessarily the actual wire format. When the `Status` message is
54// exposed in different client libraries and different wire protocols, it can be
55// mapped differently. For example, it will likely be mapped to some exceptions
56// in Java, but more likely mapped to some error codes in C.
57//
58// # Other uses
59//
60// The error model and the `Status` message can be used in a variety of
61// environments, either with or without APIs, to provide a
62// consistent developer experience across different environments.
63//
64// Example uses of this error model include:
65//
66// - Partial errors. If a service needs to return partial errors to the client,
67// it may embed the `Status` in the normal response to indicate the partial
68// errors.
69//
70// - Workflow errors. A typical workflow has multiple steps. Each step may
71// have a `Status` message for error reporting.
72//
73// - Batch operations. If a client uses batch request and batch response, the
74// `Status` message should be used directly inside batch response, one for
75// each error sub-response.
76//
77// - Asynchronous operations. If an API call embeds asynchronous operation
78// results in its response, the status of those operations should be
79// represented directly using the `Status` message.
80//
81// - Logging. If some API errors are stored in logs, the message `Status` could
82// be used directly after any stripping needed for security/privacy reasons.
83type Status struct {
84 // 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"`
86 // A developer-facing error message, which should be in English. Any
87 // 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.
89 Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
90 // A list of messages that carry the error details. There is a common set of
91 // message types for APIs to use.
92 Details []*google_protobuf.Any `protobuf:"bytes,3,rep,name=details" json:"details,omitempty"`
93}
94
95func (m *Status) Reset() { *m = Status{} }
96func (m *Status) String() string { return proto.CompactTextString(m) }
97func (*Status) ProtoMessage() {}
98func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
99
100func (m *Status) GetCode() int32 {
101 if m != nil {
102 return m.Code
103 }
104 return 0
105}
106
107func (m *Status) GetMessage() string {
108 if m != nil {
109 return m.Message
110 }
111 return ""
112}
113
114func (m *Status) GetDetails() []*google_protobuf.Any {
115 if m != nil {
116 return m.Details
117 }
118 return nil
119}
120
121func init() {
122 proto.RegisterType((*Status)(nil), "google.rpc.Status")
123}
124
125func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptor0) }
126
127var fileDescriptor0 = []byte{
128 // 209 bytes of a gzipped FileDescriptorProto
129 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,
131 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x48, 0xe8, 0x15, 0x15, 0x24, 0x4b, 0x49, 0x42, 0x15, 0x81,
132 0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94, 0xd2, 0xb8, 0xd8, 0x82, 0xc1,
133 0xda, 0x84, 0x84, 0xb8, 0x58, 0x92, 0xf3, 0x53, 0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83,
134 0xc0, 0x6c, 0x21, 0x09, 0x2e, 0xf6, 0xdc, 0xd4, 0xe2, 0xe2, 0xc4, 0xf4, 0x54, 0x09, 0x26, 0x05,
135 0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, 0x48, 0x8f, 0x8b, 0x3d, 0x25, 0xb5, 0x24, 0x31, 0x33, 0xa7,
136 0x58, 0x82, 0x59, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0x6a, 0x21, 0xcc, 0x12, 0x3d, 0xc7,
137 0xbc, 0xca, 0x20, 0x98, 0x22, 0xa7, 0x38, 0x2e, 0xbe, 0xe4, 0xfc, 0x5c, 0x3d, 0x84, 0xa3, 0x9c,
138 0xb8, 0x21, 0xf6, 0x06, 0x80, 0x94, 0x07, 0x30, 0x46, 0x99, 0x43, 0xa5, 0xd2, 0xf3, 0x73, 0x12,
139 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0x86, 0xe9, 0x43, 0xa4, 0x12,
140 0x0b, 0x32, 0x8b, 0x91, 0xfc, 0x69, 0x0d, 0xa1, 0x16, 0x31, 0x31, 0x07, 0x05, 0x38, 0x27, 0xb1,
141 0x81, 0x55, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x53, 0xf0, 0x7c, 0x10, 0x01, 0x00,
142 0x00,
143}