Documentation ¶
Index ¶
- Variables
- type DebugInfo
- type ErrorInfo
- func (*ErrorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorInfo) GetDebugInfo() *DebugInfo
- func (x *ErrorInfo) GetErrorCode() string
- func (x *ErrorInfo) GetHelpInfo() *HelpInfo
- func (x *ErrorInfo) GetLocalizedMessageInfo() *LocalizedMessageInfo
- func (x *ErrorInfo) GetRequestInfo() *RequestInfo
- func (x *ErrorInfo) GetResourceInfo() *ResourceInfo
- func (x *ErrorInfo) GetValidationErrorInfo() *ValidationErrorInfo
- func (*ErrorInfo) ProtoMessage()
- func (x *ErrorInfo) ProtoReflect() protoreflect.Message
- func (x *ErrorInfo) Reset()
- func (x *ErrorInfo) String() string
- type HelpInfo
- type HelpInfo_Link
- func (*HelpInfo_Link) Descriptor() ([]byte, []int)deprecated
- func (x *HelpInfo_Link) GetDescription() string
- func (x *HelpInfo_Link) GetUrl() string
- func (*HelpInfo_Link) ProtoMessage()
- func (x *HelpInfo_Link) ProtoReflect() protoreflect.Message
- func (x *HelpInfo_Link) Reset()
- func (x *HelpInfo_Link) String() string
- type LocalizedMessageInfo
- func (*LocalizedMessageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LocalizedMessageInfo) GetLocale() string
- func (x *LocalizedMessageInfo) GetMessage() string
- func (*LocalizedMessageInfo) ProtoMessage()
- func (x *LocalizedMessageInfo) ProtoReflect() protoreflect.Message
- func (x *LocalizedMessageInfo) Reset()
- func (x *LocalizedMessageInfo) String() string
- type RequestInfo
- func (*RequestInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RequestInfo) GetRequestId() string
- func (x *RequestInfo) GetServingData() string
- func (*RequestInfo) ProtoMessage()
- func (x *RequestInfo) ProtoReflect() protoreflect.Message
- func (x *RequestInfo) Reset()
- func (x *RequestInfo) String() string
- type ResourceInfo
- func (*ResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInfo) GetDescription() string
- func (x *ResourceInfo) GetOwner() string
- func (x *ResourceInfo) GetResourceName() string
- func (x *ResourceInfo) GetResourceType() string
- func (*ResourceInfo) ProtoMessage()
- func (x *ResourceInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceInfo) Reset()
- func (x *ResourceInfo) String() string
- type ValidationErrorInfo
- func (*ValidationErrorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationErrorInfo) GetFieldViolations() []*ValidationErrorInfo_FieldViolation
- func (*ValidationErrorInfo) ProtoMessage()
- func (x *ValidationErrorInfo) ProtoReflect() protoreflect.Message
- func (x *ValidationErrorInfo) Reset()
- func (x *ValidationErrorInfo) String() string
- type ValidationErrorInfo_FieldViolation
- func (*ValidationErrorInfo_FieldViolation) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationErrorInfo_FieldViolation) GetConstraint() string
- func (x *ValidationErrorInfo_FieldViolation) GetDescription() string
- func (x *ValidationErrorInfo_FieldViolation) GetField() string
- func (*ValidationErrorInfo_FieldViolation) ProtoMessage()
- func (x *ValidationErrorInfo_FieldViolation) ProtoReflect() protoreflect.Message
- func (x *ValidationErrorInfo_FieldViolation) Reset()
- func (x *ValidationErrorInfo_FieldViolation) String() string
Constants ¶
This section is empty.
Variables ¶
var File_scalekit_v1_errdetails_errdetails_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DebugInfo ¶
type DebugInfo struct { // The stack trace entries indicating where the error occurred. 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,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
Describes additional debugging info.
func (*DebugInfo) Descriptor
deprecated
func (*DebugInfo) GetStackEntries ¶
func (*DebugInfo) ProtoMessage ¶
func (*DebugInfo) ProtoMessage()
func (*DebugInfo) ProtoReflect ¶
func (x *DebugInfo) ProtoReflect() protoreflect.Message
type ErrorInfo ¶
type ErrorInfo struct { ErrorCode string `protobuf:"bytes,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` DebugInfo *DebugInfo `protobuf:"bytes,2,opt,name=debug_info,json=debugInfo,proto3,oneof" json:"debug_info,omitempty"` HelpInfo *HelpInfo `protobuf:"bytes,3,opt,name=help_info,json=helpInfo,proto3,oneof" json:"help_info,omitempty"` LocalizedMessageInfo *LocalizedMessageInfo `` /* 129-byte string literal not displayed */ ResourceInfo *ResourceInfo `protobuf:"bytes,5,opt,name=resource_info,json=resourceInfo,proto3,oneof" json:"resource_info,omitempty"` RequestInfo *RequestInfo `protobuf:"bytes,6,opt,name=request_info,json=requestInfo,proto3,oneof" json:"request_info,omitempty"` ValidationErrorInfo *ValidationErrorInfo `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ErrorInfo) Descriptor
deprecated
func (*ErrorInfo) GetDebugInfo ¶
func (*ErrorInfo) GetErrorCode ¶
func (*ErrorInfo) GetHelpInfo ¶
func (*ErrorInfo) GetLocalizedMessageInfo ¶
func (x *ErrorInfo) GetLocalizedMessageInfo() *LocalizedMessageInfo
func (*ErrorInfo) GetRequestInfo ¶
func (x *ErrorInfo) GetRequestInfo() *RequestInfo
func (*ErrorInfo) GetResourceInfo ¶
func (x *ErrorInfo) GetResourceInfo() *ResourceInfo
func (*ErrorInfo) GetValidationErrorInfo ¶
func (x *ErrorInfo) GetValidationErrorInfo() *ValidationErrorInfo
func (*ErrorInfo) ProtoMessage ¶
func (*ErrorInfo) ProtoMessage()
func (*ErrorInfo) ProtoReflect ¶
func (x *ErrorInfo) ProtoReflect() protoreflect.Message
type HelpInfo ¶
type HelpInfo struct { Links []*HelpInfo_Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"` // contains filtered or unexported fields }
func (*HelpInfo) Descriptor
deprecated
func (*HelpInfo) GetLinks ¶
func (x *HelpInfo) GetLinks() []*HelpInfo_Link
func (*HelpInfo) ProtoMessage ¶
func (*HelpInfo) ProtoMessage()
func (*HelpInfo) ProtoReflect ¶
func (x *HelpInfo) ProtoReflect() protoreflect.Message
type HelpInfo_Link ¶
type HelpInfo_Link struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*HelpInfo_Link) Descriptor
deprecated
func (*HelpInfo_Link) Descriptor() ([]byte, []int)
Deprecated: Use HelpInfo_Link.ProtoReflect.Descriptor instead.
func (*HelpInfo_Link) GetDescription ¶
func (x *HelpInfo_Link) GetDescription() string
func (*HelpInfo_Link) GetUrl ¶
func (x *HelpInfo_Link) GetUrl() string
func (*HelpInfo_Link) ProtoMessage ¶
func (*HelpInfo_Link) ProtoMessage()
func (*HelpInfo_Link) ProtoReflect ¶
func (x *HelpInfo_Link) ProtoReflect() protoreflect.Message
func (*HelpInfo_Link) Reset ¶
func (x *HelpInfo_Link) Reset()
func (*HelpInfo_Link) String ¶
func (x *HelpInfo_Link) String() string
type LocalizedMessageInfo ¶
type LocalizedMessageInfo struct { Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*LocalizedMessageInfo) Descriptor
deprecated
func (*LocalizedMessageInfo) Descriptor() ([]byte, []int)
Deprecated: Use LocalizedMessageInfo.ProtoReflect.Descriptor instead.
func (*LocalizedMessageInfo) GetLocale ¶
func (x *LocalizedMessageInfo) GetLocale() string
func (*LocalizedMessageInfo) GetMessage ¶
func (x *LocalizedMessageInfo) GetMessage() string
func (*LocalizedMessageInfo) ProtoMessage ¶
func (*LocalizedMessageInfo) ProtoMessage()
func (*LocalizedMessageInfo) ProtoReflect ¶
func (x *LocalizedMessageInfo) ProtoReflect() protoreflect.Message
func (*LocalizedMessageInfo) Reset ¶
func (x *LocalizedMessageInfo) Reset()
func (*LocalizedMessageInfo) String ¶
func (x *LocalizedMessageInfo) String() string
type RequestInfo ¶
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,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,proto3" json:"serving_data,omitempty"` // contains filtered or unexported fields }
Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.
func (*RequestInfo) Descriptor
deprecated
func (*RequestInfo) Descriptor() ([]byte, []int)
Deprecated: Use RequestInfo.ProtoReflect.Descriptor instead.
func (*RequestInfo) GetRequestId ¶
func (x *RequestInfo) GetRequestId() string
func (*RequestInfo) GetServingData ¶
func (x *RequestInfo) GetServingData() string
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) ProtoReflect ¶
func (x *RequestInfo) ProtoReflect() protoreflect.Message
func (*RequestInfo) Reset ¶
func (x *RequestInfo) Reset()
func (*RequestInfo) String ¶
func (x *RequestInfo) String() string
type ResourceInfo ¶
type ResourceInfo struct { ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,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,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Describes the resource that is being accessed.
func (*ResourceInfo) Descriptor
deprecated
func (*ResourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.
func (*ResourceInfo) GetDescription ¶
func (x *ResourceInfo) GetDescription() string
func (*ResourceInfo) GetOwner ¶
func (x *ResourceInfo) GetOwner() string
func (*ResourceInfo) GetResourceName ¶
func (x *ResourceInfo) GetResourceName() string
func (*ResourceInfo) GetResourceType ¶
func (x *ResourceInfo) GetResourceType() string
func (*ResourceInfo) ProtoMessage ¶
func (*ResourceInfo) ProtoMessage()
func (*ResourceInfo) ProtoReflect ¶
func (x *ResourceInfo) ProtoReflect() protoreflect.Message
func (*ResourceInfo) Reset ¶
func (x *ResourceInfo) Reset()
func (*ResourceInfo) String ¶
func (x *ResourceInfo) String() string
type ValidationErrorInfo ¶
type ValidationErrorInfo struct { // Describes all violations in a client request. FieldViolations []*ValidationErrorInfo_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations,proto3" json:"field_violations,omitempty"` // contains filtered or unexported fields }
Describes violations in a client request. This error type focuses on the syntactic aspects of the request.
func (*ValidationErrorInfo) Descriptor
deprecated
func (*ValidationErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ValidationErrorInfo.ProtoReflect.Descriptor instead.
func (*ValidationErrorInfo) GetFieldViolations ¶
func (x *ValidationErrorInfo) GetFieldViolations() []*ValidationErrorInfo_FieldViolation
func (*ValidationErrorInfo) ProtoMessage ¶
func (*ValidationErrorInfo) ProtoMessage()
func (*ValidationErrorInfo) ProtoReflect ¶
func (x *ValidationErrorInfo) ProtoReflect() protoreflect.Message
func (*ValidationErrorInfo) Reset ¶
func (x *ValidationErrorInfo) Reset()
func (*ValidationErrorInfo) String ¶
func (x *ValidationErrorInfo) String() string
type ValidationErrorInfo_FieldViolation ¶
type ValidationErrorInfo_FieldViolation struct { 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,proto3" json:"description,omitempty"` Constraint string `protobuf:"bytes,3,opt,name=constraint,proto3" json:"constraint,omitempty"` // contains filtered or unexported fields }
A message type used to describe a single bad request field.
func (*ValidationErrorInfo_FieldViolation) Descriptor
deprecated
func (*ValidationErrorInfo_FieldViolation) Descriptor() ([]byte, []int)
Deprecated: Use ValidationErrorInfo_FieldViolation.ProtoReflect.Descriptor instead.
func (*ValidationErrorInfo_FieldViolation) GetConstraint ¶
func (x *ValidationErrorInfo_FieldViolation) GetConstraint() string
func (*ValidationErrorInfo_FieldViolation) GetDescription ¶
func (x *ValidationErrorInfo_FieldViolation) GetDescription() string
func (*ValidationErrorInfo_FieldViolation) GetField ¶
func (x *ValidationErrorInfo_FieldViolation) GetField() string
func (*ValidationErrorInfo_FieldViolation) ProtoMessage ¶
func (*ValidationErrorInfo_FieldViolation) ProtoMessage()
func (*ValidationErrorInfo_FieldViolation) ProtoReflect ¶
func (x *ValidationErrorInfo_FieldViolation) ProtoReflect() protoreflect.Message
func (*ValidationErrorInfo_FieldViolation) Reset ¶
func (x *ValidationErrorInfo_FieldViolation) Reset()
func (*ValidationErrorInfo_FieldViolation) String ¶
func (x *ValidationErrorInfo_FieldViolation) String() string