mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-21 05:11:17 +00:00
153 lines
6.2 KiB
Go
153 lines
6.2 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: google/api/resource.proto
|
|
|
|
package annotations // import "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// An annotation designating that this field designates a resource.
|
|
//
|
|
// Example:
|
|
//
|
|
// message Topic {
|
|
// string name = 1 [(google.api.resource) = {
|
|
// name: "projects/{project}/topics/{topic}"
|
|
// }];
|
|
// }
|
|
type Resource struct {
|
|
// Required. The resource's name template.
|
|
//
|
|
// Examples:
|
|
// - "projects/{project}/topics/{topic}"
|
|
// - "projects/{project}/knowledgeBases/{knowledge_base}"
|
|
Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
|
|
// The name that should be used in code to describe the resource,
|
|
// in PascalCase.
|
|
//
|
|
// If omitted, this is inferred from the name of the message.
|
|
// This is required if the resource is being defined without the context
|
|
// of a message (see `resource_definition`, below).
|
|
//
|
|
// Example:
|
|
// option (google.api.resource_definition) = {
|
|
// pattern: "projects/{project}"
|
|
// symbol: "Project"
|
|
// };
|
|
Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Resource) Reset() { *m = Resource{} }
|
|
func (m *Resource) String() string { return proto.CompactTextString(m) }
|
|
func (*Resource) ProtoMessage() {}
|
|
func (*Resource) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_resource_232de5e6fd811932, []int{0}
|
|
}
|
|
func (m *Resource) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Resource.Unmarshal(m, b)
|
|
}
|
|
func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Resource.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *Resource) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Resource.Merge(dst, src)
|
|
}
|
|
func (m *Resource) XXX_Size() int {
|
|
return xxx_messageInfo_Resource.Size(m)
|
|
}
|
|
func (m *Resource) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Resource.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Resource proto.InternalMessageInfo
|
|
|
|
func (m *Resource) GetPattern() string {
|
|
if m != nil {
|
|
return m.Pattern
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Resource) GetSymbol() string {
|
|
if m != nil {
|
|
return m.Symbol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var E_Resource = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*Resource)(nil),
|
|
Field: 1053,
|
|
Name: "google.api.resource",
|
|
Tag: "bytes,1053,opt,name=resource",
|
|
Filename: "google/api/resource.proto",
|
|
}
|
|
|
|
var E_ResourceReference = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*string)(nil),
|
|
Field: 1055,
|
|
Name: "google.api.resource_reference",
|
|
Tag: "bytes,1055,opt,name=resource_reference,json=resourceReference",
|
|
Filename: "google/api/resource.proto",
|
|
}
|
|
|
|
var E_ResourceDefinition = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FileOptions)(nil),
|
|
ExtensionType: ([]*Resource)(nil),
|
|
Field: 1053,
|
|
Name: "google.api.resource_definition",
|
|
Tag: "bytes,1053,rep,name=resource_definition,json=resourceDefinition",
|
|
Filename: "google/api/resource.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Resource)(nil), "google.api.Resource")
|
|
proto.RegisterExtension(E_Resource)
|
|
proto.RegisterExtension(E_ResourceReference)
|
|
proto.RegisterExtension(E_ResourceDefinition)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("google/api/resource.proto", fileDescriptor_resource_232de5e6fd811932) }
|
|
|
|
var fileDescriptor_resource_232de5e6fd811932 = []byte{
|
|
// 334 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40,
|
|
0x18, 0x85, 0x49, 0xef, 0xa5, 0xcd, 0x9d, 0xab, 0x82, 0xa3, 0x48, 0x94, 0x16, 0x8a, 0xab, 0x2e,
|
|
0x64, 0x06, 0x74, 0x57, 0xdd, 0xa4, 0x88, 0xe2, 0x42, 0x1a, 0xb2, 0x74, 0x23, 0xd3, 0x64, 0x3a,
|
|
0x8c, 0xa4, 0xf3, 0x0f, 0x93, 0xe9, 0x42, 0x4b, 0x1f, 0x45, 0x04, 0x1f, 0xc3, 0x47, 0xea, 0x53,
|
|
0x48, 0x27, 0x99, 0x98, 0x85, 0xe2, 0xee, 0x3f, 0x9c, 0x39, 0xe7, 0x3b, 0x81, 0xa0, 0x63, 0x01,
|
|
0x20, 0x0a, 0x4e, 0x99, 0x96, 0xd4, 0xf0, 0x12, 0x96, 0x26, 0xe3, 0x44, 0x1b, 0xb0, 0x80, 0x51,
|
|
0x65, 0x11, 0xa6, 0xe5, 0xc9, 0xb0, 0x7e, 0xe6, 0x9c, 0xd9, 0x72, 0x4e, 0x73, 0x5e,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