1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/rpc/error_details.proto
3
4package errdetails // import "google.golang.org/genproto/googleapis/rpc/errdetails"
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9import duration "github.com/golang/protobuf/ptypes/duration"
10
11// Reference imports to suppress errors if they are not otherwise used.
12var _ = proto.Marshal
13var _ = fmt.Errorf
14var _ = math.Inf
15
16// This is a compile-time assertion to ensure that this generated file
17// is compatible with the proto package it is being compiled against.
18// A compilation error at this line likely means your copy of the
19// proto package needs to be updated.
20const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
21
22// Describes when the clients can retry a failed request. Clients could ignore
23// the recommendation here or retry when this information is missing from error
24// responses.
25//
26// It's always recommended that clients should use exponential backoff when
27// retrying.
28//
29// Clients should wait until `retry_delay` amount of time has passed since
30// receiving the error response before retrying.  If retrying requests also
31// fail, clients should use an exponential backoff scheme to gradually increase
32// the delay between retries based on `retry_delay`, until either a maximum
33// number of retires have been reached or a maximum retry delay cap has been
34// reached.
35type RetryInfo struct {
36	// Clients should wait at least this long between retrying the same request.
37	RetryDelay           *duration.Duration `protobuf:"bytes,1,opt,name=retry_delay,json=retryDelay,proto3" json:"retry_delay,omitempty"`
38	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
39	XXX_unrecognized     []byte             `json:"-"`
40	XXX_sizecache        int32              `json:"-"`
41}
42
43func (m *RetryInfo) Reset()         { *m = RetryInfo{} }
44func (m *RetryInfo) String() string { return proto.CompactTextString(m) }
45func (*RetryInfo) ProtoMessage()    {}
46func (*RetryInfo) Descriptor() ([]byte, []int) {
47	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{0}
48}
49func (m *RetryInfo) XXX_Unmarshal(b []byte) error {
50	return xxx_messageInfo_RetryInfo.Unmarshal(m, b)
51}
52func (m *RetryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
53	return xxx_messageInfo_RetryInfo.Marshal(b, m, deterministic)
54}
55func (dst *RetryInfo) XXX_Merge(src proto.Message) {
56	xxx_messageInfo_RetryInfo.Merge(dst, src)
57}
58func (m *RetryInfo) XXX_Size() int {
59	return xxx_messageInfo_RetryInfo.Size(m)
60}
61func (m *RetryInfo) XXX_DiscardUnknown() {
62	xxx_messageInfo_RetryInfo.DiscardUnknown(m)
63}
64
65var xxx_messageInfo_RetryInfo proto.InternalMessageInfo
66
67func (m *RetryInfo) GetRetryDelay() *duration.Duration {
68	if m != nil {
69		return m.RetryDelay
70	}
71	return nil
72}
73
74// Describes additional debugging info.
75type DebugInfo struct {
76	// The stack trace entries indicating where the error occurred.
77	StackEntries []string `protobuf:"bytes,1,rep,name=stack_entries,json=stackEntries,proto3" json:"stack_entries,omitempty"`
78	// Additional debugging information provided by the server.
79	Detail               string   `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
80	XXX_NoUnkeyedLiteral struct{} `json:"-"`
81	XXX_unrecognized     []byte   `json:"-"`
82	XXX_sizecache        int32    `json:"-"`
83}
84
85func (m *DebugInfo) Reset()         { *m = DebugInfo{} }
86func (m *DebugInfo) String() string { return proto.CompactTextString(m) }
87func (*DebugInfo) ProtoMessage()    {}
88func (*DebugInfo) Descriptor() ([]byte, []int) {
89	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{1}
90}
91func (m *DebugInfo) XXX_Unmarshal(b []byte) error {
92	return xxx_messageInfo_DebugInfo.Unmarshal(m, b)
93}
94func (m *DebugInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
95	return xxx_messageInfo_DebugInfo.Marshal(b, m, deterministic)
96}
97func (dst *DebugInfo) XXX_Merge(src proto.Message) {
98	xxx_messageInfo_DebugInfo.Merge(dst, src)
99}
100func (m *DebugInfo) XXX_Size() int {
101	return xxx_messageInfo_DebugInfo.Size(m)
102}
103func (m *DebugInfo) XXX_DiscardUnknown() {
104	xxx_messageInfo_DebugInfo.DiscardUnknown(m)
105}
106
107var xxx_messageInfo_DebugInfo proto.InternalMessageInfo
108
109func (m *DebugInfo) GetStackEntries() []string {
110	if m != nil {
111		return m.StackEntries
112	}
113	return nil
114}
115
116func (m *DebugInfo) GetDetail() string {
117	if m != nil {
118		return m.Detail
119	}
120	return ""
121}
122
123// Describes how a quota check failed.
124//
125// For example if a daily limit was exceeded for the calling project,
126// a service could respond with a QuotaFailure detail containing the project
127// id and the description of the quota limit that was exceeded.  If the
128// calling project hasn't enabled the service in the developer console, then
129// a service could respond with the project id and set `service_disabled`
130// to true.
131//
132// Also see RetryDetail and Help types for other details about handling a
133// quota failure.
134type QuotaFailure struct {
135	// Describes all quota violations.
136	Violations           []*QuotaFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"`
137	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
138	XXX_unrecognized     []byte                    `json:"-"`
139	XXX_sizecache        int32                     `json:"-"`
140}
141
142func (m *QuotaFailure) Reset()         { *m = QuotaFailure{} }
143func (m *QuotaFailure) String() string { return proto.CompactTextString(m) }
144func (*QuotaFailure) ProtoMessage()    {}
145func (*QuotaFailure) Descriptor() ([]byte, []int) {
146	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{2}
147}
148func (m *QuotaFailure) XXX_Unmarshal(b []byte) error {
149	return xxx_messageInfo_QuotaFailure.Unmarshal(m, b)
150}
151func (m *QuotaFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
152	return xxx_messageInfo_QuotaFailure.Marshal(b, m, deterministic)
153}
154func (dst *QuotaFailure) XXX_Merge(src proto.Message) {
155	xxx_messageInfo_QuotaFailure.Merge(dst, src)
156}
157func (m *QuotaFailure) XXX_Size() int {
158	return xxx_messageInfo_QuotaFailure.Size(m)
159}
160func (m *QuotaFailure) XXX_DiscardUnknown() {
161	xxx_messageInfo_QuotaFailure.DiscardUnknown(m)
162}
163
164var xxx_messageInfo_QuotaFailure proto.InternalMessageInfo
165
166func (m *QuotaFailure) GetViolations() []*QuotaFailure_Violation {
167	if m != nil {
168		return m.Violations
169	}
170	return nil
171}
172
173// A message type used to describe a single quota violation.  For example, a
174// daily quota or a custom quota that was exceeded.
175type QuotaFailure_Violation struct {
176	// The subject on which the quota check failed.
177	// For example, "clientip:<ip address of client>" or "project:<Google
178	// developer project id>".
179	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
180	// A description of how the quota check failed. Clients can use this
181	// description to find more about the quota configuration in the service's
182	// public documentation, or find the relevant quota limit to adjust through
183	// developer console.
184	//
185	// For example: "Service disabled" or "Daily Limit for read operations
186	// exceeded".
187	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
188	XXX_NoUnkeyedLiteral struct{} `json:"-"`
189	XXX_unrecognized     []byte   `json:"-"`
190	XXX_sizecache        int32    `json:"-"`
191}
192
193func (m *QuotaFailure_Violation) Reset()         { *m = QuotaFailure_Violation{} }
194func (m *QuotaFailure_Violation) String() string { return proto.CompactTextString(m) }
195func (*QuotaFailure_Violation) ProtoMessage()    {}
196func (*QuotaFailure_Violation) Descriptor() ([]byte, []int) {
197	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{2, 0}
198}
199func (m *QuotaFailure_Violation) XXX_Unmarshal(b []byte) error {
200	return xxx_messageInfo_QuotaFailure_Violation.Unmarshal(m, b)
201}
202func (m *QuotaFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
203	return xxx_messageInfo_QuotaFailure_Violation.Marshal(b, m, deterministic)
204}
205func (dst *QuotaFailure_Violation) XXX_Merge(src proto.Message) {
206	xxx_messageInfo_QuotaFailure_Violation.Merge(dst, src)
207}
208func (m *QuotaFailure_Violation) XXX_Size() int {
209	return xxx_messageInfo_QuotaFailure_Violation.Size(m)
210}
211func (m *QuotaFailure_Violation) XXX_DiscardUnknown() {
212	xxx_messageInfo_QuotaFailure_Violation.DiscardUnknown(m)
213}
214
215var xxx_messageInfo_QuotaFailure_Violation proto.InternalMessageInfo
216
217func (m *QuotaFailure_Violation) GetSubject() string {
218	if m != nil {
219		return m.Subject
220	}
221	return ""
222}
223
224func (m *QuotaFailure_Violation) GetDescription() string {
225	if m != nil {
226		return m.Description
227	}
228	return ""
229}
230
231// Describes what preconditions have failed.
232//
233// For example, if an RPC failed because it required the Terms of Service to be
234// acknowledged, it could list the terms of service violation in the
235// PreconditionFailure message.
236type PreconditionFailure struct {
237	// Describes all precondition violations.
238	Violations           []*PreconditionFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"`
239	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
240	XXX_unrecognized     []byte                           `json:"-"`
241	XXX_sizecache        int32                            `json:"-"`
242}
243
244func (m *PreconditionFailure) Reset()         { *m = PreconditionFailure{} }
245func (m *PreconditionFailure) String() string { return proto.CompactTextString(m) }
246func (*PreconditionFailure) ProtoMessage()    {}
247func (*PreconditionFailure) Descriptor() ([]byte, []int) {
248	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{3}
249}
250func (m *PreconditionFailure) XXX_Unmarshal(b []byte) error {
251	return xxx_messageInfo_PreconditionFailure.Unmarshal(m, b)
252}
253func (m *PreconditionFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
254	return xxx_messageInfo_PreconditionFailure.Marshal(b, m, deterministic)
255}
256func (dst *PreconditionFailure) XXX_Merge(src proto.Message) {
257	xxx_messageInfo_PreconditionFailure.Merge(dst, src)
258}
259func (m *PreconditionFailure) XXX_Size() int {
260	return xxx_messageInfo_PreconditionFailure.Size(m)
261}
262func (m *PreconditionFailure) XXX_DiscardUnknown() {
263	xxx_messageInfo_PreconditionFailure.DiscardUnknown(m)
264}
265
266var xxx_messageInfo_PreconditionFailure proto.InternalMessageInfo
267
268func (m *PreconditionFailure) GetViolations() []*PreconditionFailure_Violation {
269	if m != nil {
270		return m.Violations
271	}
272	return nil
273}
274
275// A message type used to describe a single precondition failure.
276type PreconditionFailure_Violation struct {
277	// The type of PreconditionFailure. We recommend using a service-specific
278	// enum type to define the supported precondition violation types. For
279	// example, "TOS" for "Terms of Service violation".
280	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
281	// The subject, relative to the type, that failed.
282	// For example, "google.com/cloud" relative to the "TOS" type would
283	// indicate which terms of service is being referenced.
284	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
285	// A description of how the precondition failed. Developers can use this
286	// description to understand how to fix the failure.
287	//
288	// For example: "Terms of service not accepted".
289	Description          string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
290	XXX_NoUnkeyedLiteral struct{} `json:"-"`
291	XXX_unrecognized     []byte   `json:"-"`
292	XXX_sizecache        int32    `json:"-"`
293}
294
295func (m *PreconditionFailure_Violation) Reset()         { *m = PreconditionFailure_Violation{} }
296func (m *PreconditionFailure_Violation) String() string { return proto.CompactTextString(m) }
297func (*PreconditionFailure_Violation) ProtoMessage()    {}
298func (*PreconditionFailure_Violation) Descriptor() ([]byte, []int) {
299	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{3, 0}
300}
301func (m *PreconditionFailure_Violation) XXX_Unmarshal(b []byte) error {
302	return xxx_messageInfo_PreconditionFailure_Violation.Unmarshal(m, b)
303}
304func (m *PreconditionFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
305	return xxx_messageInfo_PreconditionFailure_Violation.Marshal(b, m, deterministic)
306}
307func (dst *PreconditionFailure_Violation) XXX_Merge(src proto.Message) {
308	xxx_messageInfo_PreconditionFailure_Violation.Merge(dst, src)
309}
310func (m *PreconditionFailure_Violation) XXX_Size() int {
311	return xxx_messageInfo_PreconditionFailure_Violation.Size(m)
312}
313func (m *PreconditionFailure_Violation) XXX_DiscardUnknown() {
314	xxx_messageInfo_PreconditionFailure_Violation.DiscardUnknown(m)
315}
316
317var xxx_messageInfo_PreconditionFailure_Violation proto.InternalMessageInfo
318
319func (m *PreconditionFailure_Violation) GetType() string {
320	if m != nil {
321		return m.Type
322	}
323	return ""
324}
325
326func (m *PreconditionFailure_Violation) GetSubject() string {
327	if m != nil {
328		return m.Subject
329	}
330	return ""
331}
332
333func (m *PreconditionFailure_Violation) GetDescription() string {
334	if m != nil {
335		return m.Description
336	}
337	return ""
338}
339
340// Describes violations in a client request. This error type focuses on the
341// syntactic aspects of the request.
342type BadRequest struct {
343	// Describes all violations in a client request.
344	FieldViolations      []*BadRequest_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations,proto3" json:"field_violations,omitempty"`
345	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
346	XXX_unrecognized     []byte                       `json:"-"`
347	XXX_sizecache        int32                        `json:"-"`
348}
349
350func (m *BadRequest) Reset()         { *m = BadRequest{} }
351func (m *BadRequest) String() string { return proto.CompactTextString(m) }
352func (*BadRequest) ProtoMessage()    {}
353func (*BadRequest) Descriptor() ([]byte, []int) {
354	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{4}
355}
356func (m *BadRequest) XXX_Unmarshal(b []byte) error {
357	return xxx_messageInfo_BadRequest.Unmarshal(m, b)
358}
359func (m *BadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
360	return xxx_messageInfo_BadRequest.Marshal(b, m, deterministic)
361}
362func (dst *BadRequest) XXX_Merge(src proto.Message) {
363	xxx_messageInfo_BadRequest.Merge(dst, src)
364}
365func (m *BadRequest) XXX_Size() int {
366	return xxx_messageInfo_BadRequest.Size(m)
367}
368func (m *BadRequest) XXX_DiscardUnknown() {
369	xxx_messageInfo_BadRequest.DiscardUnknown(m)
370}
371
372var xxx_messageInfo_BadRequest proto.InternalMessageInfo
373
374func (m *BadRequest) GetFieldViolations() []*BadRequest_FieldViolation {
375	if m != nil {
376		return m.FieldViolations
377	}
378	return nil
379}
380
381// A message type used to describe a single bad request field.
382type BadRequest_FieldViolation struct {
383	// A path leading to a field in the request body. The value will be a
384	// sequence of dot-separated identifiers that identify a protocol buffer
385	// field. E.g., "field_violations.field" would identify this field.
386	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
387	// A description of why the request element is bad.
388	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
389	XXX_NoUnkeyedLiteral struct{} `json:"-"`
390	XXX_unrecognized     []byte   `json:"-"`
391	XXX_sizecache        int32    `json:"-"`
392}
393
394func (m *BadRequest_FieldViolation) Reset()         { *m = BadRequest_FieldViolation{} }
395func (m *BadRequest_FieldViolation) String() string { return proto.CompactTextString(m) }
396func (*BadRequest_FieldViolation) ProtoMessage()    {}
397func (*BadRequest_FieldViolation) Descriptor() ([]byte, []int) {
398	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{4, 0}
399}
400func (m *BadRequest_FieldViolation) XXX_Unmarshal(b []byte) error {
401	return xxx_messageInfo_BadRequest_FieldViolation.Unmarshal(m, b)
402}
403func (m *BadRequest_FieldViolation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
404	return xxx_messageInfo_BadRequest_FieldViolation.Marshal(b, m, deterministic)
405}
406func (dst *BadRequest_FieldViolation) XXX_Merge(src proto.Message) {
407	xxx_messageInfo_BadRequest_FieldViolation.Merge(dst, src)
408}
409func (m *BadRequest_FieldViolation) XXX_Size() int {
410	return xxx_messageInfo_BadRequest_FieldViolation.Size(m)
411}
412func (m *BadRequest_FieldViolation) XXX_DiscardUnknown() {
413	xxx_messageInfo_BadRequest_FieldViolation.DiscardUnknown(m)
414}
415
416var xxx_messageInfo_BadRequest_FieldViolation proto.InternalMessageInfo
417
418func (m *BadRequest_FieldViolation) GetField() string {
419	if m != nil {
420		return m.Field
421	}
422	return ""
423}
424
425func (m *BadRequest_FieldViolation) GetDescription() string {
426	if m != nil {
427		return m.Description
428	}
429	return ""
430}
431
432// Contains metadata about the request that clients can attach when filing a bug
433// or providing other forms of feedback.
434type RequestInfo struct {
435	// An opaque string that should only be interpreted by the service generating
436	// it. For example, it can be used to identify requests in the service's logs.
437	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
438	// Any data that was used to serve this request. For example, an encrypted
439	// stack trace that can be sent back to the service provider for debugging.
440	ServingData          string   `protobuf:"bytes,2,opt,name=serving_data,json=servingData,proto3" json:"serving_data,omitempty"`
441	XXX_NoUnkeyedLiteral struct{} `json:"-"`
442	XXX_unrecognized     []byte   `json:"-"`
443	XXX_sizecache        int32    `json:"-"`
444}
445
446func (m *RequestInfo) Reset()         { *m = RequestInfo{} }
447func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
448func (*RequestInfo) ProtoMessage()    {}
449func (*RequestInfo) Descriptor() ([]byte, []int) {
450	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{5}
451}
452func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
453	return xxx_messageInfo_RequestInfo.Unmarshal(m, b)
454}
455func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
456	return xxx_messageInfo_RequestInfo.Marshal(b, m, deterministic)
457}
458func (dst *RequestInfo) XXX_Merge(src proto.Message) {
459	xxx_messageInfo_RequestInfo.Merge(dst, src)
460}
461func (m *RequestInfo) XXX_Size() int {
462	return xxx_messageInfo_RequestInfo.Size(m)
463}
464func (m *RequestInfo) XXX_DiscardUnknown() {
465	xxx_messageInfo_RequestInfo.DiscardUnknown(m)
466}
467
468var xxx_messageInfo_RequestInfo proto.InternalMessageInfo
469
470func (m *RequestInfo) GetRequestId() string {
471	if m != nil {
472		return m.RequestId
473	}
474	return ""
475}
476
477func (m *RequestInfo) GetServingData() string {
478	if m != nil {
479		return m.ServingData
480	}
481	return ""
482}
483
484// Describes the resource that is being accessed.
485type ResourceInfo struct {
486	// A name for the type of resource being accessed, e.g. "sql table",
487	// "cloud storage bucket", "file", "Google calendar"; or the type URL
488	// of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
489	ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
490	// The name of the resource being accessed.  For example, a shared calendar
491	// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
492	// error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
493	ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
494	// The owner of the resource (optional).
495	// For example, "user:<owner email>" or "project:<Google developer project
496	// id>".
497	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
498	// Describes what error is encountered when accessing this resource.
499	// For example, updating a cloud project may require the `writer` permission
500	// on the developer console project.
501	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
502	XXX_NoUnkeyedLiteral struct{} `json:"-"`
503	XXX_unrecognized     []byte   `json:"-"`
504	XXX_sizecache        int32    `json:"-"`
505}
506
507func (m *ResourceInfo) Reset()         { *m = ResourceInfo{} }
508func (m *ResourceInfo) String() string { return proto.CompactTextString(m) }
509func (*ResourceInfo) ProtoMessage()    {}
510func (*ResourceInfo) Descriptor() ([]byte, []int) {
511	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{6}
512}
513func (m *ResourceInfo) XXX_Unmarshal(b []byte) error {
514	return xxx_messageInfo_ResourceInfo.Unmarshal(m, b)
515}
516func (m *ResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
517	return xxx_messageInfo_ResourceInfo.Marshal(b, m, deterministic)
518}
519func (dst *ResourceInfo) XXX_Merge(src proto.Message) {
520	xxx_messageInfo_ResourceInfo.Merge(dst, src)
521}
522func (m *ResourceInfo) XXX_Size() int {
523	return xxx_messageInfo_ResourceInfo.Size(m)
524}
525func (m *ResourceInfo) XXX_DiscardUnknown() {
526	xxx_messageInfo_ResourceInfo.DiscardUnknown(m)
527}
528
529var xxx_messageInfo_ResourceInfo proto.InternalMessageInfo
530
531func (m *ResourceInfo) GetResourceType() string {
532	if m != nil {
533		return m.ResourceType
534	}
535	return ""
536}
537
538func (m *ResourceInfo) GetResourceName() string {
539	if m != nil {
540		return m.ResourceName
541	}
542	return ""
543}
544
545func (m *ResourceInfo) GetOwner() string {
546	if m != nil {
547		return m.Owner
548	}
549	return ""
550}
551
552func (m *ResourceInfo) GetDescription() string {
553	if m != nil {
554		return m.Description
555	}
556	return ""
557}
558
559// Provides links to documentation or for performing an out of band action.
560//
561// For example, if a quota check failed with an error indicating the calling
562// project hasn't enabled the accessed service, this can contain a URL pointing
563// directly to the right place in the developer console to flip the bit.
564type Help struct {
565	// URL(s) pointing to additional information on handling the current error.
566	Links                []*Help_Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"`
567	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
568	XXX_unrecognized     []byte       `json:"-"`
569	XXX_sizecache        int32        `json:"-"`
570}
571
572func (m *Help) Reset()         { *m = Help{} }
573func (m *Help) String() string { return proto.CompactTextString(m) }
574func (*Help) ProtoMessage()    {}
575func (*Help) Descriptor() ([]byte, []int) {
576	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{7}
577}
578func (m *Help) XXX_Unmarshal(b []byte) error {
579	return xxx_messageInfo_Help.Unmarshal(m, b)
580}
581func (m *Help) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
582	return xxx_messageInfo_Help.Marshal(b, m, deterministic)
583}
584func (dst *Help) XXX_Merge(src proto.Message) {
585	xxx_messageInfo_Help.Merge(dst, src)
586}
587func (m *Help) XXX_Size() int {
588	return xxx_messageInfo_Help.Size(m)
589}
590func (m *Help) XXX_DiscardUnknown() {
591	xxx_messageInfo_Help.DiscardUnknown(m)
592}
593
594var xxx_messageInfo_Help proto.InternalMessageInfo
595
596func (m *Help) GetLinks() []*Help_Link {
597	if m != nil {
598		return m.Links
599	}
600	return nil
601}
602
603// Describes a URL link.
604type Help_Link struct {
605	// Describes what the link offers.
606	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
607	// The URL of the link.
608	Url                  string   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
609	XXX_NoUnkeyedLiteral struct{} `json:"-"`
610	XXX_unrecognized     []byte   `json:"-"`
611	XXX_sizecache        int32    `json:"-"`
612}
613
614func (m *Help_Link) Reset()         { *m = Help_Link{} }
615func (m *Help_Link) String() string { return proto.CompactTextString(m) }
616func (*Help_Link) ProtoMessage()    {}
617func (*Help_Link) Descriptor() ([]byte, []int) {
618	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{7, 0}
619}
620func (m *Help_Link) XXX_Unmarshal(b []byte) error {
621	return xxx_messageInfo_Help_Link.Unmarshal(m, b)
622}
623func (m *Help_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
624	return xxx_messageInfo_Help_Link.Marshal(b, m, deterministic)
625}
626func (dst *Help_Link) XXX_Merge(src proto.Message) {
627	xxx_messageInfo_Help_Link.Merge(dst, src)
628}
629func (m *Help_Link) XXX_Size() int {
630	return xxx_messageInfo_Help_Link.Size(m)
631}
632func (m *Help_Link) XXX_DiscardUnknown() {
633	xxx_messageInfo_Help_Link.DiscardUnknown(m)
634}
635
636var xxx_messageInfo_Help_Link proto.InternalMessageInfo
637
638func (m *Help_Link) GetDescription() string {
639	if m != nil {
640		return m.Description
641	}
642	return ""
643}
644
645func (m *Help_Link) GetUrl() string {
646	if m != nil {
647		return m.Url
648	}
649	return ""
650}
651
652// Provides a localized error message that is safe to return to the user
653// which can be attached to an RPC error.
654type LocalizedMessage struct {
655	// The locale used following the specification defined at
656	// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
657	// Examples are: "en-US", "fr-CH", "es-MX"
658	Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
659	// The localized error message in the above locale.
660	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
661	XXX_NoUnkeyedLiteral struct{} `json:"-"`
662	XXX_unrecognized     []byte   `json:"-"`
663	XXX_sizecache        int32    `json:"-"`
664}
665
666func (m *LocalizedMessage) Reset()         { *m = LocalizedMessage{} }
667func (m *LocalizedMessage) String() string { return proto.CompactTextString(m) }
668func (*LocalizedMessage) ProtoMessage()    {}
669func (*LocalizedMessage) Descriptor() ([]byte, []int) {
670	return fileDescriptor_error_details_816025d2d1ab7c4c, []int{8}
671}
672func (m *LocalizedMessage) XXX_Unmarshal(b []byte) error {
673	return xxx_messageInfo_LocalizedMessage.Unmarshal(m, b)
674}
675func (m *LocalizedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
676	return xxx_messageInfo_LocalizedMessage.Marshal(b, m, deterministic)
677}
678func (dst *LocalizedMessage) XXX_Merge(src proto.Message) {
679	xxx_messageInfo_LocalizedMessage.Merge(dst, src)
680}
681func (m *LocalizedMessage) XXX_Size() int {
682	return xxx_messageInfo_LocalizedMessage.Size(m)
683}
684func (m *LocalizedMessage) XXX_DiscardUnknown() {
685	xxx_messageInfo_LocalizedMessage.DiscardUnknown(m)
686}
687
688var xxx_messageInfo_LocalizedMessage proto.InternalMessageInfo
689
690func (m *LocalizedMessage) GetLocale() string {
691	if m != nil {
692		return m.Locale
693	}
694	return ""
695}
696
697func (m *LocalizedMessage) GetMessage() string {
698	if m != nil {
699		return m.Message
700	}
701	return ""
702}
703
704func init() {
705	proto.RegisterType((*RetryInfo)(nil), "google.rpc.RetryInfo")
706	proto.RegisterType((*DebugInfo)(nil), "google.rpc.DebugInfo")
707	proto.RegisterType((*QuotaFailure)(nil), "google.rpc.QuotaFailure")
708	proto.RegisterType((*QuotaFailure_Violation)(nil), "google.rpc.QuotaFailure.Violation")
709	proto.RegisterType((*PreconditionFailure)(nil), "google.rpc.PreconditionFailure")
710	proto.RegisterType((*PreconditionFailure_Violation)(nil), "google.rpc.PreconditionFailure.Violation")
711	proto.RegisterType((*BadRequest)(nil), "google.rpc.BadRequest")
712	proto.RegisterType((*BadRequest_FieldViolation)(nil), "google.rpc.BadRequest.FieldViolation")
713	proto.RegisterType((*RequestInfo)(nil), "google.rpc.RequestInfo")
714	proto.RegisterType((*ResourceInfo)(nil), "google.rpc.ResourceInfo")
715	proto.RegisterType((*Help)(nil), "google.rpc.Help")
716	proto.RegisterType((*Help_Link)(nil), "google.rpc.Help.Link")
717	proto.RegisterType((*LocalizedMessage)(nil), "google.rpc.LocalizedMessage")
718}
719
720func init() {
721	proto.RegisterFile("google/rpc/error_details.proto", fileDescriptor_error_details_816025d2d1ab7c4c)
722}
723
724var fileDescriptor_error_details_816025d2d1ab7c4c = []byte{
725	// 595 bytes of a gzipped FileDescriptorProto
726	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c,
727	0x14, 0x95, 0x9b, 0xb4, 0x9f, 0x7c, 0x93, 0xaf, 0x14, 0xf3, 0xa3, 0x10, 0x09, 0x14, 0x8c, 0x90,
728	0x8a, 0x90, 0x1c, 0xa9, 0xec, 0xca, 0x02, 0x29, 0xb8, 0x7f, 0x52, 0x81, 0x60, 0x21, 0x16, 0xb0,
729	0xb0, 0x26, 0xf6, 0x8d, 0x35, 0x74, 0xe2, 0x31, 0x33, 0xe3, 0xa2, 0xf0, 0x14, 0xec, 0xd9, 0xb1,
730	0xe2, 0x25, 0x78, 0x37, 0x34, 0x9e, 0x99, 0xc6, 0x6d, 0x0a, 0x62, 0x37, 0xe7, 0xcc, 0x99, 0xe3,
731	0x73, 0xaf, 0xae, 0x2f, 0x3c, 0x28, 0x38, 0x2f, 0x18, 0x8e, 0x45, 0x95, 0x8d, 0x51, 0x08, 0x2e,
732	0xd2, 0x1c, 0x15, 0xa1, 0x4c, 0x46, 0x95, 0xe0, 0x8a, 0x07, 0x60, 0xee, 0x23, 0x51, 0x65, 0x43,
733	0xa7, 0x6d, 0x6e, 0x66, 0xf5, 0x7c, 0x9c, 0xd7, 0x82, 0x28, 0xca, 0x4b, 0xa3, 0x0d, 0x8f, 0xc0,
734	0x4f, 0x50, 0x89, 0xe5, 0x49, 0x39, 0xe7, 0xc1, 0x3e, 0xf4, 0x84, 0x06, 0x69, 0x8e, 0x8c, 0x2c,
735	0x07, 0xde, 0xc8, 0xdb, 0xed, 0xed, 0xdd, 0x8b, 0xac, 0x9d, 0xb3, 0x88, 0x62, 0x6b, 0x91, 0x40,
736	0xa3, 0x8e, 0xb5, 0x38, 0x3c, 0x06, 0x3f, 0xc6, 0x59, 0x5d, 0x34, 0x46, 0x8f, 0xe0, 0x7f, 0xa9,
737	0x48, 0x76, 0x96, 0x62, 0xa9, 0x04, 0x45, 0x39, 0xf0, 0x46, 0x9d, 0x5d, 0x3f, 0xe9, 0x37, 0xe4,
738	0x81, 0xe1, 0x82, 0xbb, 0xb0, 0x65, 0x72, 0x0f, 0x36, 0x46, 0xde, 0xae, 0x9f, 0x58, 0x14, 0x7e,
739	0xf7, 0xa0, 0xff, 0xb6, 0xe6, 0x8a, 0x1c, 0x12, 0xca, 0x6a, 0x81, 0xc1, 0x04, 0xe0, 0x9c, 0x72,
740	0xd6, 0x7c, 0xd3, 0x58, 0xf5, 0xf6, 0xc2, 0x68, 0x55, 0x64, 0xd4, 0x56, 0x47, 0xef, 0x9d, 0x34,
741	0x69, 0xbd, 0x1a, 0x1e, 0x81, 0x7f, 0x71, 0x11, 0x0c, 0xe0, 0x3f, 0x59, 0xcf, 0x3e, 0x61, 0xa6,
742	0x9a, 0x1a, 0xfd, 0xc4, 0xc1, 0x60, 0x04, 0xbd, 0x1c, 0x65, 0x26, 0x68, 0xa5, 0x85, 0x36, 0x58,
743	0x9b, 0x0a, 0x7f, 0x79, 0x70, 0x6b, 0x2a, 0x30, 0xe3, 0x65, 0x4e, 0x35, 0xe1, 0x42, 0x9e, 0x5c,
744	0x13, 0xf2, 0x49, 0x3b, 0xe4, 0x35, 0x8f, 0xfe, 0x90, 0xf5, 0x63, 0x3b, 0x6b, 0x00, 0x5d, 0xb5,
745	0xac, 0xd0, 0x06, 0x6d, 0xce, 0xed, 0xfc, 0x1b, 0x7f, 0xcd, 0xdf, 0x59, 0xcf, 0xff, 0xd3, 0x03,
746	0x98, 0x90, 0x3c, 0xc1, 0xcf, 0x35, 0x4a, 0x15, 0x4c, 0x61, 0x67, 0x4e, 0x91, 0xe5, 0xe9, 0x5a,
747	0xf8, 0xc7, 0xed, 0xf0, 0xab, 0x17, 0xd1, 0xa1, 0x96, 0xaf, 0x82, 0xdf, 0x98, 0x5f, 0xc2, 0x72,
748	0x78, 0x0c, 0xdb, 0x97, 0x25, 0xc1, 0x6d, 0xd8, 0x6c, 0x44, 0xb6, 0x06, 0x03, 0xfe, 0xa1, 0xd5,
749	0x6f, 0xa0, 0x67, 0x3f, 0xda, 0x0c, 0xd5, 0x7d, 0x00, 0x61, 0x60, 0x4a, 0x9d, 0x97, 0x6f, 0x99,
750	0x93, 0x3c, 0x78, 0x08, 0x7d, 0x89, 0xe2, 0x9c, 0x96, 0x45, 0x9a, 0x13, 0x45, 0x9c, 0xa1, 0xe5,
751	0x62, 0xa2, 0x48, 0xf8, 0xcd, 0x83, 0x7e, 0x82, 0x92, 0xd7, 0x22, 0x43, 0x37, 0xa7, 0xc2, 0xe2,
752	0xb4, 0xd5, 0xe5, 0xbe, 0x23, 0xdf, 0xe9, 0x6e, 0xb7, 0x45, 0x25, 0x59, 0xa0, 0x75, 0xbe, 0x10,
753	0xbd, 0x26, 0x0b, 0xd4, 0x35, 0xf2, 0x2f, 0x25, 0x0a, 0xdb, 0x72, 0x03, 0xae, 0xd6, 0xd8, 0x5d,
754	0xaf, 0x91, 0x43, 0xf7, 0x18, 0x59, 0x15, 0x3c, 0x85, 0x4d, 0x46, 0xcb, 0x33, 0xd7, 0xfc, 0x3b,
755	0xed, 0xe6, 0x6b, 0x41, 0x74, 0x4a, 0xcb, 0xb3, 0xc4, 0x68, 0x86, 0xfb, 0xd0, 0xd5, 0xf0, 0xaa,
756	0xbd, 0xb7, 0x66, 0x1f, 0xec, 0x40, 0xa7, 0x16, 0xee, 0x07, 0xd3, 0xc7, 0x30, 0x86, 0x9d, 0x53,
757	0x9e, 0x11, 0x46, 0xbf, 0x62, 0xfe, 0x0a, 0xa5, 0x24, 0x05, 0xea, 0x3f, 0x91, 0x69, 0xce, 0xd5,
758	0x6f, 0x91, 0x9e, 0xb3, 0x85, 0x91, 0xb8, 0x39, 0xb3, 0x70, 0xc2, 0x60, 0x3b, 0xe3, 0x8b, 0x56,
759	0xc8, 0xc9, 0xcd, 0x03, 0xbd, 0x89, 0x62, 0xb3, 0x88, 0xa6, 0x7a, 0x55, 0x4c, 0xbd, 0x0f, 0x2f,
760	0xac, 0xa0, 0xe0, 0x8c, 0x94, 0x45, 0xc4, 0x45, 0x31, 0x2e, 0xb0, 0x6c, 0x16, 0xc9, 0xd8, 0x5c,
761	0x91, 0x8a, 0x4a, 0xb7, 0xc8, 0xec, 0x16, 0x7b, 0xbe, 0x3a, 0xfe, 0xd8, 0xe8, 0x24, 0xd3, 0x97,
762	0xb3, 0xad, 0xe6, 0xc5, 0xb3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0x15, 0x46, 0x2d, 0xf9,
763	0x04, 0x00, 0x00,
764}
765