mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
459
vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go
generated
vendored
459
vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go
generated
vendored
@ -1,29 +1,12 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/rpc/error_details.proto
|
||||
|
||||
/*
|
||||
Package errdetails is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/rpc/error_details.proto
|
||||
|
||||
It has these top-level messages:
|
||||
RetryInfo
|
||||
DebugInfo
|
||||
QuotaFailure
|
||||
PreconditionFailure
|
||||
BadRequest
|
||||
RequestInfo
|
||||
ResourceInfo
|
||||
Help
|
||||
LocalizedMessage
|
||||
*/
|
||||
package errdetails
|
||||
package errdetails // import "google.golang.org/genproto/googleapis/rpc/errdetails"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf "github.com/golang/protobuf/ptypes/duration"
|
||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -51,15 +34,37 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
// reached.
|
||||
type RetryInfo struct {
|
||||
// Clients should wait at least this long between retrying the same request.
|
||||
RetryDelay *google_protobuf.Duration `protobuf:"bytes,1,opt,name=retry_delay,json=retryDelay" json:"retry_delay,omitempty"`
|
||||
RetryDelay *duration.Duration `protobuf:"bytes,1,opt,name=retry_delay,json=retryDelay,proto3" json:"retry_delay,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *RetryInfo) Reset() { *m = RetryInfo{} }
|
||||
func (m *RetryInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*RetryInfo) ProtoMessage() {}
|
||||
func (*RetryInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *RetryInfo) Reset() { *m = RetryInfo{} }
|
||||
func (m *RetryInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*RetryInfo) ProtoMessage() {}
|
||||
func (*RetryInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{0}
|
||||
}
|
||||
func (m *RetryInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RetryInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *RetryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_RetryInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *RetryInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_RetryInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *RetryInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_RetryInfo.Size(m)
|
||||
}
|
||||
func (m *RetryInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_RetryInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *RetryInfo) GetRetryDelay() *google_protobuf.Duration {
|
||||
var xxx_messageInfo_RetryInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *RetryInfo) GetRetryDelay() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.RetryDelay
|
||||
}
|
||||
@ -69,15 +74,37 @@ func (m *RetryInfo) GetRetryDelay() *google_protobuf.Duration {
|
||||
// Describes additional debugging info.
|
||||
type DebugInfo struct {
|
||||
// The stack trace entries indicating where the error occurred.
|
||||
StackEntries []string `protobuf:"bytes,1,rep,name=stack_entries,json=stackEntries" json:"stack_entries,omitempty"`
|
||||
StackEntries []string `protobuf:"bytes,1,rep,name=stack_entries,json=stackEntries,proto3" json:"stack_entries,omitempty"`
|
||||
// Additional debugging information provided by the server.
|
||||
Detail string `protobuf:"bytes,2,opt,name=detail" json:"detail,omitempty"`
|
||||
Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DebugInfo) Reset() { *m = DebugInfo{} }
|
||||
func (m *DebugInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*DebugInfo) ProtoMessage() {}
|
||||
func (*DebugInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *DebugInfo) Reset() { *m = DebugInfo{} }
|
||||
func (m *DebugInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*DebugInfo) ProtoMessage() {}
|
||||
func (*DebugInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{1}
|
||||
}
|
||||
func (m *DebugInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DebugInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DebugInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DebugInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DebugInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DebugInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *DebugInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_DebugInfo.Size(m)
|
||||
}
|
||||
func (m *DebugInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DebugInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DebugInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *DebugInfo) GetStackEntries() []string {
|
||||
if m != nil {
|
||||
@ -106,13 +133,35 @@ func (m *DebugInfo) GetDetail() string {
|
||||
// quota failure.
|
||||
type QuotaFailure struct {
|
||||
// Describes all quota violations.
|
||||
Violations []*QuotaFailure_Violation `protobuf:"bytes,1,rep,name=violations" json:"violations,omitempty"`
|
||||
Violations []*QuotaFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *QuotaFailure) Reset() { *m = QuotaFailure{} }
|
||||
func (m *QuotaFailure) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaFailure) ProtoMessage() {}
|
||||
func (*QuotaFailure) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *QuotaFailure) Reset() { *m = QuotaFailure{} }
|
||||
func (m *QuotaFailure) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaFailure) ProtoMessage() {}
|
||||
func (*QuotaFailure) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{2}
|
||||
}
|
||||
func (m *QuotaFailure) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_QuotaFailure.Unmarshal(m, b)
|
||||
}
|
||||
func (m *QuotaFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_QuotaFailure.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *QuotaFailure) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaFailure.Merge(dst, src)
|
||||
}
|
||||
func (m *QuotaFailure) XXX_Size() int {
|
||||
return xxx_messageInfo_QuotaFailure.Size(m)
|
||||
}
|
||||
func (m *QuotaFailure) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QuotaFailure.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QuotaFailure proto.InternalMessageInfo
|
||||
|
||||
func (m *QuotaFailure) GetViolations() []*QuotaFailure_Violation {
|
||||
if m != nil {
|
||||
@ -127,7 +176,7 @@ type QuotaFailure_Violation struct {
|
||||
// The subject on which the quota check failed.
|
||||
// For example, "clientip:<ip address of client>" or "project:<Google
|
||||
// developer project id>".
|
||||
Subject string `protobuf:"bytes,1,opt,name=subject" json:"subject,omitempty"`
|
||||
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
|
||||
// A description of how the quota check failed. Clients can use this
|
||||
// description to find more about the quota configuration in the service's
|
||||
// public documentation, or find the relevant quota limit to adjust through
|
||||
@ -135,13 +184,35 @@ type QuotaFailure_Violation struct {
|
||||
//
|
||||
// For example: "Service disabled" or "Daily Limit for read operations
|
||||
// exceeded".
|
||||
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *QuotaFailure_Violation) Reset() { *m = QuotaFailure_Violation{} }
|
||||
func (m *QuotaFailure_Violation) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaFailure_Violation) ProtoMessage() {}
|
||||
func (*QuotaFailure_Violation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
func (m *QuotaFailure_Violation) Reset() { *m = QuotaFailure_Violation{} }
|
||||
func (m *QuotaFailure_Violation) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaFailure_Violation) ProtoMessage() {}
|
||||
func (*QuotaFailure_Violation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{2, 0}
|
||||
}
|
||||
func (m *QuotaFailure_Violation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_QuotaFailure_Violation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *QuotaFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_QuotaFailure_Violation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *QuotaFailure_Violation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaFailure_Violation.Merge(dst, src)
|
||||
}
|
||||
func (m *QuotaFailure_Violation) XXX_Size() int {
|
||||
return xxx_messageInfo_QuotaFailure_Violation.Size(m)
|
||||
}
|
||||
func (m *QuotaFailure_Violation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QuotaFailure_Violation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QuotaFailure_Violation proto.InternalMessageInfo
|
||||
|
||||
func (m *QuotaFailure_Violation) GetSubject() string {
|
||||
if m != nil {
|
||||
@ -164,13 +235,35 @@ func (m *QuotaFailure_Violation) GetDescription() string {
|
||||
// PreconditionFailure message.
|
||||
type PreconditionFailure struct {
|
||||
// Describes all precondition violations.
|
||||
Violations []*PreconditionFailure_Violation `protobuf:"bytes,1,rep,name=violations" json:"violations,omitempty"`
|
||||
Violations []*PreconditionFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *PreconditionFailure) Reset() { *m = PreconditionFailure{} }
|
||||
func (m *PreconditionFailure) String() string { return proto.CompactTextString(m) }
|
||||
func (*PreconditionFailure) ProtoMessage() {}
|
||||
func (*PreconditionFailure) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *PreconditionFailure) Reset() { *m = PreconditionFailure{} }
|
||||
func (m *PreconditionFailure) String() string { return proto.CompactTextString(m) }
|
||||
func (*PreconditionFailure) ProtoMessage() {}
|
||||
func (*PreconditionFailure) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{3}
|
||||
}
|
||||
func (m *PreconditionFailure) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PreconditionFailure.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PreconditionFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PreconditionFailure.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *PreconditionFailure) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PreconditionFailure.Merge(dst, src)
|
||||
}
|
||||
func (m *PreconditionFailure) XXX_Size() int {
|
||||
return xxx_messageInfo_PreconditionFailure.Size(m)
|
||||
}
|
||||
func (m *PreconditionFailure) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_PreconditionFailure.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_PreconditionFailure proto.InternalMessageInfo
|
||||
|
||||
func (m *PreconditionFailure) GetViolations() []*PreconditionFailure_Violation {
|
||||
if m != nil {
|
||||
@ -184,24 +277,44 @@ type PreconditionFailure_Violation struct {
|
||||
// The type of PreconditionFailure. We recommend using a service-specific
|
||||
// enum type to define the supported precondition violation types. For
|
||||
// example, "TOS" for "Terms of Service violation".
|
||||
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The subject, relative to the type, that failed.
|
||||
// For example, "google.com/cloud" relative to the "TOS" type would
|
||||
// indicate which terms of service is being referenced.
|
||||
Subject string `protobuf:"bytes,2,opt,name=subject" json:"subject,omitempty"`
|
||||
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
||||
// A description of how the precondition failed. Developers can use this
|
||||
// description to understand how to fix the failure.
|
||||
//
|
||||
// For example: "Terms of service not accepted".
|
||||
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *PreconditionFailure_Violation) Reset() { *m = PreconditionFailure_Violation{} }
|
||||
func (m *PreconditionFailure_Violation) String() string { return proto.CompactTextString(m) }
|
||||
func (*PreconditionFailure_Violation) ProtoMessage() {}
|
||||
func (*PreconditionFailure_Violation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{3, 0}
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{3, 0}
|
||||
}
|
||||
func (m *PreconditionFailure_Violation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PreconditionFailure_Violation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PreconditionFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PreconditionFailure_Violation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *PreconditionFailure_Violation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PreconditionFailure_Violation.Merge(dst, src)
|
||||
}
|
||||
func (m *PreconditionFailure_Violation) XXX_Size() int {
|
||||
return xxx_messageInfo_PreconditionFailure_Violation.Size(m)
|
||||
}
|
||||
func (m *PreconditionFailure_Violation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_PreconditionFailure_Violation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_PreconditionFailure_Violation proto.InternalMessageInfo
|
||||
|
||||
func (m *PreconditionFailure_Violation) GetType() string {
|
||||
if m != nil {
|
||||
@ -228,13 +341,35 @@ func (m *PreconditionFailure_Violation) GetDescription() string {
|
||||
// syntactic aspects of the request.
|
||||
type BadRequest struct {
|
||||
// Describes all violations in a client request.
|
||||
FieldViolations []*BadRequest_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations" json:"field_violations,omitempty"`
|
||||
FieldViolations []*BadRequest_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations,proto3" json:"field_violations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *BadRequest) Reset() { *m = BadRequest{} }
|
||||
func (m *BadRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*BadRequest) ProtoMessage() {}
|
||||
func (*BadRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *BadRequest) Reset() { *m = BadRequest{} }
|
||||
func (m *BadRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*BadRequest) ProtoMessage() {}
|
||||
func (*BadRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{4}
|
||||
}
|
||||
func (m *BadRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BadRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BadRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *BadRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BadRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *BadRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_BadRequest.Size(m)
|
||||
}
|
||||
func (m *BadRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BadRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BadRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *BadRequest) GetFieldViolations() []*BadRequest_FieldViolation {
|
||||
if m != nil {
|
||||
@ -248,15 +383,37 @@ type BadRequest_FieldViolation struct {
|
||||
// A path leading to a field in the request body. The value will be a
|
||||
// sequence of dot-separated identifiers that identify a protocol buffer
|
||||
// field. E.g., "field_violations.field" would identify this field.
|
||||
Field string `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
|
||||
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
|
||||
// A description of why the request element is bad.
|
||||
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *BadRequest_FieldViolation) Reset() { *m = BadRequest_FieldViolation{} }
|
||||
func (m *BadRequest_FieldViolation) String() string { return proto.CompactTextString(m) }
|
||||
func (*BadRequest_FieldViolation) ProtoMessage() {}
|
||||
func (*BadRequest_FieldViolation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4, 0} }
|
||||
func (m *BadRequest_FieldViolation) Reset() { *m = BadRequest_FieldViolation{} }
|
||||
func (m *BadRequest_FieldViolation) String() string { return proto.CompactTextString(m) }
|
||||
func (*BadRequest_FieldViolation) ProtoMessage() {}
|
||||
func (*BadRequest_FieldViolation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{4, 0}
|
||||
}
|
||||
func (m *BadRequest_FieldViolation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BadRequest_FieldViolation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BadRequest_FieldViolation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BadRequest_FieldViolation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *BadRequest_FieldViolation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BadRequest_FieldViolation.Merge(dst, src)
|
||||
}
|
||||
func (m *BadRequest_FieldViolation) XXX_Size() int {
|
||||
return xxx_messageInfo_BadRequest_FieldViolation.Size(m)
|
||||
}
|
||||
func (m *BadRequest_FieldViolation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BadRequest_FieldViolation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BadRequest_FieldViolation proto.InternalMessageInfo
|
||||
|
||||
func (m *BadRequest_FieldViolation) GetField() string {
|
||||
if m != nil {
|
||||
@ -277,16 +434,38 @@ func (m *BadRequest_FieldViolation) GetDescription() string {
|
||||
type RequestInfo struct {
|
||||
// An opaque string that should only be interpreted by the service generating
|
||||
// it. For example, it can be used to identify requests in the service's logs.
|
||||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
|
||||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||||
// Any data that was used to serve this request. For example, an encrypted
|
||||
// stack trace that can be sent back to the service provider for debugging.
|
||||
ServingData string `protobuf:"bytes,2,opt,name=serving_data,json=servingData" json:"serving_data,omitempty"`
|
||||
ServingData string `protobuf:"bytes,2,opt,name=serving_data,json=servingData,proto3" json:"serving_data,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *RequestInfo) Reset() { *m = RequestInfo{} }
|
||||
func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestInfo) ProtoMessage() {}
|
||||
func (*RequestInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *RequestInfo) Reset() { *m = RequestInfo{} }
|
||||
func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestInfo) ProtoMessage() {}
|
||||
func (*RequestInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{5}
|
||||
}
|
||||
func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RequestInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_RequestInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *RequestInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_RequestInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *RequestInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_RequestInfo.Size(m)
|
||||
}
|
||||
func (m *RequestInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_RequestInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_RequestInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *RequestInfo) GetRequestId() string {
|
||||
if m != nil {
|
||||
@ -307,25 +486,47 @@ type ResourceInfo struct {
|
||||
// A name for the type of resource being accessed, e.g. "sql table",
|
||||
// "cloud storage bucket", "file", "Google calendar"; or the type URL
|
||||
// of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
|
||||
ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
|
||||
ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||||
// The name of the resource being accessed. For example, a shared calendar
|
||||
// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
|
||||
// error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
|
||||
ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName" json:"resource_name,omitempty"`
|
||||
ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
// The owner of the resource (optional).
|
||||
// For example, "user:<owner email>" or "project:<Google developer project
|
||||
// id>".
|
||||
Owner string `protobuf:"bytes,3,opt,name=owner" json:"owner,omitempty"`
|
||||
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
|
||||
// Describes what error is encountered when accessing this resource.
|
||||
// For example, updating a cloud project may require the `writer` permission
|
||||
// on the developer console project.
|
||||
Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ResourceInfo) Reset() { *m = ResourceInfo{} }
|
||||
func (m *ResourceInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ResourceInfo) ProtoMessage() {}
|
||||
func (*ResourceInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *ResourceInfo) Reset() { *m = ResourceInfo{} }
|
||||
func (m *ResourceInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ResourceInfo) ProtoMessage() {}
|
||||
func (*ResourceInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{6}
|
||||
}
|
||||
func (m *ResourceInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ResourceInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ResourceInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ResourceInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ResourceInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *ResourceInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_ResourceInfo.Size(m)
|
||||
}
|
||||
func (m *ResourceInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ResourceInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ResourceInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *ResourceInfo) GetResourceType() string {
|
||||
if m != nil {
|
||||
@ -362,13 +563,35 @@ func (m *ResourceInfo) GetDescription() string {
|
||||
// directly to the right place in the developer console to flip the bit.
|
||||
type Help struct {
|
||||
// URL(s) pointing to additional information on handling the current error.
|
||||
Links []*Help_Link `protobuf:"bytes,1,rep,name=links" json:"links,omitempty"`
|
||||
Links []*Help_Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Help) Reset() { *m = Help{} }
|
||||
func (m *Help) String() string { return proto.CompactTextString(m) }
|
||||
func (*Help) ProtoMessage() {}
|
||||
func (*Help) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *Help) Reset() { *m = Help{} }
|
||||
func (m *Help) String() string { return proto.CompactTextString(m) }
|
||||
func (*Help) ProtoMessage() {}
|
||||
func (*Help) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{7}
|
||||
}
|
||||
func (m *Help) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Help.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Help) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Help.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Help) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Help.Merge(dst, src)
|
||||
}
|
||||
func (m *Help) XXX_Size() int {
|
||||
return xxx_messageInfo_Help.Size(m)
|
||||
}
|
||||
func (m *Help) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Help.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Help proto.InternalMessageInfo
|
||||
|
||||
func (m *Help) GetLinks() []*Help_Link {
|
||||
if m != nil {
|
||||
@ -380,15 +603,37 @@ func (m *Help) GetLinks() []*Help_Link {
|
||||
// Describes a URL link.
|
||||
type Help_Link struct {
|
||||
// Describes what the link offers.
|
||||
Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// The URL of the link.
|
||||
Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
|
||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Help_Link) Reset() { *m = Help_Link{} }
|
||||
func (m *Help_Link) String() string { return proto.CompactTextString(m) }
|
||||
func (*Help_Link) ProtoMessage() {}
|
||||
func (*Help_Link) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7, 0} }
|
||||
func (m *Help_Link) Reset() { *m = Help_Link{} }
|
||||
func (m *Help_Link) String() string { return proto.CompactTextString(m) }
|
||||
func (*Help_Link) ProtoMessage() {}
|
||||
func (*Help_Link) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{7, 0}
|
||||
}
|
||||
func (m *Help_Link) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Help_Link.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Help_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Help_Link.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Help_Link) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Help_Link.Merge(dst, src)
|
||||
}
|
||||
func (m *Help_Link) XXX_Size() int {
|
||||
return xxx_messageInfo_Help_Link.Size(m)
|
||||
}
|
||||
func (m *Help_Link) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Help_Link.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Help_Link proto.InternalMessageInfo
|
||||
|
||||
func (m *Help_Link) GetDescription() string {
|
||||
if m != nil {
|
||||
@ -410,15 +655,37 @@ type LocalizedMessage struct {
|
||||
// The locale used following the specification defined at
|
||||
// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
||||
// Examples are: "en-US", "fr-CH", "es-MX"
|
||||
Locale string `protobuf:"bytes,1,opt,name=locale" json:"locale,omitempty"`
|
||||
Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
|
||||
// The localized error message in the above locale.
|
||||
Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
|
||||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *LocalizedMessage) Reset() { *m = LocalizedMessage{} }
|
||||
func (m *LocalizedMessage) String() string { return proto.CompactTextString(m) }
|
||||
func (*LocalizedMessage) ProtoMessage() {}
|
||||
func (*LocalizedMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
func (m *LocalizedMessage) Reset() { *m = LocalizedMessage{} }
|
||||
func (m *LocalizedMessage) String() string { return proto.CompactTextString(m) }
|
||||
func (*LocalizedMessage) ProtoMessage() {}
|
||||
func (*LocalizedMessage) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_error_details_816025d2d1ab7c4c, []int{8}
|
||||
}
|
||||
func (m *LocalizedMessage) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_LocalizedMessage.Unmarshal(m, b)
|
||||
}
|
||||
func (m *LocalizedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_LocalizedMessage.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *LocalizedMessage) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LocalizedMessage.Merge(dst, src)
|
||||
}
|
||||
func (m *LocalizedMessage) XXX_Size() int {
|
||||
return xxx_messageInfo_LocalizedMessage.Size(m)
|
||||
}
|
||||
func (m *LocalizedMessage) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_LocalizedMessage.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_LocalizedMessage proto.InternalMessageInfo
|
||||
|
||||
func (m *LocalizedMessage) GetLocale() string {
|
||||
if m != nil {
|
||||
@ -450,9 +717,11 @@ func init() {
|
||||
proto.RegisterType((*LocalizedMessage)(nil), "google.rpc.LocalizedMessage")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/rpc/error_details.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/rpc/error_details.proto", fileDescriptor_error_details_816025d2d1ab7c4c)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_error_details_816025d2d1ab7c4c = []byte{
|
||||
// 595 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c,
|
||||
0x14, 0x95, 0x9b, 0xb4, 0x9f, 0x7c, 0x93, 0xaf, 0x14, 0xf3, 0xa3, 0x10, 0x09, 0x14, 0x8c, 0x90,
|
||||
|
Reference in New Issue
Block a user