Bumping k8s dependencies to 1.13
This commit is contained in:
28
vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go
generated
vendored
28
vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go
generated
vendored
@@ -1,24 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/annotations.proto
|
||||
|
||||
/*
|
||||
Package annotations is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/annotations.proto
|
||||
google/api/http.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Http
|
||||
HttpRule
|
||||
CustomHttpPattern
|
||||
*/
|
||||
package annotations
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -32,7 +22,7 @@ var _ = math.Inf
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
var E_Http = &proto.ExtensionDesc{
|
||||
ExtendedType: (*google_protobuf.MethodOptions)(nil),
|
||||
ExtendedType: (*descriptor.MethodOptions)(nil),
|
||||
ExtensionType: (*HttpRule)(nil),
|
||||
Field: 72295728,
|
||||
Name: "google.api.http",
|
||||
@@ -44,9 +34,9 @@ func init() {
|
||||
proto.RegisterExtension(E_Http)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/annotations.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/annotations.proto", fileDescriptor_c591c5aa9fb79aab) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_c591c5aa9fb79aab = []byte{
|
||||
// 208 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xcf, 0xcf, 0x4f,
|
||||
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, 0x49, 0x2c, 0xc9, 0xcc,
|
||||
|
||||
267
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go
generated
vendored
267
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go
generated
vendored
@@ -3,15 +3,23 @@
|
||||
|
||||
package annotations
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Defines the HTTP configuration for an API service. It contains a list of
|
||||
// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
|
||||
// to one or more HTTP REST API methods.
|
||||
@@ -19,20 +27,43 @@ type Http struct {
|
||||
// A list of HTTP configuration rules that apply to individual API methods.
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*HttpRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*HttpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
// When set to true, URL path parmeters will be fully URI-decoded except in
|
||||
// cases of single segment matches in reserved expansion, where "%2F" will be
|
||||
// left encoded.
|
||||
//
|
||||
// The default behavior is to not decode RFC 6570 reserved characters in multi
|
||||
// segment matches.
|
||||
FullyDecodeReservedExpansion bool `protobuf:"varint,2,opt,name=fully_decode_reserved_expansion,json=fullyDecodeReservedExpansion" json:"fully_decode_reserved_expansion,omitempty"`
|
||||
FullyDecodeReservedExpansion bool `protobuf:"varint,2,opt,name=fully_decode_reserved_expansion,json=fullyDecodeReservedExpansion,proto3" json:"fully_decode_reserved_expansion,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Http) Reset() { *m = Http{} }
|
||||
func (m *Http) String() string { return proto.CompactTextString(m) }
|
||||
func (*Http) ProtoMessage() {}
|
||||
func (*Http) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (m *Http) Reset() { *m = Http{} }
|
||||
func (m *Http) String() string { return proto.CompactTextString(m) }
|
||||
func (*Http) ProtoMessage() {}
|
||||
func (*Http) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ff9994be407cdcc9, []int{0}
|
||||
}
|
||||
|
||||
func (m *Http) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Http.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Http) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Http.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Http) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Http.Merge(m, src)
|
||||
}
|
||||
func (m *Http) XXX_Size() int {
|
||||
return xxx_messageInfo_Http.Size(m)
|
||||
}
|
||||
func (m *Http) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Http.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Http proto.InternalMessageInfo
|
||||
|
||||
func (m *Http) GetRules() []*HttpRule {
|
||||
if m != nil {
|
||||
@@ -269,7 +300,7 @@ type HttpRule struct {
|
||||
// Selects methods to which this rule applies.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// Determines the URL pattern is matched by this rules. This pattern can be
|
||||
// used with any of the {get|put|post|delete|patch} methods. A custom method
|
||||
// can be defined using the 'custom' field.
|
||||
@@ -286,46 +317,90 @@ type HttpRule struct {
|
||||
// `*` for mapping all fields not captured by the path pattern to the HTTP
|
||||
// body. NOTE: the referred field must not be a repeated field and must be
|
||||
// present at the top-level of request message type.
|
||||
Body string `protobuf:"bytes,7,opt,name=body" json:"body,omitempty"`
|
||||
Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
|
||||
// Optional. The name of the response field whose value is mapped to the HTTP
|
||||
// body of response. Other response fields are ignored. When
|
||||
// not set, the response message will be used as HTTP body of response.
|
||||
ResponseBody string `protobuf:"bytes,12,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"`
|
||||
// Additional HTTP bindings for the selector. Nested bindings must
|
||||
// not contain an `additional_bindings` field themselves (that is,
|
||||
// the nesting may only be one level deep).
|
||||
AdditionalBindings []*HttpRule `protobuf:"bytes,11,rep,name=additional_bindings,json=additionalBindings" json:"additional_bindings,omitempty"`
|
||||
AdditionalBindings []*HttpRule `protobuf:"bytes,11,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *HttpRule) Reset() { *m = HttpRule{} }
|
||||
func (m *HttpRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*HttpRule) ProtoMessage() {}
|
||||
func (*HttpRule) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
func (m *HttpRule) Reset() { *m = HttpRule{} }
|
||||
func (m *HttpRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*HttpRule) ProtoMessage() {}
|
||||
func (*HttpRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ff9994be407cdcc9, []int{1}
|
||||
}
|
||||
|
||||
func (m *HttpRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_HttpRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *HttpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_HttpRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *HttpRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_HttpRule.Merge(m, src)
|
||||
}
|
||||
func (m *HttpRule) XXX_Size() int {
|
||||
return xxx_messageInfo_HttpRule.Size(m)
|
||||
}
|
||||
func (m *HttpRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_HttpRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_HttpRule proto.InternalMessageInfo
|
||||
|
||||
func (m *HttpRule) GetSelector() string {
|
||||
if m != nil {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isHttpRule_Pattern interface {
|
||||
isHttpRule_Pattern()
|
||||
}
|
||||
|
||||
type HttpRule_Get struct {
|
||||
Get string `protobuf:"bytes,2,opt,name=get,oneof"`
|
||||
}
|
||||
type HttpRule_Put struct {
|
||||
Put string `protobuf:"bytes,3,opt,name=put,oneof"`
|
||||
}
|
||||
type HttpRule_Post struct {
|
||||
Post string `protobuf:"bytes,4,opt,name=post,oneof"`
|
||||
}
|
||||
type HttpRule_Delete struct {
|
||||
Delete string `protobuf:"bytes,5,opt,name=delete,oneof"`
|
||||
}
|
||||
type HttpRule_Patch struct {
|
||||
Patch string `protobuf:"bytes,6,opt,name=patch,oneof"`
|
||||
}
|
||||
type HttpRule_Custom struct {
|
||||
Custom *CustomHttpPattern `protobuf:"bytes,8,opt,name=custom,oneof"`
|
||||
Get string `protobuf:"bytes,2,opt,name=get,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*HttpRule_Get) isHttpRule_Pattern() {}
|
||||
func (*HttpRule_Put) isHttpRule_Pattern() {}
|
||||
func (*HttpRule_Post) isHttpRule_Pattern() {}
|
||||
type HttpRule_Put struct {
|
||||
Put string `protobuf:"bytes,3,opt,name=put,proto3,oneof"`
|
||||
}
|
||||
|
||||
type HttpRule_Post struct {
|
||||
Post string `protobuf:"bytes,4,opt,name=post,proto3,oneof"`
|
||||
}
|
||||
|
||||
type HttpRule_Delete struct {
|
||||
Delete string `protobuf:"bytes,5,opt,name=delete,proto3,oneof"`
|
||||
}
|
||||
|
||||
type HttpRule_Patch struct {
|
||||
Patch string `protobuf:"bytes,6,opt,name=patch,proto3,oneof"`
|
||||
}
|
||||
|
||||
type HttpRule_Custom struct {
|
||||
Custom *CustomHttpPattern `protobuf:"bytes,8,opt,name=custom,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*HttpRule_Get) isHttpRule_Pattern() {}
|
||||
|
||||
func (*HttpRule_Put) isHttpRule_Pattern() {}
|
||||
|
||||
func (*HttpRule_Post) isHttpRule_Pattern() {}
|
||||
|
||||
func (*HttpRule_Delete) isHttpRule_Pattern() {}
|
||||
func (*HttpRule_Patch) isHttpRule_Pattern() {}
|
||||
|
||||
func (*HttpRule_Patch) isHttpRule_Pattern() {}
|
||||
|
||||
func (*HttpRule_Custom) isHttpRule_Pattern() {}
|
||||
|
||||
func (m *HttpRule) GetPattern() isHttpRule_Pattern {
|
||||
@@ -335,13 +410,6 @@ func (m *HttpRule) GetPattern() isHttpRule_Pattern {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetSelector() string {
|
||||
if m != nil {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetGet() string {
|
||||
if x, ok := m.GetPattern().(*HttpRule_Get); ok {
|
||||
return x.Get
|
||||
@@ -391,6 +459,13 @@ func (m *HttpRule) GetBody() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetResponseBody() string {
|
||||
if m != nil {
|
||||
return m.ResponseBody
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetAdditionalBindings() []*HttpRule {
|
||||
if m != nil {
|
||||
return m.AdditionalBindings
|
||||
@@ -497,28 +572,28 @@ func _HttpRule_OneofSizer(msg proto.Message) (n int) {
|
||||
// pattern
|
||||
switch x := m.Pattern.(type) {
|
||||
case *HttpRule_Get:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Get)))
|
||||
n += len(x.Get)
|
||||
case *HttpRule_Put:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Put)))
|
||||
n += len(x.Put)
|
||||
case *HttpRule_Post:
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Post)))
|
||||
n += len(x.Post)
|
||||
case *HttpRule_Delete:
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Delete)))
|
||||
n += len(x.Delete)
|
||||
case *HttpRule_Patch:
|
||||
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Patch)))
|
||||
n += len(x.Patch)
|
||||
case *HttpRule_Custom:
|
||||
s := proto.Size(x.Custom)
|
||||
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -531,15 +606,38 @@ func _HttpRule_OneofSizer(msg proto.Message) (n int) {
|
||||
// A custom pattern is used for defining custom HTTP verb.
|
||||
type CustomHttpPattern struct {
|
||||
// The name of this custom HTTP verb.
|
||||
Kind string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"`
|
||||
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
|
||||
// The path matched by this custom verb.
|
||||
Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
|
||||
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CustomHttpPattern) Reset() { *m = CustomHttpPattern{} }
|
||||
func (m *CustomHttpPattern) String() string { return proto.CompactTextString(m) }
|
||||
func (*CustomHttpPattern) ProtoMessage() {}
|
||||
func (*CustomHttpPattern) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
|
||||
func (m *CustomHttpPattern) Reset() { *m = CustomHttpPattern{} }
|
||||
func (m *CustomHttpPattern) String() string { return proto.CompactTextString(m) }
|
||||
func (*CustomHttpPattern) ProtoMessage() {}
|
||||
func (*CustomHttpPattern) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ff9994be407cdcc9, []int{2}
|
||||
}
|
||||
|
||||
func (m *CustomHttpPattern) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CustomHttpPattern.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CustomHttpPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CustomHttpPattern.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CustomHttpPattern) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CustomHttpPattern.Merge(m, src)
|
||||
}
|
||||
func (m *CustomHttpPattern) XXX_Size() int {
|
||||
return xxx_messageInfo_CustomHttpPattern.Size(m)
|
||||
}
|
||||
func (m *CustomHttpPattern) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CustomHttpPattern.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CustomHttpPattern proto.InternalMessageInfo
|
||||
|
||||
func (m *CustomHttpPattern) GetKind() string {
|
||||
if m != nil {
|
||||
@@ -561,34 +659,35 @@ func init() {
|
||||
proto.RegisterType((*CustomHttpPattern)(nil), "google.api.CustomHttpPattern")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/http.proto", fileDescriptor1) }
|
||||
func init() { proto.RegisterFile("google/api/http.proto", fileDescriptor_ff9994be407cdcc9) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 401 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0xab, 0x13, 0x31,
|
||||
0x10, 0xc7, 0xdd, 0x76, 0xdb, 0xd7, 0x4e, 0x41, 0x30, 0x3e, 0x25, 0x88, 0x62, 0xe9, 0xa9, 0x78,
|
||||
0xd8, 0xc2, 0xf3, 0xe0, 0xe1, 0x9d, 0x5e, 0xb5, 0xf8, 0xbc, 0x95, 0x3d, 0x7a, 0x29, 0xe9, 0x66,
|
||||
0x4c, 0xa3, 0x79, 0x49, 0xd8, 0xcc, 0x8a, 0xfd, 0x3a, 0x7e, 0x07, 0xbf, 0x9b, 0x47, 0x49, 0x36,
|
||||
0xb5, 0x05, 0xc1, 0xdb, 0xfc, 0xff, 0xf3, 0xcb, 0xcc, 0x64, 0x18, 0x78, 0xa6, 0x9c, 0x53, 0x06,
|
||||
0x57, 0xc2, 0xeb, 0xd5, 0x81, 0xc8, 0x57, 0xbe, 0x75, 0xe4, 0x18, 0xf4, 0x76, 0x25, 0xbc, 0x5e,
|
||||
0x1c, 0xa1, 0xbc, 0x27, 0xf2, 0xec, 0x0d, 0x8c, 0xda, 0xce, 0x60, 0xe0, 0xc5, 0x7c, 0xb8, 0x9c,
|
||||
0xdd, 0x5c, 0x57, 0x67, 0xa6, 0x8a, 0x40, 0xdd, 0x19, 0xac, 0x7b, 0x84, 0x6d, 0xe0, 0xf5, 0x97,
|
||||
0xce, 0x98, 0xe3, 0x4e, 0x62, 0xe3, 0x24, 0xee, 0x5a, 0x0c, 0xd8, 0x7e, 0x47, 0xb9, 0xc3, 0x1f,
|
||||
0x5e, 0xd8, 0xa0, 0x9d, 0xe5, 0x83, 0x79, 0xb1, 0x9c, 0xd4, 0x2f, 0x13, 0xf6, 0x21, 0x51, 0x75,
|
||||
0x86, 0x36, 0x27, 0x66, 0xf1, 0x6b, 0x00, 0x93, 0x53, 0x69, 0xf6, 0x02, 0x26, 0x01, 0x0d, 0x36,
|
||||
0xe4, 0x5a, 0x5e, 0xcc, 0x8b, 0xe5, 0xb4, 0xfe, 0xab, 0x19, 0x83, 0xa1, 0x42, 0x4a, 0x35, 0xa7,
|
||||
0xf7, 0x8f, 0xea, 0x28, 0xa2, 0xe7, 0x3b, 0xe2, 0xc3, 0x93, 0xe7, 0x3b, 0x62, 0xd7, 0x50, 0x7a,
|
||||
0x17, 0x88, 0x97, 0xd9, 0x4c, 0x8a, 0x71, 0x18, 0x4b, 0x34, 0x48, 0xc8, 0x47, 0xd9, 0xcf, 0x9a,
|
||||
0x3d, 0x87, 0x91, 0x17, 0xd4, 0x1c, 0xf8, 0x38, 0x27, 0x7a, 0xc9, 0xde, 0xc1, 0xb8, 0xe9, 0x02,
|
||||
0xb9, 0x07, 0x3e, 0x99, 0x17, 0xcb, 0xd9, 0xcd, 0xab, 0xcb, 0x65, 0xbc, 0x4f, 0x99, 0x38, 0xf7,
|
||||
0x56, 0x10, 0x61, 0x6b, 0x63, 0xc1, 0x1e, 0x67, 0x0c, 0xca, 0xbd, 0x93, 0x47, 0x7e, 0x95, 0x3e,
|
||||
0x90, 0x62, 0xb6, 0x81, 0xa7, 0x42, 0x4a, 0x4d, 0xda, 0x59, 0x61, 0x76, 0x7b, 0x6d, 0xa5, 0xb6,
|
||||
0x2a, 0xf0, 0xd9, 0x7f, 0xd6, 0xcc, 0xce, 0x0f, 0xd6, 0x99, 0x5f, 0x4f, 0xe1, 0xca, 0xf7, 0xfd,
|
||||
0x16, 0xb7, 0xf0, 0xe4, 0x9f, 0x21, 0x62, 0xeb, 0x6f, 0xda, 0xca, 0xbc, 0xbb, 0x14, 0x47, 0xcf,
|
||||
0x0b, 0x3a, 0xf4, 0x8b, 0xab, 0x53, 0xbc, 0xfe, 0x0a, 0x8f, 0x1b, 0xf7, 0x70, 0xd1, 0x76, 0x3d,
|
||||
0x4d, 0x65, 0xe2, 0x61, 0x6c, 0x8b, 0xcf, 0x77, 0x39, 0xa1, 0x9c, 0x11, 0x56, 0x55, 0xae, 0x55,
|
||||
0x2b, 0x85, 0x36, 0x9d, 0xcd, 0xaa, 0x4f, 0x09, 0xaf, 0x43, 0x3a, 0x28, 0x61, 0xad, 0x23, 0x11,
|
||||
0xc7, 0x0c, 0xb7, 0x17, 0xf1, 0xef, 0xa2, 0xf8, 0x39, 0x28, 0x3f, 0xde, 0x6d, 0x3f, 0xed, 0xc7,
|
||||
0xe9, 0xdd, 0xdb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x73, 0x2c, 0xed, 0xfb, 0x87, 0x02, 0x00,
|
||||
0x00,
|
||||
var fileDescriptor_ff9994be407cdcc9 = []byte{
|
||||
// 419 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x8e, 0xd3, 0x30,
|
||||
0x10, 0x86, 0x49, 0x9b, 0x76, 0xdb, 0xe9, 0x82, 0x84, 0x59, 0x90, 0x85, 0x40, 0x54, 0xe5, 0x52,
|
||||
0x71, 0x48, 0xa5, 0xe5, 0xc0, 0x61, 0x4f, 0x1b, 0xa8, 0x58, 0x6e, 0x55, 0x8e, 0x5c, 0x22, 0x37,
|
||||
0x1e, 0x52, 0x83, 0xd7, 0xb6, 0xe2, 0x09, 0xa2, 0xaf, 0xc3, 0x63, 0xf1, 0x24, 0x1c, 0x91, 0x9d,
|
||||
0x84, 0x56, 0x42, 0xe2, 0x36, 0xf3, 0xff, 0x9f, 0xa7, 0x7f, 0x27, 0x03, 0x4f, 0x6b, 0x6b, 0x6b,
|
||||
0x8d, 0x1b, 0xe1, 0xd4, 0xe6, 0x40, 0xe4, 0x32, 0xd7, 0x58, 0xb2, 0x0c, 0x3a, 0x39, 0x13, 0x4e,
|
||||
0xad, 0x8e, 0x90, 0xde, 0x11, 0x39, 0xf6, 0x06, 0x26, 0x4d, 0xab, 0xd1, 0xf3, 0x64, 0x39, 0x5e,
|
||||
0x2f, 0xae, 0xaf, 0xb2, 0x13, 0x93, 0x05, 0xa0, 0x68, 0x35, 0x16, 0x1d, 0xc2, 0xb6, 0xf0, 0xea,
|
||||
0x4b, 0xab, 0xf5, 0xb1, 0x94, 0x58, 0x59, 0x89, 0x65, 0x83, 0x1e, 0x9b, 0xef, 0x28, 0x4b, 0xfc,
|
||||
0xe1, 0x84, 0xf1, 0xca, 0x1a, 0x3e, 0x5a, 0x26, 0xeb, 0x59, 0xf1, 0x22, 0x62, 0x1f, 0x22, 0x55,
|
||||
0xf4, 0xd0, 0x76, 0x60, 0x56, 0xbf, 0x46, 0x30, 0x1b, 0x46, 0xb3, 0xe7, 0x30, 0xf3, 0xa8, 0xb1,
|
||||
0x22, 0xdb, 0xf0, 0x64, 0x99, 0xac, 0xe7, 0xc5, 0xdf, 0x9e, 0x31, 0x18, 0xd7, 0x48, 0x71, 0xe6,
|
||||
0xfc, 0xee, 0x41, 0x11, 0x9a, 0xa0, 0xb9, 0x96, 0xf8, 0x78, 0xd0, 0x5c, 0x4b, 0xec, 0x0a, 0x52,
|
||||
0x67, 0x3d, 0xf1, 0xb4, 0x17, 0x63, 0xc7, 0x38, 0x4c, 0x25, 0x6a, 0x24, 0xe4, 0x93, 0x5e, 0xef,
|
||||
0x7b, 0xf6, 0x0c, 0x26, 0x4e, 0x50, 0x75, 0xe0, 0xd3, 0xde, 0xe8, 0x5a, 0xf6, 0x0e, 0xa6, 0x55,
|
||||
0xeb, 0xc9, 0xde, 0xf3, 0xd9, 0x32, 0x59, 0x2f, 0xae, 0x5f, 0x9e, 0x2f, 0xe3, 0x7d, 0x74, 0x42,
|
||||
0xee, 0x9d, 0x20, 0xc2, 0xc6, 0x84, 0x81, 0x1d, 0xce, 0x18, 0xa4, 0x7b, 0x2b, 0x8f, 0xfc, 0x22,
|
||||
0xfe, 0x81, 0x58, 0xb3, 0xd7, 0xf0, 0xb0, 0x41, 0xef, 0xac, 0xf1, 0x58, 0x46, 0xf3, 0x32, 0x9a,
|
||||
0x97, 0x83, 0x98, 0x07, 0x68, 0x0b, 0x4f, 0x84, 0x94, 0x8a, 0x94, 0x35, 0x42, 0x97, 0x7b, 0x65,
|
||||
0xa4, 0x32, 0xb5, 0xe7, 0x8b, 0xff, 0x7c, 0x0b, 0x76, 0x7a, 0x90, 0xf7, 0x7c, 0x3e, 0x87, 0x0b,
|
||||
0xd7, 0x85, 0x5a, 0xdd, 0xc0, 0xe3, 0x7f, 0x92, 0x86, 0x7c, 0xdf, 0x94, 0x91, 0xfd, 0x82, 0x63,
|
||||
0x1d, 0x34, 0x27, 0xe8, 0xd0, 0x6d, 0xb7, 0x88, 0x75, 0xfe, 0x15, 0x1e, 0x55, 0xf6, 0xfe, 0xec,
|
||||
0x67, 0xf3, 0x79, 0x1c, 0x13, 0xae, 0x67, 0x97, 0x7c, 0xbe, 0xed, 0x8d, 0xda, 0x6a, 0x61, 0xea,
|
||||
0xcc, 0x36, 0xf5, 0xa6, 0x46, 0x13, 0x6f, 0x6b, 0xd3, 0x59, 0xc2, 0x29, 0x1f, 0xaf, 0x4e, 0x18,
|
||||
0x63, 0x49, 0x84, 0x98, 0xfe, 0xe6, 0xac, 0xfe, 0x9d, 0x24, 0x3f, 0x47, 0xe9, 0xc7, 0xdb, 0xdd,
|
||||
0xa7, 0xfd, 0x34, 0xbe, 0x7b, 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, 0xae, 0xde, 0xa1, 0xd0, 0xac,
|
||||
0x02, 0x00, 0x00,
|
||||
}
|
||||
|
||||
58
vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go
generated
vendored
58
vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go
generated
vendored
@@ -1,22 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/experimental/authorization_config.proto
|
||||
|
||||
/*
|
||||
Package api is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/experimental/authorization_config.proto
|
||||
google/api/experimental/experimental.proto
|
||||
|
||||
It has these top-level messages:
|
||||
AuthorizationConfig
|
||||
Experimental
|
||||
*/
|
||||
package api
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -42,13 +33,36 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
type AuthorizationConfig struct {
|
||||
// The name of the authorization provider, such as
|
||||
// firebaserules.googleapis.com.
|
||||
Provider string `protobuf:"bytes,1,opt,name=provider" json:"provider,omitempty"`
|
||||
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuthorizationConfig) Reset() { *m = AuthorizationConfig{} }
|
||||
func (m *AuthorizationConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthorizationConfig) ProtoMessage() {}
|
||||
func (*AuthorizationConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *AuthorizationConfig) Reset() { *m = AuthorizationConfig{} }
|
||||
func (m *AuthorizationConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthorizationConfig) ProtoMessage() {}
|
||||
func (*AuthorizationConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9a079278ac7754f2, []int{0}
|
||||
}
|
||||
|
||||
func (m *AuthorizationConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuthorizationConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuthorizationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuthorizationConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *AuthorizationConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthorizationConfig.Merge(m, src)
|
||||
}
|
||||
func (m *AuthorizationConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_AuthorizationConfig.Size(m)
|
||||
}
|
||||
func (m *AuthorizationConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuthorizationConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuthorizationConfig proto.InternalMessageInfo
|
||||
|
||||
func (m *AuthorizationConfig) GetProvider() string {
|
||||
if m != nil {
|
||||
@@ -61,9 +75,11 @@ func init() {
|
||||
proto.RegisterType((*AuthorizationConfig)(nil), "google.api.AuthorizationConfig")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/experimental/authorization_config.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/experimental/authorization_config.proto", fileDescriptor_9a079278ac7754f2)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_9a079278ac7754f2 = []byte{
|
||||
// 180 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xcf, 0xcf, 0x4f,
|
||||
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xad, 0x28, 0x48, 0x2d, 0xca, 0xcc, 0x4d, 0xcd,
|
||||
|
||||
104
vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go
generated
vendored
104
vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go
generated
vendored
@@ -1,21 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/config_change.proto
|
||||
|
||||
/*
|
||||
Package configchange is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/config_change.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ConfigChange
|
||||
Advice
|
||||
*/
|
||||
package configchange
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -52,6 +44,7 @@ var ChangeType_name = map[int32]string{
|
||||
2: "REMOVED",
|
||||
3: "MODIFIED",
|
||||
}
|
||||
|
||||
var ChangeType_value = map[string]int32{
|
||||
"CHANGE_TYPE_UNSPECIFIED": 0,
|
||||
"ADDED": 1,
|
||||
@@ -62,7 +55,10 @@ var ChangeType_value = map[string]int32{
|
||||
func (x ChangeType) String() string {
|
||||
return proto.EnumName(ChangeType_name, int32(x))
|
||||
}
|
||||
func (ChangeType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (ChangeType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5c5c17e3f260da51, []int{0}
|
||||
}
|
||||
|
||||
// Output generated from semantically comparing two versions of a service
|
||||
// configuration.
|
||||
@@ -80,24 +76,47 @@ type ConfigChange struct {
|
||||
// - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
|
||||
// - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
|
||||
// - logging.producer_destinations[0]
|
||||
Element string `protobuf:"bytes,1,opt,name=element" json:"element,omitempty"`
|
||||
Element string `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
|
||||
// Value of the changed object in the old Service configuration,
|
||||
// in JSON format. This field will not be populated if ChangeType == ADDED.
|
||||
OldValue string `protobuf:"bytes,2,opt,name=old_value,json=oldValue" json:"old_value,omitempty"`
|
||||
OldValue string `protobuf:"bytes,2,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
|
||||
// Value of the changed object in the new Service configuration,
|
||||
// in JSON format. This field will not be populated if ChangeType == REMOVED.
|
||||
NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue" json:"new_value,omitempty"`
|
||||
NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
|
||||
// The type for this change, either ADDED, REMOVED, or MODIFIED.
|
||||
ChangeType ChangeType `protobuf:"varint,4,opt,name=change_type,json=changeType,enum=google.api.ChangeType" json:"change_type,omitempty"`
|
||||
ChangeType ChangeType `protobuf:"varint,4,opt,name=change_type,json=changeType,proto3,enum=google.api.ChangeType" json:"change_type,omitempty"`
|
||||
// Collection of advice provided for this change, useful for determining the
|
||||
// possible impact of this change.
|
||||
Advices []*Advice `protobuf:"bytes,5,rep,name=advices" json:"advices,omitempty"`
|
||||
Advices []*Advice `protobuf:"bytes,5,rep,name=advices,proto3" json:"advices,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfigChange) Reset() { *m = ConfigChange{} }
|
||||
func (m *ConfigChange) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigChange) ProtoMessage() {}
|
||||
func (*ConfigChange) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *ConfigChange) Reset() { *m = ConfigChange{} }
|
||||
func (m *ConfigChange) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigChange) ProtoMessage() {}
|
||||
func (*ConfigChange) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5c5c17e3f260da51, []int{0}
|
||||
}
|
||||
|
||||
func (m *ConfigChange) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfigChange.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfigChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfigChange.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConfigChange) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigChange.Merge(m, src)
|
||||
}
|
||||
func (m *ConfigChange) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfigChange.Size(m)
|
||||
}
|
||||
func (m *ConfigChange) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfigChange.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfigChange proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfigChange) GetElement() string {
|
||||
if m != nil {
|
||||
@@ -139,13 +158,36 @@ func (m *ConfigChange) GetAdvices() []*Advice {
|
||||
type Advice struct {
|
||||
// Useful description for why this advice was applied and what actions should
|
||||
// be taken to mitigate any implied risks.
|
||||
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 *Advice) Reset() { *m = Advice{} }
|
||||
func (m *Advice) String() string { return proto.CompactTextString(m) }
|
||||
func (*Advice) ProtoMessage() {}
|
||||
func (*Advice) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *Advice) Reset() { *m = Advice{} }
|
||||
func (m *Advice) String() string { return proto.CompactTextString(m) }
|
||||
func (*Advice) ProtoMessage() {}
|
||||
func (*Advice) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5c5c17e3f260da51, []int{1}
|
||||
}
|
||||
|
||||
func (m *Advice) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Advice.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Advice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Advice.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Advice) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Advice.Merge(m, src)
|
||||
}
|
||||
func (m *Advice) XXX_Size() int {
|
||||
return xxx_messageInfo_Advice.Size(m)
|
||||
}
|
||||
func (m *Advice) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Advice.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Advice proto.InternalMessageInfo
|
||||
|
||||
func (m *Advice) GetDescription() string {
|
||||
if m != nil {
|
||||
@@ -155,14 +197,14 @@ func (m *Advice) GetDescription() string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.api.ChangeType", ChangeType_name, ChangeType_value)
|
||||
proto.RegisterType((*ConfigChange)(nil), "google.api.ConfigChange")
|
||||
proto.RegisterType((*Advice)(nil), "google.api.Advice")
|
||||
proto.RegisterEnum("google.api.ChangeType", ChangeType_name, ChangeType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/config_change.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/config_change.proto", fileDescriptor_5c5c17e3f260da51) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_5c5c17e3f260da51 = []byte{
|
||||
// 338 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0xcd, 0x4e, 0xc2, 0x40,
|
||||
0x14, 0x85, 0x2d, 0xff, 0xdc, 0x12, 0x82, 0xb3, 0xd0, 0x26, 0x24, 0xa6, 0x61, 0x45, 0x88, 0x69,
|
||||
|
||||
316
vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go
generated
vendored
316
vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go
generated
vendored
@@ -1,23 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/distribution.proto
|
||||
|
||||
/*
|
||||
Package distribution is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/distribution.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Distribution
|
||||
*/
|
||||
package distribution
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
import _ "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -47,10 +38,10 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
// will render the `mean` and `sum_of_squared_deviation` fields meaningless.
|
||||
type Distribution struct {
|
||||
// The number of values in the population. Must be non-negative.
|
||||
Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
|
||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||
// The arithmetic mean of the values in the population. If `count` is zero
|
||||
// then this field must be zero.
|
||||
Mean float64 `protobuf:"fixed64,2,opt,name=mean" json:"mean,omitempty"`
|
||||
Mean float64 `protobuf:"fixed64,2,opt,name=mean,proto3" json:"mean,omitempty"`
|
||||
// The sum of squared deviations from the mean of the values in the
|
||||
// population. For values x_i this is:
|
||||
//
|
||||
@@ -60,12 +51,12 @@ type Distribution struct {
|
||||
// describes Welford's method for accumulating this sum in one pass.
|
||||
//
|
||||
// If `count` is zero then this field must be zero.
|
||||
SumOfSquaredDeviation float64 `protobuf:"fixed64,3,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation" json:"sum_of_squared_deviation,omitempty"`
|
||||
SumOfSquaredDeviation float64 `protobuf:"fixed64,3,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation,proto3" json:"sum_of_squared_deviation,omitempty"`
|
||||
// If specified, contains the range of the population values. The field
|
||||
// must not be present if the `count` is zero.
|
||||
Range *Distribution_Range `protobuf:"bytes,4,opt,name=range" json:"range,omitempty"`
|
||||
Range *Distribution_Range `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"`
|
||||
// Defines the histogram bucket boundaries.
|
||||
BucketOptions *Distribution_BucketOptions `protobuf:"bytes,6,opt,name=bucket_options,json=bucketOptions" json:"bucket_options,omitempty"`
|
||||
BucketOptions *Distribution_BucketOptions `protobuf:"bytes,6,opt,name=bucket_options,json=bucketOptions,proto3" json:"bucket_options,omitempty"`
|
||||
// If `bucket_options` is given, then the sum of the values in `bucket_counts`
|
||||
// must equal the value in `count`. If `bucket_options` is not given, no
|
||||
// `bucket_counts` fields may be given.
|
||||
@@ -78,13 +69,36 @@ type Distribution struct {
|
||||
// `bucket_options`.
|
||||
//
|
||||
// Any suffix of trailing zero bucket_count fields may be omitted.
|
||||
BucketCounts []int64 `protobuf:"varint,7,rep,packed,name=bucket_counts,json=bucketCounts" json:"bucket_counts,omitempty"`
|
||||
BucketCounts []int64 `protobuf:"varint,7,rep,packed,name=bucket_counts,json=bucketCounts,proto3" json:"bucket_counts,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution) Reset() { *m = Distribution{} }
|
||||
func (m *Distribution) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution) ProtoMessage() {}
|
||||
func (*Distribution) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *Distribution) Reset() { *m = Distribution{} }
|
||||
func (m *Distribution) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution) ProtoMessage() {}
|
||||
func (*Distribution) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_0835ee0fd90bf943, []int{0}
|
||||
}
|
||||
|
||||
func (m *Distribution) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution.Size(m)
|
||||
}
|
||||
func (m *Distribution) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution) GetCount() int64 {
|
||||
if m != nil {
|
||||
@@ -131,15 +145,38 @@ func (m *Distribution) GetBucketCounts() []int64 {
|
||||
// The range of the population values.
|
||||
type Distribution_Range struct {
|
||||
// The minimum of the population values.
|
||||
Min float64 `protobuf:"fixed64,1,opt,name=min" json:"min,omitempty"`
|
||||
Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
|
||||
// The maximum of the population values.
|
||||
Max float64 `protobuf:"fixed64,2,opt,name=max" json:"max,omitempty"`
|
||||
Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_Range) Reset() { *m = Distribution_Range{} }
|
||||
func (m *Distribution_Range) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_Range) ProtoMessage() {}
|
||||
func (*Distribution_Range) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
||||
func (m *Distribution_Range) Reset() { *m = Distribution_Range{} }
|
||||
func (m *Distribution_Range) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_Range) ProtoMessage() {}
|
||||
func (*Distribution_Range) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_0835ee0fd90bf943, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Distribution_Range) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_Range.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_Range.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_Range) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_Range.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_Range) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_Range.Size(m)
|
||||
}
|
||||
func (m *Distribution_Range) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_Range.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_Range proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution_Range) GetMin() float64 {
|
||||
if m != nil {
|
||||
@@ -185,31 +222,58 @@ type Distribution_BucketOptions struct {
|
||||
// *Distribution_BucketOptions_LinearBuckets
|
||||
// *Distribution_BucketOptions_ExponentialBuckets
|
||||
// *Distribution_BucketOptions_ExplicitBuckets
|
||||
Options isDistribution_BucketOptions_Options `protobuf_oneof:"options"`
|
||||
Options isDistribution_BucketOptions_Options `protobuf_oneof:"options"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions) Reset() { *m = Distribution_BucketOptions{} }
|
||||
func (m *Distribution_BucketOptions) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_BucketOptions) ProtoMessage() {}
|
||||
func (*Distribution_BucketOptions) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 1} }
|
||||
func (m *Distribution_BucketOptions) Reset() { *m = Distribution_BucketOptions{} }
|
||||
func (m *Distribution_BucketOptions) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_BucketOptions) ProtoMessage() {}
|
||||
func (*Distribution_BucketOptions) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_0835ee0fd90bf943, []int{0, 1}
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_BucketOptions.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_BucketOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_BucketOptions.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_BucketOptions) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_BucketOptions) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_BucketOptions.Size(m)
|
||||
}
|
||||
func (m *Distribution_BucketOptions) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_BucketOptions.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_BucketOptions proto.InternalMessageInfo
|
||||
|
||||
type isDistribution_BucketOptions_Options interface {
|
||||
isDistribution_BucketOptions_Options()
|
||||
}
|
||||
|
||||
type Distribution_BucketOptions_LinearBuckets struct {
|
||||
LinearBuckets *Distribution_BucketOptions_Linear `protobuf:"bytes,1,opt,name=linear_buckets,json=linearBuckets,oneof"`
|
||||
}
|
||||
type Distribution_BucketOptions_ExponentialBuckets struct {
|
||||
ExponentialBuckets *Distribution_BucketOptions_Exponential `protobuf:"bytes,2,opt,name=exponential_buckets,json=exponentialBuckets,oneof"`
|
||||
}
|
||||
type Distribution_BucketOptions_ExplicitBuckets struct {
|
||||
ExplicitBuckets *Distribution_BucketOptions_Explicit `protobuf:"bytes,3,opt,name=explicit_buckets,json=explicitBuckets,oneof"`
|
||||
LinearBuckets *Distribution_BucketOptions_Linear `protobuf:"bytes,1,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Distribution_BucketOptions_LinearBuckets) isDistribution_BucketOptions_Options() {}
|
||||
type Distribution_BucketOptions_ExponentialBuckets struct {
|
||||
ExponentialBuckets *Distribution_BucketOptions_Exponential `protobuf:"bytes,2,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Distribution_BucketOptions_ExplicitBuckets struct {
|
||||
ExplicitBuckets *Distribution_BucketOptions_Explicit `protobuf:"bytes,3,opt,name=explicit_buckets,json=explicitBuckets,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Distribution_BucketOptions_LinearBuckets) isDistribution_BucketOptions_Options() {}
|
||||
|
||||
func (*Distribution_BucketOptions_ExponentialBuckets) isDistribution_BucketOptions_Options() {}
|
||||
func (*Distribution_BucketOptions_ExplicitBuckets) isDistribution_BucketOptions_Options() {}
|
||||
|
||||
func (*Distribution_BucketOptions_ExplicitBuckets) isDistribution_BucketOptions_Options() {}
|
||||
|
||||
func (m *Distribution_BucketOptions) GetOptions() isDistribution_BucketOptions_Options {
|
||||
if m != nil {
|
||||
@@ -312,17 +376,17 @@ func _Distribution_BucketOptions_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Options.(type) {
|
||||
case *Distribution_BucketOptions_LinearBuckets:
|
||||
s := proto.Size(x.LinearBuckets)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_BucketOptions_ExponentialBuckets:
|
||||
s := proto.Size(x.ExponentialBuckets)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_BucketOptions_ExplicitBuckets:
|
||||
s := proto.Size(x.ExplicitBuckets)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -343,20 +407,41 @@ func _Distribution_BucketOptions_OneofSizer(msg proto.Message) (n int) {
|
||||
// Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
||||
type Distribution_BucketOptions_Linear struct {
|
||||
// Must be greater than 0.
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets" json:"num_finite_buckets,omitempty"`
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"`
|
||||
// Must be greater than 0.
|
||||
Width float64 `protobuf:"fixed64,2,opt,name=width" json:"width,omitempty"`
|
||||
Width float64 `protobuf:"fixed64,2,opt,name=width,proto3" json:"width,omitempty"`
|
||||
// Lower bound of the first bucket.
|
||||
Offset float64 `protobuf:"fixed64,3,opt,name=offset" json:"offset,omitempty"`
|
||||
Offset float64 `protobuf:"fixed64,3,opt,name=offset,proto3" json:"offset,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Linear) Reset() { *m = Distribution_BucketOptions_Linear{} }
|
||||
func (m *Distribution_BucketOptions_Linear) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_BucketOptions_Linear) ProtoMessage() {}
|
||||
func (*Distribution_BucketOptions_Linear) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 1, 0}
|
||||
return fileDescriptor_0835ee0fd90bf943, []int{0, 1, 0}
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Linear) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Linear.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Linear) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Linear.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Linear) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Linear.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Linear) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Linear.Size(m)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Linear) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Linear.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_BucketOptions_Linear proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution_BucketOptions_Linear) GetNumFiniteBuckets() int32 {
|
||||
if m != nil {
|
||||
return m.NumFiniteBuckets
|
||||
@@ -389,11 +474,14 @@ func (m *Distribution_BucketOptions_Linear) GetOffset() float64 {
|
||||
// Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
|
||||
type Distribution_BucketOptions_Exponential struct {
|
||||
// Must be greater than 0.
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets" json:"num_finite_buckets,omitempty"`
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"`
|
||||
// Must be greater than 1.
|
||||
GrowthFactor float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor" json:"growth_factor,omitempty"`
|
||||
GrowthFactor float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor,proto3" json:"growth_factor,omitempty"`
|
||||
// Must be greater than 0.
|
||||
Scale float64 `protobuf:"fixed64,3,opt,name=scale" json:"scale,omitempty"`
|
||||
Scale float64 `protobuf:"fixed64,3,opt,name=scale,proto3" json:"scale,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Exponential) Reset() {
|
||||
@@ -402,9 +490,27 @@ func (m *Distribution_BucketOptions_Exponential) Reset() {
|
||||
func (m *Distribution_BucketOptions_Exponential) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_BucketOptions_Exponential) ProtoMessage() {}
|
||||
func (*Distribution_BucketOptions_Exponential) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 1, 1}
|
||||
return fileDescriptor_0835ee0fd90bf943, []int{0, 1, 1}
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Exponential) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Exponential.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Exponential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Exponential.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Exponential) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Exponential.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Exponential) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Exponential.Size(m)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Exponential) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Exponential.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_BucketOptions_Exponential proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution_BucketOptions_Exponential) GetNumFiniteBuckets() int32 {
|
||||
if m != nil {
|
||||
return m.NumFiniteBuckets
|
||||
@@ -439,16 +545,37 @@ func (m *Distribution_BucketOptions_Exponential) GetScale() float64 {
|
||||
// common boundary of the overflow and underflow buckets.
|
||||
type Distribution_BucketOptions_Explicit struct {
|
||||
// The values must be monotonically increasing.
|
||||
Bounds []float64 `protobuf:"fixed64,1,rep,packed,name=bounds" json:"bounds,omitempty"`
|
||||
Bounds []float64 `protobuf:"fixed64,1,rep,packed,name=bounds,proto3" json:"bounds,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Explicit) Reset() { *m = Distribution_BucketOptions_Explicit{} }
|
||||
func (m *Distribution_BucketOptions_Explicit) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_BucketOptions_Explicit) ProtoMessage() {}
|
||||
func (*Distribution_BucketOptions_Explicit) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 1, 2}
|
||||
return fileDescriptor_0835ee0fd90bf943, []int{0, 1, 2}
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Explicit) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Explicit.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Explicit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Explicit.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Explicit) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Explicit.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Explicit) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_BucketOptions_Explicit.Size(m)
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Explicit) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Explicit.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_BucketOptions_Explicit proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution_BucketOptions_Explicit) GetBounds() []float64 {
|
||||
if m != nil {
|
||||
return m.Bounds
|
||||
@@ -465,42 +592,41 @@ func init() {
|
||||
proto.RegisterType((*Distribution_BucketOptions_Explicit)(nil), "google.api.Distribution.BucketOptions.Explicit")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/distribution.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/distribution.proto", fileDescriptor_0835ee0fd90bf943) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 544 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6f, 0xd3, 0x30,
|
||||
0x14, 0x5d, 0x96, 0xb5, 0x85, 0xdb, 0x0f, 0x8a, 0x19, 0x28, 0x44, 0x7c, 0x54, 0x9b, 0x84, 0x2a,
|
||||
0x01, 0x89, 0x54, 0x90, 0x78, 0xe0, 0xad, 0x1b, 0x53, 0x1f, 0x40, 0x9b, 0x8c, 0xc4, 0x03, 0x42,
|
||||
0x8a, 0x9c, 0xc4, 0xc9, 0x0c, 0x89, 0x1d, 0x62, 0x67, 0x2b, 0xef, 0xfc, 0x29, 0xfe, 0x1d, 0x8a,
|
||||
0xed, 0x6e, 0x19, 0x08, 0xa9, 0xbc, 0xf9, 0xde, 0x73, 0x7c, 0xce, 0xb9, 0x57, 0x71, 0xe0, 0x71,
|
||||
0x2e, 0x44, 0x5e, 0xd0, 0x90, 0x54, 0x2c, 0x4c, 0x99, 0x54, 0x35, 0x8b, 0x1b, 0xc5, 0x04, 0x0f,
|
||||
0xaa, 0x5a, 0x28, 0x81, 0xc0, 0xc0, 0x01, 0xa9, 0x98, 0xff, 0xa8, 0x43, 0x25, 0x9c, 0x0b, 0x45,
|
||||
0x5a, 0xa2, 0x34, 0x4c, 0xff, 0xa1, 0x45, 0x75, 0x15, 0x37, 0x59, 0x48, 0xf8, 0x0f, 0x0b, 0x3d,
|
||||
0xfd, 0x13, 0x52, 0xac, 0xa4, 0x52, 0x91, 0xb2, 0x32, 0x84, 0x83, 0x9f, 0x03, 0x18, 0x1d, 0x77,
|
||||
0xcc, 0xd1, 0x3e, 0xf4, 0x12, 0xd1, 0x70, 0xe5, 0x39, 0x33, 0x67, 0xee, 0x62, 0x53, 0x20, 0x04,
|
||||
0x7b, 0x25, 0x25, 0xdc, 0xdb, 0x9d, 0x39, 0x73, 0x07, 0xeb, 0x33, 0x7a, 0x03, 0x9e, 0x6c, 0xca,
|
||||
0x48, 0x64, 0x91, 0xfc, 0xde, 0x90, 0x9a, 0xa6, 0x51, 0x4a, 0x2f, 0x98, 0x4e, 0xe6, 0xb9, 0x9a,
|
||||
0x77, 0x5f, 0x36, 0xe5, 0x69, 0xf6, 0xd1, 0xa0, 0xc7, 0x1b, 0x10, 0xbd, 0x86, 0x5e, 0x4d, 0x78,
|
||||
0x4e, 0xbd, 0xbd, 0x99, 0x33, 0x1f, 0x2e, 0x9e, 0x04, 0xd7, 0x93, 0x06, 0xdd, 0x2c, 0x01, 0x6e,
|
||||
0x59, 0xd8, 0x90, 0xd1, 0x07, 0x98, 0xc4, 0x4d, 0xf2, 0x8d, 0xaa, 0x48, 0x54, 0x7a, 0x7a, 0xaf,
|
||||
0xaf, 0xaf, 0x3f, 0xfb, 0xe7, 0xf5, 0xa5, 0xa6, 0x9f, 0x1a, 0x36, 0x1e, 0xc7, 0xdd, 0x12, 0x1d,
|
||||
0x82, 0x6d, 0x44, 0x7a, 0x42, 0xe9, 0x0d, 0x66, 0xee, 0xdc, 0xc5, 0x23, 0xd3, 0x3c, 0xd2, 0x3d,
|
||||
0xff, 0x39, 0xf4, 0x74, 0x06, 0x34, 0x05, 0xb7, 0x64, 0x5c, 0xef, 0xc4, 0xc1, 0xed, 0x51, 0x77,
|
||||
0xc8, 0xda, 0x2e, 0xa4, 0x3d, 0xfa, 0xbf, 0xf6, 0x60, 0x7c, 0xc3, 0x12, 0x7d, 0x82, 0x49, 0xc1,
|
||||
0x38, 0x25, 0x75, 0x64, 0x54, 0xa5, 0x16, 0x18, 0x2e, 0x5e, 0x6e, 0x17, 0x39, 0x78, 0xaf, 0x2f,
|
||||
0xaf, 0x76, 0xf0, 0xd8, 0xc8, 0x18, 0x54, 0x22, 0x0a, 0xf7, 0xe8, 0xba, 0x12, 0x9c, 0x72, 0xc5,
|
||||
0x48, 0x71, 0x25, 0xbe, 0xab, 0xc5, 0x17, 0x5b, 0x8a, 0xbf, 0xbb, 0x56, 0x58, 0xed, 0x60, 0xd4,
|
||||
0x11, 0xdc, 0xd8, 0x7c, 0x81, 0x29, 0x5d, 0x57, 0x05, 0x4b, 0x98, 0xba, 0xf2, 0x70, 0xb5, 0x47,
|
||||
0xb8, 0xbd, 0x87, 0xbe, 0xbe, 0xda, 0xc1, 0x77, 0x36, 0x52, 0x56, 0xdd, 0x4f, 0xa1, 0x6f, 0xe6,
|
||||
0x43, 0x2f, 0x00, 0xf1, 0xa6, 0x8c, 0x32, 0xc6, 0x99, 0xa2, 0x37, 0x56, 0xd5, 0xc3, 0x53, 0xde,
|
||||
0x94, 0x27, 0x1a, 0xd8, 0xa4, 0xda, 0x87, 0xde, 0x25, 0x4b, 0xd5, 0xb9, 0x5d, 0xbd, 0x29, 0xd0,
|
||||
0x03, 0xe8, 0x8b, 0x2c, 0x93, 0x54, 0xd9, 0x4f, 0xcf, 0x56, 0xfe, 0x05, 0x0c, 0x3b, 0x83, 0xfe,
|
||||
0xa7, 0xd5, 0x21, 0x8c, 0xf3, 0x5a, 0x5c, 0xaa, 0xf3, 0x28, 0x23, 0x89, 0x12, 0xb5, 0xb5, 0x1c,
|
||||
0x99, 0xe6, 0x89, 0xee, 0xb5, 0x79, 0x64, 0x42, 0x0a, 0x6a, 0x8d, 0x4d, 0xe1, 0x1f, 0xc0, 0xad,
|
||||
0xcd, 0xf0, 0x6d, 0xb6, 0x58, 0x34, 0x3c, 0x6d, 0x8d, 0xdc, 0x36, 0x9b, 0xa9, 0x96, 0xb7, 0x61,
|
||||
0x60, 0x3f, 0xe5, 0xe5, 0x57, 0x98, 0x24, 0xa2, 0xec, 0x6c, 0x75, 0x79, 0xb7, 0xbb, 0xd6, 0xb3,
|
||||
0xf6, 0xad, 0x9e, 0x39, 0x9f, 0x8f, 0x2c, 0x21, 0x17, 0x05, 0xe1, 0x79, 0x20, 0xea, 0x3c, 0xcc,
|
||||
0x29, 0xd7, 0x2f, 0x39, 0x34, 0x10, 0xa9, 0x98, 0xfc, 0xeb, 0x8f, 0xf2, 0xb6, 0x5b, 0xc4, 0x7d,
|
||||
0xcd, 0x7f, 0xf5, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x88, 0x8e, 0xc5, 0x4b, 0x80, 0x04, 0x00, 0x00,
|
||||
var fileDescriptor_0835ee0fd90bf943 = []byte{
|
||||
// 522 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6b, 0xd4, 0x40,
|
||||
0x14, 0xdd, 0x34, 0xfb, 0xa1, 0x77, 0x3f, 0x5c, 0xc7, 0x2a, 0x21, 0xa8, 0x2c, 0x2d, 0xc8, 0x82,
|
||||
0x9a, 0x85, 0x55, 0xf0, 0xc1, 0xb7, 0x6d, 0x2d, 0xfb, 0xa0, 0xb4, 0x8c, 0xe0, 0x83, 0x08, 0x61,
|
||||
0x36, 0x99, 0xa4, 0xa3, 0xc9, 0x4c, 0xcc, 0x4c, 0xda, 0xfd, 0x01, 0xfe, 0x29, 0xff, 0x9d, 0xe4,
|
||||
0x4e, 0xb6, 0x4d, 0x11, 0x61, 0x7d, 0x9b, 0x73, 0xef, 0x99, 0x73, 0xce, 0xbd, 0x64, 0x02, 0xcf,
|
||||
0x52, 0xa5, 0xd2, 0x8c, 0x2f, 0x58, 0x21, 0x16, 0xb1, 0xd0, 0xa6, 0x14, 0x9b, 0xca, 0x08, 0x25,
|
||||
0x83, 0xa2, 0x54, 0x46, 0x11, 0xb0, 0xed, 0x80, 0x15, 0xc2, 0x7f, 0xda, 0xa2, 0x32, 0x29, 0x95,
|
||||
0x61, 0x35, 0x51, 0x5b, 0xe6, 0xd1, 0xaf, 0x01, 0x8c, 0x4e, 0x5b, 0x02, 0xe4, 0x10, 0x7a, 0x91,
|
||||
0xaa, 0xa4, 0xf1, 0x9c, 0x99, 0x33, 0x77, 0xa9, 0x05, 0x84, 0x40, 0x37, 0xe7, 0x4c, 0x7a, 0x07,
|
||||
0x33, 0x67, 0xee, 0x50, 0x3c, 0x93, 0x77, 0xe0, 0xe9, 0x2a, 0x0f, 0x55, 0x12, 0xea, 0x9f, 0x15,
|
||||
0x2b, 0x79, 0x1c, 0xc6, 0xfc, 0x4a, 0xa0, 0xba, 0xe7, 0x22, 0xef, 0xb1, 0xae, 0xf2, 0xf3, 0xe4,
|
||||
0xb3, 0xed, 0x9e, 0xee, 0x9a, 0xe4, 0x2d, 0xf4, 0x4a, 0x26, 0x53, 0xee, 0x75, 0x67, 0xce, 0x7c,
|
||||
0xb8, 0x7c, 0x1e, 0xdc, 0xa6, 0x0d, 0xda, 0x59, 0x02, 0x5a, 0xb3, 0xa8, 0x25, 0x93, 0x4f, 0x30,
|
||||
0xd9, 0x54, 0xd1, 0x0f, 0x6e, 0x42, 0x55, 0xe0, 0x04, 0x5e, 0x1f, 0xaf, 0xbf, 0xf8, 0xe7, 0xf5,
|
||||
0x15, 0xd2, 0xcf, 0x2d, 0x9b, 0x8e, 0x37, 0x6d, 0x48, 0x8e, 0xa1, 0x29, 0x84, 0x38, 0xa1, 0xf6,
|
||||
0x06, 0x33, 0x77, 0xee, 0xd2, 0x91, 0x2d, 0x9e, 0x60, 0xcd, 0x7f, 0x09, 0x3d, 0xcc, 0x40, 0xa6,
|
||||
0xe0, 0xe6, 0x42, 0xe2, 0x4e, 0x1c, 0x5a, 0x1f, 0xb1, 0xc2, 0xb6, 0xcd, 0x42, 0xea, 0xa3, 0xff,
|
||||
0xbb, 0x0b, 0xe3, 0x3b, 0x96, 0xe4, 0x0b, 0x4c, 0x32, 0x21, 0x39, 0x2b, 0x43, 0xab, 0xaa, 0x51,
|
||||
0x60, 0xb8, 0x7c, 0xbd, 0x5f, 0xe4, 0xe0, 0x23, 0x5e, 0x5e, 0x77, 0xe8, 0xd8, 0xca, 0xd8, 0xae,
|
||||
0x26, 0x1c, 0x1e, 0xf1, 0x6d, 0xa1, 0x24, 0x97, 0x46, 0xb0, 0xec, 0x46, 0xfc, 0x00, 0xc5, 0x97,
|
||||
0x7b, 0x8a, 0x7f, 0xb8, 0x55, 0x58, 0x77, 0x28, 0x69, 0x09, 0xee, 0x6c, 0xbe, 0xc1, 0x94, 0x6f,
|
||||
0x8b, 0x4c, 0x44, 0xc2, 0xdc, 0x78, 0xb8, 0xe8, 0xb1, 0xd8, 0xdf, 0x03, 0xaf, 0xaf, 0x3b, 0xf4,
|
||||
0xc1, 0x4e, 0xaa, 0x51, 0xf7, 0x63, 0xe8, 0xdb, 0xf9, 0xc8, 0x2b, 0x20, 0xb2, 0xca, 0xc3, 0x44,
|
||||
0x48, 0x61, 0xf8, 0x9d, 0x55, 0xf5, 0xe8, 0x54, 0x56, 0xf9, 0x19, 0x36, 0x76, 0xa9, 0x0e, 0xa1,
|
||||
0x77, 0x2d, 0x62, 0x73, 0xd9, 0xac, 0xde, 0x02, 0xf2, 0x04, 0xfa, 0x2a, 0x49, 0x34, 0x37, 0xcd,
|
||||
0xa7, 0xd7, 0x20, 0xff, 0x0a, 0x86, 0xad, 0x41, 0xff, 0xd3, 0xea, 0x18, 0xc6, 0x69, 0xa9, 0xae,
|
||||
0xcd, 0x65, 0x98, 0xb0, 0xc8, 0xa8, 0xb2, 0xb1, 0x1c, 0xd9, 0xe2, 0x19, 0xd6, 0xea, 0x3c, 0x3a,
|
||||
0x62, 0x19, 0x6f, 0x8c, 0x2d, 0xf0, 0x8f, 0xe0, 0xde, 0x6e, 0xf8, 0x3a, 0xdb, 0x46, 0x55, 0x32,
|
||||
0xae, 0x8d, 0xdc, 0x3a, 0x9b, 0x45, 0xab, 0xfb, 0x30, 0x68, 0x3e, 0xe5, 0xd5, 0x77, 0x98, 0x44,
|
||||
0x2a, 0x6f, 0x6d, 0x75, 0xf5, 0xb0, 0xbd, 0xd6, 0x8b, 0xfa, 0xad, 0x5e, 0x38, 0x5f, 0x4f, 0x1a,
|
||||
0x42, 0xaa, 0x32, 0x26, 0xd3, 0x40, 0x95, 0xe9, 0x22, 0xe5, 0x12, 0x5f, 0xf2, 0xc2, 0xb6, 0x58,
|
||||
0x21, 0xf4, 0x5f, 0x7f, 0x85, 0xf7, 0x6d, 0xb0, 0xe9, 0x23, 0xff, 0xcd, 0x9f, 0x00, 0x00, 0x00,
|
||||
0xff, 0xff, 0x62, 0xb4, 0xef, 0x6b, 0x44, 0x04, 0x00, 0x00,
|
||||
}
|
||||
|
||||
55
vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go
generated
vendored
55
vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go
generated
vendored
@@ -3,27 +3,58 @@
|
||||
|
||||
package api
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Experimental service configuration. These configuration options can
|
||||
// only be used by whitelisted users.
|
||||
type Experimental struct {
|
||||
// Authorization configuration.
|
||||
Authorization *AuthorizationConfig `protobuf:"bytes,8,opt,name=authorization" json:"authorization,omitempty"`
|
||||
Authorization *AuthorizationConfig `protobuf:"bytes,8,opt,name=authorization,proto3" json:"authorization,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Experimental) Reset() { *m = Experimental{} }
|
||||
func (m *Experimental) String() string { return proto.CompactTextString(m) }
|
||||
func (*Experimental) ProtoMessage() {}
|
||||
func (*Experimental) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (m *Experimental) Reset() { *m = Experimental{} }
|
||||
func (m *Experimental) String() string { return proto.CompactTextString(m) }
|
||||
func (*Experimental) ProtoMessage() {}
|
||||
func (*Experimental) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8ee43d601952ef58, []int{0}
|
||||
}
|
||||
|
||||
func (m *Experimental) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Experimental.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Experimental) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Experimental.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Experimental) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Experimental.Merge(m, src)
|
||||
}
|
||||
func (m *Experimental) XXX_Size() int {
|
||||
return xxx_messageInfo_Experimental.Size(m)
|
||||
}
|
||||
func (m *Experimental) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Experimental.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Experimental proto.InternalMessageInfo
|
||||
|
||||
func (m *Experimental) GetAuthorization() *AuthorizationConfig {
|
||||
if m != nil {
|
||||
@@ -36,9 +67,11 @@ func init() {
|
||||
proto.RegisterType((*Experimental)(nil), "google.api.Experimental")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/experimental/experimental.proto", fileDescriptor1) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/experimental/experimental.proto", fileDescriptor_8ee43d601952ef58)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_8ee43d601952ef58 = []byte{
|
||||
// 204 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xcf, 0xcf, 0x4f,
|
||||
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xad, 0x28, 0x48, 0x2d, 0xca, 0xcc, 0x4d, 0xcd,
|
||||
|
||||
194
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go
generated
vendored
Normal file
194
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,194 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/cel_service.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/cel_service.proto", fileDescriptor_f35b2125e64b6d66)
|
||||
}
|
||||
|
||||
var fileDescriptor_f35b2125e64b6d66 = []byte{
|
||||
// 240 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd1, 0x31, 0x4b, 0xc4, 0x30,
|
||||
0x14, 0xc0, 0x71, 0x2b, 0xea, 0x90, 0x45, 0xc8, 0x24, 0x87, 0x93, 0xe0, 0x09, 0x0e, 0x09, 0x77,
|
||||
0x8e, 0x3a, 0xdd, 0xe1, 0x5e, 0x74, 0x10, 0x6e, 0x91, 0x67, 0x78, 0xe6, 0x82, 0x69, 0x5e, 0x4c,
|
||||
0x6a, 0xf1, 0xcb, 0xf8, 0x3d, 0x1d, 0x25, 0x69, 0xab, 0x88, 0xc4, 0xde, 0xd8, 0xbe, 0x5f, 0xfe,
|
||||
0x81, 0x17, 0x76, 0xa9, 0x89, 0xb4, 0x45, 0x09, 0xde, 0x48, 0x7c, 0xf7, 0x41, 0x76, 0x0b, 0xb0,
|
||||
0x7e, 0x0b, 0x0b, 0xa9, 0xd0, 0x3e, 0x46, 0x0c, 0x9d, 0x51, 0x28, 0x7c, 0xa0, 0x96, 0xf8, 0x49,
|
||||
0x6f, 0x05, 0x78, 0x23, 0x92, 0x15, 0xa3, 0x9d, 0x2d, 0xcb, 0x15, 0x72, 0xcf, 0x14, 0x1a, 0x70,
|
||||
0x0a, 0x7f, 0xd7, 0x96, 0x1f, 0xfb, 0x8c, 0xad, 0xd1, 0xde, 0xf7, 0x3f, 0xf9, 0x86, 0x1d, 0xd6,
|
||||
0x10, 0x22, 0xf2, 0xb9, 0x28, 0x5d, 0x23, 0x32, 0xb8, 0xc3, 0xd7, 0x37, 0x8c, 0xed, 0xec, 0x62,
|
||||
0xd2, 0x45, 0x4f, 0x2e, 0xe2, 0xd9, 0x5e, 0x6a, 0xaf, 0xb7, 0xa8, 0x5e, 0xfe, 0x6b, 0x67, 0xb0,
|
||||
0x43, 0x7b, 0x70, 0xdf, 0xed, 0x07, 0x76, 0x70, 0xdb, 0x81, 0xe5, 0xe7, 0xe5, 0x23, 0x69, 0x3e,
|
||||
0x96, 0xe7, 0x53, 0x6c, 0x0c, 0xaf, 0x02, 0x3b, 0x55, 0xd4, 0x14, 0xf9, 0xea, 0xf8, 0x67, 0x79,
|
||||
0x75, 0x5a, 0x68, 0x5d, 0x6d, 0x6e, 0x06, 0xac, 0xc9, 0x82, 0xd3, 0x82, 0x82, 0x96, 0x1a, 0x5d,
|
||||
0x5e, 0xb7, 0xec, 0x47, 0xe0, 0x4d, 0xfc, 0xfb, 0x4a, 0xd7, 0xe9, 0xeb, 0xb3, 0xaa, 0x9e, 0x8e,
|
||||
0xb2, 0xbd, 0xfa, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x97, 0x50, 0xb8, 0x16, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// CelServiceClient is the client API for CelService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type CelServiceClient interface {
|
||||
// Transforms CEL source text into a parsed representation.
|
||||
Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error)
|
||||
// Runs static checks on a parsed CEL representation and return
|
||||
// an annotated representation, or a set of issues.
|
||||
Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
|
||||
// Evaluates a parsed or annotation CEL representation given
|
||||
// values of external bindings.
|
||||
Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error)
|
||||
}
|
||||
|
||||
type celServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewCelServiceClient(cc *grpc.ClientConn) CelServiceClient {
|
||||
return &celServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *celServiceClient) Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) {
|
||||
out := new(ParseResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Parse", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *celServiceClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) {
|
||||
out := new(CheckResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Check", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *celServiceClient) Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) {
|
||||
out := new(EvalResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Eval", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// CelServiceServer is the server API for CelService service.
|
||||
type CelServiceServer interface {
|
||||
// Transforms CEL source text into a parsed representation.
|
||||
Parse(context.Context, *ParseRequest) (*ParseResponse, error)
|
||||
// Runs static checks on a parsed CEL representation and return
|
||||
// an annotated representation, or a set of issues.
|
||||
Check(context.Context, *CheckRequest) (*CheckResponse, error)
|
||||
// Evaluates a parsed or annotation CEL representation given
|
||||
// values of external bindings.
|
||||
Eval(context.Context, *EvalRequest) (*EvalResponse, error)
|
||||
}
|
||||
|
||||
func RegisterCelServiceServer(s *grpc.Server, srv CelServiceServer) {
|
||||
s.RegisterService(&_CelService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _CelService_Parse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ParseRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CelServiceServer).Parse(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.CelService/Parse",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CelServiceServer).Parse(ctx, req.(*ParseRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CelService_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CheckRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CelServiceServer).Check(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.CelService/Check",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CelServiceServer).Check(ctx, req.(*CheckRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CelService_Eval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(EvalRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CelServiceServer).Eval(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.CelService/Eval",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CelServiceServer).Eval(ctx, req.(*EvalRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _CelService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.api.expr.v1alpha1.CelService",
|
||||
HandlerType: (*CelServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "Parse",
|
||||
Handler: _CelService_Parse_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Check",
|
||||
Handler: _CelService_Check_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Eval",
|
||||
Handler: _CelService_Eval_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/expr/v1alpha1/cel_service.proto",
|
||||
}
|
||||
1445
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go
generated
vendored
Normal file
1445
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
807
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go
generated
vendored
Normal file
807
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,807 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/conformance_service.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Severities of issues.
|
||||
type IssueDetails_Severity int32
|
||||
|
||||
const (
|
||||
// An unspecified severity.
|
||||
IssueDetails_SEVERITY_UNSPECIFIED IssueDetails_Severity = 0
|
||||
// Deprecation issue for statements and method that may no longer be
|
||||
// supported or maintained.
|
||||
IssueDetails_DEPRECATION IssueDetails_Severity = 1
|
||||
// Warnings such as: unused variables.
|
||||
IssueDetails_WARNING IssueDetails_Severity = 2
|
||||
// Errors such as: unmatched curly braces or variable redefinition.
|
||||
IssueDetails_ERROR IssueDetails_Severity = 3
|
||||
)
|
||||
|
||||
var IssueDetails_Severity_name = map[int32]string{
|
||||
0: "SEVERITY_UNSPECIFIED",
|
||||
1: "DEPRECATION",
|
||||
2: "WARNING",
|
||||
3: "ERROR",
|
||||
}
|
||||
|
||||
var IssueDetails_Severity_value = map[string]int32{
|
||||
"SEVERITY_UNSPECIFIED": 0,
|
||||
"DEPRECATION": 1,
|
||||
"WARNING": 2,
|
||||
"ERROR": 3,
|
||||
}
|
||||
|
||||
func (x IssueDetails_Severity) String() string {
|
||||
return proto.EnumName(IssueDetails_Severity_name, int32(x))
|
||||
}
|
||||
|
||||
func (IssueDetails_Severity) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{6, 0}
|
||||
}
|
||||
|
||||
// Request message for the Parse method.
|
||||
type ParseRequest struct {
|
||||
// Required. Source text in CEL syntax.
|
||||
CelSource string `protobuf:"bytes,1,opt,name=cel_source,json=celSource,proto3" json:"cel_source,omitempty"`
|
||||
// Tag for version of CEL syntax, for future use.
|
||||
SyntaxVersion string `protobuf:"bytes,2,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"`
|
||||
// File or resource for source text, used in
|
||||
// [SourceInfo][google.api.expr.v1alpha1.SourceInfo].
|
||||
SourceLocation string `protobuf:"bytes,3,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
|
||||
// Prevent macro expansion. See "Macros" in Language Defiinition.
|
||||
DisableMacros bool `protobuf:"varint,4,opt,name=disable_macros,json=disableMacros,proto3" json:"disable_macros,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ParseRequest) Reset() { *m = ParseRequest{} }
|
||||
func (m *ParseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ParseRequest) ProtoMessage() {}
|
||||
func (*ParseRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{0}
|
||||
}
|
||||
|
||||
func (m *ParseRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ParseRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ParseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ParseRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ParseRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ParseRequest.Merge(m, src)
|
||||
}
|
||||
func (m *ParseRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ParseRequest.Size(m)
|
||||
}
|
||||
func (m *ParseRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ParseRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ParseRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ParseRequest) GetCelSource() string {
|
||||
if m != nil {
|
||||
return m.CelSource
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ParseRequest) GetSyntaxVersion() string {
|
||||
if m != nil {
|
||||
return m.SyntaxVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ParseRequest) GetSourceLocation() string {
|
||||
if m != nil {
|
||||
return m.SourceLocation
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ParseRequest) GetDisableMacros() bool {
|
||||
if m != nil {
|
||||
return m.DisableMacros
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Response message for the Parse method.
|
||||
type ParseResponse struct {
|
||||
// The parsed representation, or unset if parsing failed.
|
||||
ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"`
|
||||
// Any number of issues with [StatusDetails][] as the details.
|
||||
Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ParseResponse) Reset() { *m = ParseResponse{} }
|
||||
func (m *ParseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ParseResponse) ProtoMessage() {}
|
||||
func (*ParseResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{1}
|
||||
}
|
||||
|
||||
func (m *ParseResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ParseResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ParseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ParseResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ParseResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ParseResponse.Merge(m, src)
|
||||
}
|
||||
func (m *ParseResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ParseResponse.Size(m)
|
||||
}
|
||||
func (m *ParseResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ParseResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ParseResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ParseResponse) GetParsedExpr() *ParsedExpr {
|
||||
if m != nil {
|
||||
return m.ParsedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ParseResponse) GetIssues() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Issues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request message for the Check method.
|
||||
type CheckRequest struct {
|
||||
// Required. The parsed representation of the CEL program.
|
||||
ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"`
|
||||
// Declarations of types for external variables and functions.
|
||||
// Required if program uses external variables or functions
|
||||
// not in the default environment.
|
||||
TypeEnv []*Decl `protobuf:"bytes,2,rep,name=type_env,json=typeEnv,proto3" json:"type_env,omitempty"`
|
||||
// The protocol buffer context. See "Name Resolution" in the
|
||||
// Language Definition.
|
||||
Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
|
||||
// If true, use only the declarations in
|
||||
// [type_env][google.api.expr.v1alpha1.CheckRequest.type_env]. If false
|
||||
// (default), add declarations for the standard definitions to the type
|
||||
// environment. See "Standard Definitions" in the Language Definition.
|
||||
NoStdEnv bool `protobuf:"varint,4,opt,name=no_std_env,json=noStdEnv,proto3" json:"no_std_env,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckRequest) Reset() { *m = CheckRequest{} }
|
||||
func (m *CheckRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckRequest) ProtoMessage() {}
|
||||
func (*CheckRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{2}
|
||||
}
|
||||
|
||||
func (m *CheckRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckRequest.Merge(m, src)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckRequest.Size(m)
|
||||
}
|
||||
func (m *CheckRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckRequest) GetParsedExpr() *ParsedExpr {
|
||||
if m != nil {
|
||||
return m.ParsedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetTypeEnv() []*Decl {
|
||||
if m != nil {
|
||||
return m.TypeEnv
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetContainer() string {
|
||||
if m != nil {
|
||||
return m.Container
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetNoStdEnv() bool {
|
||||
if m != nil {
|
||||
return m.NoStdEnv
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Response message for the Check method.
|
||||
type CheckResponse struct {
|
||||
// The annotated representation, or unset if checking failed.
|
||||
CheckedExpr *CheckedExpr `protobuf:"bytes,1,opt,name=checked_expr,json=checkedExpr,proto3" json:"checked_expr,omitempty"`
|
||||
// Any number of issues with [StatusDetails][] as the details.
|
||||
Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckResponse) Reset() { *m = CheckResponse{} }
|
||||
func (m *CheckResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse) ProtoMessage() {}
|
||||
func (*CheckResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{3}
|
||||
}
|
||||
|
||||
func (m *CheckResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse.Merge(m, src)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckResponse.Size(m)
|
||||
}
|
||||
func (m *CheckResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckResponse) GetCheckedExpr() *CheckedExpr {
|
||||
if m != nil {
|
||||
return m.CheckedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckResponse) GetIssues() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Issues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request message for the Eval method.
|
||||
type EvalRequest struct {
|
||||
// Required. Either the parsed or annotated representation of the CEL program.
|
||||
//
|
||||
// Types that are valid to be assigned to ExprKind:
|
||||
// *EvalRequest_ParsedExpr
|
||||
// *EvalRequest_CheckedExpr
|
||||
ExprKind isEvalRequest_ExprKind `protobuf_oneof:"expr_kind"`
|
||||
// Bindings for the external variables. The types SHOULD be compatible
|
||||
// with the type environment in
|
||||
// [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
|
||||
Bindings map[string]*ExprValue `protobuf:"bytes,3,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// SHOULD be the same container as used in
|
||||
// [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
|
||||
Container string `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalRequest) Reset() { *m = EvalRequest{} }
|
||||
func (m *EvalRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalRequest) ProtoMessage() {}
|
||||
func (*EvalRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{4}
|
||||
}
|
||||
|
||||
func (m *EvalRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalRequest.Merge(m, src)
|
||||
}
|
||||
func (m *EvalRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalRequest.Size(m)
|
||||
}
|
||||
func (m *EvalRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalRequest proto.InternalMessageInfo
|
||||
|
||||
type isEvalRequest_ExprKind interface {
|
||||
isEvalRequest_ExprKind()
|
||||
}
|
||||
|
||||
type EvalRequest_ParsedExpr struct {
|
||||
ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3,oneof"`
|
||||
}
|
||||
|
||||
type EvalRequest_CheckedExpr struct {
|
||||
CheckedExpr *CheckedExpr `protobuf:"bytes,2,opt,name=checked_expr,json=checkedExpr,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*EvalRequest_ParsedExpr) isEvalRequest_ExprKind() {}
|
||||
|
||||
func (*EvalRequest_CheckedExpr) isEvalRequest_ExprKind() {}
|
||||
|
||||
func (m *EvalRequest) GetExprKind() isEvalRequest_ExprKind {
|
||||
if m != nil {
|
||||
return m.ExprKind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetParsedExpr() *ParsedExpr {
|
||||
if x, ok := m.GetExprKind().(*EvalRequest_ParsedExpr); ok {
|
||||
return x.ParsedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetCheckedExpr() *CheckedExpr {
|
||||
if x, ok := m.GetExprKind().(*EvalRequest_CheckedExpr); ok {
|
||||
return x.CheckedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetBindings() map[string]*ExprValue {
|
||||
if m != nil {
|
||||
return m.Bindings
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetContainer() string {
|
||||
if m != nil {
|
||||
return m.Container
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*EvalRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _EvalRequest_OneofMarshaler, _EvalRequest_OneofUnmarshaler, _EvalRequest_OneofSizer, []interface{}{
|
||||
(*EvalRequest_ParsedExpr)(nil),
|
||||
(*EvalRequest_CheckedExpr)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _EvalRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*EvalRequest)
|
||||
// expr_kind
|
||||
switch x := m.ExprKind.(type) {
|
||||
case *EvalRequest_ParsedExpr:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ParsedExpr); err != nil {
|
||||
return err
|
||||
}
|
||||
case *EvalRequest_CheckedExpr:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.CheckedExpr); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("EvalRequest.ExprKind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _EvalRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*EvalRequest)
|
||||
switch tag {
|
||||
case 1: // expr_kind.parsed_expr
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ParsedExpr)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ExprKind = &EvalRequest_ParsedExpr{msg}
|
||||
return true, err
|
||||
case 2: // expr_kind.checked_expr
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(CheckedExpr)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ExprKind = &EvalRequest_CheckedExpr{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _EvalRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*EvalRequest)
|
||||
// expr_kind
|
||||
switch x := m.ExprKind.(type) {
|
||||
case *EvalRequest_ParsedExpr:
|
||||
s := proto.Size(x.ParsedExpr)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *EvalRequest_CheckedExpr:
|
||||
s := proto.Size(x.CheckedExpr)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Response message for the Eval method.
|
||||
type EvalResponse struct {
|
||||
// The execution result, or unset if execution couldn't start.
|
||||
Result *ExprValue `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
||||
// Any number of issues with [StatusDetails][] as the details.
|
||||
// Note that CEL execution errors are reified into
|
||||
// [ExprValue][google.api.expr.v1alpha1.ExprValue]. Nevertheless, we'll allow
|
||||
// out-of-band issues to be raised, which also makes the replies more regular.
|
||||
Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalResponse) Reset() { *m = EvalResponse{} }
|
||||
func (m *EvalResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalResponse) ProtoMessage() {}
|
||||
func (*EvalResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{5}
|
||||
}
|
||||
|
||||
func (m *EvalResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalResponse.Merge(m, src)
|
||||
}
|
||||
func (m *EvalResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalResponse.Size(m)
|
||||
}
|
||||
func (m *EvalResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalResponse) GetResult() *ExprValue {
|
||||
if m != nil {
|
||||
return m.Result
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalResponse) GetIssues() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Issues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Warnings or errors in service execution are represented by
|
||||
// [google.rpc.Status][google.rpc.Status] messages, with the following message
|
||||
// in the details field.
|
||||
type IssueDetails struct {
|
||||
// The severity of the issue.
|
||||
Severity IssueDetails_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.api.expr.v1alpha1.IssueDetails_Severity" json:"severity,omitempty"`
|
||||
// Position in the source, if known.
|
||||
Position *SourcePosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
|
||||
// Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.
|
||||
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *IssueDetails) Reset() { *m = IssueDetails{} }
|
||||
func (m *IssueDetails) String() string { return proto.CompactTextString(m) }
|
||||
func (*IssueDetails) ProtoMessage() {}
|
||||
func (*IssueDetails) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3ca1183e6ceae83, []int{6}
|
||||
}
|
||||
|
||||
func (m *IssueDetails) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_IssueDetails.Unmarshal(m, b)
|
||||
}
|
||||
func (m *IssueDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_IssueDetails.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *IssueDetails) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_IssueDetails.Merge(m, src)
|
||||
}
|
||||
func (m *IssueDetails) XXX_Size() int {
|
||||
return xxx_messageInfo_IssueDetails.Size(m)
|
||||
}
|
||||
func (m *IssueDetails) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_IssueDetails.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_IssueDetails proto.InternalMessageInfo
|
||||
|
||||
func (m *IssueDetails) GetSeverity() IssueDetails_Severity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return IssueDetails_SEVERITY_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *IssueDetails) GetPosition() *SourcePosition {
|
||||
if m != nil {
|
||||
return m.Position
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *IssueDetails) GetId() int64 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.api.expr.v1alpha1.IssueDetails_Severity", IssueDetails_Severity_name, IssueDetails_Severity_value)
|
||||
proto.RegisterType((*ParseRequest)(nil), "google.api.expr.v1alpha1.ParseRequest")
|
||||
proto.RegisterType((*ParseResponse)(nil), "google.api.expr.v1alpha1.ParseResponse")
|
||||
proto.RegisterType((*CheckRequest)(nil), "google.api.expr.v1alpha1.CheckRequest")
|
||||
proto.RegisterType((*CheckResponse)(nil), "google.api.expr.v1alpha1.CheckResponse")
|
||||
proto.RegisterType((*EvalRequest)(nil), "google.api.expr.v1alpha1.EvalRequest")
|
||||
proto.RegisterMapType((map[string]*ExprValue)(nil), "google.api.expr.v1alpha1.EvalRequest.BindingsEntry")
|
||||
proto.RegisterType((*EvalResponse)(nil), "google.api.expr.v1alpha1.EvalResponse")
|
||||
proto.RegisterType((*IssueDetails)(nil), "google.api.expr.v1alpha1.IssueDetails")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/conformance_service.proto", fileDescriptor_b3ca1183e6ceae83)
|
||||
}
|
||||
|
||||
var fileDescriptor_b3ca1183e6ceae83 = []byte{
|
||||
// 807 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x41, 0x6f, 0xdb, 0x36,
|
||||
0x18, 0xb5, 0xe4, 0x24, 0xb5, 0x3f, 0xd9, 0xa9, 0x41, 0x0c, 0xa8, 0x61, 0x64, 0x43, 0xa0, 0x2e,
|
||||
0x69, 0xb0, 0x83, 0x84, 0xba, 0x97, 0x75, 0xdd, 0xa5, 0xb1, 0xb5, 0xc6, 0xdb, 0x9a, 0x18, 0x74,
|
||||
0x97, 0x62, 0xbd, 0x68, 0x8c, 0xc4, 0xb9, 0x44, 0x14, 0x52, 0x23, 0x65, 0xcd, 0xde, 0x69, 0x18,
|
||||
0xb0, 0x7f, 0xb2, 0xfd, 0x9b, 0xfd, 0xa0, 0x1d, 0x07, 0x89, 0xb4, 0x63, 0xb7, 0x50, 0xd2, 0x0c,
|
||||
0xbd, 0x49, 0x9f, 0xde, 0x7b, 0xfa, 0xde, 0xe3, 0x47, 0x12, 0xfa, 0x53, 0x21, 0xa6, 0x09, 0xf5,
|
||||
0x49, 0xca, 0x7c, 0x3a, 0x4f, 0xa5, 0x9f, 0x3f, 0x26, 0x49, 0xfa, 0x96, 0x3c, 0xf6, 0x23, 0xc1,
|
||||
0x7f, 0x16, 0xf2, 0x8a, 0xf0, 0x88, 0x86, 0x8a, 0xca, 0x9c, 0x45, 0xd4, 0x4b, 0xa5, 0xc8, 0x04,
|
||||
0xea, 0x6a, 0x8e, 0x47, 0x52, 0xe6, 0x15, 0x1c, 0x6f, 0xc9, 0xe9, 0x1d, 0x56, 0xab, 0xbd, 0xa5,
|
||||
0xd1, 0x25, 0x8d, 0xb5, 0x42, 0xef, 0x61, 0x25, 0x8e, 0xe6, 0x24, 0x31, 0xa0, 0x83, 0x4a, 0x90,
|
||||
0x5a, 0xf0, 0x8c, 0xcc, 0x0d, 0xec, 0x81, 0x81, 0xc9, 0x34, 0xf2, 0x55, 0x46, 0xb2, 0x99, 0xd2,
|
||||
0x1f, 0xdc, 0xbf, 0x2c, 0x68, 0x8d, 0x89, 0x54, 0x14, 0xd3, 0x5f, 0x66, 0x54, 0x65, 0xe8, 0x53,
|
||||
0x80, 0x88, 0x26, 0xa1, 0x12, 0x33, 0x19, 0xd1, 0xae, 0xb5, 0x6f, 0x1d, 0x35, 0x71, 0x33, 0xa2,
|
||||
0xc9, 0xa4, 0x2c, 0xa0, 0x03, 0xd8, 0xd5, 0xc2, 0x61, 0x4e, 0xa5, 0x62, 0x82, 0x77, 0xed, 0x12,
|
||||
0xd2, 0xd6, 0xd5, 0x73, 0x5d, 0x44, 0x8f, 0xe0, 0xbe, 0x56, 0x08, 0x13, 0x11, 0x91, 0xac, 0xc0,
|
||||
0xd5, 0x4b, 0xdc, 0xae, 0x2e, 0x7f, 0x6f, 0xaa, 0x85, 0x5e, 0xcc, 0x14, 0xb9, 0x48, 0x68, 0x78,
|
||||
0x45, 0x22, 0x29, 0x54, 0x77, 0x6b, 0xdf, 0x3a, 0x6a, 0xe0, 0xb6, 0xa9, 0xbe, 0x2c, 0x8b, 0xee,
|
||||
0x1f, 0x16, 0xb4, 0x4d, 0x9b, 0x2a, 0x15, 0x5c, 0x51, 0x14, 0x80, 0x93, 0x16, 0x85, 0x38, 0x2c,
|
||||
0x6c, 0x97, 0x8d, 0x3a, 0xfd, 0xcf, 0xbd, 0xaa, 0xd4, 0xbd, 0x92, 0x1d, 0x07, 0xf3, 0x54, 0x62,
|
||||
0x48, 0x57, 0xcf, 0xe8, 0x0b, 0xd8, 0x61, 0x4a, 0xcd, 0xa8, 0xea, 0xda, 0xfb, 0xf5, 0x23, 0xa7,
|
||||
0x8f, 0x96, 0x0a, 0x32, 0x8d, 0xbc, 0x49, 0x99, 0x14, 0x36, 0x08, 0xf7, 0x1f, 0x0b, 0x5a, 0x83,
|
||||
0x62, 0x89, 0x96, 0x59, 0x7d, 0xa4, 0x1e, 0x9e, 0x42, 0x23, 0x5b, 0xa4, 0x34, 0xa4, 0x3c, 0x37,
|
||||
0x5d, 0x7c, 0x56, 0xad, 0x31, 0xa4, 0x51, 0x82, 0xef, 0x15, 0xf8, 0x80, 0xe7, 0x68, 0x0f, 0x9a,
|
||||
0x91, 0xe0, 0x19, 0x61, 0x9c, 0x4a, 0x93, 0xf0, 0x75, 0x01, 0xed, 0x01, 0x70, 0x11, 0xaa, 0x2c,
|
||||
0x2e, 0xa5, 0x75, 0xb0, 0x0d, 0x2e, 0x26, 0x59, 0x1c, 0xf0, 0xdc, 0xfd, 0xd3, 0x82, 0xb6, 0xb1,
|
||||
0x63, 0x32, 0x3d, 0x81, 0x96, 0x19, 0xc1, 0x75, 0x43, 0x07, 0xd5, 0xcd, 0x0c, 0x34, 0xba, 0x74,
|
||||
0xe4, 0x44, 0xd7, 0x2f, 0x77, 0x8a, 0xf5, 0xf7, 0x3a, 0x38, 0x41, 0x4e, 0x92, 0x65, 0xaa, 0x2f,
|
||||
0xfe, 0x77, 0xaa, 0x27, 0xb5, 0x8d, 0x5c, 0xbf, 0x7d, 0xc7, 0x8e, 0x7d, 0x07, 0x3b, 0x27, 0xb5,
|
||||
0x4d, 0x43, 0x67, 0xd0, 0xb8, 0x60, 0x3c, 0x66, 0x7c, 0xaa, 0xba, 0xf5, 0xd2, 0xd2, 0x93, 0x6a,
|
||||
0x9d, 0x35, 0x37, 0xde, 0xb1, 0x61, 0x05, 0x3c, 0x93, 0x0b, 0xbc, 0x12, 0xd9, 0x5c, 0xb9, 0xad,
|
||||
0x77, 0x56, 0xae, 0xf7, 0x13, 0xb4, 0x37, 0x88, 0xa8, 0x03, 0xf5, 0x4b, 0xba, 0x30, 0xfb, 0xb1,
|
||||
0x78, 0x44, 0x4f, 0x61, 0x3b, 0x27, 0xc9, 0x8c, 0x1a, 0x5b, 0x0f, 0x6f, 0x68, 0x67, 0x9e, 0xca,
|
||||
0xf3, 0x02, 0x8a, 0x35, 0xe3, 0x2b, 0xfb, 0x4b, 0xeb, 0xd8, 0x81, 0x66, 0x81, 0x0a, 0x2f, 0x19,
|
||||
0x8f, 0xdd, 0x5f, 0xa1, 0xa5, 0x7b, 0x36, 0x83, 0xf0, 0x0c, 0x76, 0x24, 0x55, 0xb3, 0x24, 0x33,
|
||||
0xe9, 0x7f, 0x90, 0xb8, 0xa1, 0xdc, 0x6d, 0xed, 0x6d, 0x68, 0x8d, 0x8a, 0xc7, 0x21, 0xcd, 0x08,
|
||||
0x4b, 0x14, 0xfa, 0x0e, 0x1a, 0x8a, 0xe6, 0x54, 0xb2, 0x4c, 0x9b, 0xdd, 0xed, 0xfb, 0xd5, 0xff,
|
||||
0x5e, 0x67, 0x7a, 0x13, 0x43, 0xc3, 0x2b, 0x01, 0x34, 0x84, 0x46, 0x2a, 0x14, 0xcb, 0x96, 0xc7,
|
||||
0x94, 0xd3, 0x3f, 0xaa, 0x16, 0xd3, 0x07, 0xdc, 0xd8, 0xe0, 0xf1, 0x8a, 0x89, 0x76, 0xc1, 0x66,
|
||||
0x71, 0xb9, 0xb9, 0xea, 0xd8, 0x66, 0xb1, 0xfb, 0x12, 0x1a, 0xcb, 0x7f, 0xa1, 0x2e, 0x7c, 0x32,
|
||||
0x09, 0xce, 0x03, 0x3c, 0x7a, 0xf5, 0x63, 0xf8, 0xc3, 0xe9, 0x64, 0x1c, 0x0c, 0x46, 0xdf, 0x8c,
|
||||
0x82, 0x61, 0xa7, 0x86, 0xee, 0x83, 0x33, 0x0c, 0xc6, 0x38, 0x18, 0x3c, 0x7f, 0x35, 0x3a, 0x3b,
|
||||
0xed, 0x58, 0xc8, 0x81, 0x7b, 0xaf, 0x9f, 0xe3, 0xd3, 0xd1, 0xe9, 0x8b, 0x8e, 0x8d, 0x9a, 0xb0,
|
||||
0x1d, 0x60, 0x7c, 0x86, 0x3b, 0xf5, 0xfe, 0xdf, 0x36, 0xa0, 0xc1, 0xf5, 0x35, 0x32, 0xd1, 0xb7,
|
||||
0x08, 0x7a, 0x03, 0xdb, 0xe5, 0x60, 0xa3, 0xc3, 0x5b, 0x26, 0xdf, 0x0c, 0x5a, 0xef, 0xd1, 0xad,
|
||||
0x38, 0xbd, 0xb8, 0x6e, 0xad, 0xd0, 0x2e, 0x47, 0xfd, 0x26, 0xed, 0xf5, 0x83, 0xee, 0x26, 0xed,
|
||||
0x8d, 0x13, 0xc4, 0xad, 0xa1, 0xd7, 0xb0, 0x55, 0x8c, 0x12, 0x3a, 0xf8, 0xa0, 0xed, 0xd1, 0x3b,
|
||||
0xbc, 0x0d, 0xb6, 0x14, 0x3e, 0xfe, 0x0d, 0xf6, 0x22, 0x71, 0x55, 0x09, 0x3f, 0x7e, 0xf0, 0x7e,
|
||||
0x88, 0xe3, 0xe2, 0x8a, 0x1b, 0x5b, 0x6f, 0xbe, 0x36, 0xa4, 0xa9, 0x48, 0x08, 0x9f, 0x7a, 0x42,
|
||||
0x4e, 0xfd, 0x29, 0xe5, 0xe5, 0x05, 0xe8, 0xeb, 0x4f, 0x24, 0x65, 0xea, 0xfd, 0x3b, 0xf4, 0x59,
|
||||
0xf1, 0xf6, 0xaf, 0x65, 0x5d, 0xec, 0x94, 0xd8, 0x27, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xf9,
|
||||
0x66, 0xbb, 0xae, 0x09, 0x08, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// ConformanceServiceClient is the client API for ConformanceService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type ConformanceServiceClient interface {
|
||||
// Transforms CEL source text into a parsed representation.
|
||||
Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error)
|
||||
// Runs static checks on a parsed CEL representation and return
|
||||
// an annotated representation, or a set of issues.
|
||||
Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
|
||||
// Evaluates a parsed or annotation CEL representation given
|
||||
// values of external bindings.
|
||||
Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error)
|
||||
}
|
||||
|
||||
type conformanceServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewConformanceServiceClient(cc *grpc.ClientConn) ConformanceServiceClient {
|
||||
return &conformanceServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *conformanceServiceClient) Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) {
|
||||
out := new(ParseResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.ConformanceService/Parse", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *conformanceServiceClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) {
|
||||
out := new(CheckResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.ConformanceService/Check", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *conformanceServiceClient) Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) {
|
||||
out := new(EvalResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.ConformanceService/Eval", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// ConformanceServiceServer is the server API for ConformanceService service.
|
||||
type ConformanceServiceServer interface {
|
||||
// Transforms CEL source text into a parsed representation.
|
||||
Parse(context.Context, *ParseRequest) (*ParseResponse, error)
|
||||
// Runs static checks on a parsed CEL representation and return
|
||||
// an annotated representation, or a set of issues.
|
||||
Check(context.Context, *CheckRequest) (*CheckResponse, error)
|
||||
// Evaluates a parsed or annotation CEL representation given
|
||||
// values of external bindings.
|
||||
Eval(context.Context, *EvalRequest) (*EvalResponse, error)
|
||||
}
|
||||
|
||||
func RegisterConformanceServiceServer(s *grpc.Server, srv ConformanceServiceServer) {
|
||||
s.RegisterService(&_ConformanceService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _ConformanceService_Parse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ParseRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ConformanceServiceServer).Parse(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.ConformanceService/Parse",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ConformanceServiceServer).Parse(ctx, req.(*ParseRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ConformanceService_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CheckRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ConformanceServiceServer).Check(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.ConformanceService/Check",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ConformanceServiceServer).Check(ctx, req.(*CheckRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ConformanceService_Eval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(EvalRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ConformanceServiceServer).Eval(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.ConformanceService/Eval",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ConformanceServiceServer).Eval(ctx, req.(*EvalRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _ConformanceService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.api.expr.v1alpha1.ConformanceService",
|
||||
HandlerType: (*ConformanceServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "Parse",
|
||||
Handler: _ConformanceService_Parse_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Check",
|
||||
Handler: _ConformanceService_Check_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Eval",
|
||||
Handler: _ConformanceService_Eval_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/expr/v1alpha1/conformance_service.proto",
|
||||
}
|
||||
434
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go
generated
vendored
Normal file
434
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go
generated
vendored
Normal file
@@ -0,0 +1,434 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/eval.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// The state of an evaluation.
|
||||
//
|
||||
// Can represent an inital, partial, or completed state of evaluation.
|
||||
type EvalState struct {
|
||||
// The unique values referenced in this message.
|
||||
Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
// An ordered list of results.
|
||||
//
|
||||
// Tracks the flow of evaluation through the expression.
|
||||
// May be sparse.
|
||||
Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState) Reset() { *m = EvalState{} }
|
||||
func (m *EvalState) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState) ProtoMessage() {}
|
||||
func (*EvalState) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{0}
|
||||
}
|
||||
|
||||
func (m *EvalState) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState.Size(m)
|
||||
}
|
||||
func (m *EvalState) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState) GetValues() []*ExprValue {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalState) GetResults() []*EvalState_Result {
|
||||
if m != nil {
|
||||
return m.Results
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A single evalution result.
|
||||
type EvalState_Result struct {
|
||||
// The id of the expression this result if for.
|
||||
Expr int64 `protobuf:"varint,1,opt,name=expr,proto3" json:"expr,omitempty"`
|
||||
// The index in `values` of the resulting value.
|
||||
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) Reset() { *m = EvalState_Result{} }
|
||||
func (m *EvalState_Result) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState_Result) ProtoMessage() {}
|
||||
func (*EvalState_Result) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState_Result.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState_Result.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState_Result.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState_Result.Size(m)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState_Result.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState_Result proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState_Result) GetExpr() int64 {
|
||||
if m != nil {
|
||||
return m.Expr
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) GetValue() int64 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// The value of an evaluated expression.
|
||||
type ExprValue struct {
|
||||
// An expression can resolve to a value, error or unknown.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *ExprValue_Value
|
||||
// *ExprValue_Error
|
||||
// *ExprValue_Unknown
|
||||
Kind isExprValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ExprValue) Reset() { *m = ExprValue{} }
|
||||
func (m *ExprValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExprValue) ProtoMessage() {}
|
||||
func (*ExprValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{1}
|
||||
}
|
||||
|
||||
func (m *ExprValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ExprValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ExprValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ExprValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ExprValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ExprValue.Merge(m, src)
|
||||
}
|
||||
func (m *ExprValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ExprValue.Size(m)
|
||||
}
|
||||
func (m *ExprValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ExprValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ExprValue proto.InternalMessageInfo
|
||||
|
||||
type isExprValue_Kind interface {
|
||||
isExprValue_Kind()
|
||||
}
|
||||
|
||||
type ExprValue_Value struct {
|
||||
Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Error struct {
|
||||
Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Unknown struct {
|
||||
Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ExprValue_Value) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Error) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Unknown) isExprValue_Kind() {}
|
||||
|
||||
func (m *ExprValue) GetKind() isExprValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetValue() *Value {
|
||||
if x, ok := m.GetKind().(*ExprValue_Value); ok {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetError() *ErrorSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetUnknown() *UnknownSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Unknown); ok {
|
||||
return x.Unknown
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*ExprValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _ExprValue_OneofMarshaler, _ExprValue_OneofUnmarshaler, _ExprValue_OneofSizer, []interface{}{
|
||||
(*ExprValue_Value)(nil),
|
||||
(*ExprValue_Error)(nil),
|
||||
(*ExprValue_Unknown)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Value); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Error:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Error); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Unknown:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Unknown); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("ExprValue.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _ExprValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*ExprValue)
|
||||
switch tag {
|
||||
case 1: // kind.value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Value)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Value{msg}
|
||||
return true, err
|
||||
case 2: // kind.error
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ErrorSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Error{msg}
|
||||
return true, err
|
||||
case 3: // kind.unknown
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UnknownSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Unknown{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
s := proto.Size(x.Value)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Error:
|
||||
s := proto.Size(x.Error)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Unknown:
|
||||
s := proto.Size(x.Unknown)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// A set of errors.
|
||||
//
|
||||
// The errors included depend on the context. See `ExprValue.error`.
|
||||
type ErrorSet struct {
|
||||
// The errors in the set.
|
||||
Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ErrorSet) Reset() { *m = ErrorSet{} }
|
||||
func (m *ErrorSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorSet) ProtoMessage() {}
|
||||
func (*ErrorSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{2}
|
||||
}
|
||||
|
||||
func (m *ErrorSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ErrorSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ErrorSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ErrorSet.Merge(m, src)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Size() int {
|
||||
return xxx_messageInfo_ErrorSet.Size(m)
|
||||
}
|
||||
func (m *ErrorSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ErrorSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ErrorSet proto.InternalMessageInfo
|
||||
|
||||
func (m *ErrorSet) GetErrors() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Errors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A set of expressions for which the value is unknown.
|
||||
//
|
||||
// The unknowns included depend on the context. See `ExprValue.unknown`.
|
||||
type UnknownSet struct {
|
||||
// The ids of the expressions with unknown values.
|
||||
Exprs []int64 `protobuf:"varint,1,rep,packed,name=exprs,proto3" json:"exprs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UnknownSet) Reset() { *m = UnknownSet{} }
|
||||
func (m *UnknownSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*UnknownSet) ProtoMessage() {}
|
||||
func (*UnknownSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{3}
|
||||
}
|
||||
|
||||
func (m *UnknownSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UnknownSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UnknownSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UnknownSet.Merge(m, src)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Size() int {
|
||||
return xxx_messageInfo_UnknownSet.Size(m)
|
||||
}
|
||||
func (m *UnknownSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UnknownSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UnknownSet proto.InternalMessageInfo
|
||||
|
||||
func (m *UnknownSet) GetExprs() []int64 {
|
||||
if m != nil {
|
||||
return m.Exprs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*EvalState)(nil), "google.api.expr.v1alpha1.EvalState")
|
||||
proto.RegisterType((*EvalState_Result)(nil), "google.api.expr.v1alpha1.EvalState.Result")
|
||||
proto.RegisterType((*ExprValue)(nil), "google.api.expr.v1alpha1.ExprValue")
|
||||
proto.RegisterType((*ErrorSet)(nil), "google.api.expr.v1alpha1.ErrorSet")
|
||||
proto.RegisterType((*UnknownSet)(nil), "google.api.expr.v1alpha1.UnknownSet")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/eval.proto", fileDescriptor_1e95f32326d4b8b7)
|
||||
}
|
||||
|
||||
var fileDescriptor_1e95f32326d4b8b7 = []byte{
|
||||
// 367 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x4b, 0xeb, 0x40,
|
||||
0x10, 0xc7, 0x5f, 0x5e, 0xda, 0xf4, 0xbd, 0xe9, 0x6d, 0x11, 0x0c, 0x45, 0xb0, 0xa4, 0x3d, 0x94,
|
||||
0x1e, 0x36, 0x34, 0x82, 0x82, 0xf5, 0x20, 0xc5, 0x82, 0xc7, 0x92, 0xa2, 0x07, 0x6f, 0x6b, 0x5d,
|
||||
0x62, 0xe8, 0x9a, 0x5d, 0x36, 0x3f, 0xec, 0xdf, 0xe7, 0xd1, 0xbf, 0xc8, 0xa3, 0xec, 0x6c, 0x16,
|
||||
0x0f, 0x92, 0xde, 0x3a, 0xbb, 0x9f, 0xcf, 0x77, 0xa6, 0xd9, 0x81, 0x49, 0x26, 0x65, 0x26, 0x78,
|
||||
0xcc, 0x54, 0x1e, 0xf3, 0x83, 0xd2, 0x71, 0xb3, 0x60, 0x42, 0xbd, 0xb2, 0x45, 0xcc, 0x1b, 0x26,
|
||||
0xa8, 0xd2, 0xb2, 0x92, 0x24, 0xb4, 0x10, 0x65, 0x2a, 0xa7, 0x06, 0xa2, 0x0e, 0x1a, 0x4d, 0x3b,
|
||||
0xf5, 0x86, 0x89, 0x9a, 0x5b, 0x7f, 0x74, 0xda, 0x52, 0x5a, 0xed, 0xe2, 0xb2, 0x62, 0x55, 0x5d,
|
||||
0xda, 0x8b, 0xe8, 0xc3, 0x83, 0xff, 0xeb, 0x86, 0x89, 0x6d, 0xc5, 0x2a, 0x4e, 0x96, 0x10, 0xa0,
|
||||
0x55, 0x86, 0xde, 0xd8, 0x9f, 0x0d, 0x93, 0x09, 0xed, 0xea, 0x4b, 0xd7, 0x07, 0xa5, 0x1f, 0x0d,
|
||||
0x9b, 0xb6, 0x0a, 0xb9, 0x83, 0x81, 0xe6, 0x65, 0x2d, 0xaa, 0x32, 0xf4, 0xd1, 0x9e, 0x1f, 0xb1,
|
||||
0x5d, 0x4b, 0x9a, 0xa2, 0x92, 0x3a, 0x75, 0x94, 0x40, 0x60, 0x8f, 0x08, 0x81, 0x9e, 0x91, 0x42,
|
||||
0x6f, 0xec, 0xcd, 0xfc, 0x14, 0x7f, 0x93, 0x13, 0xe8, 0x63, 0xb7, 0xf0, 0x2f, 0x1e, 0xda, 0x22,
|
||||
0xfa, 0x34, 0x7f, 0xc2, 0xcd, 0x43, 0xae, 0x1c, 0x63, 0xc4, 0x61, 0x72, 0xde, 0x3d, 0x05, 0xf2,
|
||||
0xf7, 0x7f, 0xda, 0x18, 0x72, 0x0d, 0x7d, 0xae, 0xb5, 0xd4, 0x18, 0x3e, 0x4c, 0xa2, 0x23, 0xe3,
|
||||
0x1b, 0x6c, 0xcb, 0x2b, 0xe3, 0xa2, 0x42, 0x6e, 0x61, 0x50, 0x17, 0xfb, 0x42, 0xbe, 0x17, 0xa1,
|
||||
0x8f, 0xf6, 0xb4, 0xdb, 0x7e, 0xb0, 0xa0, 0xf5, 0x9d, 0xb6, 0x0a, 0xa0, 0xb7, 0xcf, 0x8b, 0x97,
|
||||
0xe8, 0x12, 0xfe, 0xb9, 0x78, 0x32, 0x87, 0x00, 0xe3, 0xdd, 0x7b, 0x10, 0x17, 0xaa, 0xd5, 0x8e,
|
||||
0x6e, 0xf1, 0x1d, 0xd3, 0x96, 0x88, 0x22, 0x80, 0x9f, 0x60, 0xf3, 0xa1, 0x4c, 0x53, 0x2b, 0xfa,
|
||||
0xa9, 0x2d, 0x56, 0x02, 0xce, 0x76, 0xf2, 0xad, 0x73, 0xb2, 0x15, 0xae, 0xc2, 0xc6, 0x2c, 0xc6,
|
||||
0xc6, 0x7b, 0xba, 0x69, 0xb1, 0x4c, 0x0a, 0x56, 0x64, 0x54, 0xea, 0x2c, 0xce, 0x78, 0x81, 0x6b,
|
||||
0x13, 0xdb, 0x2b, 0xa6, 0xf2, 0xf2, 0xf7, 0xe2, 0x2d, 0x4d, 0xf5, 0xe5, 0x79, 0xcf, 0x01, 0xb2,
|
||||
0x17, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x62, 0xde, 0x1d, 0xe2, 0x02, 0x00, 0x00,
|
||||
}
|
||||
161
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go
generated
vendored
Normal file
161
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go
generated
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/explain.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Values of intermediate expressions produced when evaluating expression.
|
||||
// Deprecated, use `EvalState` instead.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
type Explain struct {
|
||||
// All of the observed values.
|
||||
//
|
||||
// The field value_index is an index in the values list.
|
||||
// Separating values from steps is needed to remove redundant values.
|
||||
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
// List of steps.
|
||||
//
|
||||
// Repeated evaluations of the same expression generate new ExprStep
|
||||
// instances. The order of such ExprStep instances matches the order of
|
||||
// elements returned by Comprehension.iter_range.
|
||||
ExprSteps []*Explain_ExprStep `protobuf:"bytes,2,rep,name=expr_steps,json=exprSteps,proto3" json:"expr_steps,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Explain) Reset() { *m = Explain{} }
|
||||
func (m *Explain) String() string { return proto.CompactTextString(m) }
|
||||
func (*Explain) ProtoMessage() {}
|
||||
func (*Explain) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2df9793dd8748e27, []int{0}
|
||||
}
|
||||
|
||||
func (m *Explain) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Explain.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Explain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Explain.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Explain) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Explain.Merge(m, src)
|
||||
}
|
||||
func (m *Explain) XXX_Size() int {
|
||||
return xxx_messageInfo_Explain.Size(m)
|
||||
}
|
||||
func (m *Explain) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Explain.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Explain proto.InternalMessageInfo
|
||||
|
||||
func (m *Explain) GetValues() []*Value {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Explain) GetExprSteps() []*Explain_ExprStep {
|
||||
if m != nil {
|
||||
return m.ExprSteps
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// ID and value index of one step.
|
||||
type Explain_ExprStep struct {
|
||||
// ID of corresponding Expr node.
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// Index of the value in the values list.
|
||||
ValueIndex int32 `protobuf:"varint,2,opt,name=value_index,json=valueIndex,proto3" json:"value_index,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Explain_ExprStep) Reset() { *m = Explain_ExprStep{} }
|
||||
func (m *Explain_ExprStep) String() string { return proto.CompactTextString(m) }
|
||||
func (*Explain_ExprStep) ProtoMessage() {}
|
||||
func (*Explain_ExprStep) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2df9793dd8748e27, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Explain_ExprStep) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Explain_ExprStep.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Explain_ExprStep.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Explain_ExprStep.Merge(m, src)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_Size() int {
|
||||
return xxx_messageInfo_Explain_ExprStep.Size(m)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Explain_ExprStep.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Explain_ExprStep proto.InternalMessageInfo
|
||||
|
||||
func (m *Explain_ExprStep) GetId() int64 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Explain_ExprStep) GetValueIndex() int32 {
|
||||
if m != nil {
|
||||
return m.ValueIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Explain)(nil), "google.api.expr.v1alpha1.Explain")
|
||||
proto.RegisterType((*Explain_ExprStep)(nil), "google.api.expr.v1alpha1.Explain.ExprStep")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/explain.proto", fileDescriptor_2df9793dd8748e27)
|
||||
}
|
||||
|
||||
var fileDescriptor_2df9793dd8748e27 = []byte{
|
||||
// 261 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xb1, 0x4b, 0x03, 0x31,
|
||||
0x14, 0xc6, 0x79, 0x29, 0x56, 0x7d, 0x15, 0x87, 0x4c, 0xa1, 0x08, 0x3d, 0x44, 0xe4, 0x70, 0x48,
|
||||
0xa8, 0x0e, 0x82, 0x75, 0x2a, 0x38, 0x74, 0x2b, 0x27, 0x38, 0xb8, 0x94, 0xe8, 0x85, 0x18, 0x88,
|
||||
0x97, 0x70, 0x39, 0x4b, 0xff, 0x4a, 0xff, 0x1e, 0x47, 0x49, 0x2e, 0x37, 0x95, 0x9b, 0xee, 0xde,
|
||||
0xfb, 0x7e, 0xdf, 0xf7, 0x91, 0x87, 0xb7, 0xda, 0x39, 0x6d, 0x95, 0x90, 0xde, 0x08, 0x75, 0xf0,
|
||||
0xad, 0xd8, 0x2f, 0xa5, 0xf5, 0x5f, 0x72, 0x19, 0x27, 0x2b, 0x4d, 0xc3, 0x7d, 0xeb, 0x3a, 0x47,
|
||||
0x59, 0xcf, 0x71, 0xe9, 0x0d, 0x8f, 0x1c, 0x1f, 0xb8, 0xf9, 0xcd, 0x68, 0xc2, 0x5e, 0xda, 0x1f,
|
||||
0xd5, 0xfb, 0xaf, 0x7f, 0x01, 0x4f, 0x5f, 0xfa, 0x44, 0xfa, 0x88, 0xd3, 0x24, 0x05, 0x06, 0xc5,
|
||||
0xa4, 0x9c, 0xdd, 0x2f, 0xf8, 0x58, 0x38, 0x7f, 0x8b, 0x5c, 0x95, 0x71, 0xba, 0x41, 0x8c, 0xf2,
|
||||
0x2e, 0x74, 0xca, 0x07, 0x46, 0x92, 0xf9, 0x6e, 0xdc, 0x9c, 0xfb, 0xe2, 0xb7, 0x7d, 0xed, 0x94,
|
||||
0xaf, 0xce, 0x55, 0xfe, 0x0b, 0xf3, 0x15, 0x9e, 0x0d, 0x6b, 0x7a, 0x89, 0xc4, 0xd4, 0x0c, 0x0a,
|
||||
0x28, 0x27, 0x15, 0x31, 0x35, 0x5d, 0xe0, 0x2c, 0x15, 0xee, 0x4c, 0x53, 0xab, 0x03, 0x23, 0x05,
|
||||
0x94, 0x27, 0x15, 0xa6, 0xd5, 0x26, 0x6e, 0x9e, 0x08, 0x83, 0xb5, 0xc3, 0xab, 0x4f, 0xf7, 0x3d,
|
||||
0x5a, 0xbe, 0xbe, 0xc8, 0xed, 0xdb, 0xf8, 0xfc, 0x2d, 0xbc, 0x3f, 0x67, 0x52, 0x3b, 0x2b, 0x1b,
|
||||
0xcd, 0x5d, 0xab, 0x85, 0x56, 0x4d, 0x3a, 0x8e, 0xe8, 0x25, 0xe9, 0x4d, 0x38, 0xbe, 0xe2, 0x2a,
|
||||
0x4e, 0x7f, 0x00, 0x1f, 0xd3, 0xc4, 0x3e, 0xfc, 0x07, 0x00, 0x00, 0xff, 0xff, 0x34, 0xf2, 0xb9,
|
||||
0x9e, 0xb2, 0x01, 0x00, 0x00,
|
||||
}
|
||||
1588
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go
generated
vendored
Normal file
1588
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go
generated
vendored
Normal file
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go
generated
vendored
Normal file
@@ -0,0 +1,715 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/value.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Represents a CEL value.
|
||||
//
|
||||
// This is similar to `google.protobuf.Value`, but can represent CEL's full
|
||||
// range of values.
|
||||
type Value struct {
|
||||
// Required. The valid kinds of values.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *Value_NullValue
|
||||
// *Value_BoolValue
|
||||
// *Value_Int64Value
|
||||
// *Value_Uint64Value
|
||||
// *Value_DoubleValue
|
||||
// *Value_StringValue
|
||||
// *Value_BytesValue
|
||||
// *Value_EnumValue
|
||||
// *Value_ObjectValue
|
||||
// *Value_MapValue
|
||||
// *Value_ListValue
|
||||
// *Value_TypeValue
|
||||
Kind isValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Value) Reset() { *m = Value{} }
|
||||
func (m *Value) String() string { return proto.CompactTextString(m) }
|
||||
func (*Value) ProtoMessage() {}
|
||||
func (*Value) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{0}
|
||||
}
|
||||
|
||||
func (m *Value) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Value.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Value.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Value) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Value.Merge(m, src)
|
||||
}
|
||||
func (m *Value) XXX_Size() int {
|
||||
return xxx_messageInfo_Value.Size(m)
|
||||
}
|
||||
func (m *Value) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Value.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Value proto.InternalMessageInfo
|
||||
|
||||
type isValue_Kind interface {
|
||||
isValue_Kind()
|
||||
}
|
||||
|
||||
type Value_NullValue struct {
|
||||
NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
|
||||
}
|
||||
|
||||
type Value_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Uint64Value struct {
|
||||
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_BytesValue struct {
|
||||
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_EnumValue struct {
|
||||
EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ObjectValue struct {
|
||||
ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_MapValue struct {
|
||||
MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ListValue struct {
|
||||
ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_TypeValue struct {
|
||||
TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Value_NullValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BoolValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_Int64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_Uint64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_DoubleValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_StringValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BytesValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_EnumValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ObjectValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_MapValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ListValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_TypeValue) isValue_Kind() {}
|
||||
|
||||
func (m *Value) GetKind() isValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetNullValue() _struct.NullValue {
|
||||
if x, ok := m.GetKind().(*Value_NullValue); ok {
|
||||
return x.NullValue
|
||||
}
|
||||
return _struct.NullValue_NULL_VALUE
|
||||
}
|
||||
|
||||
func (m *Value) GetBoolValue() bool {
|
||||
if x, ok := m.GetKind().(*Value_BoolValue); ok {
|
||||
return x.BoolValue
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Value) GetInt64Value() int64 {
|
||||
if x, ok := m.GetKind().(*Value_Int64Value); ok {
|
||||
return x.Int64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetUint64Value() uint64 {
|
||||
if x, ok := m.GetKind().(*Value_Uint64Value); ok {
|
||||
return x.Uint64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetDoubleValue() float64 {
|
||||
if x, ok := m.GetKind().(*Value_DoubleValue); ok {
|
||||
return x.DoubleValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetStringValue() string {
|
||||
if x, ok := m.GetKind().(*Value_StringValue); ok {
|
||||
return x.StringValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Value) GetBytesValue() []byte {
|
||||
if x, ok := m.GetKind().(*Value_BytesValue); ok {
|
||||
return x.BytesValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetEnumValue() *EnumValue {
|
||||
if x, ok := m.GetKind().(*Value_EnumValue); ok {
|
||||
return x.EnumValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetObjectValue() *any.Any {
|
||||
if x, ok := m.GetKind().(*Value_ObjectValue); ok {
|
||||
return x.ObjectValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetMapValue() *MapValue {
|
||||
if x, ok := m.GetKind().(*Value_MapValue); ok {
|
||||
return x.MapValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetListValue() *ListValue {
|
||||
if x, ok := m.GetKind().(*Value_ListValue); ok {
|
||||
return x.ListValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetTypeValue() string {
|
||||
if x, ok := m.GetKind().(*Value_TypeValue); ok {
|
||||
return x.TypeValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{
|
||||
(*Value_NullValue)(nil),
|
||||
(*Value_BoolValue)(nil),
|
||||
(*Value_Int64Value)(nil),
|
||||
(*Value_Uint64Value)(nil),
|
||||
(*Value_DoubleValue)(nil),
|
||||
(*Value_StringValue)(nil),
|
||||
(*Value_BytesValue)(nil),
|
||||
(*Value_EnumValue)(nil),
|
||||
(*Value_ObjectValue)(nil),
|
||||
(*Value_MapValue)(nil),
|
||||
(*Value_ListValue)(nil),
|
||||
(*Value_TypeValue)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
b.EncodeVarint(1<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
t := uint64(0)
|
||||
if x.BoolValue {
|
||||
t = 1
|
||||
}
|
||||
b.EncodeVarint(2<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(t)
|
||||
case *Value_Int64Value:
|
||||
b.EncodeVarint(3<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
b.EncodeVarint(4<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
b.EncodeVarint(5<<3 | proto.WireFixed64)
|
||||
b.EncodeFixed64(math.Float64bits(x.DoubleValue))
|
||||
case *Value_StringValue:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
b.EncodeVarint(7<<3 | proto.WireBytes)
|
||||
b.EncodeRawBytes(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
b.EncodeVarint(9<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.EnumValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ObjectValue:
|
||||
b.EncodeVarint(10<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ObjectValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_MapValue:
|
||||
b.EncodeVarint(11<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MapValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ListValue:
|
||||
b.EncodeVarint(12<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ListValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_TypeValue:
|
||||
b.EncodeVarint(15<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Value.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Value)
|
||||
switch tag {
|
||||
case 1: // kind.null_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_NullValue{_struct.NullValue(x)}
|
||||
return true, err
|
||||
case 2: // kind.bool_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_BoolValue{x != 0}
|
||||
return true, err
|
||||
case 3: // kind.int64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Int64Value{int64(x)}
|
||||
return true, err
|
||||
case 4: // kind.uint64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Uint64Value{x}
|
||||
return true, err
|
||||
case 5: // kind.double_value
|
||||
if wire != proto.WireFixed64 {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeFixed64()
|
||||
m.Kind = &Value_DoubleValue{math.Float64frombits(x)}
|
||||
return true, err
|
||||
case 6: // kind.string_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_StringValue{x}
|
||||
return true, err
|
||||
case 7: // kind.bytes_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeRawBytes(true)
|
||||
m.Kind = &Value_BytesValue{x}
|
||||
return true, err
|
||||
case 9: // kind.enum_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(EnumValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_EnumValue{msg}
|
||||
return true, err
|
||||
case 10: // kind.object_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(any.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ObjectValue{msg}
|
||||
return true, err
|
||||
case 11: // kind.map_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(MapValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_MapValue{msg}
|
||||
return true, err
|
||||
case 12: // kind.list_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ListValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ListValue{msg}
|
||||
return true, err
|
||||
case 15: // kind.type_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_TypeValue{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *Value_Int64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
n += 1 // tag and wire
|
||||
n += 8
|
||||
case *Value_StringValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.StringValue)))
|
||||
n += len(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.BytesValue)))
|
||||
n += len(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
s := proto.Size(x.EnumValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ObjectValue:
|
||||
s := proto.Size(x.ObjectValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_MapValue:
|
||||
s := proto.Size(x.MapValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ListValue:
|
||||
s := proto.Size(x.ListValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_TypeValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.TypeValue)))
|
||||
n += len(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// An enum value.
|
||||
type EnumValue struct {
|
||||
// The fully qualified name of the enum type.
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The value of the enum.
|
||||
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EnumValue) Reset() { *m = EnumValue{} }
|
||||
func (m *EnumValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*EnumValue) ProtoMessage() {}
|
||||
func (*EnumValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{1}
|
||||
}
|
||||
|
||||
func (m *EnumValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EnumValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EnumValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EnumValue.Merge(m, src)
|
||||
}
|
||||
func (m *EnumValue) XXX_Size() int {
|
||||
return xxx_messageInfo_EnumValue.Size(m)
|
||||
}
|
||||
func (m *EnumValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EnumValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EnumValue proto.InternalMessageInfo
|
||||
|
||||
func (m *EnumValue) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *EnumValue) GetValue() int32 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A list.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type ListValue struct {
|
||||
// The ordered values in the list.
|
||||
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListValue) Reset() { *m = ListValue{} }
|
||||
func (m *ListValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListValue) ProtoMessage() {}
|
||||
func (*ListValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{2}
|
||||
}
|
||||
|
||||
func (m *ListValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ListValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListValue.Merge(m, src)
|
||||
}
|
||||
func (m *ListValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ListValue.Size(m)
|
||||
}
|
||||
func (m *ListValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListValue proto.InternalMessageInfo
|
||||
|
||||
func (m *ListValue) GetValues() []*Value {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A map.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type MapValue struct {
|
||||
// The set of map entries.
|
||||
//
|
||||
// CEL has fewer restrictions on keys, so a protobuf map represenation
|
||||
// cannot be used.
|
||||
Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue) Reset() { *m = MapValue{} }
|
||||
func (m *MapValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue) ProtoMessage() {}
|
||||
func (*MapValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{3}
|
||||
}
|
||||
|
||||
func (m *MapValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue.Size(m)
|
||||
}
|
||||
func (m *MapValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue) GetEntries() []*MapValue_Entry {
|
||||
if m != nil {
|
||||
return m.Entries
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An entry in the map.
|
||||
type MapValue_Entry struct {
|
||||
// The key.
|
||||
//
|
||||
// Must be unique with in the map.
|
||||
// Currently only boolean, int, uint, and string values can be keys.
|
||||
Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
// The value.
|
||||
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) Reset() { *m = MapValue_Entry{} }
|
||||
func (m *MapValue_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue_Entry) ProtoMessage() {}
|
||||
func (*MapValue_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{3, 0}
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue_Entry.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue_Entry.Size(m)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue_Entry) GetKey() *Value {
|
||||
if m != nil {
|
||||
return m.Key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) GetValue() *Value {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Value)(nil), "google.api.expr.v1alpha1.Value")
|
||||
proto.RegisterType((*EnumValue)(nil), "google.api.expr.v1alpha1.EnumValue")
|
||||
proto.RegisterType((*ListValue)(nil), "google.api.expr.v1alpha1.ListValue")
|
||||
proto.RegisterType((*MapValue)(nil), "google.api.expr.v1alpha1.MapValue")
|
||||
proto.RegisterType((*MapValue_Entry)(nil), "google.api.expr.v1alpha1.MapValue.Entry")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/value.proto", fileDescriptor_24bee359d1e5798a)
|
||||
}
|
||||
|
||||
var fileDescriptor_24bee359d1e5798a = []byte{
|
||||
// 518 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcb, 0x6e, 0xd4, 0x30,
|
||||
0x14, 0x86, 0x6b, 0xe6, 0xd2, 0xc9, 0x99, 0x11, 0x48, 0x56, 0x17, 0xc3, 0xa8, 0x52, 0x43, 0xca,
|
||||
0x22, 0xab, 0x44, 0x33, 0x50, 0x10, 0x2a, 0x9b, 0x8e, 0x5a, 0x69, 0x16, 0x80, 0xaa, 0x2c, 0x58,
|
||||
0xb0, 0x41, 0xce, 0xd4, 0x84, 0x50, 0xc7, 0x0e, 0x89, 0x5d, 0x91, 0xc7, 0xe3, 0x01, 0x78, 0x1f,
|
||||
0x96, 0xc8, 0xb7, 0x50, 0xa8, 0x46, 0xed, 0x2e, 0xe7, 0xf7, 0xf7, 0xfb, 0x5c, 0x7c, 0x14, 0x78,
|
||||
0x5e, 0x08, 0x51, 0x30, 0x9a, 0x92, 0xba, 0x4c, 0xe9, 0x8f, 0xba, 0x49, 0x6f, 0x96, 0x84, 0xd5,
|
||||
0x5f, 0xc9, 0x32, 0xbd, 0x21, 0x4c, 0xd1, 0xa4, 0x6e, 0x84, 0x14, 0x78, 0x6e, 0xa9, 0x84, 0xd4,
|
||||
0x65, 0xa2, 0xa9, 0xc4, 0x53, 0x8b, 0xa7, 0xce, 0x6f, 0xb8, 0x5c, 0x7d, 0x49, 0x09, 0xef, 0xac,
|
||||
0x69, 0x71, 0xf8, 0xff, 0x51, 0x2b, 0x1b, 0xb5, 0x95, 0xf6, 0x34, 0xfa, 0x35, 0x84, 0xd1, 0x47,
|
||||
0x9d, 0x02, 0x9f, 0x02, 0x70, 0xc5, 0xd8, 0x67, 0x93, 0x70, 0x8e, 0x42, 0x14, 0x3f, 0x5e, 0x2d,
|
||||
0x12, 0x97, 0xd1, 0x9b, 0x93, 0x0f, 0x8a, 0x31, 0xc3, 0x6f, 0xf6, 0xb2, 0x80, 0xfb, 0x00, 0x1f,
|
||||
0x01, 0xe4, 0x42, 0x78, 0xf3, 0xa3, 0x10, 0xc5, 0x13, 0x0d, 0x68, 0xcd, 0x02, 0xcf, 0x60, 0x5a,
|
||||
0x72, 0xf9, 0xea, 0xa5, 0x23, 0x06, 0x21, 0x8a, 0x07, 0x9b, 0xbd, 0x0c, 0x8c, 0x68, 0x91, 0x63,
|
||||
0x98, 0xa9, 0xdb, 0xcc, 0x30, 0x44, 0xf1, 0x70, 0xb3, 0x97, 0x4d, 0xd5, 0xbf, 0xd0, 0x95, 0x50,
|
||||
0x39, 0xa3, 0x0e, 0x1a, 0x85, 0x28, 0x46, 0x1a, 0xb2, 0x6a, 0x0f, 0xb5, 0xb2, 0x29, 0x79, 0xe1,
|
||||
0xa0, 0x71, 0x88, 0xe2, 0x40, 0x43, 0x56, 0xed, 0x2b, 0xca, 0x3b, 0x49, 0x5b, 0xc7, 0xec, 0x87,
|
||||
0x28, 0x9e, 0xe9, 0x8a, 0x8c, 0x68, 0x91, 0x73, 0x00, 0xca, 0x55, 0xe5, 0x88, 0x20, 0x44, 0xf1,
|
||||
0x74, 0x75, 0x9c, 0xec, 0x7a, 0x84, 0xe4, 0x82, 0xab, 0xaa, 0x9f, 0x0d, 0xf5, 0x01, 0x7e, 0x03,
|
||||
0x33, 0x91, 0x7f, 0xa3, 0x5b, 0xe9, 0xee, 0x01, 0x73, 0xcf, 0xc1, 0x9d, 0xd1, 0x9e, 0xf1, 0x4e,
|
||||
0xd7, 0x68, 0x59, 0x6b, 0x3d, 0x83, 0xa0, 0x22, 0xb5, 0xf3, 0x4d, 0x8d, 0x2f, 0xda, 0x9d, 0xff,
|
||||
0x3d, 0xa9, 0x7d, 0xfa, 0x49, 0xe5, 0xbe, 0x75, 0x0f, 0xac, 0x6c, 0x7d, 0xee, 0xd9, 0x7d, 0x3d,
|
||||
0xbc, 0x2b, 0x5b, 0xd9, 0xf7, 0xc0, 0x7c, 0xa0, 0xdf, 0x57, 0x76, 0xb5, 0x1f, 0xfa, 0x13, 0x37,
|
||||
0xcf, 0x40, 0x6b, 0x06, 0x58, 0x8f, 0x61, 0x78, 0x5d, 0xf2, 0xab, 0xe8, 0x04, 0x82, 0x7e, 0x0c,
|
||||
0x18, 0xc3, 0x50, 0x13, 0x66, 0x99, 0x82, 0xcc, 0x7c, 0xe3, 0x03, 0x18, 0xfd, 0x5d, 0x92, 0x51,
|
||||
0x66, 0x83, 0xe8, 0x1c, 0x82, 0x3e, 0x33, 0x7e, 0x0d, 0x63, 0xa3, 0xb6, 0x73, 0x14, 0x0e, 0xe2,
|
||||
0xe9, 0xea, 0x68, 0x77, 0xb9, 0xc6, 0x90, 0x39, 0x3c, 0xfa, 0x89, 0x60, 0xe2, 0x87, 0x80, 0xd7,
|
||||
0xb0, 0x4f, 0xb9, 0x6c, 0xca, 0xfe, 0x9a, 0xf8, 0xfe, 0xc9, 0x25, 0x17, 0x5c, 0x36, 0x5d, 0xe6,
|
||||
0x8d, 0x8b, 0xef, 0x30, 0x32, 0x0a, 0x5e, 0xc2, 0xe0, 0x9a, 0x76, 0xa6, 0x91, 0x07, 0xd4, 0xa3,
|
||||
0x59, 0x7c, 0x72, 0xbb, 0xd1, 0x07, 0x98, 0x2c, 0xbd, 0xae, 0xe0, 0x70, 0x2b, 0xaa, 0x9d, 0xf0,
|
||||
0x1a, 0x0c, 0x7d, 0xa9, 0x97, 0xe6, 0x12, 0x7d, 0x7a, 0xeb, 0xb8, 0x42, 0x30, 0xc2, 0x8b, 0x44,
|
||||
0x34, 0x45, 0x5a, 0x50, 0x6e, 0x56, 0x2a, 0xb5, 0x47, 0xa4, 0x2e, 0xdb, 0xbb, 0xbf, 0x95, 0x53,
|
||||
0x1d, 0xfd, 0x46, 0x28, 0x1f, 0x1b, 0xf6, 0xc5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x53,
|
||||
0x8e, 0x99, 0x81, 0x04, 0x00, 0x00,
|
||||
}
|
||||
407
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go
generated
vendored
Normal file
407
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go
generated
vendored
Normal file
@@ -0,0 +1,407 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/decl.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// A declaration.
|
||||
type Decl struct {
|
||||
// The id of the declaration.
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// The name of the declaration.
|
||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The documentation string for the declaration.
|
||||
Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"`
|
||||
// The kind of declaration.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *Decl_Ident
|
||||
// *Decl_Function
|
||||
Kind isDecl_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Decl) Reset() { *m = Decl{} }
|
||||
func (m *Decl) String() string { return proto.CompactTextString(m) }
|
||||
func (*Decl) ProtoMessage() {}
|
||||
func (*Decl) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{0}
|
||||
}
|
||||
|
||||
func (m *Decl) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Decl.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Decl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Decl.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Decl) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Decl.Merge(m, src)
|
||||
}
|
||||
func (m *Decl) XXX_Size() int {
|
||||
return xxx_messageInfo_Decl.Size(m)
|
||||
}
|
||||
func (m *Decl) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Decl.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Decl proto.InternalMessageInfo
|
||||
|
||||
func (m *Decl) GetId() int32 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Decl) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Decl) GetDoc() string {
|
||||
if m != nil {
|
||||
return m.Doc
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isDecl_Kind interface {
|
||||
isDecl_Kind()
|
||||
}
|
||||
|
||||
type Decl_Ident struct {
|
||||
Ident *IdentDecl `protobuf:"bytes,4,opt,name=ident,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Decl_Function struct {
|
||||
Function *FunctionDecl `protobuf:"bytes,5,opt,name=function,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Decl_Ident) isDecl_Kind() {}
|
||||
|
||||
func (*Decl_Function) isDecl_Kind() {}
|
||||
|
||||
func (m *Decl) GetKind() isDecl_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Decl) GetIdent() *IdentDecl {
|
||||
if x, ok := m.GetKind().(*Decl_Ident); ok {
|
||||
return x.Ident
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Decl) GetFunction() *FunctionDecl {
|
||||
if x, ok := m.GetKind().(*Decl_Function); ok {
|
||||
return x.Function
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Decl) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Decl_OneofMarshaler, _Decl_OneofUnmarshaler, _Decl_OneofSizer, []interface{}{
|
||||
(*Decl_Ident)(nil),
|
||||
(*Decl_Function)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Decl_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Decl)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Decl_Ident:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Ident); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Decl_Function:
|
||||
b.EncodeVarint(5<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Function); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Decl.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Decl_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Decl)
|
||||
switch tag {
|
||||
case 4: // kind.ident
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(IdentDecl)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Decl_Ident{msg}
|
||||
return true, err
|
||||
case 5: // kind.function
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(FunctionDecl)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Decl_Function{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Decl_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Decl)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Decl_Ident:
|
||||
s := proto.Size(x.Ident)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Decl_Function:
|
||||
s := proto.Size(x.Function)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// The declared type of a variable.
|
||||
//
|
||||
// Extends runtime type values with extra information used for type checking
|
||||
// and dispatching.
|
||||
type DeclType struct {
|
||||
// The expression id of the declared type, if applicable.
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// The type name, e.g. 'int', 'my.type.Type' or 'T'
|
||||
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// An ordered list of type parameters, e.g. `<string, int>`.
|
||||
// Only applies to a subset of types, e.g. `map`, `list`.
|
||||
TypeParams []*DeclType `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DeclType) Reset() { *m = DeclType{} }
|
||||
func (m *DeclType) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeclType) ProtoMessage() {}
|
||||
func (*DeclType) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{1}
|
||||
}
|
||||
|
||||
func (m *DeclType) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeclType.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeclType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeclType.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *DeclType) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeclType.Merge(m, src)
|
||||
}
|
||||
func (m *DeclType) XXX_Size() int {
|
||||
return xxx_messageInfo_DeclType.Size(m)
|
||||
}
|
||||
func (m *DeclType) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeclType.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeclType proto.InternalMessageInfo
|
||||
|
||||
func (m *DeclType) GetId() int32 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *DeclType) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *DeclType) GetTypeParams() []*DeclType {
|
||||
if m != nil {
|
||||
return m.TypeParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An identifier declaration.
|
||||
type IdentDecl struct {
|
||||
// Optional type of the identifier.
|
||||
Type *DeclType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// Optional value of the identifier.
|
||||
Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *IdentDecl) Reset() { *m = IdentDecl{} }
|
||||
func (m *IdentDecl) String() string { return proto.CompactTextString(m) }
|
||||
func (*IdentDecl) ProtoMessage() {}
|
||||
func (*IdentDecl) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{2}
|
||||
}
|
||||
|
||||
func (m *IdentDecl) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_IdentDecl.Unmarshal(m, b)
|
||||
}
|
||||
func (m *IdentDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_IdentDecl.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *IdentDecl) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_IdentDecl.Merge(m, src)
|
||||
}
|
||||
func (m *IdentDecl) XXX_Size() int {
|
||||
return xxx_messageInfo_IdentDecl.Size(m)
|
||||
}
|
||||
func (m *IdentDecl) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_IdentDecl.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_IdentDecl proto.InternalMessageInfo
|
||||
|
||||
func (m *IdentDecl) GetType() *DeclType {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *IdentDecl) GetValue() *Expr {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A function declaration.
|
||||
type FunctionDecl struct {
|
||||
// The function arguments.
|
||||
Args []*IdentDecl `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
|
||||
// Optional declared return type.
|
||||
ReturnType *DeclType `protobuf:"bytes,2,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"`
|
||||
// If the first argument of the function is the receiver.
|
||||
ReceiverFunction bool `protobuf:"varint,3,opt,name=receiver_function,json=receiverFunction,proto3" json:"receiver_function,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) Reset() { *m = FunctionDecl{} }
|
||||
func (m *FunctionDecl) String() string { return proto.CompactTextString(m) }
|
||||
func (*FunctionDecl) ProtoMessage() {}
|
||||
func (*FunctionDecl) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{3}
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FunctionDecl.Unmarshal(m, b)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_FunctionDecl.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FunctionDecl.Merge(m, src)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_Size() int {
|
||||
return xxx_messageInfo_FunctionDecl.Size(m)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FunctionDecl.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FunctionDecl proto.InternalMessageInfo
|
||||
|
||||
func (m *FunctionDecl) GetArgs() []*IdentDecl {
|
||||
if m != nil {
|
||||
return m.Args
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) GetReturnType() *DeclType {
|
||||
if m != nil {
|
||||
return m.ReturnType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) GetReceiverFunction() bool {
|
||||
if m != nil {
|
||||
return m.ReceiverFunction
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Decl)(nil), "google.api.expr.v1beta1.Decl")
|
||||
proto.RegisterType((*DeclType)(nil), "google.api.expr.v1beta1.DeclType")
|
||||
proto.RegisterType((*IdentDecl)(nil), "google.api.expr.v1beta1.IdentDecl")
|
||||
proto.RegisterType((*FunctionDecl)(nil), "google.api.expr.v1beta1.FunctionDecl")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/expr/v1beta1/decl.proto", fileDescriptor_7b13a6b7649d2726) }
|
||||
|
||||
var fileDescriptor_7b13a6b7649d2726 = []byte{
|
||||
// 398 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcd, 0x4a, 0xeb, 0x40,
|
||||
0x14, 0xc7, 0xef, 0x34, 0x49, 0x69, 0x4f, 0x2f, 0x97, 0xde, 0xd9, 0xdc, 0x70, 0x45, 0x88, 0x01,
|
||||
0x21, 0x20, 0x24, 0xb4, 0x45, 0x17, 0x76, 0x17, 0x3f, 0xd0, 0x5d, 0x09, 0xae, 0xdc, 0x94, 0x69,
|
||||
0x32, 0x86, 0xd1, 0x74, 0x66, 0x98, 0xa6, 0xb5, 0x7d, 0x32, 0x9f, 0xc0, 0x77, 0x72, 0x29, 0x33,
|
||||
0x49, 0x83, 0xa0, 0x81, 0xae, 0x7a, 0x9a, 0xf3, 0xff, 0x9d, 0x8f, 0xff, 0x1c, 0xf0, 0x73, 0x21,
|
||||
0xf2, 0x82, 0x46, 0x44, 0xb2, 0x88, 0x6e, 0xa5, 0x8a, 0x36, 0xa3, 0x05, 0x2d, 0xc9, 0x28, 0xca,
|
||||
0x68, 0x5a, 0x84, 0x52, 0x89, 0x52, 0xe0, 0x7f, 0x95, 0x26, 0x24, 0x92, 0x85, 0x5a, 0x13, 0xd6,
|
||||
0x9a, 0xff, 0xad, 0xb0, 0x51, 0x19, 0xd8, 0x7f, 0x47, 0x60, 0x5f, 0xd3, 0xb4, 0xc0, 0x7f, 0xa0,
|
||||
0xc3, 0x32, 0x17, 0x79, 0x28, 0x70, 0x92, 0x0e, 0xcb, 0x30, 0x06, 0x9b, 0x93, 0x25, 0x75, 0x3b,
|
||||
0x1e, 0x0a, 0xfa, 0x89, 0x89, 0xf1, 0x10, 0xac, 0x4c, 0xa4, 0xae, 0x65, 0x3e, 0xe9, 0x10, 0x5f,
|
||||
0x82, 0xc3, 0x32, 0xca, 0x4b, 0xd7, 0xf6, 0x50, 0x30, 0x18, 0xfb, 0x61, 0xcb, 0x2c, 0xe1, 0xbd,
|
||||
0x56, 0xe9, 0x46, 0x77, 0xbf, 0x92, 0x0a, 0xc1, 0x57, 0xd0, 0x7b, 0x5a, 0xf3, 0xb4, 0x64, 0x82,
|
||||
0xbb, 0x8e, 0xc1, 0x4f, 0x5b, 0xf1, 0xdb, 0x5a, 0x58, 0x57, 0x68, 0xc0, 0xb8, 0x0b, 0xf6, 0x0b,
|
||||
0xe3, 0x99, 0xaf, 0xa0, 0xa7, 0x73, 0x0f, 0x3b, 0x49, 0x7f, 0x5a, 0xa5, 0xdc, 0xc9, 0x66, 0x15,
|
||||
0x1d, 0xe3, 0x18, 0x06, 0xfa, 0x77, 0x2e, 0x89, 0x22, 0xcb, 0x95, 0x6b, 0x7b, 0x56, 0x30, 0x18,
|
||||
0x9f, 0xb4, 0xf6, 0xdf, 0xd7, 0x4e, 0x40, 0x53, 0x33, 0x03, 0xf9, 0xaf, 0xd0, 0x6f, 0xd6, 0xc2,
|
||||
0xe7, 0x75, 0x13, 0xcb, 0x6c, 0x72, 0x40, 0xa5, 0x6a, 0x8e, 0x09, 0x38, 0x1b, 0x52, 0xac, 0x69,
|
||||
0x6d, 0xe0, 0x71, 0x2b, 0x77, 0xb3, 0x95, 0x2a, 0xa9, 0xb4, 0xfe, 0x1b, 0x82, 0xdf, 0x5f, 0x1d,
|
||||
0xc1, 0x17, 0x60, 0x13, 0x95, 0xaf, 0x5c, 0x64, 0xd6, 0x38, 0xe0, 0x15, 0x12, 0xa3, 0xd7, 0x2e,
|
||||
0x28, 0x5a, 0xae, 0x15, 0x9f, 0x37, 0x06, 0x1d, 0xe6, 0x42, 0x45, 0x19, 0xb7, 0xcf, 0xe0, 0xaf,
|
||||
0xa2, 0x29, 0x65, 0x1b, 0xaa, 0xe6, 0xcd, 0x7b, 0x6a, 0x17, 0x7a, 0xc9, 0x70, 0x9f, 0xd8, 0x0f,
|
||||
0x1b, 0x3f, 0xc3, 0x51, 0x2a, 0x96, 0x6d, 0x0d, 0xe2, 0xbe, 0xee, 0x30, 0xd3, 0x87, 0x39, 0x43,
|
||||
0x8f, 0xd3, 0x5a, 0x95, 0x8b, 0x82, 0xf0, 0x3c, 0x14, 0x2a, 0x8f, 0x72, 0xca, 0xcd, 0xd9, 0x46,
|
||||
0x55, 0x8a, 0x48, 0xb6, 0xfa, 0x76, 0xdd, 0x53, 0xfd, 0xe7, 0x03, 0xa1, 0x45, 0xd7, 0x48, 0x27,
|
||||
0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x10, 0x20, 0xb6, 0xbc, 0x44, 0x03, 0x00, 0x00,
|
||||
}
|
||||
476
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go
generated
vendored
Normal file
476
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go
generated
vendored
Normal file
@@ -0,0 +1,476 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/eval.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// The state of an evaluation.
|
||||
//
|
||||
// Can represent an initial, partial, or completed state of evaluation.
|
||||
type EvalState struct {
|
||||
// The unique values referenced in this message.
|
||||
Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
// An ordered list of results.
|
||||
//
|
||||
// Tracks the flow of evaluation through the expression.
|
||||
// May be sparse.
|
||||
Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState) Reset() { *m = EvalState{} }
|
||||
func (m *EvalState) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState) ProtoMessage() {}
|
||||
func (*EvalState) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{0}
|
||||
}
|
||||
|
||||
func (m *EvalState) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState.Size(m)
|
||||
}
|
||||
func (m *EvalState) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState) GetValues() []*ExprValue {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalState) GetResults() []*EvalState_Result {
|
||||
if m != nil {
|
||||
return m.Results
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A single evaluation result.
|
||||
type EvalState_Result struct {
|
||||
// The expression this result is for.
|
||||
Expr *IdRef `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
|
||||
// The index in `values` of the resulting value.
|
||||
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) Reset() { *m = EvalState_Result{} }
|
||||
func (m *EvalState_Result) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState_Result) ProtoMessage() {}
|
||||
func (*EvalState_Result) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState_Result.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState_Result.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState_Result.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState_Result.Size(m)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState_Result.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState_Result proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState_Result) GetExpr() *IdRef {
|
||||
if m != nil {
|
||||
return m.Expr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) GetValue() int32 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// The value of an evaluated expression.
|
||||
type ExprValue struct {
|
||||
// An expression can resolve to a value, error or unknown.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *ExprValue_Value
|
||||
// *ExprValue_Error
|
||||
// *ExprValue_Unknown
|
||||
Kind isExprValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ExprValue) Reset() { *m = ExprValue{} }
|
||||
func (m *ExprValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExprValue) ProtoMessage() {}
|
||||
func (*ExprValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{1}
|
||||
}
|
||||
|
||||
func (m *ExprValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ExprValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ExprValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ExprValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ExprValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ExprValue.Merge(m, src)
|
||||
}
|
||||
func (m *ExprValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ExprValue.Size(m)
|
||||
}
|
||||
func (m *ExprValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ExprValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ExprValue proto.InternalMessageInfo
|
||||
|
||||
type isExprValue_Kind interface {
|
||||
isExprValue_Kind()
|
||||
}
|
||||
|
||||
type ExprValue_Value struct {
|
||||
Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Error struct {
|
||||
Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Unknown struct {
|
||||
Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ExprValue_Value) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Error) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Unknown) isExprValue_Kind() {}
|
||||
|
||||
func (m *ExprValue) GetKind() isExprValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetValue() *Value {
|
||||
if x, ok := m.GetKind().(*ExprValue_Value); ok {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetError() *ErrorSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetUnknown() *UnknownSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Unknown); ok {
|
||||
return x.Unknown
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*ExprValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _ExprValue_OneofMarshaler, _ExprValue_OneofUnmarshaler, _ExprValue_OneofSizer, []interface{}{
|
||||
(*ExprValue_Value)(nil),
|
||||
(*ExprValue_Error)(nil),
|
||||
(*ExprValue_Unknown)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Value); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Error:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Error); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Unknown:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Unknown); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("ExprValue.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _ExprValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*ExprValue)
|
||||
switch tag {
|
||||
case 1: // kind.value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Value)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Value{msg}
|
||||
return true, err
|
||||
case 2: // kind.error
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ErrorSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Error{msg}
|
||||
return true, err
|
||||
case 3: // kind.unknown
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UnknownSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Unknown{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
s := proto.Size(x.Value)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Error:
|
||||
s := proto.Size(x.Error)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Unknown:
|
||||
s := proto.Size(x.Unknown)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// A set of errors.
|
||||
//
|
||||
// The errors included depend on the context. See `ExprValue.error`.
|
||||
type ErrorSet struct {
|
||||
// The errors in the set.
|
||||
Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ErrorSet) Reset() { *m = ErrorSet{} }
|
||||
func (m *ErrorSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorSet) ProtoMessage() {}
|
||||
func (*ErrorSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{2}
|
||||
}
|
||||
|
||||
func (m *ErrorSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ErrorSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ErrorSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ErrorSet.Merge(m, src)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Size() int {
|
||||
return xxx_messageInfo_ErrorSet.Size(m)
|
||||
}
|
||||
func (m *ErrorSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ErrorSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ErrorSet proto.InternalMessageInfo
|
||||
|
||||
func (m *ErrorSet) GetErrors() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Errors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A set of expressions for which the value is unknown.
|
||||
//
|
||||
// The unknowns included depend on the context. See `ExprValue.unknown`.
|
||||
type UnknownSet struct {
|
||||
// The ids of the expressions with unknown values.
|
||||
Exprs []*IdRef `protobuf:"bytes,1,rep,name=exprs,proto3" json:"exprs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UnknownSet) Reset() { *m = UnknownSet{} }
|
||||
func (m *UnknownSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*UnknownSet) ProtoMessage() {}
|
||||
func (*UnknownSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{3}
|
||||
}
|
||||
|
||||
func (m *UnknownSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UnknownSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UnknownSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UnknownSet.Merge(m, src)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Size() int {
|
||||
return xxx_messageInfo_UnknownSet.Size(m)
|
||||
}
|
||||
func (m *UnknownSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UnknownSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UnknownSet proto.InternalMessageInfo
|
||||
|
||||
func (m *UnknownSet) GetExprs() []*IdRef {
|
||||
if m != nil {
|
||||
return m.Exprs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A reference to an expression id.
|
||||
type IdRef struct {
|
||||
// The expression id.
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *IdRef) Reset() { *m = IdRef{} }
|
||||
func (m *IdRef) String() string { return proto.CompactTextString(m) }
|
||||
func (*IdRef) ProtoMessage() {}
|
||||
func (*IdRef) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{4}
|
||||
}
|
||||
|
||||
func (m *IdRef) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_IdRef.Unmarshal(m, b)
|
||||
}
|
||||
func (m *IdRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_IdRef.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *IdRef) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_IdRef.Merge(m, src)
|
||||
}
|
||||
func (m *IdRef) XXX_Size() int {
|
||||
return xxx_messageInfo_IdRef.Size(m)
|
||||
}
|
||||
func (m *IdRef) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_IdRef.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_IdRef proto.InternalMessageInfo
|
||||
|
||||
func (m *IdRef) GetId() int32 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*EvalState)(nil), "google.api.expr.v1beta1.EvalState")
|
||||
proto.RegisterType((*EvalState_Result)(nil), "google.api.expr.v1beta1.EvalState.Result")
|
||||
proto.RegisterType((*ExprValue)(nil), "google.api.expr.v1beta1.ExprValue")
|
||||
proto.RegisterType((*ErrorSet)(nil), "google.api.expr.v1beta1.ErrorSet")
|
||||
proto.RegisterType((*UnknownSet)(nil), "google.api.expr.v1beta1.UnknownSet")
|
||||
proto.RegisterType((*IdRef)(nil), "google.api.expr.v1beta1.IdRef")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/expr/v1beta1/eval.proto", fileDescriptor_5cf79b1c58929ac8) }
|
||||
|
||||
var fileDescriptor_5cf79b1c58929ac8 = []byte{
|
||||
// 392 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x8b, 0xd4, 0x30,
|
||||
0x14, 0xc7, 0xcd, 0xcc, 0xb6, 0xab, 0x6f, 0xc0, 0x43, 0x10, 0xb6, 0x8c, 0x20, 0x63, 0xf7, 0x32,
|
||||
0x7a, 0x48, 0xd8, 0x2a, 0x0b, 0xba, 0x07, 0xa1, 0xb2, 0xa0, 0xb7, 0x25, 0x83, 0x1e, 0xbc, 0x65,
|
||||
0xa7, 0xb1, 0xd4, 0xa9, 0x4d, 0x48, 0xd3, 0x3a, 0xff, 0xa1, 0xff, 0x86, 0x7f, 0x86, 0x47, 0xc9,
|
||||
0x4b, 0x83, 0x87, 0xa5, 0xcc, 0xf1, 0x25, 0x9f, 0xcf, 0xf7, 0xe5, 0xc7, 0x83, 0xbc, 0xd6, 0xba,
|
||||
0x6e, 0x15, 0x97, 0xa6, 0xe1, 0xea, 0x68, 0x2c, 0x1f, 0xaf, 0xee, 0x95, 0x93, 0x57, 0x5c, 0x8d,
|
||||
0xb2, 0x65, 0xc6, 0x6a, 0xa7, 0xe9, 0x45, 0x60, 0x98, 0x34, 0x0d, 0xf3, 0x0c, 0x9b, 0x98, 0xf5,
|
||||
0xe5, 0x9c, 0x3c, 0xca, 0x76, 0x50, 0xc1, 0x5e, 0x4f, 0x36, 0xb7, 0x66, 0xcf, 0x7b, 0x27, 0xdd,
|
||||
0xd0, 0x87, 0x8d, 0xfc, 0x0f, 0x81, 0x27, 0xb7, 0xa3, 0x6c, 0x77, 0x4e, 0x3a, 0x45, 0xdf, 0x43,
|
||||
0x8a, 0x56, 0x9f, 0x91, 0xcd, 0x72, 0xbb, 0x2a, 0x72, 0x36, 0xd3, 0x95, 0xdd, 0x1e, 0x8d, 0xfd,
|
||||
0xea, 0x51, 0x31, 0x19, 0xf4, 0x23, 0x9c, 0x5b, 0xd5, 0x0f, 0xad, 0xeb, 0xb3, 0x25, 0xca, 0xaf,
|
||||
0xe6, 0xe5, 0xd8, 0x90, 0x09, 0x34, 0x44, 0x34, 0xd7, 0x02, 0xd2, 0xb0, 0x44, 0x0b, 0x38, 0xf3,
|
||||
0x4e, 0x46, 0x36, 0x64, 0xbb, 0x2a, 0x5e, 0xcc, 0x66, 0x7d, 0xae, 0x84, 0xfa, 0x2e, 0x90, 0xa5,
|
||||
0xcf, 0x20, 0xc1, 0xc3, 0x64, 0x8b, 0x0d, 0xd9, 0x26, 0x22, 0x14, 0xf9, 0x6f, 0x7f, 0xc5, 0x78,
|
||||
0x5c, 0x7a, 0x1d, 0x99, 0x53, 0xc1, 0x88, 0x7f, 0x7a, 0x34, 0xa5, 0xd0, 0x77, 0x90, 0x28, 0x6b,
|
||||
0xb5, 0xc5, 0xec, 0x55, 0xf1, 0x72, 0xfe, 0x72, 0x9e, 0xda, 0x29, 0xe7, 0x55, 0x34, 0xe8, 0x07,
|
||||
0x38, 0x1f, 0xba, 0x43, 0xa7, 0x7f, 0x75, 0xd9, 0x12, 0xe5, 0xcb, 0x59, 0xf9, 0x4b, 0xe0, 0x82,
|
||||
0x1e, 0xad, 0x32, 0x85, 0xb3, 0x43, 0xd3, 0x55, 0xf9, 0x35, 0x3c, 0x8e, 0xe9, 0xf4, 0x35, 0xa4,
|
||||
0x98, 0x1e, 0xbf, 0x8a, 0xc6, 0x4c, 0x6b, 0xf6, 0x6c, 0x87, 0x5f, 0x2c, 0x26, 0x22, 0x2f, 0x01,
|
||||
0xfe, 0x07, 0xd3, 0xb7, 0x90, 0xf8, 0x9e, 0x51, 0x3c, 0xf5, 0xb4, 0x01, 0xce, 0x2f, 0x20, 0xc1,
|
||||
0x9a, 0x3e, 0x85, 0x45, 0x53, 0xe1, 0xeb, 0x25, 0x62, 0xd1, 0x54, 0xe5, 0x0f, 0x78, 0xbe, 0xd7,
|
||||
0x3f, 0xe7, 0x42, 0x4a, 0x9c, 0xae, 0x3b, 0x3f, 0x6b, 0x77, 0xe4, 0xdb, 0xcd, 0x44, 0xd5, 0xba,
|
||||
0x95, 0x5d, 0xcd, 0xb4, 0xad, 0x79, 0xad, 0x3a, 0x9c, 0x44, 0x1e, 0xb6, 0xa4, 0x69, 0xfa, 0x07,
|
||||
0xa3, 0x7c, 0xe3, 0x8b, 0xbf, 0x84, 0xdc, 0xa7, 0x88, 0xbe, 0xf9, 0x17, 0x00, 0x00, 0xff, 0xff,
|
||||
0x33, 0xb5, 0xd5, 0x2b, 0x31, 0x03, 0x00, 0x00,
|
||||
}
|
||||
1361
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go
generated
vendored
Normal file
1361
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
193
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go
generated
vendored
Normal file
193
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go
generated
vendored
Normal file
@@ -0,0 +1,193 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/source.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Source information collected at parse time.
|
||||
type SourceInfo struct {
|
||||
// The location name. All position information attached to an expression is
|
||||
// relative to this location.
|
||||
//
|
||||
// The location could be a file, UI element, or similar. For example,
|
||||
// `acme/app/AnvilPolicy.cel`.
|
||||
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
|
||||
// Monotonically increasing list of character offsets where newlines appear.
|
||||
//
|
||||
// The line number of a given position is the index `i` where for a given
|
||||
// `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
|
||||
// column may be derivd from `id_positions[id] - line_offsets[i]`.
|
||||
LineOffsets []int32 `protobuf:"varint,3,rep,packed,name=line_offsets,json=lineOffsets,proto3" json:"line_offsets,omitempty"`
|
||||
// A map from the parse node id (e.g. `Expr.id`) to the character offset
|
||||
// within source.
|
||||
Positions map[int32]int32 `protobuf:"bytes,4,rep,name=positions,proto3" json:"positions,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SourceInfo) Reset() { *m = SourceInfo{} }
|
||||
func (m *SourceInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceInfo) ProtoMessage() {}
|
||||
func (*SourceInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_26d280d77790e409, []int{0}
|
||||
}
|
||||
|
||||
func (m *SourceInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SourceInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SourceInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourceInfo.Merge(m, src)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_SourceInfo.Size(m)
|
||||
}
|
||||
func (m *SourceInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourceInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourceInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *SourceInfo) GetLocation() string {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourceInfo) GetLineOffsets() []int32 {
|
||||
if m != nil {
|
||||
return m.LineOffsets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SourceInfo) GetPositions() map[int32]int32 {
|
||||
if m != nil {
|
||||
return m.Positions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A specific position in source.
|
||||
type SourcePosition struct {
|
||||
// The soucre location name (e.g. file name).
|
||||
Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
|
||||
// The character offset.
|
||||
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
||||
// The 1-based index of the starting line in the source text
|
||||
// where the issue occurs, or 0 if unknown.
|
||||
Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
|
||||
// The 0-based index of the starting position within the line of source text
|
||||
// where the issue occurs. Only meaningful if line is nonzer..
|
||||
Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SourcePosition) Reset() { *m = SourcePosition{} }
|
||||
func (m *SourcePosition) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourcePosition) ProtoMessage() {}
|
||||
func (*SourcePosition) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_26d280d77790e409, []int{1}
|
||||
}
|
||||
|
||||
func (m *SourcePosition) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SourcePosition.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SourcePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SourcePosition.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SourcePosition) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourcePosition.Merge(m, src)
|
||||
}
|
||||
func (m *SourcePosition) XXX_Size() int {
|
||||
return xxx_messageInfo_SourcePosition.Size(m)
|
||||
}
|
||||
func (m *SourcePosition) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourcePosition.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourcePosition proto.InternalMessageInfo
|
||||
|
||||
func (m *SourcePosition) GetLocation() string {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourcePosition) GetOffset() int32 {
|
||||
if m != nil {
|
||||
return m.Offset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SourcePosition) GetLine() int32 {
|
||||
if m != nil {
|
||||
return m.Line
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SourcePosition) GetColumn() int32 {
|
||||
if m != nil {
|
||||
return m.Column
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SourceInfo)(nil), "google.api.expr.v1beta1.SourceInfo")
|
||||
proto.RegisterMapType((map[int32]int32)(nil), "google.api.expr.v1beta1.SourceInfo.PositionsEntry")
|
||||
proto.RegisterType((*SourcePosition)(nil), "google.api.expr.v1beta1.SourcePosition")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1beta1/source.proto", fileDescriptor_26d280d77790e409)
|
||||
}
|
||||
|
||||
var fileDescriptor_26d280d77790e409 = []byte{
|
||||
// 311 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x4b, 0x3b, 0x31,
|
||||
0x10, 0xc5, 0x49, 0xb7, 0x5b, 0xfe, 0x9d, 0xfe, 0x29, 0x12, 0x44, 0x97, 0x7a, 0x59, 0x8b, 0x87,
|
||||
0x3d, 0x65, 0x69, 0xbd, 0x88, 0xf5, 0x54, 0xf0, 0xe0, 0xc9, 0xb2, 0xde, 0xbc, 0x48, 0xba, 0xa4,
|
||||
0x4b, 0x30, 0xcd, 0x84, 0xcd, 0xb6, 0xd8, 0xcf, 0xea, 0x17, 0xf1, 0x28, 0x49, 0xb6, 0x96, 0x2a,
|
||||
0xbd, 0xe5, 0xcd, 0xfc, 0x32, 0x33, 0x8f, 0x07, 0x37, 0x15, 0x62, 0xa5, 0x44, 0xce, 0x8d, 0xcc,
|
||||
0xc5, 0x87, 0xa9, 0xf3, 0xed, 0x64, 0x29, 0x1a, 0x3e, 0xc9, 0x2d, 0x6e, 0xea, 0x52, 0x30, 0x53,
|
||||
0x63, 0x83, 0xf4, 0x32, 0x50, 0x8c, 0x1b, 0xc9, 0x1c, 0xc5, 0x5a, 0x6a, 0xfc, 0x49, 0x00, 0x5e,
|
||||
0x3c, 0xf9, 0xa4, 0x57, 0x48, 0x47, 0xf0, 0x4f, 0x61, 0xc9, 0x1b, 0x89, 0x3a, 0xe9, 0xa4, 0x24,
|
||||
0xeb, 0x17, 0x3f, 0x9a, 0x5e, 0xc3, 0x7f, 0x25, 0xb5, 0x78, 0xc3, 0xd5, 0xca, 0x8a, 0xc6, 0x26,
|
||||
0x51, 0x1a, 0x65, 0x71, 0x31, 0x70, 0xb5, 0xe7, 0x50, 0xa2, 0x0b, 0xe8, 0x1b, 0xb4, 0xd2, 0xe1,
|
||||
0x36, 0xe9, 0xa6, 0x51, 0x36, 0x98, 0x4e, 0xd9, 0x89, 0xd5, 0xec, 0xb0, 0x96, 0x2d, 0xf6, 0x9f,
|
||||
0x1e, 0x75, 0x53, 0xef, 0x8a, 0xc3, 0x90, 0xd1, 0x03, 0x0c, 0x8f, 0x9b, 0xf4, 0x0c, 0xa2, 0x77,
|
||||
0xb1, 0x4b, 0x48, 0x4a, 0xb2, 0xb8, 0x70, 0x4f, 0x7a, 0x0e, 0xf1, 0x96, 0xab, 0x8d, 0xf0, 0x17,
|
||||
0xc7, 0x45, 0x10, 0xf7, 0x9d, 0x3b, 0x32, 0x36, 0x30, 0x0c, 0x5b, 0xf6, 0x33, 0x8e, 0x0c, 0x92,
|
||||
0x5f, 0x06, 0x2f, 0xa0, 0x17, 0xbc, 0xb5, 0x83, 0x5a, 0x45, 0x29, 0x74, 0x9d, 0xc9, 0x24, 0xf2,
|
||||
0x55, 0xff, 0x76, 0x6c, 0x89, 0x6a, 0xb3, 0xd6, 0x49, 0x37, 0xb0, 0x41, 0xcd, 0x15, 0x5c, 0x95,
|
||||
0xb8, 0x3e, 0xe5, 0x79, 0x3e, 0x68, 0xcf, 0x71, 0xa1, 0x2c, 0xc8, 0xeb, 0xac, 0xe5, 0x2a, 0x54,
|
||||
0x5c, 0x57, 0x0c, 0xeb, 0x2a, 0xaf, 0x84, 0xf6, 0x91, 0xe5, 0xa1, 0xc5, 0x8d, 0xb4, 0x7f, 0xb2,
|
||||
0x9d, 0x39, 0xf1, 0x45, 0xc8, 0xb2, 0xe7, 0xd1, 0xdb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdf,
|
||||
0x8a, 0x1a, 0x6c, 0x05, 0x02, 0x00, 0x00,
|
||||
}
|
||||
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go
generated
vendored
Normal file
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go
generated
vendored
Normal file
@@ -0,0 +1,715 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/value.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Represents a CEL value.
|
||||
//
|
||||
// This is similar to `google.protobuf.Value`, but can represent CEL's full
|
||||
// range of values.
|
||||
type Value struct {
|
||||
// Required. The valid kinds of values.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *Value_NullValue
|
||||
// *Value_BoolValue
|
||||
// *Value_Int64Value
|
||||
// *Value_Uint64Value
|
||||
// *Value_DoubleValue
|
||||
// *Value_StringValue
|
||||
// *Value_BytesValue
|
||||
// *Value_EnumValue
|
||||
// *Value_ObjectValue
|
||||
// *Value_MapValue
|
||||
// *Value_ListValue
|
||||
// *Value_TypeValue
|
||||
Kind isValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Value) Reset() { *m = Value{} }
|
||||
func (m *Value) String() string { return proto.CompactTextString(m) }
|
||||
func (*Value) ProtoMessage() {}
|
||||
func (*Value) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{0}
|
||||
}
|
||||
|
||||
func (m *Value) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Value.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Value.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Value) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Value.Merge(m, src)
|
||||
}
|
||||
func (m *Value) XXX_Size() int {
|
||||
return xxx_messageInfo_Value.Size(m)
|
||||
}
|
||||
func (m *Value) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Value.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Value proto.InternalMessageInfo
|
||||
|
||||
type isValue_Kind interface {
|
||||
isValue_Kind()
|
||||
}
|
||||
|
||||
type Value_NullValue struct {
|
||||
NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
|
||||
}
|
||||
|
||||
type Value_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Uint64Value struct {
|
||||
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_BytesValue struct {
|
||||
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_EnumValue struct {
|
||||
EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ObjectValue struct {
|
||||
ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_MapValue struct {
|
||||
MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ListValue struct {
|
||||
ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_TypeValue struct {
|
||||
TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Value_NullValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BoolValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_Int64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_Uint64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_DoubleValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_StringValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BytesValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_EnumValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ObjectValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_MapValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ListValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_TypeValue) isValue_Kind() {}
|
||||
|
||||
func (m *Value) GetKind() isValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetNullValue() _struct.NullValue {
|
||||
if x, ok := m.GetKind().(*Value_NullValue); ok {
|
||||
return x.NullValue
|
||||
}
|
||||
return _struct.NullValue_NULL_VALUE
|
||||
}
|
||||
|
||||
func (m *Value) GetBoolValue() bool {
|
||||
if x, ok := m.GetKind().(*Value_BoolValue); ok {
|
||||
return x.BoolValue
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Value) GetInt64Value() int64 {
|
||||
if x, ok := m.GetKind().(*Value_Int64Value); ok {
|
||||
return x.Int64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetUint64Value() uint64 {
|
||||
if x, ok := m.GetKind().(*Value_Uint64Value); ok {
|
||||
return x.Uint64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetDoubleValue() float64 {
|
||||
if x, ok := m.GetKind().(*Value_DoubleValue); ok {
|
||||
return x.DoubleValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetStringValue() string {
|
||||
if x, ok := m.GetKind().(*Value_StringValue); ok {
|
||||
return x.StringValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Value) GetBytesValue() []byte {
|
||||
if x, ok := m.GetKind().(*Value_BytesValue); ok {
|
||||
return x.BytesValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetEnumValue() *EnumValue {
|
||||
if x, ok := m.GetKind().(*Value_EnumValue); ok {
|
||||
return x.EnumValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetObjectValue() *any.Any {
|
||||
if x, ok := m.GetKind().(*Value_ObjectValue); ok {
|
||||
return x.ObjectValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetMapValue() *MapValue {
|
||||
if x, ok := m.GetKind().(*Value_MapValue); ok {
|
||||
return x.MapValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetListValue() *ListValue {
|
||||
if x, ok := m.GetKind().(*Value_ListValue); ok {
|
||||
return x.ListValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetTypeValue() string {
|
||||
if x, ok := m.GetKind().(*Value_TypeValue); ok {
|
||||
return x.TypeValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{
|
||||
(*Value_NullValue)(nil),
|
||||
(*Value_BoolValue)(nil),
|
||||
(*Value_Int64Value)(nil),
|
||||
(*Value_Uint64Value)(nil),
|
||||
(*Value_DoubleValue)(nil),
|
||||
(*Value_StringValue)(nil),
|
||||
(*Value_BytesValue)(nil),
|
||||
(*Value_EnumValue)(nil),
|
||||
(*Value_ObjectValue)(nil),
|
||||
(*Value_MapValue)(nil),
|
||||
(*Value_ListValue)(nil),
|
||||
(*Value_TypeValue)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
b.EncodeVarint(1<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
t := uint64(0)
|
||||
if x.BoolValue {
|
||||
t = 1
|
||||
}
|
||||
b.EncodeVarint(2<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(t)
|
||||
case *Value_Int64Value:
|
||||
b.EncodeVarint(3<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
b.EncodeVarint(4<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
b.EncodeVarint(5<<3 | proto.WireFixed64)
|
||||
b.EncodeFixed64(math.Float64bits(x.DoubleValue))
|
||||
case *Value_StringValue:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
b.EncodeVarint(7<<3 | proto.WireBytes)
|
||||
b.EncodeRawBytes(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
b.EncodeVarint(9<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.EnumValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ObjectValue:
|
||||
b.EncodeVarint(10<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ObjectValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_MapValue:
|
||||
b.EncodeVarint(11<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MapValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ListValue:
|
||||
b.EncodeVarint(12<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ListValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_TypeValue:
|
||||
b.EncodeVarint(15<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Value.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Value)
|
||||
switch tag {
|
||||
case 1: // kind.null_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_NullValue{_struct.NullValue(x)}
|
||||
return true, err
|
||||
case 2: // kind.bool_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_BoolValue{x != 0}
|
||||
return true, err
|
||||
case 3: // kind.int64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Int64Value{int64(x)}
|
||||
return true, err
|
||||
case 4: // kind.uint64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Uint64Value{x}
|
||||
return true, err
|
||||
case 5: // kind.double_value
|
||||
if wire != proto.WireFixed64 {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeFixed64()
|
||||
m.Kind = &Value_DoubleValue{math.Float64frombits(x)}
|
||||
return true, err
|
||||
case 6: // kind.string_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_StringValue{x}
|
||||
return true, err
|
||||
case 7: // kind.bytes_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeRawBytes(true)
|
||||
m.Kind = &Value_BytesValue{x}
|
||||
return true, err
|
||||
case 9: // kind.enum_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(EnumValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_EnumValue{msg}
|
||||
return true, err
|
||||
case 10: // kind.object_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(any.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ObjectValue{msg}
|
||||
return true, err
|
||||
case 11: // kind.map_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(MapValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_MapValue{msg}
|
||||
return true, err
|
||||
case 12: // kind.list_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ListValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ListValue{msg}
|
||||
return true, err
|
||||
case 15: // kind.type_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_TypeValue{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *Value_Int64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
n += 1 // tag and wire
|
||||
n += 8
|
||||
case *Value_StringValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.StringValue)))
|
||||
n += len(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.BytesValue)))
|
||||
n += len(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
s := proto.Size(x.EnumValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ObjectValue:
|
||||
s := proto.Size(x.ObjectValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_MapValue:
|
||||
s := proto.Size(x.MapValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ListValue:
|
||||
s := proto.Size(x.ListValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_TypeValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.TypeValue)))
|
||||
n += len(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// An enum value.
|
||||
type EnumValue struct {
|
||||
// The fully qualified name of the enum type.
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The value of the enum.
|
||||
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EnumValue) Reset() { *m = EnumValue{} }
|
||||
func (m *EnumValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*EnumValue) ProtoMessage() {}
|
||||
func (*EnumValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{1}
|
||||
}
|
||||
|
||||
func (m *EnumValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EnumValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EnumValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EnumValue.Merge(m, src)
|
||||
}
|
||||
func (m *EnumValue) XXX_Size() int {
|
||||
return xxx_messageInfo_EnumValue.Size(m)
|
||||
}
|
||||
func (m *EnumValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EnumValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EnumValue proto.InternalMessageInfo
|
||||
|
||||
func (m *EnumValue) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *EnumValue) GetValue() int32 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A list.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type ListValue struct {
|
||||
// The ordered values in the list.
|
||||
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListValue) Reset() { *m = ListValue{} }
|
||||
func (m *ListValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListValue) ProtoMessage() {}
|
||||
func (*ListValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{2}
|
||||
}
|
||||
|
||||
func (m *ListValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ListValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListValue.Merge(m, src)
|
||||
}
|
||||
func (m *ListValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ListValue.Size(m)
|
||||
}
|
||||
func (m *ListValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListValue proto.InternalMessageInfo
|
||||
|
||||
func (m *ListValue) GetValues() []*Value {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A map.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type MapValue struct {
|
||||
// The set of map entries.
|
||||
//
|
||||
// CEL has fewer restrictions on keys, so a protobuf map represenation
|
||||
// cannot be used.
|
||||
Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue) Reset() { *m = MapValue{} }
|
||||
func (m *MapValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue) ProtoMessage() {}
|
||||
func (*MapValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{3}
|
||||
}
|
||||
|
||||
func (m *MapValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue.Size(m)
|
||||
}
|
||||
func (m *MapValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue) GetEntries() []*MapValue_Entry {
|
||||
if m != nil {
|
||||
return m.Entries
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An entry in the map.
|
||||
type MapValue_Entry struct {
|
||||
// The key.
|
||||
//
|
||||
// Must be unique with in the map.
|
||||
// Currently only boolean, int, uint, and string values can be keys.
|
||||
Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
// The value.
|
||||
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) Reset() { *m = MapValue_Entry{} }
|
||||
func (m *MapValue_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue_Entry) ProtoMessage() {}
|
||||
func (*MapValue_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{3, 0}
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue_Entry.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue_Entry.Size(m)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue_Entry) GetKey() *Value {
|
||||
if m != nil {
|
||||
return m.Key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) GetValue() *Value {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Value)(nil), "google.api.expr.v1beta1.Value")
|
||||
proto.RegisterType((*EnumValue)(nil), "google.api.expr.v1beta1.EnumValue")
|
||||
proto.RegisterType((*ListValue)(nil), "google.api.expr.v1beta1.ListValue")
|
||||
proto.RegisterType((*MapValue)(nil), "google.api.expr.v1beta1.MapValue")
|
||||
proto.RegisterType((*MapValue_Entry)(nil), "google.api.expr.v1beta1.MapValue.Entry")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1beta1/value.proto", fileDescriptor_6677b81498dbb8ef)
|
||||
}
|
||||
|
||||
var fileDescriptor_6677b81498dbb8ef = []byte{
|
||||
// 516 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x4d, 0x6f, 0xd3, 0x30,
|
||||
0x18, 0xc7, 0x6b, 0xfa, 0xb2, 0xe6, 0x69, 0x05, 0x92, 0x35, 0x89, 0x51, 0x10, 0x64, 0xdd, 0x81,
|
||||
0x9c, 0x1c, 0x56, 0xc6, 0x24, 0xd4, 0x0b, 0xeb, 0x34, 0xa9, 0x07, 0x40, 0x53, 0x0e, 0x1c, 0xb8,
|
||||
0xa0, 0xa4, 0x33, 0x51, 0xa8, 0x63, 0x47, 0x89, 0x3d, 0x91, 0x2f, 0xc7, 0x07, 0xe0, 0x13, 0x71,
|
||||
0x44, 0x7e, 0x0b, 0x63, 0x53, 0xd5, 0x5b, 0x9e, 0xbf, 0x7f, 0x7f, 0x3f, 0x2f, 0x7e, 0x14, 0x38,
|
||||
0xc9, 0x85, 0xc8, 0x19, 0x8d, 0xd3, 0xaa, 0x88, 0xe9, 0xcf, 0xaa, 0x8e, 0x6f, 0x4f, 0x33, 0x2a,
|
||||
0xd3, 0xd3, 0xf8, 0x36, 0x65, 0x8a, 0x92, 0xaa, 0x16, 0x52, 0xe0, 0xa7, 0x16, 0x22, 0x69, 0x55,
|
||||
0x10, 0x0d, 0x11, 0x07, 0xcd, 0x9e, 0x39, 0xb7, 0xc1, 0x32, 0xf5, 0x3d, 0x4e, 0x79, 0x6b, 0x3d,
|
||||
0xb3, 0x17, 0xf7, 0x8f, 0x1a, 0x59, 0xab, 0x8d, 0xb4, 0xa7, 0xf3, 0xdf, 0x03, 0x18, 0x7e, 0xd1,
|
||||
0x19, 0xf0, 0x12, 0x80, 0x2b, 0xc6, 0xbe, 0x99, 0x7c, 0x47, 0x28, 0x44, 0xd1, 0xe3, 0xc5, 0x8c,
|
||||
0xb8, 0x84, 0xde, 0x4c, 0x3e, 0x2b, 0xc6, 0x0c, 0xbf, 0xee, 0x25, 0x01, 0xf7, 0x01, 0x7e, 0x05,
|
||||
0x90, 0x09, 0xe1, 0xcd, 0x8f, 0x42, 0x14, 0x8d, 0x35, 0xa0, 0x35, 0x0b, 0x1c, 0xc3, 0xa4, 0xe0,
|
||||
0xf2, 0xfc, 0xcc, 0x11, 0xfd, 0x10, 0x45, 0xfd, 0x75, 0x2f, 0x01, 0x23, 0x5a, 0xe4, 0x04, 0xa6,
|
||||
0xea, 0x2e, 0x33, 0x08, 0x51, 0x34, 0x58, 0xf7, 0x92, 0x89, 0xfa, 0x1f, 0xba, 0x11, 0x2a, 0x63,
|
||||
0xd4, 0x41, 0xc3, 0x10, 0x45, 0x48, 0x43, 0x56, 0xed, 0xa0, 0x46, 0xd6, 0x05, 0xcf, 0x1d, 0x34,
|
||||
0x0a, 0x51, 0x14, 0x68, 0xc8, 0xaa, 0x5d, 0x45, 0x59, 0x2b, 0x69, 0xe3, 0x98, 0x83, 0x10, 0x45,
|
||||
0x53, 0x5d, 0x91, 0x11, 0x2d, 0x72, 0x09, 0x40, 0xb9, 0x2a, 0x1d, 0x11, 0x84, 0x28, 0x9a, 0x2c,
|
||||
0xe6, 0x64, 0xc7, 0x1b, 0x90, 0x2b, 0xae, 0xca, 0x6e, 0x34, 0xd4, 0x07, 0xf8, 0x3d, 0x4c, 0x45,
|
||||
0xf6, 0x83, 0x6e, 0xa4, 0xbb, 0x06, 0xcc, 0x35, 0x87, 0x0f, 0x26, 0x7b, 0xc1, 0x5b, 0x5d, 0xa2,
|
||||
0x65, 0xad, 0xf5, 0x03, 0x04, 0x65, 0x5a, 0x39, 0xdf, 0xc4, 0xf8, 0x8e, 0x77, 0xa6, 0xff, 0x94,
|
||||
0x56, 0x3e, 0xfb, 0xb8, 0x74, 0xdf, 0xba, 0x03, 0x56, 0x34, 0x3e, 0xf5, 0x74, 0x4f, 0x07, 0x1f,
|
||||
0x8b, 0x46, 0x76, 0x1d, 0x30, 0x1f, 0xe8, 0xc7, 0x95, 0x6d, 0xe5, 0x27, 0xfe, 0xc4, 0x0d, 0x33,
|
||||
0xd0, 0x9a, 0x01, 0x56, 0x23, 0x18, 0x6c, 0x0b, 0x7e, 0x33, 0x7f, 0x07, 0x41, 0x37, 0x04, 0x8c,
|
||||
0x61, 0xa0, 0x09, 0xb3, 0x49, 0x41, 0x62, 0xbe, 0xf1, 0x21, 0x0c, 0xff, 0x6d, 0xc8, 0x30, 0xb1,
|
||||
0xc1, 0xfc, 0x12, 0x82, 0x2e, 0x33, 0x3e, 0x87, 0x91, 0x51, 0x9b, 0x23, 0x14, 0xf6, 0xa3, 0xc9,
|
||||
0xe2, 0xe5, 0xce, 0x6a, 0x0d, 0x9f, 0x38, 0x7a, 0xfe, 0x0b, 0xc1, 0xd8, 0x8f, 0x00, 0x5f, 0xc0,
|
||||
0x01, 0xe5, 0xb2, 0x2e, 0xba, 0x5b, 0x5e, 0xef, 0x1d, 0x1b, 0xb9, 0xe2, 0xb2, 0x6e, 0x13, 0xef,
|
||||
0x9b, 0x09, 0x18, 0x1a, 0x05, 0xbf, 0x81, 0xfe, 0x96, 0xb6, 0xa6, 0x8d, 0xfd, 0xd5, 0x68, 0x14,
|
||||
0x9f, 0xdd, 0xed, 0x72, 0xbf, 0xc7, 0xc2, 0xab, 0x2d, 0x3c, 0xdf, 0x88, 0x72, 0x17, 0xbb, 0x02,
|
||||
0x03, 0x5f, 0xeb, 0x6d, 0xb9, 0x46, 0x5f, 0x97, 0x0e, 0xcb, 0x05, 0x4b, 0x79, 0x4e, 0x44, 0x9d,
|
||||
0xc7, 0x39, 0xe5, 0x66, 0x97, 0x62, 0x7b, 0x94, 0x56, 0x45, 0xf3, 0xe0, 0x67, 0xb2, 0xd4, 0xc1,
|
||||
0x1f, 0x84, 0xb2, 0x91, 0x41, 0xdf, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x11, 0xf9, 0xd9,
|
||||
0x76, 0x04, 0x00, 0x00,
|
||||
}
|
||||
94
vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
generated
vendored
94
vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
generated
vendored
@@ -1,20 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/httpbody.proto
|
||||
|
||||
/*
|
||||
Package httpbody is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/httpbody.proto
|
||||
|
||||
It has these top-level messages:
|
||||
HttpBody
|
||||
*/
|
||||
package httpbody
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -67,15 +61,41 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
// handled, all other features will continue to work unchanged.
|
||||
type HttpBody struct {
|
||||
// The HTTP Content-Type string representing the content type of the body.
|
||||
ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType" json:"content_type,omitempty"`
|
||||
ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
||||
// HTTP body binary data.
|
||||
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||||
// Application specific response metadata. Must be set in the first response
|
||||
// for streaming APIs.
|
||||
Extensions []*any.Any `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *HttpBody) Reset() { *m = HttpBody{} }
|
||||
func (m *HttpBody) String() string { return proto.CompactTextString(m) }
|
||||
func (*HttpBody) ProtoMessage() {}
|
||||
func (*HttpBody) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *HttpBody) Reset() { *m = HttpBody{} }
|
||||
func (m *HttpBody) String() string { return proto.CompactTextString(m) }
|
||||
func (*HttpBody) ProtoMessage() {}
|
||||
func (*HttpBody) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_09ea2ecaa32a0070, []int{0}
|
||||
}
|
||||
|
||||
func (m *HttpBody) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_HttpBody.Unmarshal(m, b)
|
||||
}
|
||||
func (m *HttpBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_HttpBody.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *HttpBody) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_HttpBody.Merge(m, src)
|
||||
}
|
||||
func (m *HttpBody) XXX_Size() int {
|
||||
return xxx_messageInfo_HttpBody.Size(m)
|
||||
}
|
||||
func (m *HttpBody) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_HttpBody.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_HttpBody proto.InternalMessageInfo
|
||||
|
||||
func (m *HttpBody) GetContentType() string {
|
||||
if m != nil {
|
||||
@@ -91,24 +111,34 @@ func (m *HttpBody) GetData() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *HttpBody) GetExtensions() []*any.Any {
|
||||
if m != nil {
|
||||
return m.Extensions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*HttpBody)(nil), "google.api.HttpBody")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/httpbody.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/httpbody.proto", fileDescriptor_09ea2ecaa32a0070) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 181 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xcf, 0xcf, 0x4f,
|
||||
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0xcf, 0x28, 0x29, 0x29, 0x48, 0xca, 0x4f, 0xa9, 0xd4,
|
||||
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x48, 0xe9, 0x25, 0x16, 0x64, 0x2a, 0x39, 0x72,
|
||||
0x71, 0x78, 0x94, 0x94, 0x14, 0x38, 0xe5, 0xa7, 0x54, 0x0a, 0x29, 0x72, 0xf1, 0x24, 0xe7, 0xe7,
|
||||
0x95, 0xa4, 0xe6, 0x95, 0xc4, 0x97, 0x54, 0x16, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06,
|
||||
0x71, 0x43, 0xc5, 0x42, 0x2a, 0x0b, 0x52, 0x85, 0x84, 0xb8, 0x58, 0x52, 0x12, 0x4b, 0x12, 0x25,
|
||||
0x98, 0x14, 0x18, 0x35, 0x78, 0x82, 0xc0, 0x6c, 0xa7, 0x54, 0x2e, 0xbe, 0xe4, 0xfc, 0x5c, 0x3d,
|
||||
0x84, 0xa1, 0x4e, 0xbc, 0x30, 0x23, 0x03, 0x40, 0xf6, 0x05, 0x30, 0x46, 0x59, 0x43, 0x25, 0xd3,
|
||||
0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xae, 0xd1,
|
||||
0x87, 0x48, 0x25, 0x16, 0x64, 0x16, 0xa3, 0xb8, 0xd5, 0x1a, 0xc6, 0x58, 0xc4, 0xc4, 0xe2, 0xee,
|
||||
0x18, 0xe0, 0x99, 0xc4, 0x06, 0x56, 0x6e, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x3a, 0xdf,
|
||||
0x30, 0xd9, 0x00, 0x00, 0x00,
|
||||
var fileDescriptor_09ea2ecaa32a0070 = []byte{
|
||||
// 226 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x3f, 0x4f, 0xc3, 0x30,
|
||||
0x10, 0xc5, 0x95, 0xb6, 0x42, 0x70, 0x2d, 0x0c, 0x16, 0x43, 0x60, 0x0a, 0x4c, 0x99, 0x6c, 0x09,
|
||||
0xd8, 0x3a, 0x35, 0x0b, 0xb0, 0x45, 0x11, 0x13, 0x0b, 0x72, 0x9a, 0xc3, 0x44, 0x2a, 0x77, 0xa7,
|
||||
0xe6, 0x10, 0xf8, 0xeb, 0xf0, 0x49, 0x11, 0xf9, 0x23, 0xe8, 0xf6, 0xe4, 0xdf, 0xcf, 0x7e, 0xcf,
|
||||
0x70, 0x11, 0x98, 0xc3, 0x0e, 0x9d, 0x97, 0xd6, 0xbd, 0xa9, 0x4a, 0xcd, 0x4d, 0xb4, 0xb2, 0x67,
|
||||
0x65, 0x03, 0x03, 0xb2, 0x5e, 0xda, 0xcb, 0x49, 0xeb, 0x49, 0xfd, 0xf1, 0xea, 0x3c, 0x8d, 0xda,
|
||||
0xf5, 0x27, 0x1c, 0x3f, 0xa8, 0x4a, 0xc1, 0x4d, 0x34, 0x57, 0xb0, 0xda, 0x32, 0x29, 0x92, 0xbe,
|
||||
0x68, 0x14, 0x4c, 0x93, 0x2c, 0xc9, 0x4f, 0xaa, 0xe5, 0x78, 0xf6, 0x14, 0x05, 0x8d, 0x81, 0x45,
|
||||
0xe3, 0xd5, 0xa7, 0xb3, 0x2c, 0xc9, 0x57, 0x55, 0x9f, 0xcd, 0x1d, 0x00, 0x7e, 0x29, 0x52, 0xd7,
|
||||
0x32, 0x75, 0xe9, 0x3c, 0x9b, 0xe7, 0xcb, 0x9b, 0x73, 0x3b, 0xd6, 0x4f, 0x95, 0x76, 0x43, 0xb1,
|
||||
0xfa, 0xe7, 0x15, 0x08, 0x67, 0x5b, 0x7e, 0xb7, 0x7f, 0x2b, 0x8b, 0xd3, 0x69, 0x48, 0xf9, 0x7b,
|
||||
0xa7, 0x4c, 0x9e, 0xd7, 0x23, 0x0c, 0xbc, 0xf3, 0x14, 0x2c, 0xef, 0x83, 0x0b, 0x48, 0xfd, 0x8b,
|
||||
0x6e, 0x40, 0x5e, 0xda, 0xee, 0xe0, 0xf3, 0xeb, 0x29, 0x7c, 0xcf, 0x16, 0xf7, 0x9b, 0xf2, 0xb1,
|
||||
0x3e, 0xea, 0xf5, 0xdb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x11, 0x70, 0x02, 0x2a, 0x01,
|
||||
0x00, 0x00,
|
||||
}
|
||||
|
||||
66
vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go
generated
vendored
66
vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go
generated
vendored
@@ -1,20 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/label.proto
|
||||
|
||||
/*
|
||||
Package label is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/label.proto
|
||||
|
||||
It has these top-level messages:
|
||||
LabelDescriptor
|
||||
*/
|
||||
package label
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -44,6 +37,7 @@ var LabelDescriptor_ValueType_name = map[int32]string{
|
||||
1: "BOOL",
|
||||
2: "INT64",
|
||||
}
|
||||
|
||||
var LabelDescriptor_ValueType_value = map[string]int32{
|
||||
"STRING": 0,
|
||||
"BOOL": 1,
|
||||
@@ -53,22 +47,48 @@ var LabelDescriptor_ValueType_value = map[string]int32{
|
||||
func (x LabelDescriptor_ValueType) String() string {
|
||||
return proto.EnumName(LabelDescriptor_ValueType_name, int32(x))
|
||||
}
|
||||
func (LabelDescriptor_ValueType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
||||
|
||||
func (LabelDescriptor_ValueType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f372a463e25ba151, []int{0, 0}
|
||||
}
|
||||
|
||||
// A description of a label.
|
||||
type LabelDescriptor struct {
|
||||
// The label key.
|
||||
Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
// The type of data that can be assigned to the label.
|
||||
ValueType LabelDescriptor_ValueType `protobuf:"varint,2,opt,name=value_type,json=valueType,enum=google.api.LabelDescriptor_ValueType" json:"value_type,omitempty"`
|
||||
ValueType LabelDescriptor_ValueType `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=google.api.LabelDescriptor_ValueType" json:"value_type,omitempty"`
|
||||
// A human-readable description for the label.
|
||||
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 *LabelDescriptor) Reset() { *m = LabelDescriptor{} }
|
||||
func (m *LabelDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*LabelDescriptor) ProtoMessage() {}
|
||||
func (*LabelDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *LabelDescriptor) Reset() { *m = LabelDescriptor{} }
|
||||
func (m *LabelDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*LabelDescriptor) ProtoMessage() {}
|
||||
func (*LabelDescriptor) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f372a463e25ba151, []int{0}
|
||||
}
|
||||
|
||||
func (m *LabelDescriptor) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_LabelDescriptor.Unmarshal(m, b)
|
||||
}
|
||||
func (m *LabelDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_LabelDescriptor.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *LabelDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LabelDescriptor.Merge(m, src)
|
||||
}
|
||||
func (m *LabelDescriptor) XXX_Size() int {
|
||||
return xxx_messageInfo_LabelDescriptor.Size(m)
|
||||
}
|
||||
func (m *LabelDescriptor) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_LabelDescriptor.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_LabelDescriptor proto.InternalMessageInfo
|
||||
|
||||
func (m *LabelDescriptor) GetKey() string {
|
||||
if m != nil {
|
||||
@@ -92,13 +112,13 @@ func (m *LabelDescriptor) GetDescription() string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*LabelDescriptor)(nil), "google.api.LabelDescriptor")
|
||||
proto.RegisterEnum("google.api.LabelDescriptor_ValueType", LabelDescriptor_ValueType_name, LabelDescriptor_ValueType_value)
|
||||
proto.RegisterType((*LabelDescriptor)(nil), "google.api.LabelDescriptor")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor_f372a463e25ba151) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_f372a463e25ba151 = []byte{
|
||||
// 252 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0xcf, 0xcf, 0x4f,
|
||||
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0xcf, 0x49, 0x4c, 0x4a, 0xcd, 0xd1, 0x2b, 0x28, 0xca,
|
||||
|
||||
112
vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go
generated
vendored
Normal file
112
vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go
generated
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/launch_stage.proto
|
||||
|
||||
package api
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// The launch stage as defined by [Google Cloud Platform
|
||||
// Launch Stages](http://cloud.google.com/terms/launch-stages).
|
||||
type LaunchStage int32
|
||||
|
||||
const (
|
||||
// Do not use this default value.
|
||||
LaunchStage_LAUNCH_STAGE_UNSPECIFIED LaunchStage = 0
|
||||
// Early Access features are limited to a closed group of testers. To use
|
||||
// these features, you must sign up in advance and sign a Trusted Tester
|
||||
// agreement (which includes confidentiality provisions). These features may
|
||||
// be unstable, changed in backward-incompatible ways, and are not
|
||||
// guaranteed to be released.
|
||||
LaunchStage_EARLY_ACCESS LaunchStage = 1
|
||||
// Alpha is a limited availability test for releases before they are cleared
|
||||
// for widespread use. By Alpha, all significant design issues are resolved
|
||||
// and we are in the process of verifying functionality. Alpha customers
|
||||
// need to apply for access, agree to applicable terms, and have their
|
||||
// projects whitelisted. Alpha releases don’t have to be feature complete,
|
||||
// no SLAs are provided, and there are no technical support obligations, but
|
||||
// they will be far enough along that customers can actually use them in
|
||||
// test environments or for limited-use tests -- just like they would in
|
||||
// normal production cases.
|
||||
LaunchStage_ALPHA LaunchStage = 2
|
||||
// Beta is the point at which we are ready to open a release for any
|
||||
// customer to use. There are no SLA or technical support obligations in a
|
||||
// Beta release. Products will be complete from a feature perspective, but
|
||||
// may have some open outstanding issues. Beta releases are suitable for
|
||||
// limited production use cases.
|
||||
LaunchStage_BETA LaunchStage = 3
|
||||
// GA features are open to all developers and are considered stable and
|
||||
// fully qualified for production use.
|
||||
LaunchStage_GA LaunchStage = 4
|
||||
// Deprecated features are scheduled to be shut down and removed. For more
|
||||
// information, see the “Deprecation Policy” section of our [Terms of
|
||||
// Service](https://cloud.google.com/terms/)
|
||||
// and the [Google Cloud Platform Subject to the Deprecation
|
||||
// Policy](https://cloud.google.com/terms/deprecation) documentation.
|
||||
LaunchStage_DEPRECATED LaunchStage = 5
|
||||
)
|
||||
|
||||
var LaunchStage_name = map[int32]string{
|
||||
0: "LAUNCH_STAGE_UNSPECIFIED",
|
||||
1: "EARLY_ACCESS",
|
||||
2: "ALPHA",
|
||||
3: "BETA",
|
||||
4: "GA",
|
||||
5: "DEPRECATED",
|
||||
}
|
||||
|
||||
var LaunchStage_value = map[string]int32{
|
||||
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
||||
"EARLY_ACCESS": 1,
|
||||
"ALPHA": 2,
|
||||
"BETA": 3,
|
||||
"GA": 4,
|
||||
"DEPRECATED": 5,
|
||||
}
|
||||
|
||||
func (x LaunchStage) String() string {
|
||||
return proto.EnumName(LaunchStage_name, int32(x))
|
||||
}
|
||||
|
||||
func (LaunchStage) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6b5f68b6c1cefff8, []int{0}
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.api.LaunchStage", LaunchStage_name, LaunchStage_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/launch_stage.proto", fileDescriptor_6b5f68b6c1cefff8) }
|
||||
|
||||
var fileDescriptor_6b5f68b6c1cefff8 = []byte{
|
||||
// 225 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8f, 0xc1, 0x4a, 0xc3, 0x40,
|
||||
0x14, 0x45, 0x6d, 0x4c, 0x8b, 0x3e, 0xa5, 0x3c, 0x66, 0xe5, 0x42, 0x7f, 0x40, 0x30, 0x59, 0xb8,
|
||||
0x74, 0xf5, 0x32, 0x79, 0xa6, 0x81, 0x50, 0x86, 0x4e, 0xba, 0xb0, 0x9b, 0x30, 0x96, 0x30, 0x8e,
|
||||
0xc4, 0xcc, 0xd0, 0xd6, 0x1f, 0xf2, 0x4b, 0x25, 0x89, 0x60, 0xd7, 0xe7, 0xc0, 0x3d, 0x17, 0x1e,
|
||||
0xac, 0xf7, 0xb6, 0x6b, 0x53, 0x13, 0x5c, 0xda, 0x99, 0xef, 0x7e, 0xff, 0xd1, 0x1c, 0x4f, 0xc6,
|
||||
0xb6, 0x49, 0x38, 0xf8, 0x93, 0x17, 0x30, 0xe1, 0xc4, 0x04, 0xf7, 0xf8, 0x09, 0x37, 0xd5, 0x68,
|
||||
0xe8, 0x41, 0x10, 0xf7, 0x70, 0x57, 0xd1, 0x76, 0x2d, 0x57, 0x8d, 0xae, 0xa9, 0xe0, 0x66, 0xbb,
|
||||
0xd6, 0x8a, 0x65, 0xf9, 0x5a, 0x72, 0x8e, 0x17, 0x02, 0xe1, 0x96, 0x69, 0x53, 0xbd, 0x35, 0x24,
|
||||
0x25, 0x6b, 0x8d, 0x33, 0x71, 0x0d, 0x73, 0xaa, 0xd4, 0x8a, 0x30, 0x12, 0x57, 0x10, 0x67, 0x5c,
|
||||
0x13, 0x5e, 0x8a, 0x05, 0x44, 0x05, 0x61, 0x2c, 0x96, 0x00, 0x39, 0xab, 0x0d, 0x4b, 0xaa, 0x39,
|
||||
0xc7, 0x79, 0xb6, 0x83, 0xe5, 0xde, 0x7f, 0x25, 0xff, 0xeb, 0x19, 0x9e, 0x6d, 0xab, 0xa1, 0x4d,
|
||||
0xcd, 0x76, 0x4f, 0x7f, 0xdc, 0xfa, 0xce, 0xf4, 0x36, 0xf1, 0x07, 0x9b, 0xda, 0xb6, 0x1f, 0xcb,
|
||||
0xd3, 0x09, 0x99, 0xe0, 0x8e, 0xc3, 0xb7, 0x17, 0x13, 0xdc, 0x4f, 0x14, 0x17, 0xa4, 0xca, 0xf7,
|
||||
0xc5, 0x28, 0x3c, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xd5, 0x39, 0x1a, 0xfb, 0x00, 0x00,
|
||||
0x00,
|
||||
}
|
||||
151
vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go
generated
vendored
151
vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go
generated
vendored
@@ -1,22 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/metric.proto
|
||||
|
||||
/*
|
||||
Package metric is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/metric.proto
|
||||
|
||||
It has these top-level messages:
|
||||
MetricDescriptor
|
||||
Metric
|
||||
*/
|
||||
package metric
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_api "google.golang.org/genproto/googleapis/api/label"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
label "google.golang.org/genproto/googleapis/api/label"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -53,6 +45,7 @@ var MetricDescriptor_MetricKind_name = map[int32]string{
|
||||
2: "DELTA",
|
||||
3: "CUMULATIVE",
|
||||
}
|
||||
|
||||
var MetricDescriptor_MetricKind_value = map[string]int32{
|
||||
"METRIC_KIND_UNSPECIFIED": 0,
|
||||
"GAUGE": 1,
|
||||
@@ -63,8 +56,9 @@ var MetricDescriptor_MetricKind_value = map[string]int32{
|
||||
func (x MetricDescriptor_MetricKind) String() string {
|
||||
return proto.EnumName(MetricDescriptor_MetricKind_name, int32(x))
|
||||
}
|
||||
|
||||
func (MetricDescriptor_MetricKind) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 0}
|
||||
return fileDescriptor_927eaac1a24f8abb, []int{0, 0}
|
||||
}
|
||||
|
||||
// The value type of a metric.
|
||||
@@ -98,36 +92,31 @@ var MetricDescriptor_ValueType_name = map[int32]string{
|
||||
5: "DISTRIBUTION",
|
||||
6: "MONEY",
|
||||
}
|
||||
|
||||
var MetricDescriptor_ValueType_value = map[string]int32{
|
||||
"VALUE_TYPE_UNSPECIFIED": 0,
|
||||
"BOOL": 1,
|
||||
"INT64": 2,
|
||||
"DOUBLE": 3,
|
||||
"STRING": 4,
|
||||
"DISTRIBUTION": 5,
|
||||
"MONEY": 6,
|
||||
"BOOL": 1,
|
||||
"INT64": 2,
|
||||
"DOUBLE": 3,
|
||||
"STRING": 4,
|
||||
"DISTRIBUTION": 5,
|
||||
"MONEY": 6,
|
||||
}
|
||||
|
||||
func (x MetricDescriptor_ValueType) String() string {
|
||||
return proto.EnumName(MetricDescriptor_ValueType_name, int32(x))
|
||||
}
|
||||
|
||||
func (MetricDescriptor_ValueType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 1}
|
||||
return fileDescriptor_927eaac1a24f8abb, []int{0, 1}
|
||||
}
|
||||
|
||||
// Defines a metric type and its schema. Once a metric descriptor is created,
|
||||
// deleting or altering it stops data collection and makes the metric type's
|
||||
// existing data unusable.
|
||||
type MetricDescriptor struct {
|
||||
// The resource name of the metric descriptor. Depending on the
|
||||
// implementation, the name typically includes: (1) the parent resource name
|
||||
// that defines the scope of the metric type or of its data; and (2) the
|
||||
// metric's URL-encoded type, which also appears in the `type` field of this
|
||||
// descriptor. For example, following is the resource name of a custom
|
||||
// metric within the GCP project `my-project-id`:
|
||||
//
|
||||
// "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount"
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// The resource name of the metric descriptor.
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The metric type, including its DNS name prefix. The type is not
|
||||
// URL-encoded. All user-defined custom metric types have the DNS name
|
||||
// `custom.googleapis.com`. Metric types should use a natural hierarchical
|
||||
@@ -135,20 +124,20 @@ type MetricDescriptor struct {
|
||||
//
|
||||
// "custom.googleapis.com/invoice/paid/amount"
|
||||
// "appengine.googleapis.com/http/server/response_latencies"
|
||||
Type string `protobuf:"bytes,8,opt,name=type" json:"type,omitempty"`
|
||||
Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The set of labels that can be used to describe a specific
|
||||
// instance of this metric type. For example, the
|
||||
// `appengine.googleapis.com/http/server/response_latencies` metric
|
||||
// type has a label for the HTTP response code, `response_code`, so
|
||||
// you can look at latencies for successful responses or just
|
||||
// for responses that failed.
|
||||
Labels []*google_api.LabelDescriptor `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty"`
|
||||
Labels []*label.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
|
||||
// Whether the metric records instantaneous values, changes to a value, etc.
|
||||
// Some combinations of `metric_kind` and `value_type` might not be supported.
|
||||
MetricKind MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"`
|
||||
MetricKind MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"`
|
||||
// Whether the measurement is an integer, a floating-point number, etc.
|
||||
// Some combinations of `metric_kind` and `value_type` might not be supported.
|
||||
ValueType MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"`
|
||||
ValueType MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"`
|
||||
// The unit in which the metric value is reported. It is only applicable
|
||||
// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The
|
||||
// supported units are a subset of [The Unified Code for Units of
|
||||
@@ -188,8 +177,6 @@ type MetricDescriptor struct {
|
||||
//
|
||||
// **Grammar**
|
||||
//
|
||||
// The grammar includes the dimensionless unit `1`, such as `1/s`.
|
||||
//
|
||||
// The grammar also includes these connectors:
|
||||
//
|
||||
// * `/` division (as an infix operator, e.g. `1/s`).
|
||||
@@ -199,7 +186,7 @@ type MetricDescriptor struct {
|
||||
//
|
||||
// Expression = Component { "." Component } { "/" Component } ;
|
||||
//
|
||||
// Component = [ PREFIX ] UNIT [ Annotation ]
|
||||
// Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
||||
// | Annotation
|
||||
// | "1"
|
||||
// ;
|
||||
@@ -213,18 +200,46 @@ type MetricDescriptor struct {
|
||||
// `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.
|
||||
// * `NAME` is a sequence of non-blank printable ASCII characters not
|
||||
// containing '{' or '}'.
|
||||
Unit string `protobuf:"bytes,5,opt,name=unit" json:"unit,omitempty"`
|
||||
// * `1` represents dimensionless value 1, such as in `1/s`.
|
||||
// * `%` represents dimensionless value 1/100, and annotates values giving
|
||||
// a percentage.
|
||||
Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
|
||||
// A detailed description of the metric, which can be used in documentation.
|
||||
Description string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// A concise name for the metric, which can be displayed in user interfaces.
|
||||
// Use sentence case without an ending period, for example "Request count".
|
||||
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
|
||||
// This field is optional but it is recommended to be set for any metrics
|
||||
// associated with user-visible concepts, such as Quota.
|
||||
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) Reset() { *m = MetricDescriptor{} }
|
||||
func (m *MetricDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricDescriptor) ProtoMessage() {}
|
||||
func (*MetricDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *MetricDescriptor) Reset() { *m = MetricDescriptor{} }
|
||||
func (m *MetricDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricDescriptor) ProtoMessage() {}
|
||||
func (*MetricDescriptor) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_927eaac1a24f8abb, []int{0}
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MetricDescriptor.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MetricDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MetricDescriptor.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MetricDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricDescriptor.Merge(m, src)
|
||||
}
|
||||
func (m *MetricDescriptor) XXX_Size() int {
|
||||
return xxx_messageInfo_MetricDescriptor.Size(m)
|
||||
}
|
||||
func (m *MetricDescriptor) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MetricDescriptor.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MetricDescriptor proto.InternalMessageInfo
|
||||
|
||||
func (m *MetricDescriptor) GetName() string {
|
||||
if m != nil {
|
||||
@@ -240,7 +255,7 @@ func (m *MetricDescriptor) GetType() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetLabels() []*google_api.LabelDescriptor {
|
||||
func (m *MetricDescriptor) GetLabels() []*label.LabelDescriptor {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
@@ -287,16 +302,39 @@ func (m *MetricDescriptor) GetDisplayName() string {
|
||||
type Metric struct {
|
||||
// An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
|
||||
// For example, `custom.googleapis.com/invoice/paid/amount`.
|
||||
Type string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
|
||||
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The set of label values that uniquely identify this metric. All
|
||||
// labels listed in the `MetricDescriptor` must be assigned values.
|
||||
Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Metric) Reset() { *m = Metric{} }
|
||||
func (m *Metric) String() string { return proto.CompactTextString(m) }
|
||||
func (*Metric) ProtoMessage() {}
|
||||
func (*Metric) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *Metric) Reset() { *m = Metric{} }
|
||||
func (m *Metric) String() string { return proto.CompactTextString(m) }
|
||||
func (*Metric) ProtoMessage() {}
|
||||
func (*Metric) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_927eaac1a24f8abb, []int{1}
|
||||
}
|
||||
|
||||
func (m *Metric) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Metric.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Metric.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Metric) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Metric.Merge(m, src)
|
||||
}
|
||||
func (m *Metric) XXX_Size() int {
|
||||
return xxx_messageInfo_Metric.Size(m)
|
||||
}
|
||||
func (m *Metric) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Metric.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Metric proto.InternalMessageInfo
|
||||
|
||||
func (m *Metric) GetType() string {
|
||||
if m != nil {
|
||||
@@ -313,15 +351,16 @@ func (m *Metric) GetLabels() map[string]string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*MetricDescriptor)(nil), "google.api.MetricDescriptor")
|
||||
proto.RegisterType((*Metric)(nil), "google.api.Metric")
|
||||
proto.RegisterEnum("google.api.MetricDescriptor_MetricKind", MetricDescriptor_MetricKind_name, MetricDescriptor_MetricKind_value)
|
||||
proto.RegisterEnum("google.api.MetricDescriptor_ValueType", MetricDescriptor_ValueType_name, MetricDescriptor_ValueType_value)
|
||||
proto.RegisterType((*MetricDescriptor)(nil), "google.api.MetricDescriptor")
|
||||
proto.RegisterType((*Metric)(nil), "google.api.Metric")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.Metric.LabelsEntry")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/metric.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/metric.proto", fileDescriptor_927eaac1a24f8abb) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_927eaac1a24f8abb = []byte{
|
||||
// 506 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x4d, 0x6f, 0xda, 0x40,
|
||||
0x10, 0xad, 0x3f, 0x70, 0xc3, 0x10, 0xa1, 0xd5, 0xaa, 0x4a, 0x2c, 0x22, 0x55, 0x94, 0x43, 0xcb,
|
||||
|
||||
230
vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go
generated
vendored
230
vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go
generated
vendored
@@ -1,22 +1,15 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/monitored_resource.proto
|
||||
|
||||
/*
|
||||
Package monitoredres is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/monitored_resource.proto
|
||||
|
||||
It has these top-level messages:
|
||||
MonitoredResourceDescriptor
|
||||
MonitoredResource
|
||||
*/
|
||||
package monitoredres
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_api "google.golang.org/genproto/googleapis/api/label"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
label "google.golang.org/genproto/googleapis/api/label"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -45,29 +38,52 @@ type MonitoredResourceDescriptor struct {
|
||||
// {project_id} is a project ID that provides API-specific context for
|
||||
// accessing the type. APIs that do not use project information can use the
|
||||
// resource name format `"monitoredResourceDescriptors/{type}"`.
|
||||
Name string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Required. The monitored resource type. For example, the type
|
||||
// `"cloudsql_database"` represents databases in Google Cloud SQL.
|
||||
// The maximum length of this value is 256 characters.
|
||||
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// Optional. A concise name for the monitored resource type that might be
|
||||
// displayed in user interfaces. It should be a Title Cased Noun Phrase,
|
||||
// without any article or other determiners. For example,
|
||||
// `"Google Cloud SQL Database"`.
|
||||
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
|
||||
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
// Optional. A detailed description of the monitored resource type that might
|
||||
// be used in documentation.
|
||||
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// Required. A set of labels used to describe instances of this monitored
|
||||
// resource type. For example, an individual Google Cloud SQL database is
|
||||
// identified by values for the labels `"database_id"` and `"zone"`.
|
||||
Labels []*google_api.LabelDescriptor `protobuf:"bytes,4,rep,name=labels" json:"labels,omitempty"`
|
||||
Labels []*label.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceDescriptor) Reset() { *m = MonitoredResourceDescriptor{} }
|
||||
func (m *MonitoredResourceDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*MonitoredResourceDescriptor) ProtoMessage() {}
|
||||
func (*MonitoredResourceDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *MonitoredResourceDescriptor) Reset() { *m = MonitoredResourceDescriptor{} }
|
||||
func (m *MonitoredResourceDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*MonitoredResourceDescriptor) ProtoMessage() {}
|
||||
func (*MonitoredResourceDescriptor) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6cd8bd738b08f2bf, []int{0}
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceDescriptor) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MonitoredResourceDescriptor.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MonitoredResourceDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MonitoredResourceDescriptor.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MonitoredResourceDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MonitoredResourceDescriptor.Merge(m, src)
|
||||
}
|
||||
func (m *MonitoredResourceDescriptor) XXX_Size() int {
|
||||
return xxx_messageInfo_MonitoredResourceDescriptor.Size(m)
|
||||
}
|
||||
func (m *MonitoredResourceDescriptor) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MonitoredResourceDescriptor.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MonitoredResourceDescriptor proto.InternalMessageInfo
|
||||
|
||||
func (m *MonitoredResourceDescriptor) GetName() string {
|
||||
if m != nil {
|
||||
@@ -97,7 +113,7 @@ func (m *MonitoredResourceDescriptor) GetDescription() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceDescriptor) GetLabels() []*google_api.LabelDescriptor {
|
||||
func (m *MonitoredResourceDescriptor) GetLabels() []*label.LabelDescriptor {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
@@ -120,18 +136,41 @@ func (m *MonitoredResourceDescriptor) GetLabels() []*google_api.LabelDescriptor
|
||||
type MonitoredResource struct {
|
||||
// Required. The monitored resource type. This field must match
|
||||
// the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
|
||||
// example, the type of a Cloud SQL database is `"cloudsql_database"`.
|
||||
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
|
||||
// example, the type of a Compute Engine VM instance is `gce_instance`.
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// Required. Values for all of the labels listed in the associated monitored
|
||||
// resource descriptor. For example, Cloud SQL databases use the labels
|
||||
// `"database_id"` and `"zone"`.
|
||||
Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// resource descriptor. For example, Compute Engine VM instances use the
|
||||
// labels `"project_id"`, `"instance_id"`, and `"zone"`.
|
||||
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MonitoredResource) Reset() { *m = MonitoredResource{} }
|
||||
func (m *MonitoredResource) String() string { return proto.CompactTextString(m) }
|
||||
func (*MonitoredResource) ProtoMessage() {}
|
||||
func (*MonitoredResource) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *MonitoredResource) Reset() { *m = MonitoredResource{} }
|
||||
func (m *MonitoredResource) String() string { return proto.CompactTextString(m) }
|
||||
func (*MonitoredResource) ProtoMessage() {}
|
||||
func (*MonitoredResource) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6cd8bd738b08f2bf, []int{1}
|
||||
}
|
||||
|
||||
func (m *MonitoredResource) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MonitoredResource.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MonitoredResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MonitoredResource.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MonitoredResource) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MonitoredResource.Merge(m, src)
|
||||
}
|
||||
func (m *MonitoredResource) XXX_Size() int {
|
||||
return xxx_messageInfo_MonitoredResource.Size(m)
|
||||
}
|
||||
func (m *MonitoredResource) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MonitoredResource.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MonitoredResource proto.InternalMessageInfo
|
||||
|
||||
func (m *MonitoredResource) GetType() string {
|
||||
if m != nil {
|
||||
@@ -147,34 +186,109 @@ func (m *MonitoredResource) GetLabels() map[string]string {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
|
||||
// [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
|
||||
// uniquely identify a monitored resource instance. There is some other useful
|
||||
// auxiliary metadata. Google Stackdriver Monitoring & Logging uses an ingestion
|
||||
// pipeline to extract metadata for cloud resources of all types , and stores
|
||||
// the metadata in this message.
|
||||
type MonitoredResourceMetadata struct {
|
||||
// Output only. Values for predefined system metadata labels.
|
||||
// System labels are a kind of metadata extracted by Google Stackdriver.
|
||||
// Stackdriver determines what system labels are useful and how to obtain
|
||||
// their values. Some examples: "machine_image", "vpc", "subnet_id",
|
||||
// "security_group", "name", etc.
|
||||
// System label values can be only strings, Boolean values, or a list of
|
||||
// strings. For example:
|
||||
//
|
||||
// { "name": "my-test-instance",
|
||||
// "security_group": ["a", "b", "c"],
|
||||
// "spot_instance": false }
|
||||
SystemLabels *_struct.Struct `protobuf:"bytes,1,opt,name=system_labels,json=systemLabels,proto3" json:"system_labels,omitempty"`
|
||||
// Output only. A map of user-defined metadata labels.
|
||||
UserLabels map[string]string `protobuf:"bytes,2,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceMetadata) Reset() { *m = MonitoredResourceMetadata{} }
|
||||
func (m *MonitoredResourceMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*MonitoredResourceMetadata) ProtoMessage() {}
|
||||
func (*MonitoredResourceMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6cd8bd738b08f2bf, []int{2}
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MonitoredResourceMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MonitoredResourceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MonitoredResourceMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MonitoredResourceMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MonitoredResourceMetadata.Merge(m, src)
|
||||
}
|
||||
func (m *MonitoredResourceMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_MonitoredResourceMetadata.Size(m)
|
||||
}
|
||||
func (m *MonitoredResourceMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MonitoredResourceMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MonitoredResourceMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *MonitoredResourceMetadata) GetSystemLabels() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.SystemLabels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceMetadata) GetUserLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.UserLabels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*MonitoredResourceDescriptor)(nil), "google.api.MonitoredResourceDescriptor")
|
||||
proto.RegisterType((*MonitoredResource)(nil), "google.api.MonitoredResource")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.MonitoredResource.LabelsEntry")
|
||||
proto.RegisterType((*MonitoredResourceMetadata)(nil), "google.api.MonitoredResourceMetadata")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.MonitoredResourceMetadata.UserLabelsEntry")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/monitored_resource.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 321 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0x4b, 0x4b, 0x3b, 0x31,
|
||||
0x10, 0x27, 0xdb, 0x07, 0xfc, 0x67, 0xff, 0x88, 0x06, 0x29, 0x4b, 0x7b, 0xa9, 0xf5, 0x52, 0x2f,
|
||||
0xbb, 0x60, 0x2f, 0x3e, 0x4e, 0xad, 0x8a, 0x08, 0x2a, 0xa5, 0x47, 0x2f, 0x25, 0x6d, 0xc3, 0x12,
|
||||
0xdc, 0x66, 0x42, 0xb2, 0x15, 0xf6, 0xeb, 0x08, 0x7e, 0x0e, 0xbf, 0x96, 0x47, 0xc9, 0xa3, 0x76,
|
||||
0xa5, 0xde, 0x26, 0xbf, 0xf9, 0x3d, 0x66, 0x32, 0x70, 0x9a, 0x23, 0xe6, 0x05, 0xcf, 0x98, 0x12,
|
||||
0xd9, 0x1a, 0xa5, 0x28, 0x51, 0xf3, 0xd5, 0x5c, 0x73, 0x83, 0x1b, 0xbd, 0xe4, 0xa9, 0xd2, 0x58,
|
||||
0x22, 0x05, 0x4f, 0x4a, 0x99, 0x12, 0xdd, 0x4e, 0x4d, 0x50, 0xb0, 0x05, 0x2f, 0x3c, 0x67, 0xf0,
|
||||
0x49, 0xa0, 0xf7, 0xb4, 0x35, 0x98, 0x05, 0xfd, 0x2d, 0x37, 0x4b, 0x2d, 0x54, 0x89, 0x9a, 0x52,
|
||||
0x68, 0x4a, 0xb6, 0xe6, 0x49, 0xab, 0x4f, 0x86, 0xff, 0x66, 0xae, 0xb6, 0x58, 0x59, 0x29, 0x9e,
|
||||
0x10, 0x8f, 0xd9, 0x9a, 0x9e, 0xc0, 0xff, 0x95, 0x30, 0xaa, 0x60, 0xd5, 0xdc, 0xf1, 0x23, 0xd7,
|
||||
0x8b, 0x03, 0xf6, 0x6c, 0x65, 0x7d, 0x88, 0x57, 0xc1, 0x58, 0xa0, 0x4c, 0x1a, 0x81, 0xb1, 0x83,
|
||||
0xe8, 0x08, 0xda, 0x6e, 0x36, 0x93, 0x34, 0xfb, 0x8d, 0x61, 0x7c, 0xde, 0x4b, 0x77, 0x1b, 0xa4,
|
||||
0x8f, 0xb6, 0xb3, 0x9b, 0x6c, 0x16, 0xa8, 0x83, 0x0f, 0x02, 0x47, 0x7b, 0x1b, 0xfc, 0x39, 0xe3,
|
||||
0xf8, 0xc7, 0x3e, 0x72, 0xf6, 0x67, 0x75, 0xfb, 0x3d, 0x0b, 0x1f, 0x68, 0xee, 0x64, 0xa9, 0xab,
|
||||
0x6d, 0x58, 0xf7, 0x12, 0xe2, 0x1a, 0x4c, 0x0f, 0xa1, 0xf1, 0xca, 0xab, 0x10, 0x62, 0x4b, 0x7a,
|
||||
0x0c, 0xad, 0x37, 0x56, 0x6c, 0xb6, 0x1f, 0xe0, 0x1f, 0x57, 0xd1, 0x05, 0x99, 0x54, 0x70, 0xb0,
|
||||
0xc4, 0x75, 0x2d, 0x72, 0xd2, 0xd9, 0xcb, 0x9c, 0xda, 0x9b, 0x4c, 0xc9, 0xcb, 0x4d, 0x60, 0xe5,
|
||||
0x58, 0x30, 0x99, 0xa7, 0xa8, 0xf3, 0x2c, 0xe7, 0xd2, 0x5d, 0x2c, 0xf3, 0x2d, 0xa6, 0x84, 0xf9,
|
||||
0x7d, 0x7d, 0xcd, 0xcd, 0x75, 0xfd, 0xf1, 0x45, 0xc8, 0x7b, 0xd4, 0xbc, 0x1f, 0x4f, 0x1f, 0x16,
|
||||
0x6d, 0xa7, 0x1c, 0x7d, 0x07, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xfb, 0xfb, 0x11, 0x36, 0x02, 0x00,
|
||||
0x00,
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/monitored_resource.proto", fileDescriptor_6cd8bd738b08f2bf)
|
||||
}
|
||||
|
||||
var fileDescriptor_6cd8bd738b08f2bf = []byte{
|
||||
// 415 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4d, 0xab, 0xd3, 0x40,
|
||||
0x14, 0x65, 0xd2, 0x0f, 0xf0, 0xa6, 0x7e, 0x0d, 0x52, 0x63, 0xea, 0xa2, 0xd6, 0x4d, 0xdd, 0x24,
|
||||
0xd0, 0x22, 0xf8, 0xb9, 0x68, 0x55, 0x44, 0xb0, 0x52, 0x22, 0xba, 0x70, 0x13, 0xa6, 0xc9, 0x18,
|
||||
0x82, 0x49, 0x26, 0xcc, 0x4c, 0x84, 0xfc, 0x1d, 0xc1, 0xdf, 0xe1, 0x5f, 0x72, 0xe9, 0x52, 0x32,
|
||||
0x33, 0x69, 0xd3, 0x97, 0xc7, 0x83, 0xb7, 0xbb, 0xf7, 0xdc, 0x73, 0xcf, 0x3d, 0x27, 0x43, 0xe0,
|
||||
0x71, 0xc2, 0x58, 0x92, 0x51, 0x9f, 0x94, 0xa9, 0x9f, 0xb3, 0x22, 0x95, 0x8c, 0xd3, 0x38, 0xe4,
|
||||
0x54, 0xb0, 0x8a, 0x47, 0xd4, 0x2b, 0x39, 0x93, 0x0c, 0x83, 0x26, 0x79, 0xa4, 0x4c, 0xdd, 0x69,
|
||||
0x67, 0x21, 0x23, 0x07, 0x9a, 0x69, 0x8e, 0xfb, 0xd0, 0xe0, 0xaa, 0x3b, 0x54, 0xdf, 0x7d, 0x21,
|
||||
0x79, 0x15, 0x49, 0x3d, 0x5d, 0xfc, 0x41, 0x30, 0xdb, 0xb5, 0xf2, 0x81, 0x51, 0x7f, 0x4b, 0x45,
|
||||
0xc4, 0xd3, 0x52, 0x32, 0x8e, 0x31, 0x0c, 0x0b, 0x92, 0x53, 0x67, 0x34, 0x47, 0xcb, 0x1b, 0x81,
|
||||
0xaa, 0x1b, 0x4c, 0xd6, 0x25, 0x75, 0x90, 0xc6, 0x9a, 0x1a, 0x3f, 0x82, 0x49, 0x9c, 0x8a, 0x32,
|
||||
0x23, 0x75, 0xa8, 0xf8, 0x96, 0x9a, 0xd9, 0x06, 0xfb, 0xd4, 0xac, 0xcd, 0xc1, 0x8e, 0x8d, 0x70,
|
||||
0xca, 0x0a, 0x67, 0x60, 0x18, 0x27, 0x08, 0xaf, 0x61, 0xac, 0x9c, 0x0b, 0x67, 0x38, 0x1f, 0x2c,
|
||||
0xed, 0xd5, 0xcc, 0x3b, 0xe5, 0xf3, 0x3e, 0x36, 0x93, 0x93, 0xb3, 0xc0, 0x50, 0x17, 0xbf, 0x11,
|
||||
0xdc, 0xed, 0x25, 0xb8, 0xd4, 0xe3, 0xe6, 0x28, 0x6f, 0x29, 0xf9, 0x27, 0x5d, 0xf9, 0x9e, 0x84,
|
||||
0x3e, 0x28, 0xde, 0x15, 0x92, 0xd7, 0xed, 0x31, 0xf7, 0x39, 0xd8, 0x1d, 0x18, 0xdf, 0x81, 0xc1,
|
||||
0x0f, 0x5a, 0x9b, 0x23, 0x4d, 0x89, 0xef, 0xc1, 0xe8, 0x27, 0xc9, 0xaa, 0xf6, 0x03, 0xe8, 0xe6,
|
||||
0x85, 0xf5, 0x0c, 0x2d, 0xfe, 0x22, 0x78, 0xd0, 0x3b, 0xb2, 0xa3, 0x92, 0xc4, 0x44, 0x12, 0xfc,
|
||||
0x0a, 0x6e, 0x8a, 0x5a, 0x48, 0x9a, 0x87, 0xc6, 0x62, 0xa3, 0x69, 0xaf, 0xee, 0xb7, 0x16, 0xdb,
|
||||
0xd7, 0xf3, 0x3e, 0xab, 0xd7, 0x0b, 0x26, 0x9a, 0xad, 0xcd, 0xe0, 0xaf, 0x60, 0x57, 0x82, 0xf2,
|
||||
0xf0, 0x2c, 0xde, 0xd3, 0x2b, 0xe3, 0xb5, 0x97, 0xbd, 0x2f, 0x82, 0xf2, 0x6e, 0x54, 0xa8, 0x8e,
|
||||
0x80, 0xfb, 0x1a, 0x6e, 0x5f, 0x18, 0x5f, 0x27, 0xf2, 0xb6, 0x86, 0x5b, 0x11, 0xcb, 0x3b, 0x36,
|
||||
0xb6, 0xd3, 0x9e, 0x8f, 0x7d, 0x13, 0x6c, 0x8f, 0xbe, 0xbd, 0x31, 0xac, 0x84, 0x65, 0xa4, 0x48,
|
||||
0x3c, 0xc6, 0x13, 0x3f, 0xa1, 0x85, 0x8a, 0xed, 0xeb, 0x11, 0x29, 0x53, 0x71, 0xfe, 0x3b, 0x70,
|
||||
0x2a, 0x5e, 0x76, 0x9b, 0x7f, 0x08, 0xfd, 0xb2, 0x86, 0xef, 0x37, 0xfb, 0x0f, 0x87, 0xb1, 0xda,
|
||||
0x5c, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x10, 0x16, 0x7c, 0xe9, 0x47, 0x03, 0x00, 0x00,
|
||||
}
|
||||
|
||||
258
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go
generated
vendored
258
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go
generated
vendored
@@ -1,65 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/auth.proto
|
||||
|
||||
/*
|
||||
Package serviceconfig is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/auth.proto
|
||||
google/api/backend.proto
|
||||
google/api/billing.proto
|
||||
google/api/consumer.proto
|
||||
google/api/context.proto
|
||||
google/api/control.proto
|
||||
google/api/documentation.proto
|
||||
google/api/endpoint.proto
|
||||
google/api/log.proto
|
||||
google/api/logging.proto
|
||||
google/api/monitoring.proto
|
||||
google/api/quota.proto
|
||||
google/api/service.proto
|
||||
google/api/source_info.proto
|
||||
google/api/system_parameter.proto
|
||||
google/api/usage.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Authentication
|
||||
AuthenticationRule
|
||||
AuthProvider
|
||||
OAuthRequirements
|
||||
AuthRequirement
|
||||
Backend
|
||||
BackendRule
|
||||
Billing
|
||||
ProjectProperties
|
||||
Property
|
||||
Context
|
||||
ContextRule
|
||||
Control
|
||||
Documentation
|
||||
DocumentationRule
|
||||
Page
|
||||
Endpoint
|
||||
LogDescriptor
|
||||
Logging
|
||||
Monitoring
|
||||
Quota
|
||||
MetricRule
|
||||
QuotaLimit
|
||||
Service
|
||||
SourceInfo
|
||||
SystemParameters
|
||||
SystemParameterRule
|
||||
SystemParameter
|
||||
Usage
|
||||
UsageRule
|
||||
*/
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -90,15 +39,38 @@ type Authentication struct {
|
||||
// A list of authentication rules that apply to individual API methods.
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*AuthenticationRule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*AuthenticationRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
// Defines a set of authentication providers that a service supports.
|
||||
Providers []*AuthProvider `protobuf:"bytes,4,rep,name=providers" json:"providers,omitempty"`
|
||||
Providers []*AuthProvider `protobuf:"bytes,4,rep,name=providers,proto3" json:"providers,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Authentication) Reset() { *m = Authentication{} }
|
||||
func (m *Authentication) String() string { return proto.CompactTextString(m) }
|
||||
func (*Authentication) ProtoMessage() {}
|
||||
func (*Authentication) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *Authentication) Reset() { *m = Authentication{} }
|
||||
func (m *Authentication) String() string { return proto.CompactTextString(m) }
|
||||
func (*Authentication) ProtoMessage() {}
|
||||
func (*Authentication) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d6570d3c90e2b8ac, []int{0}
|
||||
}
|
||||
|
||||
func (m *Authentication) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Authentication.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Authentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Authentication.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Authentication) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Authentication.Merge(m, src)
|
||||
}
|
||||
func (m *Authentication) XXX_Size() int {
|
||||
return xxx_messageInfo_Authentication.Size(m)
|
||||
}
|
||||
func (m *Authentication) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Authentication.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Authentication proto.InternalMessageInfo
|
||||
|
||||
func (m *Authentication) GetRules() []*AuthenticationRule {
|
||||
if m != nil {
|
||||
@@ -127,25 +99,42 @@ type AuthenticationRule struct {
|
||||
// Selects the methods to which this rule applies.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// The requirements for OAuth credentials.
|
||||
Oauth *OAuthRequirements `protobuf:"bytes,2,opt,name=oauth" json:"oauth,omitempty"`
|
||||
// Whether to allow requests without a credential. The credential can be
|
||||
// an OAuth token, Google cookies (first-party auth) or EndUserCreds.
|
||||
//
|
||||
// For requests without credentials, if the service control environment is
|
||||
// specified, each incoming request **must** be associated with a service
|
||||
// consumer. This can be done by passing an API key that belongs to a consumer
|
||||
// project.
|
||||
AllowWithoutCredential bool `protobuf:"varint,5,opt,name=allow_without_credential,json=allowWithoutCredential" json:"allow_without_credential,omitempty"`
|
||||
Oauth *OAuthRequirements `protobuf:"bytes,2,opt,name=oauth,proto3" json:"oauth,omitempty"`
|
||||
// If true, the service accepts API keys without any other credential.
|
||||
AllowWithoutCredential bool `protobuf:"varint,5,opt,name=allow_without_credential,json=allowWithoutCredential,proto3" json:"allow_without_credential,omitempty"`
|
||||
// Requirements for additional authentication providers.
|
||||
Requirements []*AuthRequirement `protobuf:"bytes,7,rep,name=requirements" json:"requirements,omitempty"`
|
||||
Requirements []*AuthRequirement `protobuf:"bytes,7,rep,name=requirements,proto3" json:"requirements,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuthenticationRule) Reset() { *m = AuthenticationRule{} }
|
||||
func (m *AuthenticationRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthenticationRule) ProtoMessage() {}
|
||||
func (*AuthenticationRule) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *AuthenticationRule) Reset() { *m = AuthenticationRule{} }
|
||||
func (m *AuthenticationRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthenticationRule) ProtoMessage() {}
|
||||
func (*AuthenticationRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d6570d3c90e2b8ac, []int{1}
|
||||
}
|
||||
|
||||
func (m *AuthenticationRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuthenticationRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuthenticationRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuthenticationRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *AuthenticationRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthenticationRule.Merge(m, src)
|
||||
}
|
||||
func (m *AuthenticationRule) XXX_Size() int {
|
||||
return xxx_messageInfo_AuthenticationRule.Size(m)
|
||||
}
|
||||
func (m *AuthenticationRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuthenticationRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuthenticationRule proto.InternalMessageInfo
|
||||
|
||||
func (m *AuthenticationRule) GetSelector() string {
|
||||
if m != nil {
|
||||
@@ -182,14 +171,14 @@ type AuthProvider struct {
|
||||
// `AuthRequirement.provider_id`.
|
||||
//
|
||||
// Example: "bookstore_auth".
|
||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// Identifies the principal that issued the JWT. See
|
||||
// https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
// Usually a URL or an email address.
|
||||
//
|
||||
// Example: https://securetoken.google.com
|
||||
// Example: 1234567-compute@developer.gserviceaccount.com
|
||||
Issuer string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"`
|
||||
Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
|
||||
// URL of the provider's public key set to validate signature of the JWT. See
|
||||
// [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).
|
||||
// Optional if the key set document:
|
||||
@@ -199,7 +188,7 @@ type AuthProvider struct {
|
||||
// - can be inferred from the email domain of the issuer (e.g. a Google service account).
|
||||
//
|
||||
// Example: https://www.googleapis.com/oauth2/v1/certs
|
||||
JwksUri string `protobuf:"bytes,3,opt,name=jwks_uri,json=jwksUri" json:"jwks_uri,omitempty"`
|
||||
JwksUri string `protobuf:"bytes,3,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"`
|
||||
// The list of JWT
|
||||
// [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
|
||||
// that are allowed to access. A JWT containing any of these audiences will
|
||||
@@ -213,16 +202,39 @@ type AuthProvider struct {
|
||||
//
|
||||
// audiences: bookstore_android.apps.googleusercontent.com,
|
||||
// bookstore_web.apps.googleusercontent.com
|
||||
Audiences string `protobuf:"bytes,4,opt,name=audiences" json:"audiences,omitempty"`
|
||||
Audiences string `protobuf:"bytes,4,opt,name=audiences,proto3" json:"audiences,omitempty"`
|
||||
// Redirect URL if JWT token is required but no present or is expired.
|
||||
// Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
AuthorizationUrl string `protobuf:"bytes,5,opt,name=authorization_url,json=authorizationUrl" json:"authorization_url,omitempty"`
|
||||
AuthorizationUrl string `protobuf:"bytes,5,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuthProvider) Reset() { *m = AuthProvider{} }
|
||||
func (m *AuthProvider) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthProvider) ProtoMessage() {}
|
||||
func (*AuthProvider) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *AuthProvider) Reset() { *m = AuthProvider{} }
|
||||
func (m *AuthProvider) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthProvider) ProtoMessage() {}
|
||||
func (*AuthProvider) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d6570d3c90e2b8ac, []int{2}
|
||||
}
|
||||
|
||||
func (m *AuthProvider) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuthProvider.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuthProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuthProvider.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *AuthProvider) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthProvider.Merge(m, src)
|
||||
}
|
||||
func (m *AuthProvider) XXX_Size() int {
|
||||
return xxx_messageInfo_AuthProvider.Size(m)
|
||||
}
|
||||
func (m *AuthProvider) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuthProvider.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuthProvider proto.InternalMessageInfo
|
||||
|
||||
func (m *AuthProvider) GetId() string {
|
||||
if m != nil {
|
||||
@@ -285,13 +297,36 @@ type OAuthRequirements struct {
|
||||
//
|
||||
// canonical_scopes: https://www.googleapis.com/auth/calendar,
|
||||
// https://www.googleapis.com/auth/calendar.read
|
||||
CanonicalScopes string `protobuf:"bytes,1,opt,name=canonical_scopes,json=canonicalScopes" json:"canonical_scopes,omitempty"`
|
||||
CanonicalScopes string `protobuf:"bytes,1,opt,name=canonical_scopes,json=canonicalScopes,proto3" json:"canonical_scopes,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OAuthRequirements) Reset() { *m = OAuthRequirements{} }
|
||||
func (m *OAuthRequirements) String() string { return proto.CompactTextString(m) }
|
||||
func (*OAuthRequirements) ProtoMessage() {}
|
||||
func (*OAuthRequirements) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *OAuthRequirements) Reset() { *m = OAuthRequirements{} }
|
||||
func (m *OAuthRequirements) String() string { return proto.CompactTextString(m) }
|
||||
func (*OAuthRequirements) ProtoMessage() {}
|
||||
func (*OAuthRequirements) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d6570d3c90e2b8ac, []int{3}
|
||||
}
|
||||
|
||||
func (m *OAuthRequirements) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OAuthRequirements.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OAuthRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OAuthRequirements.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *OAuthRequirements) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OAuthRequirements.Merge(m, src)
|
||||
}
|
||||
func (m *OAuthRequirements) XXX_Size() int {
|
||||
return xxx_messageInfo_OAuthRequirements.Size(m)
|
||||
}
|
||||
func (m *OAuthRequirements) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OAuthRequirements.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OAuthRequirements proto.InternalMessageInfo
|
||||
|
||||
func (m *OAuthRequirements) GetCanonicalScopes() string {
|
||||
if m != nil {
|
||||
@@ -308,7 +343,7 @@ type AuthRequirement struct {
|
||||
// Example:
|
||||
//
|
||||
// provider_id: bookstore_auth
|
||||
ProviderId string `protobuf:"bytes,1,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"`
|
||||
ProviderId string `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
|
||||
// NOTE: This will be deprecated soon, once AuthProvider.audiences is
|
||||
// implemented and accepted in all the runtime components.
|
||||
//
|
||||
@@ -325,13 +360,36 @@ type AuthRequirement struct {
|
||||
//
|
||||
// audiences: bookstore_android.apps.googleusercontent.com,
|
||||
// bookstore_web.apps.googleusercontent.com
|
||||
Audiences string `protobuf:"bytes,2,opt,name=audiences" json:"audiences,omitempty"`
|
||||
Audiences string `protobuf:"bytes,2,opt,name=audiences,proto3" json:"audiences,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuthRequirement) Reset() { *m = AuthRequirement{} }
|
||||
func (m *AuthRequirement) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthRequirement) ProtoMessage() {}
|
||||
func (*AuthRequirement) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *AuthRequirement) Reset() { *m = AuthRequirement{} }
|
||||
func (m *AuthRequirement) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthRequirement) ProtoMessage() {}
|
||||
func (*AuthRequirement) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d6570d3c90e2b8ac, []int{4}
|
||||
}
|
||||
|
||||
func (m *AuthRequirement) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuthRequirement.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuthRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuthRequirement.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *AuthRequirement) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthRequirement.Merge(m, src)
|
||||
}
|
||||
func (m *AuthRequirement) XXX_Size() int {
|
||||
return xxx_messageInfo_AuthRequirement.Size(m)
|
||||
}
|
||||
func (m *AuthRequirement) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuthRequirement.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuthRequirement proto.InternalMessageInfo
|
||||
|
||||
func (m *AuthRequirement) GetProviderId() string {
|
||||
if m != nil {
|
||||
@@ -355,9 +413,9 @@ func init() {
|
||||
proto.RegisterType((*AuthRequirement)(nil), "google.api.AuthRequirement")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/auth.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/auth.proto", fileDescriptor_d6570d3c90e2b8ac) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_d6570d3c90e2b8ac = []byte{
|
||||
// 465 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x5f, 0x6b, 0x13, 0x4f,
|
||||
0x14, 0x65, 0x93, 0xa6, 0xcd, 0xde, 0x94, 0xb4, 0x1d, 0xf8, 0x95, 0xfd, 0xd5, 0xaa, 0x21, 0x4f,
|
||||
|
||||
135
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go
generated
vendored
135
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go
generated
vendored
@@ -3,27 +3,58 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// `Backend` defines the backend configuration for a service.
|
||||
type Backend struct {
|
||||
// A list of API backend rules that apply to individual API methods.
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*BackendRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*BackendRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Backend) Reset() { *m = Backend{} }
|
||||
func (m *Backend) String() string { return proto.CompactTextString(m) }
|
||||
func (*Backend) ProtoMessage() {}
|
||||
func (*Backend) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (m *Backend) Reset() { *m = Backend{} }
|
||||
func (m *Backend) String() string { return proto.CompactTextString(m) }
|
||||
func (*Backend) ProtoMessage() {}
|
||||
func (*Backend) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_87d0f28daa3f64f0, []int{0}
|
||||
}
|
||||
|
||||
func (m *Backend) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Backend.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Backend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Backend.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Backend) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Backend.Merge(m, src)
|
||||
}
|
||||
func (m *Backend) XXX_Size() int {
|
||||
return xxx_messageInfo_Backend.Size(m)
|
||||
}
|
||||
func (m *Backend) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Backend.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Backend proto.InternalMessageInfo
|
||||
|
||||
func (m *Backend) GetRules() []*BackendRule {
|
||||
if m != nil {
|
||||
@@ -37,18 +68,44 @@ type BackendRule struct {
|
||||
// Selects the methods to which this rule applies.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// The address of the API backend.
|
||||
Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
|
||||
// The number of seconds to wait for a response from a request. The
|
||||
// default depends on the deployment context.
|
||||
Deadline float64 `protobuf:"fixed64,3,opt,name=deadline" json:"deadline,omitempty"`
|
||||
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
||||
// The number of seconds to wait for a response from a request. The default
|
||||
// deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
|
||||
Deadline float64 `protobuf:"fixed64,3,opt,name=deadline,proto3" json:"deadline,omitempty"`
|
||||
// Minimum deadline in seconds needed for this method. Calls having deadline
|
||||
// value lower than this will be rejected.
|
||||
MinDeadline float64 `protobuf:"fixed64,4,opt,name=min_deadline,json=minDeadline,proto3" json:"min_deadline,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *BackendRule) Reset() { *m = BackendRule{} }
|
||||
func (m *BackendRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*BackendRule) ProtoMessage() {}
|
||||
func (*BackendRule) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
func (m *BackendRule) Reset() { *m = BackendRule{} }
|
||||
func (m *BackendRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*BackendRule) ProtoMessage() {}
|
||||
func (*BackendRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_87d0f28daa3f64f0, []int{1}
|
||||
}
|
||||
|
||||
func (m *BackendRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BackendRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BackendRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BackendRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *BackendRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BackendRule.Merge(m, src)
|
||||
}
|
||||
func (m *BackendRule) XXX_Size() int {
|
||||
return xxx_messageInfo_BackendRule.Size(m)
|
||||
}
|
||||
func (m *BackendRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BackendRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BackendRule proto.InternalMessageInfo
|
||||
|
||||
func (m *BackendRule) GetSelector() string {
|
||||
if m != nil {
|
||||
@@ -71,28 +128,36 @@ func (m *BackendRule) GetDeadline() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *BackendRule) GetMinDeadline() float64 {
|
||||
if m != nil {
|
||||
return m.MinDeadline
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Backend)(nil), "google.api.Backend")
|
||||
proto.RegisterType((*BackendRule)(nil), "google.api.BackendRule")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/backend.proto", fileDescriptor1) }
|
||||
func init() { proto.RegisterFile("google/api/backend.proto", fileDescriptor_87d0f28daa3f64f0) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 227 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x31, 0x4f, 0x03, 0x21,
|
||||
0x18, 0x86, 0x43, 0xab, 0x56, 0xbf, 0x1a, 0x87, 0x5b, 0x24, 0x4e, 0x97, 0x4e, 0xb7, 0xc8, 0x25,
|
||||
0xba, 0x98, 0x38, 0x79, 0x89, 0x31, 0x6e, 0x17, 0x46, 0x17, 0x43, 0xe1, 0x93, 0x10, 0x91, 0x8f,
|
||||
0x40, 0xeb, 0x0f, 0xf2, 0x97, 0x9a, 0xc2, 0x59, 0xdb, 0xf1, 0xe1, 0x79, 0xdf, 0xc0, 0x0b, 0x70,
|
||||
0x4b, 0x64, 0x3d, 0xf6, 0x2a, 0xba, 0x7e, 0xad, 0xf4, 0x27, 0x06, 0x23, 0x62, 0xa2, 0x0d, 0x35,
|
||||
0x50, 0x8d, 0x50, 0xd1, 0xad, 0x1e, 0x60, 0x31, 0x54, 0xd9, 0xdc, 0xc2, 0x69, 0xda, 0x7a, 0xcc,
|
||||
0x9c, 0xb5, 0xf3, 0x6e, 0x79, 0x77, 0x2d, 0xfe, 0x63, 0x62, 0xca, 0xc8, 0xad, 0x47, 0x59, 0x53,
|
||||
0xab, 0x77, 0x58, 0x1e, 0x9c, 0x36, 0x37, 0x70, 0x9e, 0xd1, 0xa3, 0xde, 0x50, 0xe2, 0xac, 0x65,
|
||||
0xdd, 0x85, 0xdc, 0x73, 0xc3, 0x61, 0xa1, 0x8c, 0x49, 0x98, 0x33, 0x9f, 0x15, 0xf5, 0x87, 0xbb,
|
||||
0x96, 0x41, 0x65, 0xbc, 0x0b, 0xc8, 0xe7, 0x2d, 0xeb, 0x98, 0xdc, 0xf3, 0x10, 0xe0, 0x4a, 0xd3,
|
||||
0xd7, 0xc1, 0x2b, 0x86, 0xcb, 0xe9, 0xc2, 0x71, 0x37, 0x63, 0x64, 0x6f, 0xcf, 0x93, 0xb3, 0xe4,
|
||||
0x55, 0xb0, 0x82, 0x92, 0xed, 0x2d, 0x86, 0x32, 0xb2, 0xaf, 0x4a, 0x45, 0x97, 0xcb, 0x0f, 0x64,
|
||||
0x4c, 0xdf, 0x4e, 0xa3, 0xa6, 0xf0, 0xe1, 0xec, 0xe3, 0x11, 0xfd, 0xcc, 0x4e, 0x5e, 0x9e, 0xc6,
|
||||
0xd7, 0xf5, 0x59, 0x29, 0xde, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x93, 0x9e, 0x00, 0x39,
|
||||
0x01, 0x00, 0x00,
|
||||
var fileDescriptor_87d0f28daa3f64f0 = []byte{
|
||||
// 246 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xb1, 0x4e, 0xc3, 0x30,
|
||||
0x10, 0x86, 0xe5, 0xb6, 0x50, 0xb8, 0x54, 0x0c, 0x59, 0xb0, 0x98, 0x42, 0xa7, 0x2c, 0x38, 0x12,
|
||||
0x2c, 0x48, 0x4c, 0x44, 0x20, 0xc4, 0x16, 0x65, 0x64, 0x41, 0xae, 0x7d, 0x58, 0x16, 0x8e, 0x2f,
|
||||
0xb2, 0x5b, 0x1e, 0x80, 0x47, 0xe1, 0x49, 0x51, 0x9d, 0x10, 0xda, 0xf1, 0xbb, 0xef, 0x3f, 0xe9,
|
||||
0xee, 0x07, 0x6e, 0x88, 0x8c, 0xc3, 0x4a, 0xf6, 0xb6, 0xda, 0x48, 0xf5, 0x89, 0x5e, 0x8b, 0x3e,
|
||||
0xd0, 0x96, 0x72, 0x18, 0x8c, 0x90, 0xbd, 0x5d, 0xdf, 0xc3, 0xb2, 0x1e, 0x64, 0x7e, 0x03, 0x27,
|
||||
0x61, 0xe7, 0x30, 0x72, 0x56, 0xcc, 0xcb, 0xec, 0xf6, 0x52, 0xfc, 0xc7, 0xc4, 0x98, 0x69, 0x77,
|
||||
0x0e, 0xdb, 0x21, 0xb5, 0xfe, 0x66, 0x90, 0x1d, 0x8c, 0xf3, 0x2b, 0x38, 0x8b, 0xe8, 0x50, 0x6d,
|
||||
0x29, 0x70, 0x56, 0xb0, 0xf2, 0xbc, 0x9d, 0x38, 0xe7, 0xb0, 0x94, 0x5a, 0x07, 0x8c, 0x91, 0xcf,
|
||||
0x92, 0xfa, 0xc3, 0xfd, 0x96, 0x46, 0xa9, 0x9d, 0xf5, 0xc8, 0xe7, 0x05, 0x2b, 0x59, 0x3b, 0x71,
|
||||
0x7e, 0x0d, 0xab, 0xce, 0xfa, 0xf7, 0xc9, 0x2f, 0x92, 0xcf, 0x3a, 0xeb, 0x9f, 0xc6, 0x51, 0xed,
|
||||
0xe1, 0x42, 0x51, 0x77, 0x70, 0x69, 0xbd, 0x1a, 0x6f, 0x6a, 0xf6, 0xaf, 0x36, 0xec, 0xed, 0x79,
|
||||
0x74, 0x86, 0x9c, 0xf4, 0x46, 0x50, 0x30, 0x95, 0x41, 0x9f, 0x8a, 0xa8, 0x06, 0x25, 0x7b, 0x1b,
|
||||
0x53, 0x4b, 0x11, 0xc3, 0x97, 0x55, 0xa8, 0xc8, 0x7f, 0x58, 0xf3, 0x70, 0x44, 0x3f, 0xb3, 0xc5,
|
||||
0xcb, 0x63, 0xf3, 0xba, 0x39, 0x4d, 0x8b, 0x77, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xc3,
|
||||
0xd8, 0x52, 0x5d, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
126
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go
generated
vendored
126
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go
generated
vendored
@@ -3,21 +3,29 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "google.golang.org/genproto/googleapis/api/metric"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Billing related configuration of the service.
|
||||
//
|
||||
// The following example shows how to configure monitored resources and metrics
|
||||
// for billing:
|
||||
//
|
||||
// monitored_resources:
|
||||
// - type: library.googleapis.com/branch
|
||||
// labels:
|
||||
@@ -39,13 +47,36 @@ type Billing struct {
|
||||
// There can be multiple consumer destinations per service, each one must have
|
||||
// a different monitored resource type. A metric can be used in at most
|
||||
// one consumer destination.
|
||||
ConsumerDestinations []*Billing_BillingDestination `protobuf:"bytes,8,rep,name=consumer_destinations,json=consumerDestinations" json:"consumer_destinations,omitempty"`
|
||||
ConsumerDestinations []*Billing_BillingDestination `protobuf:"bytes,8,rep,name=consumer_destinations,json=consumerDestinations,proto3" json:"consumer_destinations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Billing) Reset() { *m = Billing{} }
|
||||
func (m *Billing) String() string { return proto.CompactTextString(m) }
|
||||
func (*Billing) ProtoMessage() {}
|
||||
func (*Billing) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *Billing) Reset() { *m = Billing{} }
|
||||
func (m *Billing) String() string { return proto.CompactTextString(m) }
|
||||
func (*Billing) ProtoMessage() {}
|
||||
func (*Billing) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_21f14814cad56ddb, []int{0}
|
||||
}
|
||||
|
||||
func (m *Billing) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Billing.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Billing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Billing.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Billing) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Billing.Merge(m, src)
|
||||
}
|
||||
func (m *Billing) XXX_Size() int {
|
||||
return xxx_messageInfo_Billing.Size(m)
|
||||
}
|
||||
func (m *Billing) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Billing.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Billing proto.InternalMessageInfo
|
||||
|
||||
func (m *Billing) GetConsumerDestinations() []*Billing_BillingDestination {
|
||||
if m != nil {
|
||||
@@ -59,16 +90,39 @@ func (m *Billing) GetConsumerDestinations() []*Billing_BillingDestination {
|
||||
type Billing_BillingDestination struct {
|
||||
// The monitored resource type. The type must be defined in
|
||||
// [Service.monitored_resources][google.api.Service.monitored_resources] section.
|
||||
MonitoredResource string `protobuf:"bytes,1,opt,name=monitored_resource,json=monitoredResource" json:"monitored_resource,omitempty"`
|
||||
MonitoredResource string `protobuf:"bytes,1,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"`
|
||||
// Names of the metrics to report to this billing destination.
|
||||
// Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
|
||||
Metrics []string `protobuf:"bytes,2,rep,name=metrics" json:"metrics,omitempty"`
|
||||
Metrics []string `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Billing_BillingDestination) Reset() { *m = Billing_BillingDestination{} }
|
||||
func (m *Billing_BillingDestination) String() string { return proto.CompactTextString(m) }
|
||||
func (*Billing_BillingDestination) ProtoMessage() {}
|
||||
func (*Billing_BillingDestination) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 0} }
|
||||
func (m *Billing_BillingDestination) Reset() { *m = Billing_BillingDestination{} }
|
||||
func (m *Billing_BillingDestination) String() string { return proto.CompactTextString(m) }
|
||||
func (*Billing_BillingDestination) ProtoMessage() {}
|
||||
func (*Billing_BillingDestination) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_21f14814cad56ddb, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Billing_BillingDestination) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Billing_BillingDestination.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Billing_BillingDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Billing_BillingDestination.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Billing_BillingDestination) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Billing_BillingDestination.Merge(m, src)
|
||||
}
|
||||
func (m *Billing_BillingDestination) XXX_Size() int {
|
||||
return xxx_messageInfo_Billing_BillingDestination.Size(m)
|
||||
}
|
||||
func (m *Billing_BillingDestination) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Billing_BillingDestination.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Billing_BillingDestination proto.InternalMessageInfo
|
||||
|
||||
func (m *Billing_BillingDestination) GetMonitoredResource() string {
|
||||
if m != nil {
|
||||
@@ -89,25 +143,25 @@ func init() {
|
||||
proto.RegisterType((*Billing_BillingDestination)(nil), "google.api.Billing.BillingDestination")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/billing.proto", fileDescriptor2) }
|
||||
func init() { proto.RegisterFile("google/api/billing.proto", fileDescriptor_21f14814cad56ddb) }
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 265 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xc4, 0x30,
|
||||
0x10, 0x86, 0xe9, 0xae, 0xb8, 0x6e, 0x14, 0xc1, 0xa0, 0x58, 0x8a, 0x87, 0xe2, 0x41, 0x7a, 0xb1,
|
||||
0x05, 0x3d, 0x7a, 0xb2, 0x28, 0xe2, 0xad, 0xf4, 0xa8, 0xc8, 0x92, 0xcd, 0x8e, 0x61, 0xa0, 0x9d,
|
||||
0x29, 0x49, 0xd6, 0x07, 0xf2, 0x5d, 0x7c, 0x2f, 0xb1, 0x69, 0xdd, 0x8a, 0xa7, 0x30, 0xf9, 0xfe,
|
||||
0xf9, 0x67, 0xe6, 0x17, 0xb1, 0x61, 0x36, 0x0d, 0x14, 0xaa, 0xc3, 0x62, 0x8d, 0x4d, 0x83, 0x64,
|
||||
0xf2, 0xce, 0xb2, 0x67, 0x29, 0x02, 0xc9, 0x55, 0x87, 0xc9, 0xc5, 0x44, 0xa5, 0x88, 0xd8, 0x2b,
|
||||
0x8f, 0x4c, 0x2e, 0x28, 0x93, 0xf3, 0x09, 0x6d, 0xc1, 0x5b, 0xd4, 0x01, 0x5c, 0x7e, 0x45, 0x62,
|
||||
0x51, 0x06, 0x53, 0xf9, 0x2a, 0xce, 0x34, 0x93, 0xdb, 0xb6, 0x60, 0x57, 0x1b, 0x70, 0x1e, 0x29,
|
||||
0x78, 0xc4, 0x07, 0xe9, 0x3c, 0x3b, 0xbc, 0xb9, 0xca, 0x77, 0xe3, 0xf2, 0xa1, 0x67, 0x7c, 0x1f,
|
||||
0x76, 0xf2, 0xfa, 0x74, 0x34, 0x99, 0x7c, 0xba, 0xe4, 0x4d, 0xc8, 0xff, 0x5a, 0x79, 0x2d, 0x64,
|
||||
0xcb, 0x84, 0x9e, 0x2d, 0x6c, 0x56, 0x16, 0x1c, 0x6f, 0xad, 0x86, 0x38, 0x4a, 0xa3, 0x6c, 0x59,
|
||||
0x9f, 0xfc, 0x92, 0x7a, 0x00, 0x32, 0x16, 0x8b, 0xb0, 0xbd, 0x8b, 0x67, 0xe9, 0x3c, 0x5b, 0xd6,
|
||||
0x63, 0x59, 0x92, 0x38, 0xd6, 0xdc, 0x4e, 0x36, 0x2c, 0x8f, 0x86, 0x71, 0xd5, 0xcf, 0x9d, 0x55,
|
||||
0xf4, 0xf2, 0x38, 0x30, 0xc3, 0x8d, 0x22, 0x93, 0xb3, 0x35, 0x85, 0x01, 0xea, 0x53, 0x28, 0x02,
|
||||
0x52, 0x1d, 0xba, 0x3e, 0x21, 0x07, 0xf6, 0x03, 0x35, 0x68, 0xa6, 0x77, 0x34, 0x77, 0x7f, 0xaa,
|
||||
0xcf, 0xd9, 0xde, 0xd3, 0x7d, 0xf5, 0xbc, 0xde, 0xef, 0x1b, 0x6f, 0xbf, 0x03, 0x00, 0x00, 0xff,
|
||||
0xff, 0xca, 0x8b, 0xb4, 0x63, 0x9d, 0x01, 0x00, 0x00,
|
||||
var fileDescriptor_21f14814cad56ddb = []byte{
|
||||
// 259 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xf4, 0x30,
|
||||
0x10, 0xc7, 0xe9, 0xee, 0xc7, 0xb7, 0x6e, 0x14, 0xc1, 0xa0, 0x50, 0x16, 0x0f, 0xc5, 0x83, 0xf4,
|
||||
0x62, 0x0a, 0x7a, 0xf4, 0x64, 0x51, 0xc4, 0x5b, 0xe9, 0x51, 0x91, 0x25, 0x9b, 0x1d, 0xc3, 0x40,
|
||||
0x3b, 0x53, 0x92, 0xac, 0x0f, 0xe4, 0xbb, 0xf8, 0x5e, 0x62, 0xd3, 0xba, 0x15, 0x4f, 0x61, 0xf2,
|
||||
0xfb, 0xfd, 0x27, 0x99, 0x11, 0xa9, 0x65, 0xb6, 0x0d, 0x14, 0xba, 0xc3, 0x62, 0x83, 0x4d, 0x83,
|
||||
0x64, 0x55, 0xe7, 0x38, 0xb0, 0x14, 0x91, 0x28, 0xdd, 0xe1, 0xea, 0x7c, 0x62, 0x69, 0x22, 0x0e,
|
||||
0x3a, 0x20, 0x93, 0x8f, 0xe6, 0xc5, 0x67, 0x22, 0x16, 0x65, 0xcc, 0xca, 0x17, 0x71, 0x66, 0x98,
|
||||
0xfc, 0xae, 0x05, 0xb7, 0xde, 0x82, 0x0f, 0x48, 0x51, 0x4d, 0x0f, 0xb2, 0x79, 0x7e, 0x78, 0x7d,
|
||||
0xa9, 0xf6, 0x5d, 0xd5, 0x90, 0x19, 0xcf, 0xfb, 0xbd, 0x5e, 0x9f, 0x8e, 0x4d, 0x26, 0x97, 0x7e,
|
||||
0xf5, 0x2a, 0xe4, 0x5f, 0x57, 0x5e, 0x09, 0xd9, 0x32, 0x61, 0x60, 0x07, 0xdb, 0xb5, 0x03, 0xcf,
|
||||
0x3b, 0x67, 0x20, 0x4d, 0xb2, 0x24, 0x5f, 0xd6, 0x27, 0x3f, 0xa4, 0x1e, 0x80, 0x4c, 0xc5, 0xa2,
|
||||
0x85, 0xe0, 0xd0, 0xf8, 0x74, 0x96, 0xcd, 0xf3, 0x65, 0x3d, 0x96, 0x25, 0x89, 0x63, 0xc3, 0xed,
|
||||
0xe4, 0x87, 0xe5, 0xd1, 0xf0, 0x5c, 0xf5, 0x3d, 0x67, 0x95, 0x3c, 0x3f, 0x0c, 0xcc, 0x72, 0xa3,
|
||||
0xc9, 0x2a, 0x76, 0xb6, 0xb0, 0x40, 0xfd, 0x16, 0x8a, 0x88, 0x74, 0x87, 0xbe, 0x5f, 0x93, 0x07,
|
||||
0xf7, 0x8e, 0x06, 0x0c, 0xd3, 0x1b, 0xda, 0xdb, 0x5f, 0xd5, 0xc7, 0xec, 0xdf, 0xe3, 0x5d, 0xf5,
|
||||
0xb4, 0xf9, 0xdf, 0x07, 0x6f, 0xbe, 0x02, 0x00, 0x00, 0xff, 0xff, 0x82, 0x2a, 0x74, 0xa4, 0x84,
|
||||
0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
96
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go
generated
vendored
96
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go
generated
vendored
@@ -3,15 +3,23 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Supported data type of the property values
|
||||
type Property_PropertyType int32
|
||||
|
||||
@@ -35,6 +43,7 @@ var Property_PropertyType_name = map[int32]string{
|
||||
3: "STRING",
|
||||
4: "DOUBLE",
|
||||
}
|
||||
|
||||
var Property_PropertyType_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"INT64": 1,
|
||||
@@ -46,7 +55,10 @@ var Property_PropertyType_value = map[string]int32{
|
||||
func (x Property_PropertyType) String() string {
|
||||
return proto.EnumName(Property_PropertyType_name, int32(x))
|
||||
}
|
||||
func (Property_PropertyType) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{1, 0} }
|
||||
|
||||
func (Property_PropertyType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bec5e69370b3104e, []int{1, 0}
|
||||
}
|
||||
|
||||
// A descriptor for defining project properties for a service. One service may
|
||||
// have many consumer projects, and the service may want to behave differently
|
||||
@@ -66,13 +78,36 @@ func (Property_PropertyType) EnumDescriptor() ([]byte, []int) { return fileDescr
|
||||
// type: INT64
|
||||
type ProjectProperties struct {
|
||||
// List of per consumer project-specific properties.
|
||||
Properties []*Property `protobuf:"bytes,1,rep,name=properties" json:"properties,omitempty"`
|
||||
Properties []*Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ProjectProperties) Reset() { *m = ProjectProperties{} }
|
||||
func (m *ProjectProperties) String() string { return proto.CompactTextString(m) }
|
||||
func (*ProjectProperties) ProtoMessage() {}
|
||||
func (*ProjectProperties) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
func (m *ProjectProperties) Reset() { *m = ProjectProperties{} }
|
||||
func (m *ProjectProperties) String() string { return proto.CompactTextString(m) }
|
||||
func (*ProjectProperties) ProtoMessage() {}
|
||||
func (*ProjectProperties) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bec5e69370b3104e, []int{0}
|
||||
}
|
||||
|
||||
func (m *ProjectProperties) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ProjectProperties.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ProjectProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ProjectProperties.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ProjectProperties) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ProjectProperties.Merge(m, src)
|
||||
}
|
||||
func (m *ProjectProperties) XXX_Size() int {
|
||||
return xxx_messageInfo_ProjectProperties.Size(m)
|
||||
}
|
||||
func (m *ProjectProperties) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ProjectProperties.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ProjectProperties proto.InternalMessageInfo
|
||||
|
||||
func (m *ProjectProperties) GetProperties() []*Property {
|
||||
if m != nil {
|
||||
@@ -93,17 +128,40 @@ func (m *ProjectProperties) GetProperties() []*Property {
|
||||
// define and set these properties.
|
||||
type Property struct {
|
||||
// The name of the property (a.k.a key).
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The type of this property.
|
||||
Type Property_PropertyType `protobuf:"varint,2,opt,name=type,enum=google.api.Property_PropertyType" json:"type,omitempty"`
|
||||
Type Property_PropertyType `protobuf:"varint,2,opt,name=type,proto3,enum=google.api.Property_PropertyType" json:"type,omitempty"`
|
||||
// The description of the property
|
||||
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 *Property) Reset() { *m = Property{} }
|
||||
func (m *Property) String() string { return proto.CompactTextString(m) }
|
||||
func (*Property) ProtoMessage() {}
|
||||
func (*Property) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
||||
func (m *Property) Reset() { *m = Property{} }
|
||||
func (m *Property) String() string { return proto.CompactTextString(m) }
|
||||
func (*Property) ProtoMessage() {}
|
||||
func (*Property) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bec5e69370b3104e, []int{1}
|
||||
}
|
||||
|
||||
func (m *Property) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Property.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Property.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Property) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Property.Merge(m, src)
|
||||
}
|
||||
func (m *Property) XXX_Size() int {
|
||||
return xxx_messageInfo_Property.Size(m)
|
||||
}
|
||||
func (m *Property) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Property.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Property proto.InternalMessageInfo
|
||||
|
||||
func (m *Property) GetName() string {
|
||||
if m != nil {
|
||||
@@ -127,14 +185,14 @@ func (m *Property) GetDescription() string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.api.Property_PropertyType", Property_PropertyType_name, Property_PropertyType_value)
|
||||
proto.RegisterType((*ProjectProperties)(nil), "google.api.ProjectProperties")
|
||||
proto.RegisterType((*Property)(nil), "google.api.Property")
|
||||
proto.RegisterEnum("google.api.Property_PropertyType", Property_PropertyType_name, Property_PropertyType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/consumer.proto", fileDescriptor3) }
|
||||
func init() { proto.RegisterFile("google/api/consumer.proto", fileDescriptor_bec5e69370b3104e) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
var fileDescriptor_bec5e69370b3104e = []byte{
|
||||
// 299 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x4f, 0x4f, 0xf2, 0x40,
|
||||
0x10, 0xc6, 0xdf, 0x85, 0xbe, 0x04, 0x06, 0xc5, 0xba, 0xf1, 0x50, 0x6f, 0x95, 0x13, 0xa7, 0x36,
|
||||
|
||||
88
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go
generated
vendored
88
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go
generated
vendored
@@ -3,15 +3,23 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// `Context` defines which contexts an API requests.
|
||||
//
|
||||
// Example:
|
||||
@@ -33,13 +41,36 @@ type Context struct {
|
||||
// A list of RPC context rules that apply to individual API methods.
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*ContextRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*ContextRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Context) Reset() { *m = Context{} }
|
||||
func (m *Context) String() string { return proto.CompactTextString(m) }
|
||||
func (*Context) ProtoMessage() {}
|
||||
func (*Context) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
||||
func (m *Context) Reset() { *m = Context{} }
|
||||
func (m *Context) String() string { return proto.CompactTextString(m) }
|
||||
func (*Context) ProtoMessage() {}
|
||||
func (*Context) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_48d8be90143bd46c, []int{0}
|
||||
}
|
||||
|
||||
func (m *Context) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Context.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Context.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Context) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Context.Merge(m, src)
|
||||
}
|
||||
func (m *Context) XXX_Size() int {
|
||||
return xxx_messageInfo_Context.Size(m)
|
||||
}
|
||||
func (m *Context) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Context.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Context proto.InternalMessageInfo
|
||||
|
||||
func (m *Context) GetRules() []*ContextRule {
|
||||
if m != nil {
|
||||
@@ -54,17 +85,40 @@ type ContextRule struct {
|
||||
// Selects the methods to which this rule applies.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// A list of full type names of requested contexts.
|
||||
Requested []string `protobuf:"bytes,2,rep,name=requested" json:"requested,omitempty"`
|
||||
Requested []string `protobuf:"bytes,2,rep,name=requested,proto3" json:"requested,omitempty"`
|
||||
// A list of full type names of provided contexts.
|
||||
Provided []string `protobuf:"bytes,3,rep,name=provided" json:"provided,omitempty"`
|
||||
Provided []string `protobuf:"bytes,3,rep,name=provided,proto3" json:"provided,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ContextRule) Reset() { *m = ContextRule{} }
|
||||
func (m *ContextRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*ContextRule) ProtoMessage() {}
|
||||
func (*ContextRule) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
|
||||
func (m *ContextRule) Reset() { *m = ContextRule{} }
|
||||
func (m *ContextRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*ContextRule) ProtoMessage() {}
|
||||
func (*ContextRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_48d8be90143bd46c, []int{1}
|
||||
}
|
||||
|
||||
func (m *ContextRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ContextRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ContextRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ContextRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ContextRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ContextRule.Merge(m, src)
|
||||
}
|
||||
func (m *ContextRule) XXX_Size() int {
|
||||
return xxx_messageInfo_ContextRule.Size(m)
|
||||
}
|
||||
func (m *ContextRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ContextRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ContextRule proto.InternalMessageInfo
|
||||
|
||||
func (m *ContextRule) GetSelector() string {
|
||||
if m != nil {
|
||||
@@ -92,9 +146,9 @@ func init() {
|
||||
proto.RegisterType((*ContextRule)(nil), "google.api.ContextRule")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/context.proto", fileDescriptor4) }
|
||||
func init() { proto.RegisterFile("google/api/context.proto", fileDescriptor_48d8be90143bd46c) }
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
var fileDescriptor_48d8be90143bd46c = []byte{
|
||||
// 231 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x4f, 0x4b, 0xc4, 0x30,
|
||||
0x14, 0xc4, 0xe9, 0xd6, 0x7f, 0x7d, 0x2b, 0x1e, 0x7a, 0x31, 0x88, 0x87, 0xb2, 0xa7, 0x5e, 0x4c,
|
||||
|
||||
51
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go
generated
vendored
51
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go
generated
vendored
@@ -3,28 +3,59 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Selects and configures the service controller used by the service. The
|
||||
// service controller handles features like abuse, quota, billing, logging,
|
||||
// monitoring, etc.
|
||||
type Control struct {
|
||||
// The service control environment to use. If empty, no control plane
|
||||
// feature (like quota and billing) will be enabled.
|
||||
Environment string `protobuf:"bytes,1,opt,name=environment" json:"environment,omitempty"`
|
||||
Environment string `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Control) Reset() { *m = Control{} }
|
||||
func (m *Control) String() string { return proto.CompactTextString(m) }
|
||||
func (*Control) ProtoMessage() {}
|
||||
func (*Control) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||||
func (m *Control) Reset() { *m = Control{} }
|
||||
func (m *Control) String() string { return proto.CompactTextString(m) }
|
||||
func (*Control) ProtoMessage() {}
|
||||
func (*Control) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_74b55b5694b7f0a5, []int{0}
|
||||
}
|
||||
|
||||
func (m *Control) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Control.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Control.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Control) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Control.Merge(m, src)
|
||||
}
|
||||
func (m *Control) XXX_Size() int {
|
||||
return xxx_messageInfo_Control.Size(m)
|
||||
}
|
||||
func (m *Control) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Control.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Control proto.InternalMessageInfo
|
||||
|
||||
func (m *Control) GetEnvironment() string {
|
||||
if m != nil {
|
||||
@@ -37,9 +68,9 @@ func init() {
|
||||
proto.RegisterType((*Control)(nil), "google.api.Control")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/control.proto", fileDescriptor5) }
|
||||
func init() { proto.RegisterFile("google/api/control.proto", fileDescriptor_74b55b5694b7f0a5) }
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
var fileDescriptor_74b55b5694b7f0a5 = []byte{
|
||||
// 165 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0xcf, 0xcf, 0x4f,
|
||||
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xce, 0xcf, 0x2b, 0x29, 0xca, 0xcf, 0xd1, 0x2b,
|
||||
|
||||
137
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go
generated
vendored
137
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go
generated
vendored
@@ -3,15 +3,23 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// `Documentation` provides the information for describing a service.
|
||||
//
|
||||
// Example:
|
||||
@@ -55,9 +63,7 @@ var _ = math.Inf
|
||||
// <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
||||
// Text can be excluded from doc using the following notation:
|
||||
// <pre><code>(-- internal comment --)</code></pre>
|
||||
// Comments can be made conditional using a visibility label. The below
|
||||
// text will be only rendered if the `BETA` label is available:
|
||||
// <pre><code>(--BETA: comment for BETA users --)</code></pre>
|
||||
//
|
||||
// A few directives are available in documentation. Note that
|
||||
// directives must appear on a single line to be properly
|
||||
// identified. The `include` directive includes a markdown file from
|
||||
@@ -72,15 +78,15 @@ var _ = math.Inf
|
||||
type Documentation struct {
|
||||
// A short summary of what the service does. Can only be provided by
|
||||
// plain text.
|
||||
Summary string `protobuf:"bytes,1,opt,name=summary" json:"summary,omitempty"`
|
||||
Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
|
||||
// The top level pages for the documentation set.
|
||||
Pages []*Page `protobuf:"bytes,5,rep,name=pages" json:"pages,omitempty"`
|
||||
Pages []*Page `protobuf:"bytes,5,rep,name=pages,proto3" json:"pages,omitempty"`
|
||||
// A list of documentation rules that apply to individual API elements.
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*DocumentationRule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*DocumentationRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
// The URL to the root of documentation.
|
||||
DocumentationRootUrl string `protobuf:"bytes,4,opt,name=documentation_root_url,json=documentationRootUrl" json:"documentation_root_url,omitempty"`
|
||||
DocumentationRootUrl string `protobuf:"bytes,4,opt,name=documentation_root_url,json=documentationRootUrl,proto3" json:"documentation_root_url,omitempty"`
|
||||
// Declares a single overview page. For example:
|
||||
// <pre><code>documentation:
|
||||
// summary: ...
|
||||
@@ -94,13 +100,36 @@ type Documentation struct {
|
||||
// content: (== include overview.md ==)
|
||||
// </code></pre>
|
||||
// Note: you cannot specify both `overview` field and `pages` field.
|
||||
Overview string `protobuf:"bytes,2,opt,name=overview" json:"overview,omitempty"`
|
||||
Overview string `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Documentation) Reset() { *m = Documentation{} }
|
||||
func (m *Documentation) String() string { return proto.CompactTextString(m) }
|
||||
func (*Documentation) ProtoMessage() {}
|
||||
func (*Documentation) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
|
||||
func (m *Documentation) Reset() { *m = Documentation{} }
|
||||
func (m *Documentation) String() string { return proto.CompactTextString(m) }
|
||||
func (*Documentation) ProtoMessage() {}
|
||||
func (*Documentation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_dead24b587ac0742, []int{0}
|
||||
}
|
||||
|
||||
func (m *Documentation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Documentation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Documentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Documentation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Documentation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Documentation.Merge(m, src)
|
||||
}
|
||||
func (m *Documentation) XXX_Size() int {
|
||||
return xxx_messageInfo_Documentation.Size(m)
|
||||
}
|
||||
func (m *Documentation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Documentation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Documentation proto.InternalMessageInfo
|
||||
|
||||
func (m *Documentation) GetSummary() string {
|
||||
if m != nil {
|
||||
@@ -145,18 +174,41 @@ type DocumentationRule struct {
|
||||
// qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
|
||||
// specify a default for all applicable elements, the whole pattern "*"
|
||||
// is used.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// Description of the selected API(s).
|
||||
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// Deprecation description of the selected element(s). It can be provided if an
|
||||
// element is marked as `deprecated`.
|
||||
DeprecationDescription string `protobuf:"bytes,3,opt,name=deprecation_description,json=deprecationDescription" json:"deprecation_description,omitempty"`
|
||||
DeprecationDescription string `protobuf:"bytes,3,opt,name=deprecation_description,json=deprecationDescription,proto3" json:"deprecation_description,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DocumentationRule) Reset() { *m = DocumentationRule{} }
|
||||
func (m *DocumentationRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*DocumentationRule) ProtoMessage() {}
|
||||
func (*DocumentationRule) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
|
||||
func (m *DocumentationRule) Reset() { *m = DocumentationRule{} }
|
||||
func (m *DocumentationRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*DocumentationRule) ProtoMessage() {}
|
||||
func (*DocumentationRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_dead24b587ac0742, []int{1}
|
||||
}
|
||||
|
||||
func (m *DocumentationRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DocumentationRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DocumentationRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DocumentationRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *DocumentationRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DocumentationRule.Merge(m, src)
|
||||
}
|
||||
func (m *DocumentationRule) XXX_Size() int {
|
||||
return xxx_messageInfo_DocumentationRule.Size(m)
|
||||
}
|
||||
func (m *DocumentationRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DocumentationRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DocumentationRule proto.InternalMessageInfo
|
||||
|
||||
func (m *DocumentationRule) GetSelector() string {
|
||||
if m != nil {
|
||||
@@ -196,19 +248,42 @@ type Page struct {
|
||||
// </code></pre>
|
||||
// You can reference `Java` page using Markdown reference link syntax:
|
||||
// `[Java][Tutorial.Java]`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The Markdown content of the page. You can use <code>(== include {path} ==)</code>
|
||||
// to include content from a Markdown file.
|
||||
Content string `protobuf:"bytes,2,opt,name=content" json:"content,omitempty"`
|
||||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||
// Subpages of this page. The order of subpages specified here will be
|
||||
// honored in the generated docset.
|
||||
Subpages []*Page `protobuf:"bytes,3,rep,name=subpages" json:"subpages,omitempty"`
|
||||
Subpages []*Page `protobuf:"bytes,3,rep,name=subpages,proto3" json:"subpages,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Page) Reset() { *m = Page{} }
|
||||
func (m *Page) String() string { return proto.CompactTextString(m) }
|
||||
func (*Page) ProtoMessage() {}
|
||||
func (*Page) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} }
|
||||
func (m *Page) Reset() { *m = Page{} }
|
||||
func (m *Page) String() string { return proto.CompactTextString(m) }
|
||||
func (*Page) ProtoMessage() {}
|
||||
func (*Page) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_dead24b587ac0742, []int{2}
|
||||
}
|
||||
|
||||
func (m *Page) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Page.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Page.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Page) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Page.Merge(m, src)
|
||||
}
|
||||
func (m *Page) XXX_Size() int {
|
||||
return xxx_messageInfo_Page.Size(m)
|
||||
}
|
||||
func (m *Page) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Page.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Page proto.InternalMessageInfo
|
||||
|
||||
func (m *Page) GetName() string {
|
||||
if m != nil {
|
||||
@@ -237,9 +312,9 @@ func init() {
|
||||
proto.RegisterType((*Page)(nil), "google.api.Page")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/documentation.proto", fileDescriptor6) }
|
||||
func init() { proto.RegisterFile("google/api/documentation.proto", fileDescriptor_dead24b587ac0742) }
|
||||
|
||||
var fileDescriptor6 = []byte{
|
||||
var fileDescriptor_dead24b587ac0742 = []byte{
|
||||
// 356 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xc1, 0x6a, 0xe3, 0x30,
|
||||
0x14, 0x45, 0x71, 0xec, 0xcc, 0x64, 0x5e, 0x98, 0x61, 0x46, 0x0c, 0x19, 0x33, 0xd0, 0x12, 0xb2,
|
||||
|
||||
108
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go
generated
vendored
108
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go
generated
vendored
@@ -3,16 +3,24 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// `Endpoint` describes a network endpoint that serves a set of APIs.
|
||||
// A service may expose any number of endpoints, and all endpoints share the
|
||||
// same service configuration, such as quota configuration and monitoring
|
||||
@@ -31,35 +39,56 @@ var _ = math.Inf
|
||||
// allow_cors: true
|
||||
type Endpoint struct {
|
||||
// The canonical name of this endpoint.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// DEPRECATED: This field is no longer supported. Instead of using aliases,
|
||||
// please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intented
|
||||
// alias.
|
||||
// please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
|
||||
// aliases.
|
||||
//
|
||||
// Additional names that this endpoint will be hosted on.
|
||||
Aliases []string `protobuf:"bytes,2,rep,name=aliases" json:"aliases,omitempty"`
|
||||
// The list of APIs served by this endpoint.
|
||||
Apis []string `protobuf:"bytes,3,rep,name=apis" json:"apis,omitempty"`
|
||||
Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
|
||||
// The list of features enabled on this endpoint.
|
||||
Features []string `protobuf:"bytes,4,rep,name=features" json:"features,omitempty"`
|
||||
Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"`
|
||||
// The specification of an Internet routable address of API frontend that will
|
||||
// handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
|
||||
// It should be either a valid IPv4 address or a fully-qualified domain name.
|
||||
// For example, "8.8.8.8" or "myservice.appspot.com".
|
||||
Target string `protobuf:"bytes,101,opt,name=target" json:"target,omitempty"`
|
||||
Target string `protobuf:"bytes,101,opt,name=target,proto3" json:"target,omitempty"`
|
||||
// Allowing
|
||||
// [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
|
||||
// cross-domain traffic, would allow the backends served from this endpoint to
|
||||
// receive and respond to HTTP OPTIONS requests. The response will be used by
|
||||
// the browser to determine whether the subsequent cross-origin request is
|
||||
// allowed to proceed.
|
||||
AllowCors bool `protobuf:"varint,5,opt,name=allow_cors,json=allowCors" json:"allow_cors,omitempty"`
|
||||
AllowCors bool `protobuf:"varint,5,opt,name=allow_cors,json=allowCors,proto3" json:"allow_cors,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Endpoint) Reset() { *m = Endpoint{} }
|
||||
func (m *Endpoint) String() string { return proto.CompactTextString(m) }
|
||||
func (*Endpoint) ProtoMessage() {}
|
||||
func (*Endpoint) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
|
||||
func (m *Endpoint) Reset() { *m = Endpoint{} }
|
||||
func (m *Endpoint) String() string { return proto.CompactTextString(m) }
|
||||
func (*Endpoint) ProtoMessage() {}
|
||||
func (*Endpoint) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ee48cbc4cc013456, []int{0}
|
||||
}
|
||||
|
||||
func (m *Endpoint) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Endpoint.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Endpoint) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Endpoint.Merge(m, src)
|
||||
}
|
||||
func (m *Endpoint) XXX_Size() int {
|
||||
return xxx_messageInfo_Endpoint.Size(m)
|
||||
}
|
||||
func (m *Endpoint) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Endpoint.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Endpoint proto.InternalMessageInfo
|
||||
|
||||
func (m *Endpoint) GetName() string {
|
||||
if m != nil {
|
||||
@@ -75,13 +104,6 @@ func (m *Endpoint) GetAliases() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Endpoint) GetApis() []string {
|
||||
if m != nil {
|
||||
return m.Apis
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Endpoint) GetFeatures() []string {
|
||||
if m != nil {
|
||||
return m.Features
|
||||
@@ -107,24 +129,24 @@ func init() {
|
||||
proto.RegisterType((*Endpoint)(nil), "google.api.Endpoint")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/endpoint.proto", fileDescriptor7) }
|
||||
func init() { proto.RegisterFile("google/api/endpoint.proto", fileDescriptor_ee48cbc4cc013456) }
|
||||
|
||||
var fileDescriptor7 = []byte{
|
||||
// 253 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x41, 0x4b, 0xc4, 0x30,
|
||||
0x10, 0x85, 0xe9, 0x6e, 0x5d, 0xdb, 0x01, 0x3d, 0xe4, 0x20, 0x71, 0x51, 0x28, 0x9e, 0x7a, 0x6a,
|
||||
0x0f, 0x1e, 0x3d, 0xb9, 0xb2, 0x88, 0xb7, 0xd2, 0xa3, 0x17, 0x19, 0xeb, 0x6c, 0x08, 0x64, 0x33,
|
||||
0x21, 0x89, 0xfa, 0x73, 0x04, 0x7f, 0xa9, 0x34, 0xed, 0xaa, 0x7b, 0x9b, 0xef, 0xbd, 0x37, 0x61,
|
||||
0x5e, 0xe0, 0x52, 0x31, 0x2b, 0x43, 0x2d, 0x3a, 0xdd, 0x92, 0x7d, 0x73, 0xac, 0x6d, 0x6c, 0x9c,
|
||||
0xe7, 0xc8, 0x02, 0x26, 0xab, 0x41, 0xa7, 0xd7, 0x57, 0xff, 0x62, 0x68, 0x2d, 0x47, 0x8c, 0x9a,
|
||||
0x6d, 0x98, 0x92, 0x37, 0x5f, 0x19, 0x14, 0xdb, 0x79, 0x59, 0x08, 0xc8, 0x2d, 0xee, 0x49, 0x66,
|
||||
0x55, 0x56, 0x97, 0x7d, 0x9a, 0x85, 0x84, 0x53, 0x34, 0x1a, 0x03, 0x05, 0xb9, 0xa8, 0x96, 0x75,
|
||||
0xd9, 0x1f, 0x70, 0x4c, 0xa3, 0xd3, 0x41, 0x2e, 0x93, 0x9c, 0x66, 0xb1, 0x86, 0x62, 0x47, 0x18,
|
||||
0xdf, 0x3d, 0x05, 0x99, 0x27, 0xfd, 0x97, 0xc5, 0x05, 0xac, 0x22, 0x7a, 0x45, 0x51, 0x52, 0x7a,
|
||||
0x7f, 0x26, 0x71, 0x0d, 0x80, 0xc6, 0xf0, 0xe7, 0xcb, 0xc0, 0x3e, 0xc8, 0x93, 0x2a, 0xab, 0x8b,
|
||||
0xbe, 0x4c, 0xca, 0x03, 0xfb, 0xb0, 0x61, 0x38, 0x1f, 0x78, 0xdf, 0xfc, 0x35, 0xda, 0x9c, 0x1d,
|
||||
0x0e, 0xee, 0xc6, 0x0a, 0x5d, 0xf6, 0xbc, 0x9d, 0x4d, 0xc5, 0x06, 0xad, 0x6a, 0xd8, 0xab, 0x56,
|
||||
0x91, 0x4d, 0x05, 0xdb, 0xc9, 0x1a, 0x8f, 0x4b, 0x3f, 0x10, 0xc8, 0x7f, 0xe8, 0x81, 0x06, 0xb6,
|
||||
0x3b, 0xad, 0xee, 0x8e, 0xe8, 0x7b, 0x91, 0x3f, 0xde, 0x77, 0x4f, 0xaf, 0xab, 0xb4, 0x78, 0xfb,
|
||||
0x13, 0x00, 0x00, 0xff, 0xff, 0x34, 0x0e, 0xdd, 0x70, 0x60, 0x01, 0x00, 0x00,
|
||||
var fileDescriptor_ee48cbc4cc013456 = []byte{
|
||||
// 245 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xb1, 0x4e, 0xc3, 0x30,
|
||||
0x10, 0x86, 0xe5, 0x12, 0x4a, 0x72, 0x12, 0x0c, 0x1e, 0x90, 0xa9, 0x40, 0x8a, 0x98, 0x32, 0x25,
|
||||
0x03, 0x23, 0x13, 0x45, 0x15, 0x62, 0x8b, 0x32, 0xb2, 0xa0, 0x23, 0x5c, 0x2d, 0x4b, 0xae, 0xcf,
|
||||
0xb2, 0x0d, 0x3c, 0x04, 0x6f, 0xc1, 0x93, 0x22, 0x9c, 0x14, 0xe8, 0xe6, 0xcf, 0xdf, 0xdd, 0xe9,
|
||||
0xff, 0xe1, 0x42, 0x33, 0x6b, 0x4b, 0x1d, 0x7a, 0xd3, 0x91, 0x7b, 0xf5, 0x6c, 0x5c, 0x6a, 0x7d,
|
||||
0xe0, 0xc4, 0x12, 0x26, 0xd5, 0xa2, 0x37, 0xab, 0xcb, 0x7f, 0x63, 0xe8, 0x1c, 0x27, 0x4c, 0x86,
|
||||
0x5d, 0x9c, 0x26, 0xaf, 0x3f, 0x05, 0x94, 0x9b, 0x79, 0x59, 0x4a, 0x28, 0x1c, 0xee, 0x48, 0x89,
|
||||
0x5a, 0x34, 0xd5, 0x90, 0xdf, 0x52, 0xc1, 0x09, 0x5a, 0x83, 0x91, 0xa2, 0x5a, 0xd4, 0x47, 0x4d,
|
||||
0x35, 0xec, 0x51, 0xae, 0xa0, 0xdc, 0x12, 0xa6, 0xb7, 0x40, 0x51, 0x15, 0x59, 0xfd, 0xb2, 0x3c,
|
||||
0x87, 0x65, 0xc2, 0xa0, 0x29, 0x29, 0xca, 0xb7, 0x66, 0x92, 0x57, 0x00, 0x68, 0x2d, 0x7f, 0x3c,
|
||||
0x8f, 0x1c, 0xa2, 0x3a, 0xae, 0x45, 0x53, 0x0e, 0x55, 0xfe, 0xb9, 0xe7, 0x10, 0xd7, 0x0c, 0x67,
|
||||
0x23, 0xef, 0xda, 0xbf, 0xf4, 0xeb, 0xd3, 0x7d, 0xb8, 0xfe, 0x27, 0x6e, 0x2f, 0x9e, 0x36, 0xb3,
|
||||
0xd4, 0x6c, 0xd1, 0xe9, 0x96, 0x83, 0xee, 0x34, 0xb9, 0x5c, 0xa6, 0x9b, 0x14, 0x7a, 0x13, 0x73,
|
||||
0xdb, 0x48, 0xe1, 0xdd, 0x8c, 0x34, 0xb2, 0xdb, 0x1a, 0x7d, 0x7b, 0x40, 0x5f, 0x8b, 0xe2, 0xe1,
|
||||
0xae, 0x7f, 0x7c, 0x59, 0xe6, 0xc5, 0x9b, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x32, 0xa4,
|
||||
0x36, 0x4c, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
61
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go
generated
vendored
61
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go
generated
vendored
@@ -3,16 +3,24 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_api2 "google.golang.org/genproto/googleapis/api/label"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
label "google.golang.org/genproto/googleapis/api/label"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// A description of a log type. Example in YAML format:
|
||||
//
|
||||
// - name: library.googleapis.com/activity_history
|
||||
@@ -26,23 +34,46 @@ type LogDescriptor struct {
|
||||
// include the following characters: upper- and lower-case alphanumeric
|
||||
// characters [A-Za-z0-9], and punctuation characters including
|
||||
// slash, underscore, hyphen, period [/_-.].
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The set of labels that are available to describe a specific log entry.
|
||||
// Runtime requests that contain labels not specified here are
|
||||
// considered invalid.
|
||||
Labels []*google_api2.LabelDescriptor `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty"`
|
||||
Labels []*label.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
|
||||
// A human-readable description of this log. This information appears in
|
||||
// the documentation and can contain details.
|
||||
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// The human-readable name for this log. This information appears on
|
||||
// the user interface and should be concise.
|
||||
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
|
||||
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *LogDescriptor) Reset() { *m = LogDescriptor{} }
|
||||
func (m *LogDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*LogDescriptor) ProtoMessage() {}
|
||||
func (*LogDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
|
||||
func (m *LogDescriptor) Reset() { *m = LogDescriptor{} }
|
||||
func (m *LogDescriptor) String() string { return proto.CompactTextString(m) }
|
||||
func (*LogDescriptor) ProtoMessage() {}
|
||||
func (*LogDescriptor) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6010a88b9216062d, []int{0}
|
||||
}
|
||||
|
||||
func (m *LogDescriptor) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_LogDescriptor.Unmarshal(m, b)
|
||||
}
|
||||
func (m *LogDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_LogDescriptor.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *LogDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LogDescriptor.Merge(m, src)
|
||||
}
|
||||
func (m *LogDescriptor) XXX_Size() int {
|
||||
return xxx_messageInfo_LogDescriptor.Size(m)
|
||||
}
|
||||
func (m *LogDescriptor) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_LogDescriptor.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_LogDescriptor proto.InternalMessageInfo
|
||||
|
||||
func (m *LogDescriptor) GetName() string {
|
||||
if m != nil {
|
||||
@@ -51,7 +82,7 @@ func (m *LogDescriptor) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogDescriptor) GetLabels() []*google_api2.LabelDescriptor {
|
||||
func (m *LogDescriptor) GetLabels() []*label.LabelDescriptor {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
@@ -76,9 +107,9 @@ func init() {
|
||||
proto.RegisterType((*LogDescriptor)(nil), "google.api.LogDescriptor")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor8) }
|
||||
func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor_6010a88b9216062d) }
|
||||
|
||||
var fileDescriptor8 = []byte{
|
||||
var fileDescriptor_6010a88b9216062d = []byte{
|
||||
// 238 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xc1, 0x4a, 0xc3, 0x40,
|
||||
0x10, 0x86, 0x49, 0x1b, 0x8a, 0x6e, 0xd5, 0xc3, 0x22, 0x12, 0xf4, 0x12, 0x3d, 0xf5, 0xb4, 0x01,
|
||||
|
||||
90
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go
generated
vendored
90
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go
generated
vendored
@@ -3,16 +3,24 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Logging configuration of the service.
|
||||
//
|
||||
// The following example shows how to configure logs to be sent to the
|
||||
@@ -47,18 +55,41 @@ type Logging struct {
|
||||
// There can be multiple producer destinations, each one must have a
|
||||
// different monitored resource type. A log can be used in at most
|
||||
// one producer destination.
|
||||
ProducerDestinations []*Logging_LoggingDestination `protobuf:"bytes,1,rep,name=producer_destinations,json=producerDestinations" json:"producer_destinations,omitempty"`
|
||||
ProducerDestinations []*Logging_LoggingDestination `protobuf:"bytes,1,rep,name=producer_destinations,json=producerDestinations,proto3" json:"producer_destinations,omitempty"`
|
||||
// Logging configurations for sending logs to the consumer project.
|
||||
// There can be multiple consumer destinations, each one must have a
|
||||
// different monitored resource type. A log can be used in at most
|
||||
// one consumer destination.
|
||||
ConsumerDestinations []*Logging_LoggingDestination `protobuf:"bytes,2,rep,name=consumer_destinations,json=consumerDestinations" json:"consumer_destinations,omitempty"`
|
||||
ConsumerDestinations []*Logging_LoggingDestination `protobuf:"bytes,2,rep,name=consumer_destinations,json=consumerDestinations,proto3" json:"consumer_destinations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Logging) Reset() { *m = Logging{} }
|
||||
func (m *Logging) String() string { return proto.CompactTextString(m) }
|
||||
func (*Logging) ProtoMessage() {}
|
||||
func (*Logging) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
|
||||
func (m *Logging) Reset() { *m = Logging{} }
|
||||
func (m *Logging) String() string { return proto.CompactTextString(m) }
|
||||
func (*Logging) ProtoMessage() {}
|
||||
func (*Logging) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9505b080db6dcefe, []int{0}
|
||||
}
|
||||
|
||||
func (m *Logging) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Logging.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Logging) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Logging.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Logging) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Logging.Merge(m, src)
|
||||
}
|
||||
func (m *Logging) XXX_Size() int {
|
||||
return xxx_messageInfo_Logging.Size(m)
|
||||
}
|
||||
func (m *Logging) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Logging.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Logging proto.InternalMessageInfo
|
||||
|
||||
func (m *Logging) GetProducerDestinations() []*Logging_LoggingDestination {
|
||||
if m != nil {
|
||||
@@ -79,18 +110,41 @@ func (m *Logging) GetConsumerDestinations() []*Logging_LoggingDestination {
|
||||
type Logging_LoggingDestination struct {
|
||||
// The monitored resource type. The type must be defined in the
|
||||
// [Service.monitored_resources][google.api.Service.monitored_resources] section.
|
||||
MonitoredResource string `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource" json:"monitored_resource,omitempty"`
|
||||
MonitoredResource string `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"`
|
||||
// Names of the logs to be sent to this destination. Each name must
|
||||
// be defined in the [Service.logs][google.api.Service.logs] section. If the log name is
|
||||
// not a domain scoped name, it will be automatically prefixed with
|
||||
// the service name followed by "/".
|
||||
Logs []string `protobuf:"bytes,1,rep,name=logs" json:"logs,omitempty"`
|
||||
Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Logging_LoggingDestination) Reset() { *m = Logging_LoggingDestination{} }
|
||||
func (m *Logging_LoggingDestination) String() string { return proto.CompactTextString(m) }
|
||||
func (*Logging_LoggingDestination) ProtoMessage() {}
|
||||
func (*Logging_LoggingDestination) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0, 0} }
|
||||
func (m *Logging_LoggingDestination) Reset() { *m = Logging_LoggingDestination{} }
|
||||
func (m *Logging_LoggingDestination) String() string { return proto.CompactTextString(m) }
|
||||
func (*Logging_LoggingDestination) ProtoMessage() {}
|
||||
func (*Logging_LoggingDestination) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9505b080db6dcefe, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Logging_LoggingDestination) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Logging_LoggingDestination.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Logging_LoggingDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Logging_LoggingDestination.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Logging_LoggingDestination) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Logging_LoggingDestination.Merge(m, src)
|
||||
}
|
||||
func (m *Logging_LoggingDestination) XXX_Size() int {
|
||||
return xxx_messageInfo_Logging_LoggingDestination.Size(m)
|
||||
}
|
||||
func (m *Logging_LoggingDestination) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Logging_LoggingDestination.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Logging_LoggingDestination proto.InternalMessageInfo
|
||||
|
||||
func (m *Logging_LoggingDestination) GetMonitoredResource() string {
|
||||
if m != nil {
|
||||
@@ -111,9 +165,9 @@ func init() {
|
||||
proto.RegisterType((*Logging_LoggingDestination)(nil), "google.api.Logging.LoggingDestination")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/logging.proto", fileDescriptor9) }
|
||||
func init() { proto.RegisterFile("google/api/logging.proto", fileDescriptor_9505b080db6dcefe) }
|
||||
|
||||
var fileDescriptor9 = []byte{
|
||||
var fileDescriptor_9505b080db6dcefe = []byte{
|
||||
// 270 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x4f, 0x4b, 0xc4, 0x30,
|
||||
0x10, 0xc5, 0x69, 0x77, 0x51, 0x36, 0x8a, 0x60, 0x50, 0x28, 0x8b, 0x87, 0xc5, 0x83, 0xec, 0xc5,
|
||||
|
||||
82
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go
generated
vendored
82
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go
generated
vendored
@@ -3,16 +3,24 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Monitoring configuration of the service.
|
||||
//
|
||||
// The example below shows how to configure monitored resources and metrics
|
||||
@@ -55,18 +63,41 @@ type Monitoring struct {
|
||||
// There can be multiple producer destinations, each one must have a
|
||||
// different monitored resource type. A metric can be used in at most
|
||||
// one producer destination.
|
||||
ProducerDestinations []*Monitoring_MonitoringDestination `protobuf:"bytes,1,rep,name=producer_destinations,json=producerDestinations" json:"producer_destinations,omitempty"`
|
||||
ProducerDestinations []*Monitoring_MonitoringDestination `protobuf:"bytes,1,rep,name=producer_destinations,json=producerDestinations,proto3" json:"producer_destinations,omitempty"`
|
||||
// Monitoring configurations for sending metrics to the consumer project.
|
||||
// There can be multiple consumer destinations, each one must have a
|
||||
// different monitored resource type. A metric can be used in at most
|
||||
// one consumer destination.
|
||||
ConsumerDestinations []*Monitoring_MonitoringDestination `protobuf:"bytes,2,rep,name=consumer_destinations,json=consumerDestinations" json:"consumer_destinations,omitempty"`
|
||||
ConsumerDestinations []*Monitoring_MonitoringDestination `protobuf:"bytes,2,rep,name=consumer_destinations,json=consumerDestinations,proto3" json:"consumer_destinations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Monitoring) Reset() { *m = Monitoring{} }
|
||||
func (m *Monitoring) String() string { return proto.CompactTextString(m) }
|
||||
func (*Monitoring) ProtoMessage() {}
|
||||
func (*Monitoring) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
|
||||
func (m *Monitoring) Reset() { *m = Monitoring{} }
|
||||
func (m *Monitoring) String() string { return proto.CompactTextString(m) }
|
||||
func (*Monitoring) ProtoMessage() {}
|
||||
func (*Monitoring) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6e2076230a37a7e3, []int{0}
|
||||
}
|
||||
|
||||
func (m *Monitoring) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Monitoring.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Monitoring.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Monitoring) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Monitoring.Merge(m, src)
|
||||
}
|
||||
func (m *Monitoring) XXX_Size() int {
|
||||
return xxx_messageInfo_Monitoring.Size(m)
|
||||
}
|
||||
func (m *Monitoring) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Monitoring.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Monitoring proto.InternalMessageInfo
|
||||
|
||||
func (m *Monitoring) GetProducerDestinations() []*Monitoring_MonitoringDestination {
|
||||
if m != nil {
|
||||
@@ -87,19 +118,40 @@ func (m *Monitoring) GetConsumerDestinations() []*Monitoring_MonitoringDestinati
|
||||
type Monitoring_MonitoringDestination struct {
|
||||
// The monitored resource type. The type must be defined in
|
||||
// [Service.monitored_resources][google.api.Service.monitored_resources] section.
|
||||
MonitoredResource string `protobuf:"bytes,1,opt,name=monitored_resource,json=monitoredResource" json:"monitored_resource,omitempty"`
|
||||
MonitoredResource string `protobuf:"bytes,1,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"`
|
||||
// Names of the metrics to report to this monitoring destination.
|
||||
// Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
|
||||
Metrics []string `protobuf:"bytes,2,rep,name=metrics" json:"metrics,omitempty"`
|
||||
Metrics []string `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Monitoring_MonitoringDestination) Reset() { *m = Monitoring_MonitoringDestination{} }
|
||||
func (m *Monitoring_MonitoringDestination) String() string { return proto.CompactTextString(m) }
|
||||
func (*Monitoring_MonitoringDestination) ProtoMessage() {}
|
||||
func (*Monitoring_MonitoringDestination) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor10, []int{0, 0}
|
||||
return fileDescriptor_6e2076230a37a7e3, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Monitoring_MonitoringDestination) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Monitoring_MonitoringDestination.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Monitoring_MonitoringDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Monitoring_MonitoringDestination.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Monitoring_MonitoringDestination) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Monitoring_MonitoringDestination.Merge(m, src)
|
||||
}
|
||||
func (m *Monitoring_MonitoringDestination) XXX_Size() int {
|
||||
return xxx_messageInfo_Monitoring_MonitoringDestination.Size(m)
|
||||
}
|
||||
func (m *Monitoring_MonitoringDestination) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Monitoring_MonitoringDestination.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Monitoring_MonitoringDestination proto.InternalMessageInfo
|
||||
|
||||
func (m *Monitoring_MonitoringDestination) GetMonitoredResource() string {
|
||||
if m != nil {
|
||||
return m.MonitoredResource
|
||||
@@ -119,9 +171,9 @@ func init() {
|
||||
proto.RegisterType((*Monitoring_MonitoringDestination)(nil), "google.api.Monitoring.MonitoringDestination")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/monitoring.proto", fileDescriptor10) }
|
||||
func init() { proto.RegisterFile("google/api/monitoring.proto", fileDescriptor_6e2076230a37a7e3) }
|
||||
|
||||
var fileDescriptor10 = []byte{
|
||||
var fileDescriptor_6e2076230a37a7e3 = []byte{
|
||||
// 271 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x51, 0xcd, 0x4a, 0xc4, 0x30,
|
||||
0x10, 0xa6, 0x55, 0x94, 0x8d, 0xa0, 0x58, 0x5c, 0x28, 0xab, 0x87, 0xc5, 0xd3, 0x1e, 0xb4, 0x05,
|
||||
|
||||
143
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go
generated
vendored
143
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go
generated
vendored
@@ -3,16 +3,24 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Quota configuration helps to achieve fairness and budgeting in service
|
||||
// usage.
|
||||
//
|
||||
@@ -66,18 +74,41 @@ type Quota struct {
|
||||
// List of `QuotaLimit` definitions for the service.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
Limits []*QuotaLimit `protobuf:"bytes,3,rep,name=limits" json:"limits,omitempty"`
|
||||
Limits []*QuotaLimit `protobuf:"bytes,3,rep,name=limits,proto3" json:"limits,omitempty"`
|
||||
// List of `MetricRule` definitions, each one mapping a selected method to one
|
||||
// or more metrics.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
MetricRules []*MetricRule `protobuf:"bytes,4,rep,name=metric_rules,json=metricRules" json:"metric_rules,omitempty"`
|
||||
MetricRules []*MetricRule `protobuf:"bytes,4,rep,name=metric_rules,json=metricRules,proto3" json:"metric_rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Quota) Reset() { *m = Quota{} }
|
||||
func (m *Quota) String() string { return proto.CompactTextString(m) }
|
||||
func (*Quota) ProtoMessage() {}
|
||||
func (*Quota) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
|
||||
func (m *Quota) Reset() { *m = Quota{} }
|
||||
func (m *Quota) String() string { return proto.CompactTextString(m) }
|
||||
func (*Quota) ProtoMessage() {}
|
||||
func (*Quota) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6822ef0454b3845a, []int{0}
|
||||
}
|
||||
|
||||
func (m *Quota) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Quota.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Quota.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Quota) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Quota.Merge(m, src)
|
||||
}
|
||||
func (m *Quota) XXX_Size() int {
|
||||
return xxx_messageInfo_Quota.Size(m)
|
||||
}
|
||||
func (m *Quota) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Quota.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Quota proto.InternalMessageInfo
|
||||
|
||||
func (m *Quota) GetLimits() []*QuotaLimit {
|
||||
if m != nil {
|
||||
@@ -102,20 +133,43 @@ type MetricRule struct {
|
||||
// Selects the methods to which this rule applies.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// Metrics to update when the selected methods are called, and the associated
|
||||
// cost applied to each metric.
|
||||
//
|
||||
// The key of the map is the metric name, and the values are the amount
|
||||
// increased for the metric against which the quota limits are defined.
|
||||
// The value must not be negative.
|
||||
MetricCosts map[string]int64 `protobuf:"bytes,2,rep,name=metric_costs,json=metricCosts" json:"metric_costs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||||
MetricCosts map[string]int64 `protobuf:"bytes,2,rep,name=metric_costs,json=metricCosts,proto3" json:"metric_costs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MetricRule) Reset() { *m = MetricRule{} }
|
||||
func (m *MetricRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricRule) ProtoMessage() {}
|
||||
func (*MetricRule) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
|
||||
func (m *MetricRule) Reset() { *m = MetricRule{} }
|
||||
func (m *MetricRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricRule) ProtoMessage() {}
|
||||
func (*MetricRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6822ef0454b3845a, []int{1}
|
||||
}
|
||||
|
||||
func (m *MetricRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MetricRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MetricRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MetricRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MetricRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricRule.Merge(m, src)
|
||||
}
|
||||
func (m *MetricRule) XXX_Size() int {
|
||||
return xxx_messageInfo_MetricRule.Size(m)
|
||||
}
|
||||
func (m *MetricRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MetricRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MetricRule proto.InternalMessageInfo
|
||||
|
||||
func (m *MetricRule) GetSelector() string {
|
||||
if m != nil {
|
||||
@@ -153,11 +207,11 @@ type QuotaLimit struct {
|
||||
// immutable. You can use the display_name field to provide a user-friendly
|
||||
// name for the limit. The display name can be evolved over time without
|
||||
// affecting the identity of the limit.
|
||||
Name string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Optional. User-visible, extended description for this quota limit.
|
||||
// Should be used only when more context is needed to understand this limit
|
||||
// than provided by the limit's display name (see: `display_name`).
|
||||
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// Default number of tokens that can be consumed during the specified
|
||||
// duration. This is the number of tokens assigned when a client
|
||||
// application developer activates the service for his/her project.
|
||||
@@ -168,7 +222,7 @@ type QuotaLimit struct {
|
||||
// negative values are allowed.
|
||||
//
|
||||
// Used by group-based quotas only.
|
||||
DefaultLimit int64 `protobuf:"varint,3,opt,name=default_limit,json=defaultLimit" json:"default_limit,omitempty"`
|
||||
DefaultLimit int64 `protobuf:"varint,3,opt,name=default_limit,json=defaultLimit,proto3" json:"default_limit,omitempty"`
|
||||
// Maximum number of tokens that can be consumed during the specified
|
||||
// duration. Client application developers can override the default limit up
|
||||
// to this maximum. If specified, this value cannot be set to a value less
|
||||
@@ -178,7 +232,7 @@ type QuotaLimit struct {
|
||||
// indicating unlimited maximum quota.
|
||||
//
|
||||
// Used by group-based quotas only.
|
||||
MaxLimit int64 `protobuf:"varint,4,opt,name=max_limit,json=maxLimit" json:"max_limit,omitempty"`
|
||||
MaxLimit int64 `protobuf:"varint,4,opt,name=max_limit,json=maxLimit,proto3" json:"max_limit,omitempty"`
|
||||
// Free tier value displayed in the Developers Console for this limit.
|
||||
// The free tier is the number of tokens that will be subtracted from the
|
||||
// billed amount when billing is enabled.
|
||||
@@ -187,20 +241,20 @@ type QuotaLimit struct {
|
||||
// defaults to 0, indicating that there is no free tier for this service.
|
||||
//
|
||||
// Used by group-based quotas only.
|
||||
FreeTier int64 `protobuf:"varint,7,opt,name=free_tier,json=freeTier" json:"free_tier,omitempty"`
|
||||
FreeTier int64 `protobuf:"varint,7,opt,name=free_tier,json=freeTier,proto3" json:"free_tier,omitempty"`
|
||||
// Duration of this limit in textual notation. Example: "100s", "24h", "1d".
|
||||
// For duration longer than a day, only multiple of days is supported. We
|
||||
// support only "100s" and "1d" for now. Additional support will be added in
|
||||
// the future. "0" indicates indefinite duration.
|
||||
//
|
||||
// Used by group-based quotas only.
|
||||
Duration string `protobuf:"bytes,5,opt,name=duration" json:"duration,omitempty"`
|
||||
Duration string `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
|
||||
// The name of the metric this quota limit applies to. The quota limits with
|
||||
// the same metric will be checked together during runtime. The metric must be
|
||||
// defined within the service config.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
Metric string `protobuf:"bytes,8,opt,name=metric" json:"metric,omitempty"`
|
||||
Metric string `protobuf:"bytes,8,opt,name=metric,proto3" json:"metric,omitempty"`
|
||||
// Specify the unit of the quota limit. It uses the same syntax as
|
||||
// [Metric.unit][]. The supported unit kinds are determined by the quota
|
||||
// backend system.
|
||||
@@ -232,7 +286,7 @@ type QuotaLimit struct {
|
||||
// The "1" at the beginning is required to follow the metric unit syntax.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
Unit string `protobuf:"bytes,9,opt,name=unit" json:"unit,omitempty"`
|
||||
Unit string `protobuf:"bytes,9,opt,name=unit,proto3" json:"unit,omitempty"`
|
||||
// Tiered limit values. Also allows for regional or zone overrides for these
|
||||
// values if "/{region}" or "/{zone}" is specified in the unit field.
|
||||
//
|
||||
@@ -265,18 +319,41 @@ type QuotaLimit struct {
|
||||
// tier as well.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
Values map[string]int64 `protobuf:"bytes,10,rep,name=values" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
||||
Values map[string]int64 `protobuf:"bytes,10,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||
// User-visible display name for this limit.
|
||||
// Optional. If not set, the UI will provide a default display name based on
|
||||
// the quota configuration. This field can be used to override the default
|
||||
// display name generated from the configuration.
|
||||
DisplayName string `protobuf:"bytes,12,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
|
||||
DisplayName string `protobuf:"bytes,12,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) Reset() { *m = QuotaLimit{} }
|
||||
func (m *QuotaLimit) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaLimit) ProtoMessage() {}
|
||||
func (*QuotaLimit) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{2} }
|
||||
func (m *QuotaLimit) Reset() { *m = QuotaLimit{} }
|
||||
func (m *QuotaLimit) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaLimit) ProtoMessage() {}
|
||||
func (*QuotaLimit) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6822ef0454b3845a, []int{2}
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_QuotaLimit.Unmarshal(m, b)
|
||||
}
|
||||
func (m *QuotaLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_QuotaLimit.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *QuotaLimit) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaLimit.Merge(m, src)
|
||||
}
|
||||
func (m *QuotaLimit) XXX_Size() int {
|
||||
return xxx_messageInfo_QuotaLimit.Size(m)
|
||||
}
|
||||
func (m *QuotaLimit) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QuotaLimit.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QuotaLimit proto.InternalMessageInfo
|
||||
|
||||
func (m *QuotaLimit) GetName() string {
|
||||
if m != nil {
|
||||
@@ -351,12 +428,14 @@ func (m *QuotaLimit) GetDisplayName() string {
|
||||
func init() {
|
||||
proto.RegisterType((*Quota)(nil), "google.api.Quota")
|
||||
proto.RegisterType((*MetricRule)(nil), "google.api.MetricRule")
|
||||
proto.RegisterMapType((map[string]int64)(nil), "google.api.MetricRule.MetricCostsEntry")
|
||||
proto.RegisterType((*QuotaLimit)(nil), "google.api.QuotaLimit")
|
||||
proto.RegisterMapType((map[string]int64)(nil), "google.api.QuotaLimit.ValuesEntry")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/quota.proto", fileDescriptor11) }
|
||||
func init() { proto.RegisterFile("google/api/quota.proto", fileDescriptor_6822ef0454b3845a) }
|
||||
|
||||
var fileDescriptor11 = []byte{
|
||||
var fileDescriptor_6822ef0454b3845a = []byte{
|
||||
// 466 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x8e, 0xd3, 0x30,
|
||||
0x10, 0x55, 0x9a, 0xb6, 0xb4, 0xd3, 0x82, 0x56, 0x16, 0xaa, 0xac, 0xc2, 0xa1, 0x94, 0x03, 0x3d,
|
||||
|
||||
242
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go
generated
vendored
242
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go
generated
vendored
@@ -3,25 +3,29 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_api5 "google.golang.org/genproto/googleapis/api"
|
||||
import google_api "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "google.golang.org/genproto/googleapis/api/label"
|
||||
import google_api3 "google.golang.org/genproto/googleapis/api/metric"
|
||||
import google_api6 "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
import google_protobuf4 "google.golang.org/genproto/protobuf/api"
|
||||
import google_protobuf3 "google.golang.org/genproto/protobuf/ptype"
|
||||
import google_protobuf5 "github.com/golang/protobuf/ptypes/wrappers"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
annotations "google.golang.org/genproto/googleapis/api/annotations"
|
||||
metric "google.golang.org/genproto/googleapis/api/metric"
|
||||
monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
api "google.golang.org/genproto/protobuf/api"
|
||||
ptype "google.golang.org/genproto/protobuf/ptype"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// `Service` is the root object of Google service configuration schema. It
|
||||
// describes basic information about a service, such as the name and the
|
||||
// title, and delegates other aspects to sub-sections. Each sub-section is
|
||||
@@ -50,24 +54,24 @@ type Service struct {
|
||||
// affects the interpretation of the service configuration. For example,
|
||||
// certain features are enabled by default for certain config versions.
|
||||
// The latest config version is `3`.
|
||||
ConfigVersion *google_protobuf5.UInt32Value `protobuf:"bytes,20,opt,name=config_version,json=configVersion" json:"config_version,omitempty"`
|
||||
ConfigVersion *wrappers.UInt32Value `protobuf:"bytes,20,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
|
||||
// The DNS address at which this service is available,
|
||||
// e.g. `calendar.googleapis.com`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// A unique ID for a specific instance of this message, typically assigned
|
||||
// by the client for tracking purpose. If empty, the server may choose to
|
||||
// generate one instead.
|
||||
Id string `protobuf:"bytes,33,opt,name=id" json:"id,omitempty"`
|
||||
Id string `protobuf:"bytes,33,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// The product title for this service.
|
||||
Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
|
||||
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
||||
// The Google project that owns this service.
|
||||
ProducerProjectId string `protobuf:"bytes,22,opt,name=producer_project_id,json=producerProjectId" json:"producer_project_id,omitempty"`
|
||||
ProducerProjectId string `protobuf:"bytes,22,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"`
|
||||
// A list of API interfaces exported by this service. Only the `name` field
|
||||
// of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
|
||||
// author, as the remaining fields will be derived from the IDL during the
|
||||
// normalization process. It is an error to specify an API interface here
|
||||
// which cannot be resolved against the associated IDL files.
|
||||
Apis []*google_protobuf4.Api `protobuf:"bytes,3,rep,name=apis" json:"apis,omitempty"`
|
||||
Apis []*api.Api `protobuf:"bytes,3,rep,name=apis,proto3" json:"apis,omitempty"`
|
||||
// A list of all proto message types included in this API service.
|
||||
// Types referenced directly or indirectly by the `apis` are
|
||||
// automatically included. Messages which are not referenced but
|
||||
@@ -76,7 +80,7 @@ type Service struct {
|
||||
//
|
||||
// types:
|
||||
// - name: google.protobuf.Int32
|
||||
Types []*google_protobuf3.Type `protobuf:"bytes,4,rep,name=types" json:"types,omitempty"`
|
||||
Types []*ptype.Type `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"`
|
||||
// A list of all enum types included in this API service. Enums
|
||||
// referenced directly or indirectly by the `apis` are automatically
|
||||
// included. Enums which are not referenced but shall be included
|
||||
@@ -84,54 +88,75 @@ type Service struct {
|
||||
//
|
||||
// enums:
|
||||
// - name: google.someapi.v1.SomeEnum
|
||||
Enums []*google_protobuf3.Enum `protobuf:"bytes,5,rep,name=enums" json:"enums,omitempty"`
|
||||
Enums []*ptype.Enum `protobuf:"bytes,5,rep,name=enums,proto3" json:"enums,omitempty"`
|
||||
// Additional API documentation.
|
||||
Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation" json:"documentation,omitempty"`
|
||||
Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"`
|
||||
// API backend configuration.
|
||||
Backend *Backend `protobuf:"bytes,8,opt,name=backend" json:"backend,omitempty"`
|
||||
Backend *Backend `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"`
|
||||
// HTTP configuration.
|
||||
Http *google_api.Http `protobuf:"bytes,9,opt,name=http" json:"http,omitempty"`
|
||||
Http *annotations.Http `protobuf:"bytes,9,opt,name=http,proto3" json:"http,omitempty"`
|
||||
// Quota configuration.
|
||||
Quota *Quota `protobuf:"bytes,10,opt,name=quota" json:"quota,omitempty"`
|
||||
Quota *Quota `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"`
|
||||
// Auth configuration.
|
||||
Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication" json:"authentication,omitempty"`
|
||||
Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"`
|
||||
// Context configuration.
|
||||
Context *Context `protobuf:"bytes,12,opt,name=context" json:"context,omitempty"`
|
||||
Context *Context `protobuf:"bytes,12,opt,name=context,proto3" json:"context,omitempty"`
|
||||
// Configuration controlling usage of this service.
|
||||
Usage *Usage `protobuf:"bytes,15,opt,name=usage" json:"usage,omitempty"`
|
||||
Usage *Usage `protobuf:"bytes,15,opt,name=usage,proto3" json:"usage,omitempty"`
|
||||
// Configuration for network endpoints. If this is empty, then an endpoint
|
||||
// with the same name as the service is automatically generated to service all
|
||||
// defined APIs.
|
||||
Endpoints []*Endpoint `protobuf:"bytes,18,rep,name=endpoints" json:"endpoints,omitempty"`
|
||||
Endpoints []*Endpoint `protobuf:"bytes,18,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
|
||||
// Configuration for the service control plane.
|
||||
Control *Control `protobuf:"bytes,21,opt,name=control" json:"control,omitempty"`
|
||||
Control *Control `protobuf:"bytes,21,opt,name=control,proto3" json:"control,omitempty"`
|
||||
// Defines the logs used by this service.
|
||||
Logs []*LogDescriptor `protobuf:"bytes,23,rep,name=logs" json:"logs,omitempty"`
|
||||
Logs []*LogDescriptor `protobuf:"bytes,23,rep,name=logs,proto3" json:"logs,omitempty"`
|
||||
// Defines the metrics used by this service.
|
||||
Metrics []*google_api3.MetricDescriptor `protobuf:"bytes,24,rep,name=metrics" json:"metrics,omitempty"`
|
||||
Metrics []*metric.MetricDescriptor `protobuf:"bytes,24,rep,name=metrics,proto3" json:"metrics,omitempty"`
|
||||
// Defines the monitored resources used by this service. This is required
|
||||
// by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
|
||||
MonitoredResources []*google_api6.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources" json:"monitored_resources,omitempty"`
|
||||
MonitoredResources []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"`
|
||||
// Billing configuration.
|
||||
Billing *Billing `protobuf:"bytes,26,opt,name=billing" json:"billing,omitempty"`
|
||||
Billing *Billing `protobuf:"bytes,26,opt,name=billing,proto3" json:"billing,omitempty"`
|
||||
// Logging configuration.
|
||||
Logging *Logging `protobuf:"bytes,27,opt,name=logging" json:"logging,omitempty"`
|
||||
Logging *Logging `protobuf:"bytes,27,opt,name=logging,proto3" json:"logging,omitempty"`
|
||||
// Monitoring configuration.
|
||||
Monitoring *Monitoring `protobuf:"bytes,28,opt,name=monitoring" json:"monitoring,omitempty"`
|
||||
Monitoring *Monitoring `protobuf:"bytes,28,opt,name=monitoring,proto3" json:"monitoring,omitempty"`
|
||||
// System parameter configuration.
|
||||
SystemParameters *SystemParameters `protobuf:"bytes,29,opt,name=system_parameters,json=systemParameters" json:"system_parameters,omitempty"`
|
||||
SystemParameters *SystemParameters `protobuf:"bytes,29,opt,name=system_parameters,json=systemParameters,proto3" json:"system_parameters,omitempty"`
|
||||
// Output only. The source information for this configuration if available.
|
||||
SourceInfo *SourceInfo `protobuf:"bytes,37,opt,name=source_info,json=sourceInfo" json:"source_info,omitempty"`
|
||||
// Experimental configuration.
|
||||
Experimental *google_api5.Experimental `protobuf:"bytes,101,opt,name=experimental" json:"experimental,omitempty"`
|
||||
SourceInfo *SourceInfo `protobuf:"bytes,37,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Service) Reset() { *m = Service{} }
|
||||
func (m *Service) String() string { return proto.CompactTextString(m) }
|
||||
func (*Service) ProtoMessage() {}
|
||||
func (*Service) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} }
|
||||
func (m *Service) Reset() { *m = Service{} }
|
||||
func (m *Service) String() string { return proto.CompactTextString(m) }
|
||||
func (*Service) ProtoMessage() {}
|
||||
func (*Service) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d556deeebe545813, []int{0}
|
||||
}
|
||||
|
||||
func (m *Service) GetConfigVersion() *google_protobuf5.UInt32Value {
|
||||
func (m *Service) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Service.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Service.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Service) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Service.Merge(m, src)
|
||||
}
|
||||
func (m *Service) XXX_Size() int {
|
||||
return xxx_messageInfo_Service.Size(m)
|
||||
}
|
||||
func (m *Service) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Service.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Service proto.InternalMessageInfo
|
||||
|
||||
func (m *Service) GetConfigVersion() *wrappers.UInt32Value {
|
||||
if m != nil {
|
||||
return m.ConfigVersion
|
||||
}
|
||||
@@ -166,21 +191,21 @@ func (m *Service) GetProducerProjectId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Service) GetApis() []*google_protobuf4.Api {
|
||||
func (m *Service) GetApis() []*api.Api {
|
||||
if m != nil {
|
||||
return m.Apis
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetTypes() []*google_protobuf3.Type {
|
||||
func (m *Service) GetTypes() []*ptype.Type {
|
||||
if m != nil {
|
||||
return m.Types
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetEnums() []*google_protobuf3.Enum {
|
||||
func (m *Service) GetEnums() []*ptype.Enum {
|
||||
if m != nil {
|
||||
return m.Enums
|
||||
}
|
||||
@@ -201,7 +226,7 @@ func (m *Service) GetBackend() *Backend {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetHttp() *google_api.Http {
|
||||
func (m *Service) GetHttp() *annotations.Http {
|
||||
if m != nil {
|
||||
return m.Http
|
||||
}
|
||||
@@ -257,14 +282,14 @@ func (m *Service) GetLogs() []*LogDescriptor {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetMetrics() []*google_api3.MetricDescriptor {
|
||||
func (m *Service) GetMetrics() []*metric.MetricDescriptor {
|
||||
if m != nil {
|
||||
return m.Metrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetMonitoredResources() []*google_api6.MonitoredResourceDescriptor {
|
||||
func (m *Service) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor {
|
||||
if m != nil {
|
||||
return m.MonitoredResources
|
||||
}
|
||||
@@ -306,71 +331,62 @@ func (m *Service) GetSourceInfo() *SourceInfo {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetExperimental() *google_api5.Experimental {
|
||||
if m != nil {
|
||||
return m.Experimental
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Service)(nil), "google.api.Service")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor12) }
|
||||
func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor_d556deeebe545813) }
|
||||
|
||||
var fileDescriptor12 = []byte{
|
||||
// 825 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x96, 0xdf, 0x6e, 0xdb, 0x36,
|
||||
0x14, 0x87, 0x61, 0xd7, 0x6e, 0x16, 0x3a, 0xcd, 0x1a, 0xc6, 0x49, 0x19, 0xd7, 0x1b, 0xd2, 0xfd,
|
||||
0x41, 0x8d, 0x0d, 0x95, 0x01, 0x17, 0xe8, 0x2e, 0x36, 0x60, 0x88, 0xdb, 0x60, 0x33, 0xd0, 0x01,
|
||||
0x1e, 0xb3, 0x16, 0xc3, 0x6e, 0x0c, 0x5a, 0xa2, 0x55, 0x6e, 0x12, 0xc9, 0x91, 0x54, 0x17, 0x3f,
|
||||
0xc7, 0xde, 0x60, 0x4f, 0x3a, 0x88, 0xa4, 0x62, 0xca, 0x52, 0xee, 0x22, 0x7e, 0xdf, 0x39, 0x38,
|
||||
0x14, 0xa9, 0x9f, 0x03, 0x50, 0x2a, 0x44, 0x9a, 0xd1, 0x29, 0x91, 0x6c, 0xaa, 0xa9, 0xfa, 0xc8,
|
||||
0x62, 0x1a, 0x49, 0x25, 0x8c, 0x80, 0xc0, 0x91, 0x88, 0x48, 0x36, 0x1a, 0x07, 0x16, 0xe1, 0x5c,
|
||||
0x18, 0x62, 0x98, 0xe0, 0xda, 0x99, 0xa3, 0xb3, 0x90, 0x16, 0xe6, 0x83, 0x5f, 0x0e, 0x5b, 0xaf,
|
||||
0x49, 0xfc, 0x17, 0xe5, 0x49, 0x1b, 0x61, 0x59, 0xc6, 0x78, 0xda, 0x42, 0x62, 0xc1, 0x0d, 0xbd,
|
||||
0x35, 0xf7, 0x10, 0x25, 0x32, 0x4f, 0x3e, 0x0f, 0x48, 0x22, 0xe2, 0x22, 0xa7, 0xdc, 0xcd, 0xe7,
|
||||
0xf9, 0x45, 0xc0, 0x29, 0x4f, 0xa4, 0x60, 0xbc, 0x6a, 0xfa, 0x4d, 0x88, 0x6e, 0x25, 0x55, 0xcc,
|
||||
0x16, 0x67, 0xb5, 0x87, 0x96, 0x5d, 0x7e, 0x30, 0x46, 0xfa, 0xe5, 0xf3, 0x60, 0x39, 0x23, 0x6b,
|
||||
0x5a, 0xe9, 0xc3, 0x70, 0x5d, 0xb4, 0xed, 0x2f, 0x13, 0x69, 0xba, 0xdb, 0xf9, 0x93, 0x80, 0xe4,
|
||||
0xd4, 0x28, 0x16, 0x7b, 0xf0, 0x65, 0x08, 0x04, 0x67, 0x46, 0x28, 0x9a, 0xac, 0x14, 0xd5, 0xa2,
|
||||
0x50, 0xd5, 0x61, 0x8d, 0x9e, 0x36, 0xa5, 0x5d, 0xeb, 0x70, 0xc4, 0xbf, 0x0b, 0x61, 0x88, 0x5f,
|
||||
0x0f, 0x4f, 0xd5, 0x75, 0x5b, 0x31, 0xbe, 0x11, 0x9e, 0x3e, 0x0b, 0xe9, 0x56, 0x1b, 0x9a, 0xaf,
|
||||
0x24, 0x51, 0x24, 0xa7, 0x86, 0xaa, 0x96, 0xc6, 0x85, 0x26, 0x29, 0xdd, 0x7b, 0xe3, 0xf6, 0x69,
|
||||
0x5d, 0x6c, 0xa6, 0x84, 0x6f, 0xef, 0x45, 0x92, 0x79, 0x34, 0xda, 0x47, 0x66, 0x2b, 0xe9, 0xde,
|
||||
0x19, 0xdf, 0xb1, 0x7f, 0x14, 0x91, 0x92, 0x2a, 0x7f, 0x05, 0xbf, 0xf8, 0x17, 0x80, 0x83, 0x1b,
|
||||
0x77, 0x7d, 0xe1, 0x6b, 0x70, 0x1c, 0x0b, 0xbe, 0x61, 0xe9, 0xea, 0x23, 0x55, 0x9a, 0x09, 0x8e,
|
||||
0x86, 0x97, 0x9d, 0xc9, 0x60, 0x36, 0x8e, 0xfc, 0x8d, 0xae, 0x9a, 0x44, 0xef, 0x16, 0xdc, 0xbc,
|
||||
0x9c, 0xbd, 0x27, 0x59, 0x41, 0xf1, 0x23, 0x57, 0xf3, 0xde, 0x95, 0x40, 0x08, 0x7a, 0x9c, 0xe4,
|
||||
0x14, 0x75, 0x2e, 0x3b, 0x93, 0x43, 0x6c, 0xff, 0x86, 0xc7, 0xa0, 0xcb, 0x12, 0xf4, 0xcc, 0xae,
|
||||
0x74, 0x59, 0x02, 0x87, 0xa0, 0x6f, 0x98, 0xc9, 0x28, 0xea, 0xda, 0x25, 0xf7, 0x00, 0x23, 0x70,
|
||||
0x2a, 0x95, 0x48, 0x8a, 0x98, 0xaa, 0x95, 0x54, 0xe2, 0x4f, 0x1a, 0x9b, 0x15, 0x4b, 0xd0, 0xb9,
|
||||
0x75, 0x4e, 0x2a, 0xb4, 0x74, 0x64, 0x91, 0xc0, 0x09, 0xe8, 0x11, 0xc9, 0x34, 0x7a, 0x70, 0xf9,
|
||||
0x60, 0x32, 0x98, 0x0d, 0x1b, 0x43, 0x5e, 0x49, 0x86, 0xad, 0x01, 0xbf, 0x05, 0xfd, 0xf2, 0x95,
|
||||
0x68, 0xd4, 0xb3, 0xea, 0x59, 0x43, 0xfd, 0x6d, 0x2b, 0x29, 0x76, 0x4e, 0x29, 0x53, 0x5e, 0xe4,
|
||||
0x1a, 0xf5, 0xef, 0x91, 0xaf, 0x79, 0x91, 0x63, 0xe7, 0xc0, 0x1f, 0xc1, 0xa3, 0xda, 0x97, 0x83,
|
||||
0x1e, 0xda, 0x37, 0x76, 0x11, 0xed, 0x32, 0x20, 0x7a, 0x13, 0x0a, 0xb8, 0xee, 0xc3, 0x17, 0xe0,
|
||||
0xc0, 0x7f, 0xe2, 0xe8, 0x13, 0x5b, 0x7a, 0x1a, 0x96, 0xce, 0x1d, 0xc2, 0x95, 0x03, 0xbf, 0x02,
|
||||
0xbd, 0xf2, 0x13, 0x42, 0x87, 0xd6, 0x7d, 0x1c, 0xba, 0x3f, 0x1b, 0x23, 0xb1, 0xa5, 0xf0, 0x39,
|
||||
0xe8, 0xdb, 0xeb, 0x8a, 0x80, 0xd5, 0x4e, 0x42, 0xed, 0xd7, 0x12, 0x60, 0xc7, 0xe1, 0x1c, 0x1c,
|
||||
0x97, 0xb9, 0x43, 0xb9, 0x61, 0xb1, 0x9b, 0x7f, 0x60, 0x2b, 0x46, 0x61, 0xc5, 0x55, 0xcd, 0xc0,
|
||||
0x7b, 0x15, 0xe5, 0x0e, 0x7c, 0xe0, 0xa0, 0xa3, 0xe6, 0x0e, 0x5e, 0x3b, 0x84, 0x2b, 0xa7, 0x9c,
|
||||
0xcd, 0xde, 0x78, 0xf4, 0x69, 0x73, 0xb6, 0x77, 0x25, 0xc0, 0x8e, 0xc3, 0x19, 0x38, 0xac, 0x42,
|
||||
0x47, 0x23, 0x58, 0x3f, 0xe3, 0x52, 0xbe, 0xf6, 0x10, 0xef, 0xb4, 0x6a, 0x16, 0x25, 0x32, 0x74,
|
||||
0xd6, 0x3e, 0x8b, 0x12, 0x19, 0xae, 0x1c, 0xf8, 0x02, 0xf4, 0x32, 0x91, 0x6a, 0xf4, 0xc4, 0x76,
|
||||
0xaf, 0x1d, 0xda, 0x5b, 0x91, 0xbe, 0xa1, 0x3a, 0x56, 0x4c, 0x1a, 0xa1, 0xb0, 0xd5, 0xe0, 0x2b,
|
||||
0x70, 0xe0, 0x02, 0x46, 0x23, 0x64, 0x2b, 0xc6, 0x61, 0xc5, 0x2f, 0x16, 0x05, 0x45, 0x95, 0x0c,
|
||||
0x7f, 0x07, 0xa7, 0xcd, 0xfc, 0xd1, 0xe8, 0xc2, 0xf6, 0x78, 0x5e, 0xeb, 0x51, 0x69, 0xd8, 0x5b,
|
||||
0x41, 0x3b, 0x98, 0xef, 0x43, 0xbb, 0x5f, 0xff, 0x33, 0x80, 0x46, 0x2d, 0xb7, 0xc7, 0x21, 0x5c,
|
||||
0x39, 0xa5, 0xee, 0xb3, 0x13, 0x3d, 0x6d, 0xea, 0x6f, 0x1d, 0xc2, 0x95, 0x03, 0x5f, 0x01, 0xb0,
|
||||
0x8b, 0x44, 0x34, 0xb6, 0x15, 0xe7, 0x2d, 0xe3, 0x96, 0x45, 0x81, 0x09, 0x17, 0xe0, 0x64, 0x3f,
|
||||
0xf7, 0x34, 0xfa, 0xac, 0x1e, 0x25, 0x65, 0xf9, 0x8d, 0x95, 0x96, 0x77, 0x0e, 0x7e, 0xac, 0xf7,
|
||||
0x56, 0xe0, 0x77, 0x60, 0x10, 0x04, 0x2c, 0xfa, 0xba, 0x39, 0xc3, 0x8d, 0xc5, 0x0b, 0xbe, 0x11,
|
||||
0x18, 0xe8, 0xbb, 0xbf, 0xe1, 0x0f, 0xe0, 0x28, 0xfc, 0x29, 0x42, 0xd4, 0x56, 0xa2, 0xda, 0x05,
|
||||
0x0a, 0x38, 0xae, 0xd9, 0x73, 0x5e, 0x26, 0x61, 0x1e, 0xc8, 0xf3, 0x23, 0x1f, 0x92, 0xcb, 0x32,
|
||||
0x05, 0x96, 0x9d, 0x3f, 0xae, 0x3d, 0x4b, 0x45, 0x46, 0x78, 0x1a, 0x09, 0x95, 0x4e, 0x53, 0xca,
|
||||
0x6d, 0x46, 0x4c, 0x1d, 0x2a, 0x93, 0x27, 0xfc, 0xef, 0xc0, 0xc5, 0xe4, 0xf7, 0xb5, 0xa7, 0xff,
|
||||
0xba, 0xbd, 0x9f, 0xae, 0x96, 0x8b, 0xf5, 0x43, 0x5b, 0xf8, 0xf2, 0xff, 0x00, 0x00, 0x00, 0xff,
|
||||
0xff, 0xfe, 0x6c, 0x4b, 0xf7, 0x55, 0x08, 0x00, 0x00,
|
||||
var fileDescriptor_d556deeebe545813 = []byte{
|
||||
// 791 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x95, 0xdd, 0x6e, 0xdb, 0x36,
|
||||
0x14, 0xc7, 0x61, 0xd7, 0x6e, 0x6a, 0xba, 0xcd, 0x12, 0xc6, 0x49, 0x19, 0xd7, 0x1b, 0xd2, 0x7d,
|
||||
0xa0, 0x06, 0x86, 0xca, 0x80, 0x0b, 0x74, 0x17, 0xbb, 0x18, 0xe2, 0x36, 0xd8, 0x3c, 0x74, 0x80,
|
||||
0xc7, 0xac, 0xc1, 0xb0, 0x1b, 0x43, 0x91, 0x68, 0x85, 0x9b, 0x44, 0x72, 0x24, 0x95, 0x2d, 0xaf,
|
||||
0xb3, 0xd7, 0xda, 0xcb, 0x14, 0xfc, 0x50, 0x4c, 0x59, 0xca, 0x9d, 0xc5, 0xdf, 0xef, 0x1c, 0x1c,
|
||||
0x89, 0xe4, 0xdf, 0x00, 0x65, 0x9c, 0x67, 0x39, 0x99, 0xc5, 0x82, 0xce, 0x14, 0x91, 0xb7, 0x34,
|
||||
0x21, 0x91, 0x90, 0x5c, 0x73, 0x08, 0x1c, 0x89, 0x62, 0x41, 0xc7, 0x93, 0xc0, 0x8a, 0x19, 0xe3,
|
||||
0x3a, 0xd6, 0x94, 0x33, 0xe5, 0xcc, 0xf1, 0x71, 0x48, 0x4b, 0x7d, 0xe3, 0x97, 0xc3, 0xd6, 0xd7,
|
||||
0x71, 0xf2, 0x17, 0x61, 0x69, 0x1b, 0xa1, 0x79, 0x4e, 0x59, 0xd6, 0x42, 0x12, 0xce, 0x34, 0xf9,
|
||||
0x57, 0x3f, 0x40, 0x24, 0xcf, 0x3d, 0xf9, 0x22, 0x20, 0x29, 0x4f, 0xca, 0x82, 0x30, 0x37, 0x9f,
|
||||
0xe7, 0xa7, 0x01, 0x27, 0x2c, 0x15, 0x9c, 0x32, 0xdd, 0x32, 0xf9, 0x8d, 0xd6, 0xc2, 0x2f, 0x8f,
|
||||
0x82, 0xe5, 0x9c, 0xb7, 0xcd, 0x96, 0xf3, 0x2c, 0xdb, 0x4e, 0xfd, 0x3c, 0x20, 0x05, 0xd1, 0x92,
|
||||
0x26, 0x1e, 0x7c, 0x15, 0x02, 0xce, 0xa8, 0xe6, 0x92, 0xa4, 0x6b, 0x49, 0x14, 0x2f, 0x65, 0xf5,
|
||||
0xa1, 0xc7, 0x2f, 0x9a, 0xd2, 0xb6, 0xf5, 0x49, 0x00, 0xff, 0x2e, 0xb9, 0x8e, 0xfd, 0x7a, 0xb8,
|
||||
0x23, 0xae, 0xdb, 0x9a, 0xb2, 0x0d, 0xf7, 0xf4, 0x65, 0x48, 0xef, 0x94, 0x26, 0xc5, 0x5a, 0xc4,
|
||||
0x32, 0x2e, 0x88, 0x26, 0xb2, 0xa5, 0x71, 0xa9, 0xe2, 0x8c, 0xec, 0x7c, 0x2d, 0xfb, 0x74, 0x5d,
|
||||
0x6e, 0x8c, 0xe0, 0xd1, 0x78, 0x17, 0xe9, 0x3b, 0x41, 0x76, 0x36, 0xe1, 0x9e, 0xfd, 0x23, 0x63,
|
||||
0x21, 0x88, 0xf4, 0x67, 0xe4, 0xcb, 0xff, 0x07, 0x60, 0xef, 0xd2, 0x9d, 0x2f, 0xf8, 0x0e, 0xec,
|
||||
0x27, 0x9c, 0x6d, 0x68, 0xb6, 0xbe, 0x25, 0x52, 0x51, 0xce, 0xd0, 0xe8, 0xac, 0x33, 0x1d, 0xce,
|
||||
0x27, 0x91, 0x3f, 0x72, 0x55, 0x93, 0xe8, 0xe3, 0x92, 0xe9, 0x37, 0xf3, 0xab, 0x38, 0x2f, 0x09,
|
||||
0x7e, 0xe6, 0x6a, 0xae, 0x5c, 0x09, 0x84, 0xa0, 0xc7, 0xe2, 0x82, 0xa0, 0xce, 0x59, 0x67, 0x3a,
|
||||
0xc0, 0xf6, 0x37, 0xdc, 0x07, 0x5d, 0x9a, 0xa2, 0x97, 0x76, 0xa5, 0x4b, 0x53, 0x38, 0x02, 0x7d,
|
||||
0x4d, 0x75, 0x4e, 0x50, 0xd7, 0x2e, 0xb9, 0x07, 0x18, 0x81, 0x23, 0x21, 0x79, 0x5a, 0x26, 0x44,
|
||||
0xae, 0x85, 0xe4, 0x7f, 0x92, 0x44, 0xaf, 0x69, 0x8a, 0x4e, 0xac, 0x73, 0x58, 0xa1, 0x95, 0x23,
|
||||
0xcb, 0x14, 0x4e, 0x41, 0x2f, 0x16, 0x54, 0xa1, 0x47, 0x67, 0x8f, 0xa6, 0xc3, 0xf9, 0xa8, 0x31,
|
||||
0xe4, 0xb9, 0xa0, 0xd8, 0x1a, 0xf0, 0x5b, 0xd0, 0x37, 0x9f, 0x44, 0xa1, 0x9e, 0x55, 0x8f, 0x1b,
|
||||
0xea, 0x6f, 0x77, 0x82, 0x60, 0xe7, 0x18, 0x99, 0xb0, 0xb2, 0x50, 0xa8, 0xff, 0x80, 0x7c, 0xc1,
|
||||
0xca, 0x02, 0x3b, 0x07, 0xfe, 0x00, 0x9e, 0xd5, 0x8e, 0x36, 0x7a, 0x6c, 0xbf, 0xd8, 0x69, 0xb4,
|
||||
0xbd, 0xa4, 0xd1, 0xfb, 0x50, 0xc0, 0x75, 0x1f, 0xbe, 0x06, 0x7b, 0xfe, 0x0e, 0xa2, 0x27, 0xb6,
|
||||
0xf4, 0x28, 0x2c, 0x5d, 0x38, 0x84, 0x2b, 0x07, 0x7e, 0x0d, 0x7a, 0xe6, 0x3e, 0xa0, 0x81, 0x75,
|
||||
0x0f, 0x42, 0xf7, 0x27, 0xad, 0x05, 0xb6, 0x14, 0xbe, 0x02, 0x7d, 0x7b, 0x26, 0x11, 0xb0, 0xda,
|
||||
0x61, 0xa8, 0xfd, 0x6a, 0x00, 0x76, 0x1c, 0x2e, 0xc0, 0xbe, 0x09, 0x06, 0xc2, 0x34, 0x4d, 0xdc,
|
||||
0xfc, 0x43, 0x5b, 0x31, 0x0e, 0x2b, 0xce, 0x6b, 0x06, 0xde, 0xa9, 0x30, 0x6f, 0xe0, 0x13, 0x01,
|
||||
0x3d, 0x6d, 0xbe, 0xc1, 0x3b, 0x87, 0x70, 0xe5, 0x98, 0xd9, 0xec, 0xb1, 0x46, 0x9f, 0x35, 0x67,
|
||||
0xfb, 0x68, 0x00, 0x76, 0x1c, 0xce, 0xc1, 0xa0, 0x4a, 0x05, 0x85, 0x60, 0x7d, 0x8f, 0x8d, 0x7c,
|
||||
0xe1, 0x21, 0xde, 0x6a, 0xd5, 0x2c, 0x92, 0xe7, 0xe8, 0xb8, 0x7d, 0x16, 0xc9, 0x73, 0x5c, 0x39,
|
||||
0xf0, 0x35, 0xe8, 0xe5, 0x3c, 0x53, 0xe8, 0xb9, 0xed, 0x5e, 0xdb, 0xb4, 0x0f, 0x3c, 0x7b, 0x4f,
|
||||
0x54, 0x22, 0xa9, 0xd0, 0x5c, 0x62, 0xab, 0xc1, 0xb7, 0x60, 0xcf, 0xa5, 0x88, 0x42, 0xc8, 0x56,
|
||||
0x4c, 0xc2, 0x8a, 0x5f, 0x2c, 0x0a, 0x8a, 0x2a, 0x19, 0xfe, 0x0e, 0x8e, 0x9a, 0x21, 0xa3, 0xd0,
|
||||
0xa9, 0xed, 0xf1, 0xaa, 0xd6, 0xa3, 0xd2, 0xb0, 0xb7, 0x82, 0x76, 0xb0, 0xd8, 0x85, 0xf6, 0x7d,
|
||||
0x7d, 0x4e, 0xa3, 0x71, 0xcb, 0xe9, 0x71, 0x08, 0x57, 0x8e, 0xd1, 0x7d, 0x40, 0xa2, 0x17, 0x4d,
|
||||
0xfd, 0x83, 0x43, 0xb8, 0x72, 0xe0, 0x5b, 0x00, 0xb6, 0xb9, 0x87, 0x26, 0xb6, 0xe2, 0xa4, 0x65,
|
||||
0x5c, 0x53, 0x14, 0x98, 0x70, 0x09, 0x0e, 0x77, 0xc3, 0x4d, 0xa1, 0xcf, 0xeb, 0x51, 0x62, 0xca,
|
||||
0x2f, 0xad, 0xb4, 0xba, 0x77, 0xf0, 0x81, 0xda, 0x59, 0x81, 0xdf, 0x81, 0x61, 0x90, 0xa2, 0xe8,
|
||||
0x9b, 0xe6, 0x0c, 0x97, 0x16, 0x2f, 0xd9, 0x86, 0x63, 0xa0, 0xee, 0x7f, 0xff, 0xdc, 0x7b, 0x42,
|
||||
0x0e, 0x36, 0x0b, 0x66, 0x12, 0xad, 0x08, 0xf4, 0xc5, 0x53, 0x1f, 0x76, 0x2b, 0x73, 0x9b, 0x57,
|
||||
0x9d, 0x3f, 0x2e, 0x3c, 0xcb, 0x78, 0x1e, 0xb3, 0x2c, 0xe2, 0x32, 0x9b, 0x65, 0x84, 0xd9, 0xbb,
|
||||
0x3e, 0x73, 0xc8, 0x24, 0x48, 0xf8, 0x37, 0xec, 0xe2, 0xee, 0xfb, 0xda, 0xd3, 0x7f, 0xdd, 0xde,
|
||||
0x8f, 0xe7, 0xab, 0xe5, 0xf5, 0x63, 0x5b, 0xf8, 0xe6, 0x53, 0x00, 0x00, 0x00, 0xff, 0xff, 0x22,
|
||||
0xb3, 0x0f, 0xc7, 0xbe, 0x07, 0x00, 0x00,
|
||||
}
|
||||
|
||||
55
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go
generated
vendored
55
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go
generated
vendored
@@ -3,28 +3,59 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Source information used to create a Service Config
|
||||
type SourceInfo struct {
|
||||
// All files used during config generation.
|
||||
SourceFiles []*google_protobuf1.Any `protobuf:"bytes,1,rep,name=source_files,json=sourceFiles" json:"source_files,omitempty"`
|
||||
SourceFiles []*any.Any `protobuf:"bytes,1,rep,name=source_files,json=sourceFiles,proto3" json:"source_files,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SourceInfo) Reset() { *m = SourceInfo{} }
|
||||
func (m *SourceInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceInfo) ProtoMessage() {}
|
||||
func (*SourceInfo) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} }
|
||||
func (m *SourceInfo) Reset() { *m = SourceInfo{} }
|
||||
func (m *SourceInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceInfo) ProtoMessage() {}
|
||||
func (*SourceInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_733a5fd590cc34b8, []int{0}
|
||||
}
|
||||
|
||||
func (m *SourceInfo) GetSourceFiles() []*google_protobuf1.Any {
|
||||
func (m *SourceInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SourceInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SourceInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourceInfo.Merge(m, src)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_SourceInfo.Size(m)
|
||||
}
|
||||
func (m *SourceInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourceInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourceInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *SourceInfo) GetSourceFiles() []*any.Any {
|
||||
if m != nil {
|
||||
return m.SourceFiles
|
||||
}
|
||||
@@ -35,9 +66,9 @@ func init() {
|
||||
proto.RegisterType((*SourceInfo)(nil), "google.api.SourceInfo")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/source_info.proto", fileDescriptor13) }
|
||||
func init() { proto.RegisterFile("google/api/source_info.proto", fileDescriptor_733a5fd590cc34b8) }
|
||||
|
||||
var fileDescriptor13 = []byte{
|
||||
var fileDescriptor_733a5fd590cc34b8 = []byte{
|
||||
// 198 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xcf, 0xcf, 0x4f,
|
||||
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0x8d, 0xcf, 0xcc,
|
||||
|
||||
123
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go
generated
vendored
123
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go
generated
vendored
@@ -3,15 +3,23 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// ### System parameter configuration
|
||||
//
|
||||
// A system parameter is a special kind of parameter defined by the API
|
||||
@@ -48,13 +56,36 @@ type SystemParameters struct {
|
||||
// http_header: Api-Key2
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*SystemParameterRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*SystemParameterRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SystemParameters) Reset() { *m = SystemParameters{} }
|
||||
func (m *SystemParameters) String() string { return proto.CompactTextString(m) }
|
||||
func (*SystemParameters) ProtoMessage() {}
|
||||
func (*SystemParameters) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
|
||||
func (m *SystemParameters) Reset() { *m = SystemParameters{} }
|
||||
func (m *SystemParameters) String() string { return proto.CompactTextString(m) }
|
||||
func (*SystemParameters) ProtoMessage() {}
|
||||
func (*SystemParameters) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_c69d4a5e03567ede, []int{0}
|
||||
}
|
||||
|
||||
func (m *SystemParameters) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SystemParameters.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SystemParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SystemParameters.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SystemParameters) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SystemParameters.Merge(m, src)
|
||||
}
|
||||
func (m *SystemParameters) XXX_Size() int {
|
||||
return xxx_messageInfo_SystemParameters.Size(m)
|
||||
}
|
||||
func (m *SystemParameters) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SystemParameters.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SystemParameters proto.InternalMessageInfo
|
||||
|
||||
func (m *SystemParameters) GetRules() []*SystemParameterRule {
|
||||
if m != nil {
|
||||
@@ -70,19 +101,42 @@ type SystemParameterRule struct {
|
||||
// methods in all APIs.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// Define parameters. Multiple names may be defined for a parameter.
|
||||
// For a given method call, only one of them should be used. If multiple
|
||||
// names are used the behavior is implementation-dependent.
|
||||
// If none of the specified names are present the behavior is
|
||||
// parameter-dependent.
|
||||
Parameters []*SystemParameter `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"`
|
||||
Parameters []*SystemParameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SystemParameterRule) Reset() { *m = SystemParameterRule{} }
|
||||
func (m *SystemParameterRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*SystemParameterRule) ProtoMessage() {}
|
||||
func (*SystemParameterRule) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{1} }
|
||||
func (m *SystemParameterRule) Reset() { *m = SystemParameterRule{} }
|
||||
func (m *SystemParameterRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*SystemParameterRule) ProtoMessage() {}
|
||||
func (*SystemParameterRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_c69d4a5e03567ede, []int{1}
|
||||
}
|
||||
|
||||
func (m *SystemParameterRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SystemParameterRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SystemParameterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SystemParameterRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SystemParameterRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SystemParameterRule.Merge(m, src)
|
||||
}
|
||||
func (m *SystemParameterRule) XXX_Size() int {
|
||||
return xxx_messageInfo_SystemParameterRule.Size(m)
|
||||
}
|
||||
func (m *SystemParameterRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SystemParameterRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SystemParameterRule proto.InternalMessageInfo
|
||||
|
||||
func (m *SystemParameterRule) GetSelector() string {
|
||||
if m != nil {
|
||||
@@ -103,19 +157,42 @@ func (m *SystemParameterRule) GetParameters() []*SystemParameter {
|
||||
// is implementation-dependent.
|
||||
type SystemParameter struct {
|
||||
// Define the name of the parameter, such as "api_key" . It is case sensitive.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Define the HTTP header name to use for the parameter. It is case
|
||||
// insensitive.
|
||||
HttpHeader string `protobuf:"bytes,2,opt,name=http_header,json=httpHeader" json:"http_header,omitempty"`
|
||||
HttpHeader string `protobuf:"bytes,2,opt,name=http_header,json=httpHeader,proto3" json:"http_header,omitempty"`
|
||||
// Define the URL query parameter name to use for the parameter. It is case
|
||||
// sensitive.
|
||||
UrlQueryParameter string `protobuf:"bytes,3,opt,name=url_query_parameter,json=urlQueryParameter" json:"url_query_parameter,omitempty"`
|
||||
UrlQueryParameter string `protobuf:"bytes,3,opt,name=url_query_parameter,json=urlQueryParameter,proto3" json:"url_query_parameter,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SystemParameter) Reset() { *m = SystemParameter{} }
|
||||
func (m *SystemParameter) String() string { return proto.CompactTextString(m) }
|
||||
func (*SystemParameter) ProtoMessage() {}
|
||||
func (*SystemParameter) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{2} }
|
||||
func (m *SystemParameter) Reset() { *m = SystemParameter{} }
|
||||
func (m *SystemParameter) String() string { return proto.CompactTextString(m) }
|
||||
func (*SystemParameter) ProtoMessage() {}
|
||||
func (*SystemParameter) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_c69d4a5e03567ede, []int{2}
|
||||
}
|
||||
|
||||
func (m *SystemParameter) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SystemParameter.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SystemParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SystemParameter.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SystemParameter) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SystemParameter.Merge(m, src)
|
||||
}
|
||||
func (m *SystemParameter) XXX_Size() int {
|
||||
return xxx_messageInfo_SystemParameter.Size(m)
|
||||
}
|
||||
func (m *SystemParameter) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SystemParameter.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SystemParameter proto.InternalMessageInfo
|
||||
|
||||
func (m *SystemParameter) GetName() string {
|
||||
if m != nil {
|
||||
@@ -144,9 +221,9 @@ func init() {
|
||||
proto.RegisterType((*SystemParameter)(nil), "google.api.SystemParameter")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor14) }
|
||||
func init() { proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor_c69d4a5e03567ede) }
|
||||
|
||||
var fileDescriptor14 = []byte{
|
||||
var fileDescriptor_c69d4a5e03567ede = []byte{
|
||||
// 286 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x4e, 0xc3, 0x30,
|
||||
0x10, 0x87, 0x95, 0xb6, 0x20, 0xb8, 0x4a, 0xfc, 0x71, 0x19, 0x22, 0x18, 0x5a, 0x3a, 0x75, 0x72,
|
||||
|
||||
103
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go
generated
vendored
103
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go
generated
vendored
@@ -3,26 +3,34 @@
|
||||
|
||||
package serviceconfig
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Configuration controlling usage of a service.
|
||||
type Usage struct {
|
||||
// Requirements that must be satisfied before a consumer project can use the
|
||||
// service. Each requirement is of the form <service.name>/<requirement-id>;
|
||||
// for example 'serviceusage.googleapis.com/billing-enabled'.
|
||||
Requirements []string `protobuf:"bytes,1,rep,name=requirements" json:"requirements,omitempty"`
|
||||
Requirements []string `protobuf:"bytes,1,rep,name=requirements,proto3" json:"requirements,omitempty"`
|
||||
// A list of usage rules that apply to individual API methods.
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*UsageRule `protobuf:"bytes,6,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*UsageRule `protobuf:"bytes,6,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
// The full resource name of a channel used for sending notifications to the
|
||||
// service producer.
|
||||
//
|
||||
@@ -31,13 +39,36 @@ type Usage struct {
|
||||
// channel. To use Google Cloud Pub/Sub as the channel, this must be the name
|
||||
// of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
|
||||
// documented in https://cloud.google.com/pubsub/docs/overview.
|
||||
ProducerNotificationChannel string `protobuf:"bytes,7,opt,name=producer_notification_channel,json=producerNotificationChannel" json:"producer_notification_channel,omitempty"`
|
||||
ProducerNotificationChannel string `protobuf:"bytes,7,opt,name=producer_notification_channel,json=producerNotificationChannel,proto3" json:"producer_notification_channel,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Usage) Reset() { *m = Usage{} }
|
||||
func (m *Usage) String() string { return proto.CompactTextString(m) }
|
||||
func (*Usage) ProtoMessage() {}
|
||||
func (*Usage) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{0} }
|
||||
func (m *Usage) Reset() { *m = Usage{} }
|
||||
func (m *Usage) String() string { return proto.CompactTextString(m) }
|
||||
func (*Usage) ProtoMessage() {}
|
||||
func (*Usage) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_701aa74a03c68f0a, []int{0}
|
||||
}
|
||||
|
||||
func (m *Usage) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Usage.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Usage.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Usage) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Usage.Merge(m, src)
|
||||
}
|
||||
func (m *Usage) XXX_Size() int {
|
||||
return xxx_messageInfo_Usage.Size(m)
|
||||
}
|
||||
func (m *Usage) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Usage.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Usage proto.InternalMessageInfo
|
||||
|
||||
func (m *Usage) GetRequirements() []string {
|
||||
if m != nil {
|
||||
@@ -90,18 +121,44 @@ type UsageRule struct {
|
||||
// methods in all APIs.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
|
||||
// True, if the method allows unregistered calls; false otherwise.
|
||||
AllowUnregisteredCalls bool `protobuf:"varint,2,opt,name=allow_unregistered_calls,json=allowUnregisteredCalls" json:"allow_unregistered_calls,omitempty"`
|
||||
// True, if the method should skip service control. If so, no control plane
|
||||
// feature (like quota and billing) will be enabled.
|
||||
SkipServiceControl bool `protobuf:"varint,3,opt,name=skip_service_control,json=skipServiceControl" json:"skip_service_control,omitempty"`
|
||||
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
|
||||
// If true, the selected method allows unregistered calls, e.g. calls
|
||||
// that don't identify any user or application.
|
||||
AllowUnregisteredCalls bool `protobuf:"varint,2,opt,name=allow_unregistered_calls,json=allowUnregisteredCalls,proto3" json:"allow_unregistered_calls,omitempty"`
|
||||
// If true, the selected method should skip service control and the control
|
||||
// plane features, such as quota and billing, will not be available.
|
||||
// This flag is used by Google Cloud Endpoints to bypass checks for internal
|
||||
// methods, such as service health check methods.
|
||||
SkipServiceControl bool `protobuf:"varint,3,opt,name=skip_service_control,json=skipServiceControl,proto3" json:"skip_service_control,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UsageRule) Reset() { *m = UsageRule{} }
|
||||
func (m *UsageRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*UsageRule) ProtoMessage() {}
|
||||
func (*UsageRule) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{1} }
|
||||
func (m *UsageRule) Reset() { *m = UsageRule{} }
|
||||
func (m *UsageRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*UsageRule) ProtoMessage() {}
|
||||
func (*UsageRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_701aa74a03c68f0a, []int{1}
|
||||
}
|
||||
|
||||
func (m *UsageRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UsageRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UsageRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UsageRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *UsageRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UsageRule.Merge(m, src)
|
||||
}
|
||||
func (m *UsageRule) XXX_Size() int {
|
||||
return xxx_messageInfo_UsageRule.Size(m)
|
||||
}
|
||||
func (m *UsageRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UsageRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UsageRule proto.InternalMessageInfo
|
||||
|
||||
func (m *UsageRule) GetSelector() string {
|
||||
if m != nil {
|
||||
@@ -129,9 +186,9 @@ func init() {
|
||||
proto.RegisterType((*UsageRule)(nil), "google.api.UsageRule")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor15) }
|
||||
func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor_701aa74a03c68f0a) }
|
||||
|
||||
var fileDescriptor15 = []byte{
|
||||
var fileDescriptor_701aa74a03c68f0a = []byte{
|
||||
// 331 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4b, 0xfb, 0x30,
|
||||
0x14, 0xc7, 0xe9, 0xf6, 0xdb, 0x7e, 0x5b, 0x14, 0x0f, 0x41, 0x47, 0x99, 0x0a, 0x65, 0xa7, 0x82,
|
||||
|
||||
87
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go
generated
vendored
87
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go
generated
vendored
@@ -1,40 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/check_error.proto
|
||||
|
||||
/*
|
||||
Package servicecontrol is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/servicecontrol/v1/check_error.proto
|
||||
google/api/servicecontrol/v1/distribution.proto
|
||||
google/api/servicecontrol/v1/log_entry.proto
|
||||
google/api/servicecontrol/v1/metric_value.proto
|
||||
google/api/servicecontrol/v1/operation.proto
|
||||
google/api/servicecontrol/v1/quota_controller.proto
|
||||
google/api/servicecontrol/v1/service_controller.proto
|
||||
|
||||
It has these top-level messages:
|
||||
CheckError
|
||||
Distribution
|
||||
LogEntry
|
||||
MetricValue
|
||||
MetricValueSet
|
||||
Operation
|
||||
AllocateQuotaRequest
|
||||
QuotaOperation
|
||||
AllocateQuotaResponse
|
||||
QuotaError
|
||||
CheckRequest
|
||||
CheckResponse
|
||||
ReportRequest
|
||||
ReportResponse
|
||||
*/
|
||||
package servicecontrol
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -111,6 +85,7 @@ var CheckError_Code_name = map[int32]string{
|
||||
301: "SERVICE_STATUS_UNAVAILABLE",
|
||||
302: "BILLING_STATUS_UNAVAILABLE",
|
||||
}
|
||||
|
||||
var CheckError_Code_value = map[string]int32{
|
||||
"ERROR_CODE_UNSPECIFIED": 0,
|
||||
"NOT_FOUND": 5,
|
||||
@@ -134,21 +109,47 @@ var CheckError_Code_value = map[string]int32{
|
||||
func (x CheckError_Code) String() string {
|
||||
return proto.EnumName(CheckError_Code_name, int32(x))
|
||||
}
|
||||
func (CheckError_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
||||
|
||||
func (CheckError_Code) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_abfa738e19256db6, []int{0, 0}
|
||||
}
|
||||
|
||||
// Defines the errors to be returned in
|
||||
// [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors].
|
||||
type CheckError struct {
|
||||
// The error code.
|
||||
Code CheckError_Code `protobuf:"varint,1,opt,name=code,enum=google.api.servicecontrol.v1.CheckError_Code" json:"code,omitempty"`
|
||||
Code CheckError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.api.servicecontrol.v1.CheckError_Code" json:"code,omitempty"`
|
||||
// Free-form text providing details on the error cause of the error.
|
||||
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 *CheckError) Reset() { *m = CheckError{} }
|
||||
func (m *CheckError) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckError) ProtoMessage() {}
|
||||
func (*CheckError) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *CheckError) Reset() { *m = CheckError{} }
|
||||
func (m *CheckError) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckError) ProtoMessage() {}
|
||||
func (*CheckError) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_abfa738e19256db6, []int{0}
|
||||
}
|
||||
|
||||
func (m *CheckError) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckError.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckError.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckError) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckError.Merge(m, src)
|
||||
}
|
||||
func (m *CheckError) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckError.Size(m)
|
||||
}
|
||||
func (m *CheckError) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckError.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckError proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckError) GetCode() CheckError_Code {
|
||||
if m != nil {
|
||||
@@ -165,13 +166,15 @@ func (m *CheckError) GetDetail() string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*CheckError)(nil), "google.api.servicecontrol.v1.CheckError")
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.CheckError_Code", CheckError_Code_name, CheckError_Code_value)
|
||||
proto.RegisterType((*CheckError)(nil), "google.api.servicecontrol.v1.CheckError")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor_abfa738e19256db6)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_abfa738e19256db6 = []byte{
|
||||
// 484 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdd, 0x6e, 0xd3, 0x3e,
|
||||
0x18, 0xc6, 0xff, 0xe9, 0xbf, 0x0c, 0x66, 0x09, 0x16, 0x0c, 0xab, 0x46, 0x55, 0x89, 0xb2, 0xa3,
|
||||
|
||||
212
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go
generated
vendored
212
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go
generated
vendored
@@ -3,15 +3,23 @@
|
||||
|
||||
package servicecontrol
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Distribution represents a frequency distribution of double-valued sample
|
||||
// points. It contains the size of the population of sample points plus
|
||||
// additional optional information:
|
||||
@@ -22,19 +30,19 @@ var _ = math.Inf
|
||||
// - a histogram of the values of the sample points
|
||||
type Distribution struct {
|
||||
// The total number of samples in the distribution. Must be >= 0.
|
||||
Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
|
||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||
// The arithmetic mean of the samples in the distribution. If `count` is
|
||||
// zero then this field must be zero.
|
||||
Mean float64 `protobuf:"fixed64,2,opt,name=mean" json:"mean,omitempty"`
|
||||
Mean float64 `protobuf:"fixed64,2,opt,name=mean,proto3" json:"mean,omitempty"`
|
||||
// The minimum of the population of values. Ignored if `count` is zero.
|
||||
Minimum float64 `protobuf:"fixed64,3,opt,name=minimum" json:"minimum,omitempty"`
|
||||
Minimum float64 `protobuf:"fixed64,3,opt,name=minimum,proto3" json:"minimum,omitempty"`
|
||||
// The maximum of the population of values. Ignored if `count` is zero.
|
||||
Maximum float64 `protobuf:"fixed64,4,opt,name=maximum" json:"maximum,omitempty"`
|
||||
Maximum float64 `protobuf:"fixed64,4,opt,name=maximum,proto3" json:"maximum,omitempty"`
|
||||
// The sum of squared deviations from the mean:
|
||||
// Sum[i=1..count]((x_i - mean)^2)
|
||||
// where each x_i is a sample values. If `count` is zero then this field
|
||||
// must be zero, otherwise validation of the request fails.
|
||||
SumOfSquaredDeviation float64 `protobuf:"fixed64,5,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation" json:"sum_of_squared_deviation,omitempty"`
|
||||
SumOfSquaredDeviation float64 `protobuf:"fixed64,5,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation,proto3" json:"sum_of_squared_deviation,omitempty"`
|
||||
// The number of samples in each histogram bucket. `bucket_counts` are
|
||||
// optional. If present, they must sum to the `count` value.
|
||||
//
|
||||
@@ -46,7 +54,7 @@ type Distribution struct {
|
||||
// below for more details.
|
||||
//
|
||||
// Any suffix of trailing zeros may be omitted.
|
||||
BucketCounts []int64 `protobuf:"varint,6,rep,packed,name=bucket_counts,json=bucketCounts" json:"bucket_counts,omitempty"`
|
||||
BucketCounts []int64 `protobuf:"varint,6,rep,packed,name=bucket_counts,json=bucketCounts,proto3" json:"bucket_counts,omitempty"`
|
||||
// Defines the buckets in the histogram. `bucket_option` and `bucket_counts`
|
||||
// must be both set, or both unset.
|
||||
//
|
||||
@@ -75,38 +83,36 @@ type Distribution struct {
|
||||
// *Distribution_LinearBuckets_
|
||||
// *Distribution_ExponentialBuckets_
|
||||
// *Distribution_ExplicitBuckets_
|
||||
BucketOption isDistribution_BucketOption `protobuf_oneof:"bucket_option"`
|
||||
BucketOption isDistribution_BucketOption `protobuf_oneof:"bucket_option"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution) Reset() { *m = Distribution{} }
|
||||
func (m *Distribution) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution) ProtoMessage() {}
|
||||
func (*Distribution) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
type isDistribution_BucketOption interface {
|
||||
isDistribution_BucketOption()
|
||||
func (m *Distribution) Reset() { *m = Distribution{} }
|
||||
func (m *Distribution) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution) ProtoMessage() {}
|
||||
func (*Distribution) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3f590f4dffbeb4c, []int{0}
|
||||
}
|
||||
|
||||
type Distribution_LinearBuckets_ struct {
|
||||
LinearBuckets *Distribution_LinearBuckets `protobuf:"bytes,7,opt,name=linear_buckets,json=linearBuckets,oneof"`
|
||||
func (m *Distribution) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution.Unmarshal(m, b)
|
||||
}
|
||||
type Distribution_ExponentialBuckets_ struct {
|
||||
ExponentialBuckets *Distribution_ExponentialBuckets `protobuf:"bytes,8,opt,name=exponential_buckets,json=exponentialBuckets,oneof"`
|
||||
func (m *Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution.Marshal(b, m, deterministic)
|
||||
}
|
||||
type Distribution_ExplicitBuckets_ struct {
|
||||
ExplicitBuckets *Distribution_ExplicitBuckets `protobuf:"bytes,9,opt,name=explicit_buckets,json=explicitBuckets,oneof"`
|
||||
func (m *Distribution) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution.Size(m)
|
||||
}
|
||||
func (m *Distribution) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (*Distribution_LinearBuckets_) isDistribution_BucketOption() {}
|
||||
func (*Distribution_ExponentialBuckets_) isDistribution_BucketOption() {}
|
||||
func (*Distribution_ExplicitBuckets_) isDistribution_BucketOption() {}
|
||||
|
||||
func (m *Distribution) GetBucketOption() isDistribution_BucketOption {
|
||||
if m != nil {
|
||||
return m.BucketOption
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_Distribution proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution) GetCount() int64 {
|
||||
if m != nil {
|
||||
@@ -150,6 +156,35 @@ func (m *Distribution) GetBucketCounts() []int64 {
|
||||
return nil
|
||||
}
|
||||
|
||||
type isDistribution_BucketOption interface {
|
||||
isDistribution_BucketOption()
|
||||
}
|
||||
|
||||
type Distribution_LinearBuckets_ struct {
|
||||
LinearBuckets *Distribution_LinearBuckets `protobuf:"bytes,7,opt,name=linear_buckets,json=linearBuckets,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Distribution_ExponentialBuckets_ struct {
|
||||
ExponentialBuckets *Distribution_ExponentialBuckets `protobuf:"bytes,8,opt,name=exponential_buckets,json=exponentialBuckets,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Distribution_ExplicitBuckets_ struct {
|
||||
ExplicitBuckets *Distribution_ExplicitBuckets `protobuf:"bytes,9,opt,name=explicit_buckets,json=explicitBuckets,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Distribution_LinearBuckets_) isDistribution_BucketOption() {}
|
||||
|
||||
func (*Distribution_ExponentialBuckets_) isDistribution_BucketOption() {}
|
||||
|
||||
func (*Distribution_ExplicitBuckets_) isDistribution_BucketOption() {}
|
||||
|
||||
func (m *Distribution) GetBucketOption() isDistribution_BucketOption {
|
||||
if m != nil {
|
||||
return m.BucketOption
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution) GetLinearBuckets() *Distribution_LinearBuckets {
|
||||
if x, ok := m.GetBucketOption().(*Distribution_LinearBuckets_); ok {
|
||||
return x.LinearBuckets
|
||||
@@ -244,17 +279,17 @@ func _Distribution_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.BucketOption.(type) {
|
||||
case *Distribution_LinearBuckets_:
|
||||
s := proto.Size(x.LinearBuckets)
|
||||
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_ExponentialBuckets_:
|
||||
s := proto.Size(x.ExponentialBuckets)
|
||||
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_ExplicitBuckets_:
|
||||
s := proto.Size(x.ExplicitBuckets)
|
||||
n += proto.SizeVarint(9<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -269,22 +304,45 @@ type Distribution_LinearBuckets struct {
|
||||
// The number of finite buckets. With the underflow and overflow buckets,
|
||||
// the total number of buckets is `num_finite_buckets` + 2.
|
||||
// See comments on `bucket_options` for details.
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets" json:"num_finite_buckets,omitempty"`
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"`
|
||||
// The i'th linear bucket covers the interval
|
||||
// [offset + (i-1) * width, offset + i * width)
|
||||
// where i ranges from 1 to num_finite_buckets, inclusive.
|
||||
// Must be strictly positive.
|
||||
Width float64 `protobuf:"fixed64,2,opt,name=width" json:"width,omitempty"`
|
||||
Width float64 `protobuf:"fixed64,2,opt,name=width,proto3" json:"width,omitempty"`
|
||||
// The i'th linear bucket covers the interval
|
||||
// [offset + (i-1) * width, offset + i * width)
|
||||
// where i ranges from 1 to num_finite_buckets, inclusive.
|
||||
Offset float64 `protobuf:"fixed64,3,opt,name=offset" json:"offset,omitempty"`
|
||||
Offset float64 `protobuf:"fixed64,3,opt,name=offset,proto3" json:"offset,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_LinearBuckets) Reset() { *m = Distribution_LinearBuckets{} }
|
||||
func (m *Distribution_LinearBuckets) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_LinearBuckets) ProtoMessage() {}
|
||||
func (*Distribution_LinearBuckets) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} }
|
||||
func (m *Distribution_LinearBuckets) Reset() { *m = Distribution_LinearBuckets{} }
|
||||
func (m *Distribution_LinearBuckets) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_LinearBuckets) ProtoMessage() {}
|
||||
func (*Distribution_LinearBuckets) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3f590f4dffbeb4c, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Distribution_LinearBuckets) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_LinearBuckets.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_LinearBuckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_LinearBuckets.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_LinearBuckets) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_LinearBuckets.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_LinearBuckets) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_LinearBuckets.Size(m)
|
||||
}
|
||||
func (m *Distribution_LinearBuckets) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_LinearBuckets.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_LinearBuckets proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution_LinearBuckets) GetNumFiniteBuckets() int32 {
|
||||
if m != nil {
|
||||
@@ -312,26 +370,47 @@ type Distribution_ExponentialBuckets struct {
|
||||
// The number of finite buckets. With the underflow and overflow buckets,
|
||||
// the total number of buckets is `num_finite_buckets` + 2.
|
||||
// See comments on `bucket_options` for details.
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets" json:"num_finite_buckets,omitempty"`
|
||||
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"`
|
||||
// The i'th exponential bucket covers the interval
|
||||
// [scale * growth_factor^(i-1), scale * growth_factor^i)
|
||||
// where i ranges from 1 to num_finite_buckets inclusive.
|
||||
// Must be larger than 1.0.
|
||||
GrowthFactor float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor" json:"growth_factor,omitempty"`
|
||||
GrowthFactor float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor,proto3" json:"growth_factor,omitempty"`
|
||||
// The i'th exponential bucket covers the interval
|
||||
// [scale * growth_factor^(i-1), scale * growth_factor^i)
|
||||
// where i ranges from 1 to num_finite_buckets inclusive.
|
||||
// Must be > 0.
|
||||
Scale float64 `protobuf:"fixed64,3,opt,name=scale" json:"scale,omitempty"`
|
||||
Scale float64 `protobuf:"fixed64,3,opt,name=scale,proto3" json:"scale,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_ExponentialBuckets) Reset() { *m = Distribution_ExponentialBuckets{} }
|
||||
func (m *Distribution_ExponentialBuckets) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_ExponentialBuckets) ProtoMessage() {}
|
||||
func (*Distribution_ExponentialBuckets) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor1, []int{0, 1}
|
||||
return fileDescriptor_b3f590f4dffbeb4c, []int{0, 1}
|
||||
}
|
||||
|
||||
func (m *Distribution_ExponentialBuckets) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_ExponentialBuckets.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_ExponentialBuckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_ExponentialBuckets.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_ExponentialBuckets) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_ExponentialBuckets.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_ExponentialBuckets) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_ExponentialBuckets.Size(m)
|
||||
}
|
||||
func (m *Distribution_ExponentialBuckets) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_ExponentialBuckets.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_ExponentialBuckets proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution_ExponentialBuckets) GetNumFiniteBuckets() int32 {
|
||||
if m != nil {
|
||||
return m.NumFiniteBuckets
|
||||
@@ -370,13 +449,36 @@ type Distribution_ExplicitBuckets struct {
|
||||
// i == 0 (underflow) -inf bound[i]
|
||||
// 0 < i < bound_size() bound[i-1] bound[i]
|
||||
// i == bound_size() (overflow) bound[i-1] +inf
|
||||
Bounds []float64 `protobuf:"fixed64,1,rep,packed,name=bounds" json:"bounds,omitempty"`
|
||||
Bounds []float64 `protobuf:"fixed64,1,rep,packed,name=bounds,proto3" json:"bounds,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_ExplicitBuckets) Reset() { *m = Distribution_ExplicitBuckets{} }
|
||||
func (m *Distribution_ExplicitBuckets) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_ExplicitBuckets) ProtoMessage() {}
|
||||
func (*Distribution_ExplicitBuckets) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 2} }
|
||||
func (m *Distribution_ExplicitBuckets) Reset() { *m = Distribution_ExplicitBuckets{} }
|
||||
func (m *Distribution_ExplicitBuckets) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_ExplicitBuckets) ProtoMessage() {}
|
||||
func (*Distribution_ExplicitBuckets) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_b3f590f4dffbeb4c, []int{0, 2}
|
||||
}
|
||||
|
||||
func (m *Distribution_ExplicitBuckets) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Distribution_ExplicitBuckets.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Distribution_ExplicitBuckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Distribution_ExplicitBuckets.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Distribution_ExplicitBuckets) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_ExplicitBuckets.Merge(m, src)
|
||||
}
|
||||
func (m *Distribution_ExplicitBuckets) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution_ExplicitBuckets.Size(m)
|
||||
}
|
||||
func (m *Distribution_ExplicitBuckets) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution_ExplicitBuckets.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution_ExplicitBuckets proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution_ExplicitBuckets) GetBounds() []float64 {
|
||||
if m != nil {
|
||||
@@ -392,9 +494,11 @@ func init() {
|
||||
proto.RegisterType((*Distribution_ExplicitBuckets)(nil), "google.api.servicecontrol.v1.Distribution.ExplicitBuckets")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicecontrol/v1/distribution.proto", fileDescriptor1) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/distribution.proto", fileDescriptor_b3f590f4dffbeb4c)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_b3f590f4dffbeb4c = []byte{
|
||||
// 486 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4d, 0x6f, 0xd3, 0x40,
|
||||
0x10, 0x86, 0x31, 0x6e, 0x52, 0x18, 0x12, 0x52, 0x96, 0x82, 0xac, 0x88, 0x83, 0x45, 0x2f, 0x41,
|
||||
|
||||
136
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go
generated
vendored
136
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go
generated
vendored
@@ -3,75 +3,81 @@
|
||||
|
||||
package servicecontrol
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_logging_type "google.golang.org/genproto/googleapis/logging/type"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/struct"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
_type "google.golang.org/genproto/googleapis/logging/type"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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 individual log entry.
|
||||
type LogEntry struct {
|
||||
// Required. The log to which this log entry belongs. Examples: `"syslog"`,
|
||||
// `"book_log"`.
|
||||
Name string `protobuf:"bytes,10,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The time the event described by the log entry occurred. If
|
||||
// omitted, defaults to operation start time.
|
||||
Timestamp *google_protobuf3.Timestamp `protobuf:"bytes,11,opt,name=timestamp" json:"timestamp,omitempty"`
|
||||
Timestamp *timestamp.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||||
// The severity of the log entry. The default value is
|
||||
// `LogSeverity.DEFAULT`.
|
||||
Severity google_logging_type.LogSeverity `protobuf:"varint,12,opt,name=severity,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
|
||||
Severity _type.LogSeverity `protobuf:"varint,12,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
|
||||
// A unique ID for the log entry used for deduplication. If omitted,
|
||||
// the implementation will generate one based on operation_id.
|
||||
InsertId string `protobuf:"bytes,4,opt,name=insert_id,json=insertId" json:"insert_id,omitempty"`
|
||||
InsertId string `protobuf:"bytes,4,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"`
|
||||
// A set of user-defined (key, value) data that provides additional
|
||||
// information about the log entry.
|
||||
Labels map[string]string `protobuf:"bytes,13,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// The log entry payload, which can be one of multiple types.
|
||||
//
|
||||
// Types that are valid to be assigned to Payload:
|
||||
// *LogEntry_ProtoPayload
|
||||
// *LogEntry_TextPayload
|
||||
// *LogEntry_StructPayload
|
||||
Payload isLogEntry_Payload `protobuf_oneof:"payload"`
|
||||
Payload isLogEntry_Payload `protobuf_oneof:"payload"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *LogEntry) Reset() { *m = LogEntry{} }
|
||||
func (m *LogEntry) String() string { return proto.CompactTextString(m) }
|
||||
func (*LogEntry) ProtoMessage() {}
|
||||
func (*LogEntry) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
type isLogEntry_Payload interface {
|
||||
isLogEntry_Payload()
|
||||
func (m *LogEntry) Reset() { *m = LogEntry{} }
|
||||
func (m *LogEntry) String() string { return proto.CompactTextString(m) }
|
||||
func (*LogEntry) ProtoMessage() {}
|
||||
func (*LogEntry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ca6b95357c9a05d1, []int{0}
|
||||
}
|
||||
|
||||
type LogEntry_ProtoPayload struct {
|
||||
ProtoPayload *google_protobuf1.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,oneof"`
|
||||
func (m *LogEntry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_LogEntry.Unmarshal(m, b)
|
||||
}
|
||||
type LogEntry_TextPayload struct {
|
||||
TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,oneof"`
|
||||
func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic)
|
||||
}
|
||||
type LogEntry_StructPayload struct {
|
||||
StructPayload *google_protobuf2.Struct `protobuf:"bytes,6,opt,name=struct_payload,json=structPayload,oneof"`
|
||||
func (m *LogEntry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LogEntry.Merge(m, src)
|
||||
}
|
||||
func (m *LogEntry) XXX_Size() int {
|
||||
return xxx_messageInfo_LogEntry.Size(m)
|
||||
}
|
||||
func (m *LogEntry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_LogEntry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (*LogEntry_ProtoPayload) isLogEntry_Payload() {}
|
||||
func (*LogEntry_TextPayload) isLogEntry_Payload() {}
|
||||
func (*LogEntry_StructPayload) isLogEntry_Payload() {}
|
||||
|
||||
func (m *LogEntry) GetPayload() isLogEntry_Payload {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_LogEntry proto.InternalMessageInfo
|
||||
|
||||
func (m *LogEntry) GetName() string {
|
||||
if m != nil {
|
||||
@@ -80,18 +86,18 @@ func (m *LogEntry) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetTimestamp() *google_protobuf3.Timestamp {
|
||||
func (m *LogEntry) GetTimestamp() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.Timestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetSeverity() google_logging_type.LogSeverity {
|
||||
func (m *LogEntry) GetSeverity() _type.LogSeverity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return google_logging_type.LogSeverity_DEFAULT
|
||||
return _type.LogSeverity_DEFAULT
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetInsertId() string {
|
||||
@@ -108,7 +114,36 @@ func (m *LogEntry) GetLabels() map[string]string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetProtoPayload() *google_protobuf1.Any {
|
||||
type isLogEntry_Payload interface {
|
||||
isLogEntry_Payload()
|
||||
}
|
||||
|
||||
type LogEntry_ProtoPayload struct {
|
||||
ProtoPayload *any.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,proto3,oneof"`
|
||||
}
|
||||
|
||||
type LogEntry_TextPayload struct {
|
||||
TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"`
|
||||
}
|
||||
|
||||
type LogEntry_StructPayload struct {
|
||||
StructPayload *_struct.Struct `protobuf:"bytes,6,opt,name=struct_payload,json=structPayload,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*LogEntry_ProtoPayload) isLogEntry_Payload() {}
|
||||
|
||||
func (*LogEntry_TextPayload) isLogEntry_Payload() {}
|
||||
|
||||
func (*LogEntry_StructPayload) isLogEntry_Payload() {}
|
||||
|
||||
func (m *LogEntry) GetPayload() isLogEntry_Payload {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetProtoPayload() *any.Any {
|
||||
if x, ok := m.GetPayload().(*LogEntry_ProtoPayload); ok {
|
||||
return x.ProtoPayload
|
||||
}
|
||||
@@ -122,7 +157,7 @@ func (m *LogEntry) GetTextPayload() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetStructPayload() *google_protobuf2.Struct {
|
||||
func (m *LogEntry) GetStructPayload() *_struct.Struct {
|
||||
if x, ok := m.GetPayload().(*LogEntry_StructPayload); ok {
|
||||
return x.StructPayload
|
||||
}
|
||||
@@ -169,7 +204,7 @@ func _LogEntry_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffe
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_protobuf1.Any)
|
||||
msg := new(any.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Payload = &LogEntry_ProtoPayload{msg}
|
||||
return true, err
|
||||
@@ -184,7 +219,7 @@ func _LogEntry_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffe
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_protobuf2.Struct)
|
||||
msg := new(_struct.Struct)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Payload = &LogEntry_StructPayload{msg}
|
||||
return true, err
|
||||
@@ -199,16 +234,16 @@ func _LogEntry_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Payload.(type) {
|
||||
case *LogEntry_ProtoPayload:
|
||||
s := proto.Size(x.ProtoPayload)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *LogEntry_TextPayload:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.TextPayload)))
|
||||
n += len(x.TextPayload)
|
||||
case *LogEntry_StructPayload:
|
||||
s := proto.Size(x.StructPayload)
|
||||
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -220,11 +255,14 @@ func _LogEntry_OneofSizer(msg proto.Message) (n int) {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*LogEntry)(nil), "google.api.servicecontrol.v1.LogEntry")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.LogEntry.LabelsEntry")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicecontrol/v1/log_entry.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/log_entry.proto", fileDescriptor_ca6b95357c9a05d1)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_ca6b95357c9a05d1 = []byte{
|
||||
// 454 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x4f, 0x8f, 0xd3, 0x30,
|
||||
0x10, 0xc5, 0x9b, 0xed, 0x52, 0x1a, 0xa7, 0x5d, 0x21, 0x6b, 0x25, 0x42, 0xa8, 0x44, 0x04, 0x12,
|
||||
|
||||
173
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go
generated
vendored
173
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go
generated
vendored
@@ -3,32 +3,40 @@
|
||||
|
||||
package servicecontrol
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/type/money"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
_ "google.golang.org/genproto/googleapis/type/money"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Represents a single metric value.
|
||||
type MetricValue struct {
|
||||
// The labels describing the metric value.
|
||||
// See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
|
||||
// the overriding relationship.
|
||||
Labels map[string]string `protobuf:"bytes,1,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// The start of the time period over which this metric value's measurement
|
||||
// applies. The time period has different semantics for different metric
|
||||
// types (cumulative, delta, and gauge). See the metric definition
|
||||
// documentation in the service configuration for details.
|
||||
StartTime *google_protobuf3.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
// The end of the time period over which this metric value's measurement
|
||||
// applies.
|
||||
EndTime *google_protobuf3.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
||||
// The value. The type of value used in the request must
|
||||
// agree with the metric definition in the service configuration, otherwise
|
||||
// the MetricValue is rejected.
|
||||
@@ -39,46 +47,36 @@ type MetricValue struct {
|
||||
// *MetricValue_DoubleValue
|
||||
// *MetricValue_StringValue
|
||||
// *MetricValue_DistributionValue
|
||||
Value isMetricValue_Value `protobuf_oneof:"value"`
|
||||
Value isMetricValue_Value `protobuf_oneof:"value"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MetricValue) Reset() { *m = MetricValue{} }
|
||||
func (m *MetricValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricValue) ProtoMessage() {}
|
||||
func (*MetricValue) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
type isMetricValue_Value interface {
|
||||
isMetricValue_Value()
|
||||
func (m *MetricValue) Reset() { *m = MetricValue{} }
|
||||
func (m *MetricValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricValue) ProtoMessage() {}
|
||||
func (*MetricValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8818c371cfc5a8d3, []int{0}
|
||||
}
|
||||
|
||||
type MetricValue_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,oneof"`
|
||||
func (m *MetricValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MetricValue.Unmarshal(m, b)
|
||||
}
|
||||
type MetricValue_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,oneof"`
|
||||
func (m *MetricValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MetricValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
type MetricValue_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,oneof"`
|
||||
func (m *MetricValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricValue.Merge(m, src)
|
||||
}
|
||||
type MetricValue_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,oneof"`
|
||||
func (m *MetricValue) XXX_Size() int {
|
||||
return xxx_messageInfo_MetricValue.Size(m)
|
||||
}
|
||||
type MetricValue_DistributionValue struct {
|
||||
DistributionValue *Distribution `protobuf:"bytes,8,opt,name=distribution_value,json=distributionValue,oneof"`
|
||||
func (m *MetricValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MetricValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (*MetricValue_BoolValue) isMetricValue_Value() {}
|
||||
func (*MetricValue_Int64Value) isMetricValue_Value() {}
|
||||
func (*MetricValue_DoubleValue) isMetricValue_Value() {}
|
||||
func (*MetricValue_StringValue) isMetricValue_Value() {}
|
||||
func (*MetricValue_DistributionValue) isMetricValue_Value() {}
|
||||
|
||||
func (m *MetricValue) GetValue() isMetricValue_Value {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_MetricValue proto.InternalMessageInfo
|
||||
|
||||
func (m *MetricValue) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
@@ -87,20 +85,61 @@ func (m *MetricValue) GetLabels() map[string]string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetStartTime() *google_protobuf3.Timestamp {
|
||||
func (m *MetricValue) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetEndTime() *google_protobuf3.Timestamp {
|
||||
func (m *MetricValue) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isMetricValue_Value interface {
|
||||
isMetricValue_Value()
|
||||
}
|
||||
|
||||
type MetricValue_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type MetricValue_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type MetricValue_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type MetricValue_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type MetricValue_DistributionValue struct {
|
||||
DistributionValue *Distribution `protobuf:"bytes,8,opt,name=distribution_value,json=distributionValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*MetricValue_BoolValue) isMetricValue_Value() {}
|
||||
|
||||
func (*MetricValue_Int64Value) isMetricValue_Value() {}
|
||||
|
||||
func (*MetricValue_DoubleValue) isMetricValue_Value() {}
|
||||
|
||||
func (*MetricValue_StringValue) isMetricValue_Value() {}
|
||||
|
||||
func (*MetricValue_DistributionValue) isMetricValue_Value() {}
|
||||
|
||||
func (m *MetricValue) GetValue() isMetricValue_Value {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetBoolValue() bool {
|
||||
if x, ok := m.GetValue().(*MetricValue_BoolValue); ok {
|
||||
return x.BoolValue
|
||||
@@ -228,21 +267,21 @@ func _MetricValue_OneofSizer(msg proto.Message) (n int) {
|
||||
// value
|
||||
switch x := m.Value.(type) {
|
||||
case *MetricValue_BoolValue:
|
||||
n += proto.SizeVarint(4<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *MetricValue_Int64Value:
|
||||
n += proto.SizeVarint(5<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Int64Value))
|
||||
case *MetricValue_DoubleValue:
|
||||
n += proto.SizeVarint(6<<3 | proto.WireFixed64)
|
||||
n += 1 // tag and wire
|
||||
n += 8
|
||||
case *MetricValue_StringValue:
|
||||
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.StringValue)))
|
||||
n += len(x.StringValue)
|
||||
case *MetricValue_DistributionValue:
|
||||
s := proto.Size(x.DistributionValue)
|
||||
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -257,15 +296,38 @@ func _MetricValue_OneofSizer(msg proto.Message) (n int) {
|
||||
// end time, and label values.
|
||||
type MetricValueSet struct {
|
||||
// The metric name defined in the service configuration.
|
||||
MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
|
||||
MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
|
||||
// The values in this metric.
|
||||
MetricValues []*MetricValue `protobuf:"bytes,2,rep,name=metric_values,json=metricValues" json:"metric_values,omitempty"`
|
||||
MetricValues []*MetricValue `protobuf:"bytes,2,rep,name=metric_values,json=metricValues,proto3" json:"metric_values,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MetricValueSet) Reset() { *m = MetricValueSet{} }
|
||||
func (m *MetricValueSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricValueSet) ProtoMessage() {}
|
||||
func (*MetricValueSet) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
||||
func (m *MetricValueSet) Reset() { *m = MetricValueSet{} }
|
||||
func (m *MetricValueSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*MetricValueSet) ProtoMessage() {}
|
||||
func (*MetricValueSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8818c371cfc5a8d3, []int{1}
|
||||
}
|
||||
|
||||
func (m *MetricValueSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MetricValueSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MetricValueSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MetricValueSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MetricValueSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricValueSet.Merge(m, src)
|
||||
}
|
||||
func (m *MetricValueSet) XXX_Size() int {
|
||||
return xxx_messageInfo_MetricValueSet.Size(m)
|
||||
}
|
||||
func (m *MetricValueSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MetricValueSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MetricValueSet proto.InternalMessageInfo
|
||||
|
||||
func (m *MetricValueSet) GetMetricName() string {
|
||||
if m != nil {
|
||||
@@ -283,12 +345,15 @@ func (m *MetricValueSet) GetMetricValues() []*MetricValue {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*MetricValue)(nil), "google.api.servicecontrol.v1.MetricValue")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.MetricValue.LabelsEntry")
|
||||
proto.RegisterType((*MetricValueSet)(nil), "google.api.servicecontrol.v1.MetricValueSet")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicecontrol/v1/metric_value.proto", fileDescriptor3) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/metric_value.proto", fileDescriptor_8818c371cfc5a8d3)
|
||||
}
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
var fileDescriptor_8818c371cfc5a8d3 = []byte{
|
||||
// 482 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x8b, 0xd3, 0x40,
|
||||
0x14, 0xc7, 0x3b, 0x8d, 0xdb, 0x1f, 0x2f, 0xab, 0x68, 0x14, 0x0c, 0x65, 0xa1, 0x71, 0xbd, 0x44,
|
||||
|
||||
86
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go
generated
vendored
86
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go
generated
vendored
@@ -3,17 +3,25 @@
|
||||
|
||||
package servicecontrol
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Defines the importance of the data contained in the operation.
|
||||
type Operation_Importance int32
|
||||
|
||||
@@ -31,6 +39,7 @@ var Operation_Importance_name = map[int32]string{
|
||||
0: "LOW",
|
||||
1: "HIGH",
|
||||
}
|
||||
|
||||
var Operation_Importance_value = map[string]int32{
|
||||
"LOW": 0,
|
||||
"HIGH": 1,
|
||||
@@ -39,7 +48,10 @@ var Operation_Importance_value = map[string]int32{
|
||||
func (x Operation_Importance) String() string {
|
||||
return proto.EnumName(Operation_Importance_name, int32(x))
|
||||
}
|
||||
func (Operation_Importance) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0, 0} }
|
||||
|
||||
func (Operation_Importance) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_afd5d09de2965ad3, []int{0, 0}
|
||||
}
|
||||
|
||||
// Represents information regarding an operation.
|
||||
type Operation struct {
|
||||
@@ -52,9 +64,9 @@ type Operation struct {
|
||||
// In scenarios where an operation is computed from existing information
|
||||
// and an idempotent id is desirable for deduplication purpose, UUID version 5
|
||||
// is recommended. See RFC 4122 for details.
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
||||
// Fully qualified name of the operation. Reserved for future use.
|
||||
OperationName string `protobuf:"bytes,2,opt,name=operation_name,json=operationName" json:"operation_name,omitempty"`
|
||||
OperationName string `protobuf:"bytes,2,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
|
||||
// Identity of the consumer who is using the service.
|
||||
// This field should be filled in for the operations initiated by a
|
||||
// consumer, but not for service-initiated operations that are
|
||||
@@ -64,13 +76,13 @@ type Operation struct {
|
||||
// project:<project_id>,
|
||||
// project_number:<project_number>,
|
||||
// api_key:<api_key>.
|
||||
ConsumerId string `protobuf:"bytes,3,opt,name=consumer_id,json=consumerId" json:"consumer_id,omitempty"`
|
||||
ConsumerId string `protobuf:"bytes,3,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
|
||||
// Required. Start time of the operation.
|
||||
StartTime *google_protobuf3.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
// End time of the operation.
|
||||
// Required when the operation is used in [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
|
||||
// but optional when the operation is used in [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
|
||||
EndTime *google_protobuf3.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
||||
// Labels describing the operation. Only the following labels are allowed:
|
||||
//
|
||||
// - Labels describing monitored resources as defined in
|
||||
@@ -86,7 +98,7 @@ type Operation struct {
|
||||
// used to handle the API request (e.g. ESP),
|
||||
// - `servicecontrol.googleapis.com/platform` describing the platform
|
||||
// where the API is served (e.g. GAE, GCE, GKE).
|
||||
Labels map[string]string `protobuf:"bytes,6,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// Represents information about this operation. Each MetricValueSet
|
||||
// corresponds to a metric defined in the service configuration.
|
||||
// The data type used in the MetricValueSet must agree with
|
||||
@@ -97,17 +109,40 @@ type Operation struct {
|
||||
// label value combinations. If a request has such duplicated MetricValue
|
||||
// instances, the entire request is rejected with
|
||||
// an invalid argument error.
|
||||
MetricValueSets []*MetricValueSet `protobuf:"bytes,7,rep,name=metric_value_sets,json=metricValueSets" json:"metric_value_sets,omitempty"`
|
||||
MetricValueSets []*MetricValueSet `protobuf:"bytes,7,rep,name=metric_value_sets,json=metricValueSets,proto3" json:"metric_value_sets,omitempty"`
|
||||
// Represents information to be logged.
|
||||
LogEntries []*LogEntry `protobuf:"bytes,8,rep,name=log_entries,json=logEntries" json:"log_entries,omitempty"`
|
||||
LogEntries []*LogEntry `protobuf:"bytes,8,rep,name=log_entries,json=logEntries,proto3" json:"log_entries,omitempty"`
|
||||
// DO NOT USE. This is an experimental field.
|
||||
Importance Operation_Importance `protobuf:"varint,11,opt,name=importance,enum=google.api.servicecontrol.v1.Operation_Importance" json:"importance,omitempty"`
|
||||
Importance Operation_Importance `protobuf:"varint,11,opt,name=importance,proto3,enum=google.api.servicecontrol.v1.Operation_Importance" json:"importance,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Operation) Reset() { *m = Operation{} }
|
||||
func (m *Operation) String() string { return proto.CompactTextString(m) }
|
||||
func (*Operation) ProtoMessage() {}
|
||||
func (*Operation) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
||||
func (m *Operation) Reset() { *m = Operation{} }
|
||||
func (m *Operation) String() string { return proto.CompactTextString(m) }
|
||||
func (*Operation) ProtoMessage() {}
|
||||
func (*Operation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_afd5d09de2965ad3, []int{0}
|
||||
}
|
||||
|
||||
func (m *Operation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Operation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Operation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Operation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Operation.Merge(m, src)
|
||||
}
|
||||
func (m *Operation) XXX_Size() int {
|
||||
return xxx_messageInfo_Operation.Size(m)
|
||||
}
|
||||
func (m *Operation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Operation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Operation proto.InternalMessageInfo
|
||||
|
||||
func (m *Operation) GetOperationId() string {
|
||||
if m != nil {
|
||||
@@ -130,14 +165,14 @@ func (m *Operation) GetConsumerId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Operation) GetStartTime() *google_protobuf3.Timestamp {
|
||||
func (m *Operation) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Operation) GetEndTime() *google_protobuf3.Timestamp {
|
||||
func (m *Operation) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
@@ -173,13 +208,16 @@ func (m *Operation) GetImportance() Operation_Importance {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Operation)(nil), "google.api.servicecontrol.v1.Operation")
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.Operation_Importance", Operation_Importance_name, Operation_Importance_value)
|
||||
proto.RegisterType((*Operation)(nil), "google.api.servicecontrol.v1.Operation")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.Operation.LabelsEntry")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicecontrol/v1/operation.proto", fileDescriptor4) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/operation.proto", fileDescriptor_afd5d09de2965ad3)
|
||||
}
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
var fileDescriptor_afd5d09de2965ad3 = []byte{
|
||||
// 483 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6b, 0x13, 0x41,
|
||||
0x14, 0xc7, 0x9d, 0xa6, 0xf9, 0xf5, 0x56, 0x63, 0x1c, 0x3c, 0x2c, 0xa1, 0x90, 0x58, 0x50, 0x72,
|
||||
|
||||
386
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go
generated
vendored
386
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go
generated
vendored
@@ -3,14 +3,13 @@
|
||||
|
||||
package servicecontrol
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -18,6 +17,12 @@ 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
|
||||
|
||||
// Supported quota modes.
|
||||
type QuotaOperation_QuotaMode int32
|
||||
|
||||
@@ -46,6 +51,7 @@ var QuotaOperation_QuotaMode_name = map[int32]string{
|
||||
2: "BEST_EFFORT",
|
||||
3: "CHECK_ONLY",
|
||||
}
|
||||
|
||||
var QuotaOperation_QuotaMode_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"NORMAL": 1,
|
||||
@@ -56,7 +62,10 @@ var QuotaOperation_QuotaMode_value = map[string]int32{
|
||||
func (x QuotaOperation_QuotaMode) String() string {
|
||||
return proto.EnumName(QuotaOperation_QuotaMode_name, int32(x))
|
||||
}
|
||||
func (QuotaOperation_QuotaMode) EnumDescriptor() ([]byte, []int) { return fileDescriptor5, []int{1, 0} }
|
||||
|
||||
func (QuotaOperation_QuotaMode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4401e348913df3b0, []int{1, 0}
|
||||
}
|
||||
|
||||
// Error codes related to project config validations are deprecated since the
|
||||
// quota controller methods do not perform these validations. Instead services
|
||||
@@ -90,6 +99,7 @@ var QuotaError_Code_name = map[int32]string{
|
||||
105: "API_KEY_INVALID",
|
||||
112: "API_KEY_EXPIRED",
|
||||
}
|
||||
|
||||
var QuotaError_Code_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"RESOURCE_EXHAUSTED": 8,
|
||||
@@ -102,7 +112,10 @@ var QuotaError_Code_value = map[string]int32{
|
||||
func (x QuotaError_Code) String() string {
|
||||
return proto.EnumName(QuotaError_Code_name, int32(x))
|
||||
}
|
||||
func (QuotaError_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor5, []int{3, 0} }
|
||||
|
||||
func (QuotaError_Code) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4401e348913df3b0, []int{3, 0}
|
||||
}
|
||||
|
||||
// Request message for the AllocateQuota method.
|
||||
type AllocateQuotaRequest struct {
|
||||
@@ -110,19 +123,42 @@ type AllocateQuotaRequest struct {
|
||||
// `"pubsub.googleapis.com"`.
|
||||
//
|
||||
// See [google.api.Service][google.api.Service] for the definition of a service name.
|
||||
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
|
||||
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
||||
// Operation that describes the quota allocation.
|
||||
AllocateOperation *QuotaOperation `protobuf:"bytes,2,opt,name=allocate_operation,json=allocateOperation" json:"allocate_operation,omitempty"`
|
||||
AllocateOperation *QuotaOperation `protobuf:"bytes,2,opt,name=allocate_operation,json=allocateOperation,proto3" json:"allocate_operation,omitempty"`
|
||||
// Specifies which version of service configuration should be used to process
|
||||
// the request. If unspecified or no matching version can be found, the latest
|
||||
// one will be used.
|
||||
ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId" json:"service_config_id,omitempty"`
|
||||
ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaRequest) Reset() { *m = AllocateQuotaRequest{} }
|
||||
func (m *AllocateQuotaRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AllocateQuotaRequest) ProtoMessage() {}
|
||||
func (*AllocateQuotaRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||||
func (m *AllocateQuotaRequest) Reset() { *m = AllocateQuotaRequest{} }
|
||||
func (m *AllocateQuotaRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AllocateQuotaRequest) ProtoMessage() {}
|
||||
func (*AllocateQuotaRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4401e348913df3b0, []int{0}
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AllocateQuotaRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AllocateQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AllocateQuotaRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *AllocateQuotaRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AllocateQuotaRequest.Merge(m, src)
|
||||
}
|
||||
func (m *AllocateQuotaRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_AllocateQuotaRequest.Size(m)
|
||||
}
|
||||
func (m *AllocateQuotaRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AllocateQuotaRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AllocateQuotaRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *AllocateQuotaRequest) GetServiceName() string {
|
||||
if m != nil {
|
||||
@@ -155,7 +191,7 @@ type QuotaOperation struct {
|
||||
// operation is computed from existing information and an idempotent id is
|
||||
// desirable for deduplication purpose, UUID version 5 is recommended. See
|
||||
// RFC 4122 for details.
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
||||
// Fully qualified name of the API method for which this quota operation is
|
||||
// requested. This name is used for matching quota rules or metric rules and
|
||||
// billing status rules defined in service configuration. This field is not
|
||||
@@ -163,16 +199,16 @@ type QuotaOperation struct {
|
||||
//
|
||||
// Example of an RPC method name:
|
||||
// google.example.library.v1.LibraryService.CreateShelf
|
||||
MethodName string `protobuf:"bytes,2,opt,name=method_name,json=methodName" json:"method_name,omitempty"`
|
||||
MethodName string `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
|
||||
// Identity of the consumer for whom this quota operation is being performed.
|
||||
//
|
||||
// This can be in one of the following formats:
|
||||
// project:<project_id>,
|
||||
// project_number:<project_number>,
|
||||
// api_key:<api_key>.
|
||||
ConsumerId string `protobuf:"bytes,3,opt,name=consumer_id,json=consumerId" json:"consumer_id,omitempty"`
|
||||
ConsumerId string `protobuf:"bytes,3,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
|
||||
// Labels describing the operation.
|
||||
Labels map[string]string `protobuf:"bytes,4,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// Represents information about this operation. Each MetricValueSet
|
||||
// corresponds to a metric defined in the service configuration.
|
||||
// The data type used in the MetricValueSet must agree with
|
||||
@@ -183,15 +219,38 @@ type QuotaOperation struct {
|
||||
// label value combinations. If a request has such duplicated MetricValue
|
||||
// instances, the entire request is rejected with
|
||||
// an invalid argument error.
|
||||
QuotaMetrics []*MetricValueSet `protobuf:"bytes,5,rep,name=quota_metrics,json=quotaMetrics" json:"quota_metrics,omitempty"`
|
||||
QuotaMetrics []*MetricValueSet `protobuf:"bytes,5,rep,name=quota_metrics,json=quotaMetrics,proto3" json:"quota_metrics,omitempty"`
|
||||
// Quota mode for this operation.
|
||||
QuotaMode QuotaOperation_QuotaMode `protobuf:"varint,6,opt,name=quota_mode,json=quotaMode,enum=google.api.servicecontrol.v1.QuotaOperation_QuotaMode" json:"quota_mode,omitempty"`
|
||||
QuotaMode QuotaOperation_QuotaMode `protobuf:"varint,6,opt,name=quota_mode,json=quotaMode,proto3,enum=google.api.servicecontrol.v1.QuotaOperation_QuotaMode" json:"quota_mode,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *QuotaOperation) Reset() { *m = QuotaOperation{} }
|
||||
func (m *QuotaOperation) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaOperation) ProtoMessage() {}
|
||||
func (*QuotaOperation) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
|
||||
func (m *QuotaOperation) Reset() { *m = QuotaOperation{} }
|
||||
func (m *QuotaOperation) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaOperation) ProtoMessage() {}
|
||||
func (*QuotaOperation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4401e348913df3b0, []int{1}
|
||||
}
|
||||
|
||||
func (m *QuotaOperation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_QuotaOperation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *QuotaOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_QuotaOperation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *QuotaOperation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaOperation.Merge(m, src)
|
||||
}
|
||||
func (m *QuotaOperation) XXX_Size() int {
|
||||
return xxx_messageInfo_QuotaOperation.Size(m)
|
||||
}
|
||||
func (m *QuotaOperation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QuotaOperation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QuotaOperation proto.InternalMessageInfo
|
||||
|
||||
func (m *QuotaOperation) GetOperationId() string {
|
||||
if m != nil {
|
||||
@@ -239,9 +298,9 @@ func (m *QuotaOperation) GetQuotaMode() QuotaOperation_QuotaMode {
|
||||
type AllocateQuotaResponse struct {
|
||||
// The same operation_id value used in the AllocateQuotaRequest. Used for
|
||||
// logging and diagnostics purposes.
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
||||
// Indicates the decision of the allocate.
|
||||
AllocateErrors []*QuotaError `protobuf:"bytes,2,rep,name=allocate_errors,json=allocateErrors" json:"allocate_errors,omitempty"`
|
||||
AllocateErrors []*QuotaError `protobuf:"bytes,2,rep,name=allocate_errors,json=allocateErrors,proto3" json:"allocate_errors,omitempty"`
|
||||
// Quota metrics to indicate the result of allocation. Depending on the
|
||||
// request, one or more of the following metrics will be included:
|
||||
//
|
||||
@@ -252,15 +311,38 @@ type AllocateQuotaResponse struct {
|
||||
// 2. The quota limit reached condition will be specified using the following
|
||||
// boolean metric :
|
||||
// "serviceruntime.googleapis.com/quota/exceeded"
|
||||
QuotaMetrics []*MetricValueSet `protobuf:"bytes,3,rep,name=quota_metrics,json=quotaMetrics" json:"quota_metrics,omitempty"`
|
||||
QuotaMetrics []*MetricValueSet `protobuf:"bytes,3,rep,name=quota_metrics,json=quotaMetrics,proto3" json:"quota_metrics,omitempty"`
|
||||
// ID of the actual config used to process the request.
|
||||
ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId" json:"service_config_id,omitempty"`
|
||||
ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaResponse) Reset() { *m = AllocateQuotaResponse{} }
|
||||
func (m *AllocateQuotaResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AllocateQuotaResponse) ProtoMessage() {}
|
||||
func (*AllocateQuotaResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
|
||||
func (m *AllocateQuotaResponse) Reset() { *m = AllocateQuotaResponse{} }
|
||||
func (m *AllocateQuotaResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AllocateQuotaResponse) ProtoMessage() {}
|
||||
func (*AllocateQuotaResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4401e348913df3b0, []int{2}
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AllocateQuotaResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AllocateQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AllocateQuotaResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *AllocateQuotaResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AllocateQuotaResponse.Merge(m, src)
|
||||
}
|
||||
func (m *AllocateQuotaResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_AllocateQuotaResponse.Size(m)
|
||||
}
|
||||
func (m *AllocateQuotaResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AllocateQuotaResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AllocateQuotaResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *AllocateQuotaResponse) GetOperationId() string {
|
||||
if m != nil {
|
||||
@@ -293,19 +375,42 @@ func (m *AllocateQuotaResponse) GetServiceConfigId() string {
|
||||
// Represents error information for [QuotaOperation][google.api.servicecontrol.v1.QuotaOperation].
|
||||
type QuotaError struct {
|
||||
// Error code.
|
||||
Code QuotaError_Code `protobuf:"varint,1,opt,name=code,enum=google.api.servicecontrol.v1.QuotaError_Code" json:"code,omitempty"`
|
||||
Code QuotaError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.api.servicecontrol.v1.QuotaError_Code" json:"code,omitempty"`
|
||||
// Subject to whom this error applies. See the specific enum for more details
|
||||
// on this field. For example, "clientip:<ip address of client>" or
|
||||
// "project:<Google developer project id>".
|
||||
Subject string `protobuf:"bytes,2,opt,name=subject" json:"subject,omitempty"`
|
||||
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
||||
// Free-form text that provides details on the cause of the error.
|
||||
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 *QuotaError) Reset() { *m = QuotaError{} }
|
||||
func (m *QuotaError) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaError) ProtoMessage() {}
|
||||
func (*QuotaError) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
|
||||
func (m *QuotaError) Reset() { *m = QuotaError{} }
|
||||
func (m *QuotaError) String() string { return proto.CompactTextString(m) }
|
||||
func (*QuotaError) ProtoMessage() {}
|
||||
func (*QuotaError) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4401e348913df3b0, []int{3}
|
||||
}
|
||||
|
||||
func (m *QuotaError) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_QuotaError.Unmarshal(m, b)
|
||||
}
|
||||
func (m *QuotaError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_QuotaError.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *QuotaError) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaError.Merge(m, src)
|
||||
}
|
||||
func (m *QuotaError) XXX_Size() int {
|
||||
return xxx_messageInfo_QuotaError.Size(m)
|
||||
}
|
||||
func (m *QuotaError) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QuotaError.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QuotaError proto.InternalMessageInfo
|
||||
|
||||
func (m *QuotaError) GetCode() QuotaError_Code {
|
||||
if m != nil {
|
||||
@@ -329,113 +434,20 @@ func (m *QuotaError) GetDescription() string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*AllocateQuotaRequest)(nil), "google.api.servicecontrol.v1.AllocateQuotaRequest")
|
||||
proto.RegisterType((*QuotaOperation)(nil), "google.api.servicecontrol.v1.QuotaOperation")
|
||||
proto.RegisterType((*AllocateQuotaResponse)(nil), "google.api.servicecontrol.v1.AllocateQuotaResponse")
|
||||
proto.RegisterType((*QuotaError)(nil), "google.api.servicecontrol.v1.QuotaError")
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.QuotaOperation_QuotaMode", QuotaOperation_QuotaMode_name, QuotaOperation_QuotaMode_value)
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.QuotaError_Code", QuotaError_Code_name, QuotaError_Code_value)
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for QuotaController service
|
||||
|
||||
type QuotaControllerClient interface {
|
||||
// Attempts to allocate quota for the specified consumer. It should be called
|
||||
// before the operation is executed.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.quota`
|
||||
// permission on the specified service. For more information, see
|
||||
// [Cloud IAM](https://cloud.google.com/iam).
|
||||
//
|
||||
// **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
||||
// `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
||||
// reliability, the server may inject these errors to prohibit any hard
|
||||
// dependency on the quota functionality.
|
||||
AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error)
|
||||
}
|
||||
|
||||
type quotaControllerClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewQuotaControllerClient(cc *grpc.ClientConn) QuotaControllerClient {
|
||||
return "aControllerClient{cc}
|
||||
}
|
||||
|
||||
func (c *quotaControllerClient) AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error) {
|
||||
out := new(AllocateQuotaResponse)
|
||||
err := grpc.Invoke(ctx, "/google.api.servicecontrol.v1.QuotaController/AllocateQuota", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for QuotaController service
|
||||
|
||||
type QuotaControllerServer interface {
|
||||
// Attempts to allocate quota for the specified consumer. It should be called
|
||||
// before the operation is executed.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.quota`
|
||||
// permission on the specified service. For more information, see
|
||||
// [Cloud IAM](https://cloud.google.com/iam).
|
||||
//
|
||||
// **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
||||
// `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
||||
// reliability, the server may inject these errors to prohibit any hard
|
||||
// dependency on the quota functionality.
|
||||
AllocateQuota(context.Context, *AllocateQuotaRequest) (*AllocateQuotaResponse, error)
|
||||
}
|
||||
|
||||
func RegisterQuotaControllerServer(s *grpc.Server, srv QuotaControllerServer) {
|
||||
s.RegisterService(&_QuotaController_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _QuotaController_AllocateQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(AllocateQuotaRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(QuotaControllerServer).AllocateQuota(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.servicecontrol.v1.QuotaController/AllocateQuota",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(QuotaControllerServer).AllocateQuota(ctx, req.(*AllocateQuotaRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _QuotaController_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.api.servicecontrol.v1.QuotaController",
|
||||
HandlerType: (*QuotaControllerServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "AllocateQuota",
|
||||
Handler: _QuotaController_AllocateQuota_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/servicecontrol/v1/quota_controller.proto",
|
||||
proto.RegisterType((*AllocateQuotaRequest)(nil), "google.api.servicecontrol.v1.AllocateQuotaRequest")
|
||||
proto.RegisterType((*QuotaOperation)(nil), "google.api.servicecontrol.v1.QuotaOperation")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.QuotaOperation.LabelsEntry")
|
||||
proto.RegisterType((*AllocateQuotaResponse)(nil), "google.api.servicecontrol.v1.AllocateQuotaResponse")
|
||||
proto.RegisterType((*QuotaError)(nil), "google.api.servicecontrol.v1.QuotaError")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor5)
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor_4401e348913df3b0)
|
||||
}
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
var fileDescriptor_4401e348913df3b0 = []byte{
|
||||
// 775 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xc1, 0x6e, 0xea, 0x46,
|
||||
0x14, 0xed, 0x18, 0x42, 0x9b, 0xeb, 0x04, 0x9c, 0x69, 0x5a, 0x59, 0x28, 0x52, 0x28, 0x2b, 0x1a,
|
||||
@@ -487,3 +499,97 @@ var fileDescriptor5 = []byte{
|
||||
0xfd, 0x22, 0xf2, 0x06, 0xa1, 0xbb, 0x1c, 0x67, 0x1e, 0xbd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbb,
|
||||
0x98, 0x03, 0x4f, 0xe0, 0x06, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// QuotaControllerClient is the client API for QuotaController service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type QuotaControllerClient interface {
|
||||
// Attempts to allocate quota for the specified consumer. It should be called
|
||||
// before the operation is executed.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.quota`
|
||||
// permission on the specified service. For more information, see
|
||||
// [Cloud IAM](https://cloud.google.com/iam).
|
||||
//
|
||||
// **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
||||
// `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
||||
// reliability, the server may inject these errors to prohibit any hard
|
||||
// dependency on the quota functionality.
|
||||
AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error)
|
||||
}
|
||||
|
||||
type quotaControllerClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewQuotaControllerClient(cc *grpc.ClientConn) QuotaControllerClient {
|
||||
return "aControllerClient{cc}
|
||||
}
|
||||
|
||||
func (c *quotaControllerClient) AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error) {
|
||||
out := new(AllocateQuotaResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.QuotaController/AllocateQuota", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// QuotaControllerServer is the server API for QuotaController service.
|
||||
type QuotaControllerServer interface {
|
||||
// Attempts to allocate quota for the specified consumer. It should be called
|
||||
// before the operation is executed.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.quota`
|
||||
// permission on the specified service. For more information, see
|
||||
// [Cloud IAM](https://cloud.google.com/iam).
|
||||
//
|
||||
// **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
||||
// `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
||||
// reliability, the server may inject these errors to prohibit any hard
|
||||
// dependency on the quota functionality.
|
||||
AllocateQuota(context.Context, *AllocateQuotaRequest) (*AllocateQuotaResponse, error)
|
||||
}
|
||||
|
||||
func RegisterQuotaControllerServer(s *grpc.Server, srv QuotaControllerServer) {
|
||||
s.RegisterService(&_QuotaController_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _QuotaController_AllocateQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(AllocateQuotaRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(QuotaControllerServer).AllocateQuota(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.servicecontrol.v1.QuotaController/AllocateQuota",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(QuotaControllerServer).AllocateQuota(ctx, req.(*AllocateQuotaRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _QuotaController_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.api.servicecontrol.v1.QuotaController",
|
||||
HandlerType: (*QuotaControllerServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "AllocateQuota",
|
||||
Handler: _QuotaController_AllocateQuota_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/servicecontrol/v1/quota_controller.proto",
|
||||
}
|
||||
|
||||
376
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go
generated
vendored
376
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go
generated
vendored
@@ -3,15 +3,14 @@
|
||||
|
||||
package servicecontrol
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -19,6 +18,12 @@ 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
|
||||
|
||||
// Request message for the Check method.
|
||||
type CheckRequest struct {
|
||||
// The service name as specified in its service configuration. For example,
|
||||
@@ -27,21 +32,44 @@ type CheckRequest struct {
|
||||
// See
|
||||
// [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
|
||||
// for the definition of a service name.
|
||||
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
|
||||
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
||||
// The operation to be checked.
|
||||
Operation *Operation `protobuf:"bytes,2,opt,name=operation" json:"operation,omitempty"`
|
||||
Operation *Operation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
|
||||
// Specifies which version of service configuration should be used to process
|
||||
// the request.
|
||||
//
|
||||
// If unspecified or no matching version can be found, the
|
||||
// latest one will be used.
|
||||
ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId" json:"service_config_id,omitempty"`
|
||||
ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckRequest) Reset() { *m = CheckRequest{} }
|
||||
func (m *CheckRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckRequest) ProtoMessage() {}
|
||||
func (*CheckRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
|
||||
func (m *CheckRequest) Reset() { *m = CheckRequest{} }
|
||||
func (m *CheckRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckRequest) ProtoMessage() {}
|
||||
func (*CheckRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8f215053b51b20e0, []int{0}
|
||||
}
|
||||
|
||||
func (m *CheckRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckRequest.Merge(m, src)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckRequest.Size(m)
|
||||
}
|
||||
func (m *CheckRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckRequest) GetServiceName() string {
|
||||
if m != nil {
|
||||
@@ -68,23 +96,46 @@ func (m *CheckRequest) GetServiceConfigId() string {
|
||||
type CheckResponse struct {
|
||||
// The same operation_id value used in the [CheckRequest][google.api.servicecontrol.v1.CheckRequest].
|
||||
// Used for logging and diagnostics purposes.
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
||||
// Indicate the decision of the check.
|
||||
//
|
||||
// If no check errors are present, the service should process the operation.
|
||||
// Otherwise the service should use the list of errors to determine the
|
||||
// appropriate action.
|
||||
CheckErrors []*CheckError `protobuf:"bytes,2,rep,name=check_errors,json=checkErrors" json:"check_errors,omitempty"`
|
||||
CheckErrors []*CheckError `protobuf:"bytes,2,rep,name=check_errors,json=checkErrors,proto3" json:"check_errors,omitempty"`
|
||||
// The actual config id used to process the request.
|
||||
ServiceConfigId string `protobuf:"bytes,5,opt,name=service_config_id,json=serviceConfigId" json:"service_config_id,omitempty"`
|
||||
ServiceConfigId string `protobuf:"bytes,5,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"`
|
||||
// Feedback data returned from the server during processing a Check request.
|
||||
CheckInfo *CheckResponse_CheckInfo `protobuf:"bytes,6,opt,name=check_info,json=checkInfo" json:"check_info,omitempty"`
|
||||
CheckInfo *CheckResponse_CheckInfo `protobuf:"bytes,6,opt,name=check_info,json=checkInfo,proto3" json:"check_info,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckResponse) Reset() { *m = CheckResponse{} }
|
||||
func (m *CheckResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse) ProtoMessage() {}
|
||||
func (*CheckResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
|
||||
func (m *CheckResponse) Reset() { *m = CheckResponse{} }
|
||||
func (m *CheckResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse) ProtoMessage() {}
|
||||
func (*CheckResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8f215053b51b20e0, []int{1}
|
||||
}
|
||||
|
||||
func (m *CheckResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse.Merge(m, src)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckResponse.Size(m)
|
||||
}
|
||||
func (m *CheckResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckResponse) GetOperationId() string {
|
||||
if m != nil {
|
||||
@@ -116,13 +167,36 @@ func (m *CheckResponse) GetCheckInfo() *CheckResponse_CheckInfo {
|
||||
|
||||
type CheckResponse_CheckInfo struct {
|
||||
// Consumer info of this check.
|
||||
ConsumerInfo *CheckResponse_ConsumerInfo `protobuf:"bytes,2,opt,name=consumer_info,json=consumerInfo" json:"consumer_info,omitempty"`
|
||||
ConsumerInfo *CheckResponse_ConsumerInfo `protobuf:"bytes,2,opt,name=consumer_info,json=consumerInfo,proto3" json:"consumer_info,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckResponse_CheckInfo) Reset() { *m = CheckResponse_CheckInfo{} }
|
||||
func (m *CheckResponse_CheckInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse_CheckInfo) ProtoMessage() {}
|
||||
func (*CheckResponse_CheckInfo) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1, 0} }
|
||||
func (m *CheckResponse_CheckInfo) Reset() { *m = CheckResponse_CheckInfo{} }
|
||||
func (m *CheckResponse_CheckInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse_CheckInfo) ProtoMessage() {}
|
||||
func (*CheckResponse_CheckInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8f215053b51b20e0, []int{1, 0}
|
||||
}
|
||||
|
||||
func (m *CheckResponse_CheckInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckResponse_CheckInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckResponse_CheckInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckResponse_CheckInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckResponse_CheckInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse_CheckInfo.Merge(m, src)
|
||||
}
|
||||
func (m *CheckResponse_CheckInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckResponse_CheckInfo.Size(m)
|
||||
}
|
||||
func (m *CheckResponse_CheckInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckResponse_CheckInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckResponse_CheckInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckResponse_CheckInfo) GetConsumerInfo() *CheckResponse_ConsumerInfo {
|
||||
if m != nil {
|
||||
@@ -135,13 +209,36 @@ func (m *CheckResponse_CheckInfo) GetConsumerInfo() *CheckResponse_ConsumerInfo
|
||||
type CheckResponse_ConsumerInfo struct {
|
||||
// The Google cloud project number, e.g. 1234567890. A value of 0 indicates
|
||||
// no project number is found.
|
||||
ProjectNumber int64 `protobuf:"varint,1,opt,name=project_number,json=projectNumber" json:"project_number,omitempty"`
|
||||
ProjectNumber int64 `protobuf:"varint,1,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckResponse_ConsumerInfo) Reset() { *m = CheckResponse_ConsumerInfo{} }
|
||||
func (m *CheckResponse_ConsumerInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse_ConsumerInfo) ProtoMessage() {}
|
||||
func (*CheckResponse_ConsumerInfo) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1, 1} }
|
||||
func (m *CheckResponse_ConsumerInfo) Reset() { *m = CheckResponse_ConsumerInfo{} }
|
||||
func (m *CheckResponse_ConsumerInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse_ConsumerInfo) ProtoMessage() {}
|
||||
func (*CheckResponse_ConsumerInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8f215053b51b20e0, []int{1, 1}
|
||||
}
|
||||
|
||||
func (m *CheckResponse_ConsumerInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckResponse_ConsumerInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckResponse_ConsumerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckResponse_ConsumerInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckResponse_ConsumerInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse_ConsumerInfo.Merge(m, src)
|
||||
}
|
||||
func (m *CheckResponse_ConsumerInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckResponse_ConsumerInfo.Size(m)
|
||||
}
|
||||
func (m *CheckResponse_ConsumerInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckResponse_ConsumerInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckResponse_ConsumerInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckResponse_ConsumerInfo) GetProjectNumber() int64 {
|
||||
if m != nil {
|
||||
@@ -158,7 +255,7 @@ type ReportRequest struct {
|
||||
// See
|
||||
// [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
|
||||
// for the definition of a service name.
|
||||
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
|
||||
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
||||
// Operations to be reported.
|
||||
//
|
||||
// Typically the service should report one operation per request.
|
||||
@@ -169,19 +266,42 @@ type ReportRequest struct {
|
||||
// If multiple operations are in a single request, the total request size
|
||||
// should be no larger than 1MB. See [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] for
|
||||
// partial failure behavior.
|
||||
Operations []*Operation `protobuf:"bytes,2,rep,name=operations" json:"operations,omitempty"`
|
||||
Operations []*Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
|
||||
// Specifies which version of service config should be used to process the
|
||||
// request.
|
||||
//
|
||||
// If unspecified or no matching version can be found, the
|
||||
// latest one will be used.
|
||||
ServiceConfigId string `protobuf:"bytes,3,opt,name=service_config_id,json=serviceConfigId" json:"service_config_id,omitempty"`
|
||||
ServiceConfigId string `protobuf:"bytes,3,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReportRequest) Reset() { *m = ReportRequest{} }
|
||||
func (m *ReportRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportRequest) ProtoMessage() {}
|
||||
func (*ReportRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} }
|
||||
func (m *ReportRequest) Reset() { *m = ReportRequest{} }
|
||||
func (m *ReportRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportRequest) ProtoMessage() {}
|
||||
func (*ReportRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8f215053b51b20e0, []int{2}
|
||||
}
|
||||
|
||||
func (m *ReportRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReportRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReportRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ReportRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReportRequest.Merge(m, src)
|
||||
}
|
||||
func (m *ReportRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReportRequest.Size(m)
|
||||
}
|
||||
func (m *ReportRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReportRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReportRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReportRequest) GetServiceName() string {
|
||||
if m != nil {
|
||||
@@ -220,15 +340,38 @@ type ReportResponse struct {
|
||||
// 3. A failed RPC status indicates a general non-deterministic failure.
|
||||
// When this happens, it's impossible to know which of the
|
||||
// 'Operations' in the request succeeded or failed.
|
||||
ReportErrors []*ReportResponse_ReportError `protobuf:"bytes,1,rep,name=report_errors,json=reportErrors" json:"report_errors,omitempty"`
|
||||
ReportErrors []*ReportResponse_ReportError `protobuf:"bytes,1,rep,name=report_errors,json=reportErrors,proto3" json:"report_errors,omitempty"`
|
||||
// The actual config id used to process the request.
|
||||
ServiceConfigId string `protobuf:"bytes,2,opt,name=service_config_id,json=serviceConfigId" json:"service_config_id,omitempty"`
|
||||
ServiceConfigId string `protobuf:"bytes,2,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReportResponse) Reset() { *m = ReportResponse{} }
|
||||
func (m *ReportResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportResponse) ProtoMessage() {}
|
||||
func (*ReportResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{3} }
|
||||
func (m *ReportResponse) Reset() { *m = ReportResponse{} }
|
||||
func (m *ReportResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportResponse) ProtoMessage() {}
|
||||
func (*ReportResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8f215053b51b20e0, []int{3}
|
||||
}
|
||||
|
||||
func (m *ReportResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReportResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReportResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ReportResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReportResponse.Merge(m, src)
|
||||
}
|
||||
func (m *ReportResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ReportResponse.Size(m)
|
||||
}
|
||||
func (m *ReportResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReportResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReportResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ReportResponse) GetReportErrors() []*ReportResponse_ReportError {
|
||||
if m != nil {
|
||||
@@ -247,15 +390,38 @@ func (m *ReportResponse) GetServiceConfigId() string {
|
||||
// Represents the processing error of one [Operation][google.api.servicecontrol.v1.Operation] in the request.
|
||||
type ReportResponse_ReportError struct {
|
||||
// The [Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id] value from the request.
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
|
||||
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
||||
// Details of the error when processing the [Operation][google.api.servicecontrol.v1.Operation].
|
||||
Status *google_rpc.Status `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
|
||||
Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReportResponse_ReportError) Reset() { *m = ReportResponse_ReportError{} }
|
||||
func (m *ReportResponse_ReportError) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportResponse_ReportError) ProtoMessage() {}
|
||||
func (*ReportResponse_ReportError) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{3, 0} }
|
||||
func (m *ReportResponse_ReportError) Reset() { *m = ReportResponse_ReportError{} }
|
||||
func (m *ReportResponse_ReportError) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReportResponse_ReportError) ProtoMessage() {}
|
||||
func (*ReportResponse_ReportError) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_8f215053b51b20e0, []int{3, 0}
|
||||
}
|
||||
|
||||
func (m *ReportResponse_ReportError) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReportResponse_ReportError.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReportResponse_ReportError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReportResponse_ReportError.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ReportResponse_ReportError) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReportResponse_ReportError.Merge(m, src)
|
||||
}
|
||||
func (m *ReportResponse_ReportError) XXX_Size() int {
|
||||
return xxx_messageInfo_ReportResponse_ReportError.Size(m)
|
||||
}
|
||||
func (m *ReportResponse_ReportError) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReportResponse_ReportError.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReportResponse_ReportError proto.InternalMessageInfo
|
||||
|
||||
func (m *ReportResponse_ReportError) GetOperationId() string {
|
||||
if m != nil {
|
||||
@@ -264,7 +430,7 @@ func (m *ReportResponse_ReportError) GetOperationId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReportResponse_ReportError) GetStatus() *google_rpc.Status {
|
||||
func (m *ReportResponse_ReportError) GetStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
@@ -281,6 +447,53 @@ func init() {
|
||||
proto.RegisterType((*ReportResponse_ReportError)(nil), "google.api.servicecontrol.v1.ReportResponse.ReportError")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor_8f215053b51b20e0)
|
||||
}
|
||||
|
||||
var fileDescriptor_8f215053b51b20e0 = []byte{
|
||||
// 619 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x4c,
|
||||
0x10, 0xd6, 0x3a, 0x6d, 0xa4, 0x4c, 0x9c, 0xfe, 0xea, 0x1e, 0x7e, 0x22, 0xab, 0x87, 0xd4, 0x12,
|
||||
0x34, 0x4a, 0x8b, 0xad, 0x16, 0x55, 0x42, 0xe1, 0x44, 0xa3, 0xaa, 0x0a, 0x48, 0xa5, 0x72, 0x38,
|
||||
0x21, 0xaa, 0xc8, 0xdd, 0x6c, 0x8c, 0x4b, 0xb2, 0x6b, 0xd6, 0x4e, 0x2e, 0x88, 0x0b, 0x0f, 0xc0,
|
||||
0xa1, 0xbc, 0x01, 0xaa, 0xc4, 0x33, 0xf0, 0x1c, 0xbc, 0x02, 0x0f, 0x01, 0x37, 0x94, 0xdd, 0xb5,
|
||||
0xeb, 0x08, 0x63, 0x92, 0x9b, 0xf7, 0xdb, 0x99, 0xf9, 0xbe, 0x9d, 0xf9, 0x3c, 0x70, 0x1c, 0x70,
|
||||
0x1e, 0x4c, 0xa8, 0xeb, 0x47, 0xa1, 0x1b, 0x53, 0x31, 0x0f, 0x09, 0x25, 0x9c, 0x25, 0x82, 0x4f,
|
||||
0xdc, 0xf9, 0x61, 0x8a, 0x0c, 0x35, 0x34, 0xa1, 0xc2, 0x89, 0x04, 0x4f, 0x38, 0xde, 0x51, 0x69,
|
||||
0x8e, 0x1f, 0x85, 0xce, 0x72, 0x9a, 0x33, 0x3f, 0xb4, 0x76, 0x72, 0x45, 0x7d, 0xc6, 0x78, 0xe2,
|
||||
0x27, 0x21, 0x67, 0xb1, 0xca, 0xb5, 0x9c, 0x52, 0x4a, 0xf2, 0x86, 0x92, 0xb7, 0x43, 0x2a, 0x04,
|
||||
0xd7, 0x5c, 0xd6, 0x41, 0x69, 0x3c, 0x8f, 0xa8, 0x90, 0xe5, 0x75, 0xf4, 0x3d, 0x1d, 0x2d, 0x22,
|
||||
0xe2, 0xc6, 0x89, 0x9f, 0xcc, 0x34, 0xad, 0x7d, 0x8b, 0xc0, 0xec, 0x2d, 0x8a, 0x7b, 0xf4, 0xdd,
|
||||
0x8c, 0xc6, 0x09, 0xde, 0x05, 0x33, 0x7d, 0x1f, 0xf3, 0xa7, 0xb4, 0x89, 0x5a, 0xa8, 0x5d, 0xf3,
|
||||
0xea, 0x1a, 0x3b, 0xf7, 0xa7, 0x14, 0x9f, 0x42, 0x2d, 0xab, 0xdf, 0x34, 0x5a, 0xa8, 0x5d, 0x3f,
|
||||
0xda, 0x73, 0xca, 0x9e, 0xee, 0xbc, 0x48, 0xc3, 0xbd, 0xbb, 0x4c, 0xdc, 0x81, 0xed, 0x5c, 0x27,
|
||||
0xc7, 0x61, 0x30, 0x0c, 0x47, 0xcd, 0x0d, 0x49, 0xf7, 0x9f, 0xbe, 0xe8, 0x49, 0xbc, 0x3f, 0xb2,
|
||||
0x6f, 0x2b, 0xd0, 0xd0, 0x32, 0xe3, 0x88, 0xb3, 0x98, 0x2e, 0x74, 0x66, 0xa5, 0x16, 0x89, 0x5a,
|
||||
0x67, 0x86, 0xf5, 0x47, 0xf8, 0x39, 0x98, 0xb9, 0xbe, 0xc5, 0x4d, 0xa3, 0x55, 0x69, 0xd7, 0x8f,
|
||||
0xda, 0xe5, 0x52, 0x25, 0xcb, 0xe9, 0x22, 0xc1, 0xab, 0x93, 0xec, 0x3b, 0x2e, 0x56, 0xbb, 0x59,
|
||||
0xa8, 0x16, 0xbf, 0x04, 0x50, 0xc4, 0x21, 0x1b, 0xf3, 0x66, 0x55, 0x76, 0xe8, 0x78, 0x05, 0xda,
|
||||
0xf4, 0x71, 0xea, 0xd4, 0x67, 0x63, 0xee, 0xd5, 0x48, 0xfa, 0x69, 0x5d, 0x43, 0x2d, 0xc3, 0xf1,
|
||||
0x25, 0x34, 0x08, 0x67, 0xf1, 0x6c, 0x4a, 0x85, 0x62, 0x51, 0x73, 0x78, 0xbc, 0x16, 0x8b, 0x2e,
|
||||
0x20, 0x89, 0x4c, 0x92, 0x3b, 0x59, 0xc7, 0x60, 0xe6, 0x6f, 0xf1, 0x7d, 0xd8, 0x8a, 0x04, 0xbf,
|
||||
0xa6, 0x24, 0x19, 0xb2, 0xd9, 0xf4, 0x8a, 0x0a, 0xd9, 0xef, 0x8a, 0xd7, 0xd0, 0xe8, 0xb9, 0x04,
|
||||
0xed, 0xaf, 0x08, 0x1a, 0x1e, 0x8d, 0xb8, 0x48, 0xd6, 0xb0, 0xd3, 0x19, 0x40, 0x36, 0xb5, 0x74,
|
||||
0x48, 0x2b, 0xfb, 0x29, 0x97, 0x5a, 0x3c, 0xa2, 0x4a, 0xb1, 0xa1, 0x7e, 0x21, 0xd8, 0x4a, 0x95,
|
||||
0x6a, 0x47, 0x5d, 0x42, 0x43, 0x48, 0x24, 0xf5, 0x0b, 0x92, 0x52, 0xfe, 0xd1, 0xd2, 0xe5, 0x22,
|
||||
0xfa, 0xa8, 0xfc, 0x63, 0x8a, 0xbb, 0xc3, 0x5f, 0xd4, 0x19, 0x85, 0xea, 0xac, 0xd7, 0x50, 0xcf,
|
||||
0x15, 0x5a, 0xc5, 0xeb, 0x1d, 0xa8, 0xaa, 0xff, 0x5a, 0x1b, 0x01, 0xa7, 0xaa, 0x45, 0x44, 0x9c,
|
||||
0x81, 0xbc, 0xf1, 0x74, 0xc4, 0xd1, 0x37, 0x03, 0xb6, 0x07, 0x19, 0xa3, 0x5e, 0x61, 0xf8, 0x13,
|
||||
0x82, 0x4d, 0xe9, 0x0f, 0xdc, 0x59, 0xc9, 0x44, 0x72, 0xbe, 0xd6, 0xfe, 0x1a, 0x86, 0xb3, 0x0f,
|
||||
0x3e, 0x7e, 0xff, 0xf1, 0xd9, 0x78, 0x60, 0xef, 0xe6, 0xb6, 0x68, 0xec, 0xbe, 0xcf, 0x1b, 0xe4,
|
||||
0x43, 0x57, 0x1a, 0xbe, 0x8b, 0x3a, 0xf8, 0x06, 0x41, 0x55, 0x75, 0x01, 0xef, 0xaf, 0x36, 0x03,
|
||||
0x25, 0xe9, 0x60, 0x9d, 0x81, 0xd9, 0x0f, 0xa5, 0xa6, 0x3d, 0xdb, 0x2e, 0xd3, 0xa4, 0x06, 0xd9,
|
||||
0x45, 0x9d, 0x93, 0x1b, 0x04, 0x2d, 0xc2, 0xa7, 0xa5, 0x14, 0x27, 0xff, 0xff, 0xd1, 0xdd, 0x8b,
|
||||
0xc5, 0xb2, 0xbd, 0x40, 0xaf, 0x9e, 0xe9, 0xbc, 0x80, 0x4f, 0x7c, 0x16, 0x38, 0x5c, 0x04, 0x6e,
|
||||
0x40, 0x99, 0x5c, 0xc5, 0xae, 0xba, 0xf2, 0xa3, 0x30, 0x2e, 0x5e, 0xea, 0x4f, 0x96, 0x91, 0x9f,
|
||||
0x08, 0x7d, 0x31, 0x36, 0xce, 0x9e, 0x0e, 0x7a, 0x57, 0x55, 0x59, 0xe0, 0xd1, 0xef, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0x5e, 0x28, 0x7b, 0xe6, 0xb7, 0x06, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@@ -289,8 +502,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for ServiceController service
|
||||
|
||||
// ServiceControllerClient is the client API for ServiceController service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type ServiceControllerClient interface {
|
||||
// Checks an operation with Google Service Control to decide whether
|
||||
// the given operation should proceed. It should be called before the
|
||||
@@ -333,7 +547,7 @@ func NewServiceControllerClient(cc *grpc.ClientConn) ServiceControllerClient {
|
||||
|
||||
func (c *serviceControllerClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) {
|
||||
out := new(CheckResponse)
|
||||
err := grpc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Check", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Check", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -342,15 +556,14 @@ func (c *serviceControllerClient) Check(ctx context.Context, in *CheckRequest, o
|
||||
|
||||
func (c *serviceControllerClient) Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) {
|
||||
out := new(ReportResponse)
|
||||
err := grpc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Report", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Report", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for ServiceController service
|
||||
|
||||
// ServiceControllerServer is the server API for ServiceController service.
|
||||
type ServiceControllerServer interface {
|
||||
// Checks an operation with Google Service Control to decide whether
|
||||
// the given operation should proceed. It should be called before the
|
||||
@@ -439,50 +652,3 @@ var _ServiceController_serviceDesc = grpc.ServiceDesc{
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/servicecontrol/v1/service_controller.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor6)
|
||||
}
|
||||
|
||||
var fileDescriptor6 = []byte{
|
||||
// 619 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x4c,
|
||||
0x10, 0xd6, 0x3a, 0x6d, 0xa4, 0x4c, 0x9c, 0xfe, 0xea, 0x1e, 0x7e, 0x22, 0xab, 0x87, 0xd4, 0x12,
|
||||
0x34, 0x4a, 0x8b, 0xad, 0x16, 0x55, 0x42, 0xe1, 0x44, 0xa3, 0xaa, 0x0a, 0x48, 0xa5, 0x72, 0x38,
|
||||
0x21, 0xaa, 0xc8, 0xdd, 0x6c, 0x8c, 0x4b, 0xb2, 0x6b, 0xd6, 0x4e, 0x2e, 0x88, 0x0b, 0x0f, 0xc0,
|
||||
0xa1, 0xbc, 0x01, 0xaa, 0xc4, 0x33, 0xf0, 0x1c, 0xbc, 0x02, 0x0f, 0x01, 0x37, 0x94, 0xdd, 0xb5,
|
||||
0xeb, 0x08, 0x63, 0x92, 0x9b, 0xf7, 0xdb, 0x99, 0xf9, 0xbe, 0x9d, 0xf9, 0x3c, 0x70, 0x1c, 0x70,
|
||||
0x1e, 0x4c, 0xa8, 0xeb, 0x47, 0xa1, 0x1b, 0x53, 0x31, 0x0f, 0x09, 0x25, 0x9c, 0x25, 0x82, 0x4f,
|
||||
0xdc, 0xf9, 0x61, 0x8a, 0x0c, 0x35, 0x34, 0xa1, 0xc2, 0x89, 0x04, 0x4f, 0x38, 0xde, 0x51, 0x69,
|
||||
0x8e, 0x1f, 0x85, 0xce, 0x72, 0x9a, 0x33, 0x3f, 0xb4, 0x76, 0x72, 0x45, 0x7d, 0xc6, 0x78, 0xe2,
|
||||
0x27, 0x21, 0x67, 0xb1, 0xca, 0xb5, 0x9c, 0x52, 0x4a, 0xf2, 0x86, 0x92, 0xb7, 0x43, 0x2a, 0x04,
|
||||
0xd7, 0x5c, 0xd6, 0x41, 0x69, 0x3c, 0x8f, 0xa8, 0x90, 0xe5, 0x75, 0xf4, 0x3d, 0x1d, 0x2d, 0x22,
|
||||
0xe2, 0xc6, 0x89, 0x9f, 0xcc, 0x34, 0xad, 0x7d, 0x8b, 0xc0, 0xec, 0x2d, 0x8a, 0x7b, 0xf4, 0xdd,
|
||||
0x8c, 0xc6, 0x09, 0xde, 0x05, 0x33, 0x7d, 0x1f, 0xf3, 0xa7, 0xb4, 0x89, 0x5a, 0xa8, 0x5d, 0xf3,
|
||||
0xea, 0x1a, 0x3b, 0xf7, 0xa7, 0x14, 0x9f, 0x42, 0x2d, 0xab, 0xdf, 0x34, 0x5a, 0xa8, 0x5d, 0x3f,
|
||||
0xda, 0x73, 0xca, 0x9e, 0xee, 0xbc, 0x48, 0xc3, 0xbd, 0xbb, 0x4c, 0xdc, 0x81, 0xed, 0x5c, 0x27,
|
||||
0xc7, 0x61, 0x30, 0x0c, 0x47, 0xcd, 0x0d, 0x49, 0xf7, 0x9f, 0xbe, 0xe8, 0x49, 0xbc, 0x3f, 0xb2,
|
||||
0x6f, 0x2b, 0xd0, 0xd0, 0x32, 0xe3, 0x88, 0xb3, 0x98, 0x2e, 0x74, 0x66, 0xa5, 0x16, 0x89, 0x5a,
|
||||
0x67, 0x86, 0xf5, 0x47, 0xf8, 0x39, 0x98, 0xb9, 0xbe, 0xc5, 0x4d, 0xa3, 0x55, 0x69, 0xd7, 0x8f,
|
||||
0xda, 0xe5, 0x52, 0x25, 0xcb, 0xe9, 0x22, 0xc1, 0xab, 0x93, 0xec, 0x3b, 0x2e, 0x56, 0xbb, 0x59,
|
||||
0xa8, 0x16, 0xbf, 0x04, 0x50, 0xc4, 0x21, 0x1b, 0xf3, 0x66, 0x55, 0x76, 0xe8, 0x78, 0x05, 0xda,
|
||||
0xf4, 0x71, 0xea, 0xd4, 0x67, 0x63, 0xee, 0xd5, 0x48, 0xfa, 0x69, 0x5d, 0x43, 0x2d, 0xc3, 0xf1,
|
||||
0x25, 0x34, 0x08, 0x67, 0xf1, 0x6c, 0x4a, 0x85, 0x62, 0x51, 0x73, 0x78, 0xbc, 0x16, 0x8b, 0x2e,
|
||||
0x20, 0x89, 0x4c, 0x92, 0x3b, 0x59, 0xc7, 0x60, 0xe6, 0x6f, 0xf1, 0x7d, 0xd8, 0x8a, 0x04, 0xbf,
|
||||
0xa6, 0x24, 0x19, 0xb2, 0xd9, 0xf4, 0x8a, 0x0a, 0xd9, 0xef, 0x8a, 0xd7, 0xd0, 0xe8, 0xb9, 0x04,
|
||||
0xed, 0xaf, 0x08, 0x1a, 0x1e, 0x8d, 0xb8, 0x48, 0xd6, 0xb0, 0xd3, 0x19, 0x40, 0x36, 0xb5, 0x74,
|
||||
0x48, 0x2b, 0xfb, 0x29, 0x97, 0x5a, 0x3c, 0xa2, 0x4a, 0xb1, 0xa1, 0x7e, 0x21, 0xd8, 0x4a, 0x95,
|
||||
0x6a, 0x47, 0x5d, 0x42, 0x43, 0x48, 0x24, 0xf5, 0x0b, 0x92, 0x52, 0xfe, 0xd1, 0xd2, 0xe5, 0x22,
|
||||
0xfa, 0xa8, 0xfc, 0x63, 0x8a, 0xbb, 0xc3, 0x5f, 0xd4, 0x19, 0x85, 0xea, 0xac, 0xd7, 0x50, 0xcf,
|
||||
0x15, 0x5a, 0xc5, 0xeb, 0x1d, 0xa8, 0xaa, 0xff, 0x5a, 0x1b, 0x01, 0xa7, 0xaa, 0x45, 0x44, 0x9c,
|
||||
0x81, 0xbc, 0xf1, 0x74, 0xc4, 0xd1, 0x37, 0x03, 0xb6, 0x07, 0x19, 0xa3, 0x5e, 0x61, 0xf8, 0x13,
|
||||
0x82, 0x4d, 0xe9, 0x0f, 0xdc, 0x59, 0xc9, 0x44, 0x72, 0xbe, 0xd6, 0xfe, 0x1a, 0x86, 0xb3, 0x0f,
|
||||
0x3e, 0x7e, 0xff, 0xf1, 0xd9, 0x78, 0x60, 0xef, 0xe6, 0xb6, 0x68, 0xec, 0xbe, 0xcf, 0x1b, 0xe4,
|
||||
0x43, 0x57, 0x1a, 0xbe, 0x8b, 0x3a, 0xf8, 0x06, 0x41, 0x55, 0x75, 0x01, 0xef, 0xaf, 0x36, 0x03,
|
||||
0x25, 0xe9, 0x60, 0x9d, 0x81, 0xd9, 0x0f, 0xa5, 0xa6, 0x3d, 0xdb, 0x2e, 0xd3, 0xa4, 0x06, 0xd9,
|
||||
0x45, 0x9d, 0x93, 0x1b, 0x04, 0x2d, 0xc2, 0xa7, 0xa5, 0x14, 0x27, 0xff, 0xff, 0xd1, 0xdd, 0x8b,
|
||||
0xc5, 0xb2, 0xbd, 0x40, 0xaf, 0x9e, 0xe9, 0xbc, 0x80, 0x4f, 0x7c, 0x16, 0x38, 0x5c, 0x04, 0x6e,
|
||||
0x40, 0x99, 0x5c, 0xc5, 0xae, 0xba, 0xf2, 0xa3, 0x30, 0x2e, 0x5e, 0xea, 0x4f, 0x96, 0x91, 0x9f,
|
||||
0x08, 0x7d, 0x31, 0x36, 0xce, 0x9e, 0x0e, 0x7a, 0x57, 0x55, 0x59, 0xe0, 0xd1, 0xef, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0x5e, 0x28, 0x7b, 0xe6, 0xb7, 0x06, 0x00, 0x00,
|
||||
}
|
||||
|
||||
705
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go
generated
vendored
705
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go
generated
vendored
@@ -1,58 +1,23 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicemanagement/v1/resources.proto
|
||||
|
||||
/*
|
||||
Package servicemanagement is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/api/servicemanagement/v1/resources.proto
|
||||
google/api/servicemanagement/v1/servicemanager.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ManagedService
|
||||
OperationMetadata
|
||||
Diagnostic
|
||||
ConfigSource
|
||||
ConfigFile
|
||||
ConfigRef
|
||||
ChangeReport
|
||||
Rollout
|
||||
ListServicesRequest
|
||||
ListServicesResponse
|
||||
GetServiceRequest
|
||||
CreateServiceRequest
|
||||
DeleteServiceRequest
|
||||
UndeleteServiceRequest
|
||||
UndeleteServiceResponse
|
||||
GetServiceConfigRequest
|
||||
ListServiceConfigsRequest
|
||||
ListServiceConfigsResponse
|
||||
CreateServiceConfigRequest
|
||||
SubmitConfigSourceRequest
|
||||
SubmitConfigSourceResponse
|
||||
CreateServiceRolloutRequest
|
||||
ListServiceRolloutsRequest
|
||||
ListServiceRolloutsResponse
|
||||
GetServiceRolloutRequest
|
||||
EnableServiceRequest
|
||||
DisableServiceRequest
|
||||
GenerateConfigReportRequest
|
||||
GenerateConfigReportResponse
|
||||
*/
|
||||
package servicemanagement
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_api2 "google.golang.org/genproto/googleapis/api/configchange"
|
||||
import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
import _ "google.golang.org/genproto/googleapis/longrunning"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
import _ "google.golang.org/genproto/protobuf/field_mask"
|
||||
import _ "github.com/golang/protobuf/ptypes/struct"
|
||||
import google_protobuf9 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/rpc/status"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "github.com/golang/protobuf/ptypes/any"
|
||||
_ "github.com/golang/protobuf/ptypes/struct"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
configchange "google.golang.org/genproto/googleapis/api/configchange"
|
||||
_ "google.golang.org/genproto/googleapis/api/metric"
|
||||
_ "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
_ "google.golang.org/genproto/googleapis/longrunning"
|
||||
_ "google.golang.org/genproto/googleapis/rpc/status"
|
||||
_ "google.golang.org/genproto/protobuf/field_mask"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -65,21 +30,22 @@ var _ = math.Inf
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Code describes the status of one operation step.
|
||||
// Code describes the status of the operation (or one of its steps).
|
||||
type OperationMetadata_Status int32
|
||||
|
||||
const (
|
||||
// Unspecifed code.
|
||||
OperationMetadata_STATUS_UNSPECIFIED OperationMetadata_Status = 0
|
||||
// The step has completed without errors.
|
||||
// The operation or step has completed without errors.
|
||||
OperationMetadata_DONE OperationMetadata_Status = 1
|
||||
// The step has not started yet.
|
||||
// The operation or step has not started yet.
|
||||
OperationMetadata_NOT_STARTED OperationMetadata_Status = 2
|
||||
// The step is in progress.
|
||||
// The operation or step is in progress.
|
||||
OperationMetadata_IN_PROGRESS OperationMetadata_Status = 3
|
||||
// The step has completed with errors.
|
||||
// The operation or step has completed with errors. If the operation is
|
||||
// rollbackable, the rollback completed with errors too.
|
||||
OperationMetadata_FAILED OperationMetadata_Status = 4
|
||||
// The step has completed with cancellation.
|
||||
// The operation or step has completed with cancellation.
|
||||
OperationMetadata_CANCELLED OperationMetadata_Status = 5
|
||||
)
|
||||
|
||||
@@ -91,6 +57,7 @@ var OperationMetadata_Status_name = map[int32]string{
|
||||
4: "FAILED",
|
||||
5: "CANCELLED",
|
||||
}
|
||||
|
||||
var OperationMetadata_Status_value = map[string]int32{
|
||||
"STATUS_UNSPECIFIED": 0,
|
||||
"DONE": 1,
|
||||
@@ -103,7 +70,10 @@ var OperationMetadata_Status_value = map[string]int32{
|
||||
func (x OperationMetadata_Status) String() string {
|
||||
return proto.EnumName(OperationMetadata_Status_name, int32(x))
|
||||
}
|
||||
func (OperationMetadata_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
|
||||
func (OperationMetadata_Status) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{1, 0}
|
||||
}
|
||||
|
||||
// The kind of diagnostic information possible.
|
||||
type Diagnostic_Kind int32
|
||||
@@ -119,6 +89,7 @@ var Diagnostic_Kind_name = map[int32]string{
|
||||
0: "WARNING",
|
||||
1: "ERROR",
|
||||
}
|
||||
|
||||
var Diagnostic_Kind_value = map[string]int32{
|
||||
"WARNING": 0,
|
||||
"ERROR": 1,
|
||||
@@ -127,7 +98,10 @@ var Diagnostic_Kind_value = map[string]int32{
|
||||
func (x Diagnostic_Kind) String() string {
|
||||
return proto.EnumName(Diagnostic_Kind_name, int32(x))
|
||||
}
|
||||
func (Diagnostic_Kind) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
|
||||
func (Diagnostic_Kind) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{2, 0}
|
||||
}
|
||||
|
||||
type ConfigFile_FileType int32
|
||||
|
||||
@@ -148,6 +122,12 @@ const (
|
||||
//
|
||||
// $protoc --include_imports --include_source_info test.proto -o out.pb
|
||||
ConfigFile_FILE_DESCRIPTOR_SET_PROTO ConfigFile_FileType = 4
|
||||
// Uncompiled Proto file. Used for storage and display purposes only,
|
||||
// currently server-side compilation is not supported. Should match the
|
||||
// inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A
|
||||
// file of this type can only be included if at least one file of type
|
||||
// FILE_DESCRIPTOR_SET_PROTO is included.
|
||||
ConfigFile_PROTO_FILE ConfigFile_FileType = 6
|
||||
)
|
||||
|
||||
var ConfigFile_FileType_name = map[int32]string{
|
||||
@@ -156,19 +136,25 @@ var ConfigFile_FileType_name = map[int32]string{
|
||||
2: "OPEN_API_JSON",
|
||||
3: "OPEN_API_YAML",
|
||||
4: "FILE_DESCRIPTOR_SET_PROTO",
|
||||
6: "PROTO_FILE",
|
||||
}
|
||||
|
||||
var ConfigFile_FileType_value = map[string]int32{
|
||||
"FILE_TYPE_UNSPECIFIED": 0,
|
||||
"SERVICE_CONFIG_YAML": 1,
|
||||
"OPEN_API_JSON": 2,
|
||||
"OPEN_API_YAML": 3,
|
||||
"FILE_DESCRIPTOR_SET_PROTO": 4,
|
||||
"PROTO_FILE": 6,
|
||||
}
|
||||
|
||||
func (x ConfigFile_FileType) String() string {
|
||||
return proto.EnumName(ConfigFile_FileType_name, int32(x))
|
||||
}
|
||||
func (ConfigFile_FileType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{4, 0} }
|
||||
|
||||
func (ConfigFile_FileType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{4, 0}
|
||||
}
|
||||
|
||||
// Status of a Rollout.
|
||||
type Rollout_RolloutStatus int32
|
||||
@@ -183,10 +169,13 @@ const (
|
||||
// The Rollout has been cancelled. This can happen if you have overlapping
|
||||
// Rollout pushes, and the previous ones will be cancelled.
|
||||
Rollout_CANCELLED Rollout_RolloutStatus = 3
|
||||
// The Rollout has failed. It is typically caused by configuration errors.
|
||||
// The Rollout has failed and the rollback attempt has failed too.
|
||||
Rollout_FAILED Rollout_RolloutStatus = 4
|
||||
// The Rollout has not started yet and is pending for execution.
|
||||
Rollout_PENDING Rollout_RolloutStatus = 5
|
||||
// The Rollout has failed and rolled back to the previous successful
|
||||
// Rollout.
|
||||
Rollout_FAILED_ROLLED_BACK Rollout_RolloutStatus = 6
|
||||
)
|
||||
|
||||
var Rollout_RolloutStatus_name = map[int32]string{
|
||||
@@ -196,7 +185,9 @@ var Rollout_RolloutStatus_name = map[int32]string{
|
||||
3: "CANCELLED",
|
||||
4: "FAILED",
|
||||
5: "PENDING",
|
||||
6: "FAILED_ROLLED_BACK",
|
||||
}
|
||||
|
||||
var Rollout_RolloutStatus_value = map[string]int32{
|
||||
"ROLLOUT_STATUS_UNSPECIFIED": 0,
|
||||
"IN_PROGRESS": 1,
|
||||
@@ -204,27 +195,54 @@ var Rollout_RolloutStatus_value = map[string]int32{
|
||||
"CANCELLED": 3,
|
||||
"FAILED": 4,
|
||||
"PENDING": 5,
|
||||
"FAILED_ROLLED_BACK": 6,
|
||||
}
|
||||
|
||||
func (x Rollout_RolloutStatus) String() string {
|
||||
return proto.EnumName(Rollout_RolloutStatus_name, int32(x))
|
||||
}
|
||||
func (Rollout_RolloutStatus) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{7, 0} }
|
||||
|
||||
func (Rollout_RolloutStatus) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{7, 0}
|
||||
}
|
||||
|
||||
// The full representation of a Service that is managed by
|
||||
// Google Service Management.
|
||||
type ManagedService struct {
|
||||
// The name of the service. See the [overview](/service-management/overview)
|
||||
// for naming requirements.
|
||||
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
|
||||
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
||||
// ID of the project that produces and owns this service.
|
||||
ProducerProjectId string `protobuf:"bytes,3,opt,name=producer_project_id,json=producerProjectId" json:"producer_project_id,omitempty"`
|
||||
ProducerProjectId string `protobuf:"bytes,3,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ManagedService) Reset() { *m = ManagedService{} }
|
||||
func (m *ManagedService) String() string { return proto.CompactTextString(m) }
|
||||
func (*ManagedService) ProtoMessage() {}
|
||||
func (*ManagedService) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *ManagedService) Reset() { *m = ManagedService{} }
|
||||
func (m *ManagedService) String() string { return proto.CompactTextString(m) }
|
||||
func (*ManagedService) ProtoMessage() {}
|
||||
func (*ManagedService) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{0}
|
||||
}
|
||||
|
||||
func (m *ManagedService) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ManagedService.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ManagedService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ManagedService.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ManagedService) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ManagedService.Merge(m, src)
|
||||
}
|
||||
func (m *ManagedService) XXX_Size() int {
|
||||
return xxx_messageInfo_ManagedService.Size(m)
|
||||
}
|
||||
func (m *ManagedService) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ManagedService.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ManagedService proto.InternalMessageInfo
|
||||
|
||||
func (m *ManagedService) GetServiceName() string {
|
||||
if m != nil {
|
||||
@@ -244,19 +262,42 @@ func (m *ManagedService) GetProducerProjectId() string {
|
||||
type OperationMetadata struct {
|
||||
// The full name of the resources that this operation is directly
|
||||
// associated with.
|
||||
ResourceNames []string `protobuf:"bytes,1,rep,name=resource_names,json=resourceNames" json:"resource_names,omitempty"`
|
||||
ResourceNames []string `protobuf:"bytes,1,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
|
||||
// Detailed status information for each step. The order is undetermined.
|
||||
Steps []*OperationMetadata_Step `protobuf:"bytes,2,rep,name=steps" json:"steps,omitempty"`
|
||||
Steps []*OperationMetadata_Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
|
||||
// Percentage of completion of this operation, ranging from 0 to 100.
|
||||
ProgressPercentage int32 `protobuf:"varint,3,opt,name=progress_percentage,json=progressPercentage" json:"progress_percentage,omitempty"`
|
||||
ProgressPercentage int32 `protobuf:"varint,3,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"`
|
||||
// The start time of the operation.
|
||||
StartTime *google_protobuf9.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) Reset() { *m = OperationMetadata{} }
|
||||
func (m *OperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadata) ProtoMessage() {}
|
||||
func (*OperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *OperationMetadata) Reset() { *m = OperationMetadata{} }
|
||||
func (m *OperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadata) ProtoMessage() {}
|
||||
func (*OperationMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{1}
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OperationMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OperationMetadata.Merge(m, src)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_OperationMetadata.Size(m)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OperationMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *OperationMetadata) GetResourceNames() []string {
|
||||
if m != nil {
|
||||
@@ -279,7 +320,7 @@ func (m *OperationMetadata) GetProgressPercentage() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetStartTime() *google_protobuf9.Timestamp {
|
||||
func (m *OperationMetadata) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
@@ -289,15 +330,38 @@ func (m *OperationMetadata) GetStartTime() *google_protobuf9.Timestamp {
|
||||
// Represents the status of one operation step.
|
||||
type OperationMetadata_Step struct {
|
||||
// The short description of the step.
|
||||
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// The status code.
|
||||
Status OperationMetadata_Status `protobuf:"varint,4,opt,name=status,enum=google.api.servicemanagement.v1.OperationMetadata_Status" json:"status,omitempty"`
|
||||
Status OperationMetadata_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.api.servicemanagement.v1.OperationMetadata_Status" json:"status,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OperationMetadata_Step) Reset() { *m = OperationMetadata_Step{} }
|
||||
func (m *OperationMetadata_Step) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadata_Step) ProtoMessage() {}
|
||||
func (*OperationMetadata_Step) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
func (m *OperationMetadata_Step) Reset() { *m = OperationMetadata_Step{} }
|
||||
func (m *OperationMetadata_Step) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadata_Step) ProtoMessage() {}
|
||||
func (*OperationMetadata_Step) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{1, 0}
|
||||
}
|
||||
|
||||
func (m *OperationMetadata_Step) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OperationMetadata_Step.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OperationMetadata_Step) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OperationMetadata_Step.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *OperationMetadata_Step) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OperationMetadata_Step.Merge(m, src)
|
||||
}
|
||||
func (m *OperationMetadata_Step) XXX_Size() int {
|
||||
return xxx_messageInfo_OperationMetadata_Step.Size(m)
|
||||
}
|
||||
func (m *OperationMetadata_Step) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OperationMetadata_Step.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OperationMetadata_Step proto.InternalMessageInfo
|
||||
|
||||
func (m *OperationMetadata_Step) GetDescription() string {
|
||||
if m != nil {
|
||||
@@ -316,17 +380,40 @@ func (m *OperationMetadata_Step) GetStatus() OperationMetadata_Status {
|
||||
// Represents a diagnostic message (error or warning)
|
||||
type Diagnostic struct {
|
||||
// File name and line number of the error or warning.
|
||||
Location string `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
|
||||
Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
|
||||
// The kind of diagnostic information provided.
|
||||
Kind Diagnostic_Kind `protobuf:"varint,2,opt,name=kind,enum=google.api.servicemanagement.v1.Diagnostic_Kind" json:"kind,omitempty"`
|
||||
Kind Diagnostic_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.api.servicemanagement.v1.Diagnostic_Kind" json:"kind,omitempty"`
|
||||
// Message describing the error or warning.
|
||||
Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
|
||||
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Diagnostic) Reset() { *m = Diagnostic{} }
|
||||
func (m *Diagnostic) String() string { return proto.CompactTextString(m) }
|
||||
func (*Diagnostic) ProtoMessage() {}
|
||||
func (*Diagnostic) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *Diagnostic) Reset() { *m = Diagnostic{} }
|
||||
func (m *Diagnostic) String() string { return proto.CompactTextString(m) }
|
||||
func (*Diagnostic) ProtoMessage() {}
|
||||
func (*Diagnostic) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{2}
|
||||
}
|
||||
|
||||
func (m *Diagnostic) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Diagnostic.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Diagnostic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Diagnostic.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Diagnostic) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Diagnostic.Merge(m, src)
|
||||
}
|
||||
func (m *Diagnostic) XXX_Size() int {
|
||||
return xxx_messageInfo_Diagnostic.Size(m)
|
||||
}
|
||||
func (m *Diagnostic) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Diagnostic.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Diagnostic proto.InternalMessageInfo
|
||||
|
||||
func (m *Diagnostic) GetLocation() string {
|
||||
if m != nil {
|
||||
@@ -355,16 +442,39 @@ type ConfigSource struct {
|
||||
// A unique ID for a specific instance of this message, typically assigned
|
||||
// by the client for tracking purpose. If empty, the server may choose to
|
||||
// generate one instead.
|
||||
Id string `protobuf:"bytes,5,opt,name=id" json:"id,omitempty"`
|
||||
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// Set of source configuration files that are used to generate a service
|
||||
// configuration (`google.api.Service`).
|
||||
Files []*ConfigFile `protobuf:"bytes,2,rep,name=files" json:"files,omitempty"`
|
||||
Files []*ConfigFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfigSource) Reset() { *m = ConfigSource{} }
|
||||
func (m *ConfigSource) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigSource) ProtoMessage() {}
|
||||
func (*ConfigSource) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *ConfigSource) Reset() { *m = ConfigSource{} }
|
||||
func (m *ConfigSource) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigSource) ProtoMessage() {}
|
||||
func (*ConfigSource) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{3}
|
||||
}
|
||||
|
||||
func (m *ConfigSource) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfigSource.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConfigSource) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigSource.Merge(m, src)
|
||||
}
|
||||
func (m *ConfigSource) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfigSource.Size(m)
|
||||
}
|
||||
func (m *ConfigSource) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfigSource.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfigSource proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfigSource) GetId() string {
|
||||
if m != nil {
|
||||
@@ -383,17 +493,40 @@ func (m *ConfigSource) GetFiles() []*ConfigFile {
|
||||
// Generic specification of a source configuration file
|
||||
type ConfigFile struct {
|
||||
// The file name of the configuration file (full or relative path).
|
||||
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath" json:"file_path,omitempty"`
|
||||
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
|
||||
// The bytes that constitute the file.
|
||||
FileContents []byte `protobuf:"bytes,3,opt,name=file_contents,json=fileContents,proto3" json:"file_contents,omitempty"`
|
||||
// The type of configuration file this represents.
|
||||
FileType ConfigFile_FileType `protobuf:"varint,4,opt,name=file_type,json=fileType,enum=google.api.servicemanagement.v1.ConfigFile_FileType" json:"file_type,omitempty"`
|
||||
FileType ConfigFile_FileType `protobuf:"varint,4,opt,name=file_type,json=fileType,proto3,enum=google.api.servicemanagement.v1.ConfigFile_FileType" json:"file_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfigFile) Reset() { *m = ConfigFile{} }
|
||||
func (m *ConfigFile) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigFile) ProtoMessage() {}
|
||||
func (*ConfigFile) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *ConfigFile) Reset() { *m = ConfigFile{} }
|
||||
func (m *ConfigFile) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigFile) ProtoMessage() {}
|
||||
func (*ConfigFile) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{4}
|
||||
}
|
||||
|
||||
func (m *ConfigFile) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfigFile.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfigFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfigFile.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConfigFile) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigFile.Merge(m, src)
|
||||
}
|
||||
func (m *ConfigFile) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfigFile.Size(m)
|
||||
}
|
||||
func (m *ConfigFile) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfigFile.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfigFile proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfigFile) GetFilePath() string {
|
||||
if m != nil {
|
||||
@@ -420,13 +553,36 @@ func (m *ConfigFile) GetFileType() ConfigFile_FileType {
|
||||
type ConfigRef struct {
|
||||
// Resource name of a service config. It must have the following
|
||||
// format: "services/{service name}/configs/{config id}".
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfigRef) Reset() { *m = ConfigRef{} }
|
||||
func (m *ConfigRef) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigRef) ProtoMessage() {}
|
||||
func (*ConfigRef) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *ConfigRef) Reset() { *m = ConfigRef{} }
|
||||
func (m *ConfigRef) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfigRef) ProtoMessage() {}
|
||||
func (*ConfigRef) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{5}
|
||||
}
|
||||
|
||||
func (m *ConfigRef) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfigRef.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfigRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfigRef.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConfigRef) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigRef.Merge(m, src)
|
||||
}
|
||||
func (m *ConfigRef) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfigRef.Size(m)
|
||||
}
|
||||
func (m *ConfigRef) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfigRef.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfigRef proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfigRef) GetName() string {
|
||||
if m != nil {
|
||||
@@ -445,15 +601,38 @@ type ChangeReport struct {
|
||||
// of each change.
|
||||
// A ConfigChange identifier is a dot separated path to the configuration.
|
||||
// Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
|
||||
ConfigChanges []*google_api2.ConfigChange `protobuf:"bytes,1,rep,name=config_changes,json=configChanges" json:"config_changes,omitempty"`
|
||||
ConfigChanges []*configchange.ConfigChange `protobuf:"bytes,1,rep,name=config_changes,json=configChanges,proto3" json:"config_changes,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ChangeReport) Reset() { *m = ChangeReport{} }
|
||||
func (m *ChangeReport) String() string { return proto.CompactTextString(m) }
|
||||
func (*ChangeReport) ProtoMessage() {}
|
||||
func (*ChangeReport) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *ChangeReport) Reset() { *m = ChangeReport{} }
|
||||
func (m *ChangeReport) String() string { return proto.CompactTextString(m) }
|
||||
func (*ChangeReport) ProtoMessage() {}
|
||||
func (*ChangeReport) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{6}
|
||||
}
|
||||
|
||||
func (m *ChangeReport) GetConfigChanges() []*google_api2.ConfigChange {
|
||||
func (m *ChangeReport) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ChangeReport.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ChangeReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ChangeReport.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ChangeReport) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ChangeReport.Merge(m, src)
|
||||
}
|
||||
func (m *ChangeReport) XXX_Size() int {
|
||||
return xxx_messageInfo_ChangeReport.Size(m)
|
||||
}
|
||||
func (m *ChangeReport) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ChangeReport.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ChangeReport proto.InternalMessageInfo
|
||||
|
||||
func (m *ChangeReport) GetConfigChanges() []*configchange.ConfigChange {
|
||||
if m != nil {
|
||||
return m.ConfigChanges
|
||||
}
|
||||
@@ -472,15 +651,15 @@ type Rollout struct {
|
||||
// date in ISO 8601 format. "revision number" is a monotonically increasing
|
||||
// positive number that is reset every day for each service.
|
||||
// An example of the generated rollout_id is '2016-02-16r1'
|
||||
RolloutId string `protobuf:"bytes,1,opt,name=rollout_id,json=rolloutId" json:"rollout_id,omitempty"`
|
||||
RolloutId string `protobuf:"bytes,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
|
||||
// Creation time of the rollout. Readonly.
|
||||
CreateTime *google_protobuf9.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// The user who created the Rollout. Readonly.
|
||||
CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy" json:"created_by,omitempty"`
|
||||
CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
|
||||
// The status of this rollout. Readonly. In case of a failed rollout,
|
||||
// the system will automatically rollback to the current Rollout
|
||||
// version. Readonly.
|
||||
Status Rollout_RolloutStatus `protobuf:"varint,4,opt,name=status,enum=google.api.servicemanagement.v1.Rollout_RolloutStatus" json:"status,omitempty"`
|
||||
Status Rollout_RolloutStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.api.servicemanagement.v1.Rollout_RolloutStatus" json:"status,omitempty"`
|
||||
// Strategy that defines which versions of service configurations should be
|
||||
// pushed
|
||||
// and how they should be used at runtime.
|
||||
@@ -490,34 +669,36 @@ type Rollout struct {
|
||||
// *Rollout_DeleteServiceStrategy_
|
||||
Strategy isRollout_Strategy `protobuf_oneof:"strategy"`
|
||||
// The name of the service associated with this Rollout.
|
||||
ServiceName string `protobuf:"bytes,8,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
|
||||
ServiceName string `protobuf:"bytes,8,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Rollout) Reset() { *m = Rollout{} }
|
||||
func (m *Rollout) String() string { return proto.CompactTextString(m) }
|
||||
func (*Rollout) ProtoMessage() {}
|
||||
func (*Rollout) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
|
||||
type isRollout_Strategy interface {
|
||||
isRollout_Strategy()
|
||||
func (m *Rollout) Reset() { *m = Rollout{} }
|
||||
func (m *Rollout) String() string { return proto.CompactTextString(m) }
|
||||
func (*Rollout) ProtoMessage() {}
|
||||
func (*Rollout) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{7}
|
||||
}
|
||||
|
||||
type Rollout_TrafficPercentStrategy_ struct {
|
||||
TrafficPercentStrategy *Rollout_TrafficPercentStrategy `protobuf:"bytes,5,opt,name=traffic_percent_strategy,json=trafficPercentStrategy,oneof"`
|
||||
func (m *Rollout) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Rollout.Unmarshal(m, b)
|
||||
}
|
||||
type Rollout_DeleteServiceStrategy_ struct {
|
||||
DeleteServiceStrategy *Rollout_DeleteServiceStrategy `protobuf:"bytes,200,opt,name=delete_service_strategy,json=deleteServiceStrategy,oneof"`
|
||||
func (m *Rollout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Rollout.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Rollout) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Rollout.Merge(m, src)
|
||||
}
|
||||
func (m *Rollout) XXX_Size() int {
|
||||
return xxx_messageInfo_Rollout.Size(m)
|
||||
}
|
||||
func (m *Rollout) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Rollout.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (*Rollout_TrafficPercentStrategy_) isRollout_Strategy() {}
|
||||
func (*Rollout_DeleteServiceStrategy_) isRollout_Strategy() {}
|
||||
|
||||
func (m *Rollout) GetStrategy() isRollout_Strategy {
|
||||
if m != nil {
|
||||
return m.Strategy
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_Rollout proto.InternalMessageInfo
|
||||
|
||||
func (m *Rollout) GetRolloutId() string {
|
||||
if m != nil {
|
||||
@@ -526,7 +707,7 @@ func (m *Rollout) GetRolloutId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Rollout) GetCreateTime() *google_protobuf9.Timestamp {
|
||||
func (m *Rollout) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
@@ -547,6 +728,29 @@ func (m *Rollout) GetStatus() Rollout_RolloutStatus {
|
||||
return Rollout_ROLLOUT_STATUS_UNSPECIFIED
|
||||
}
|
||||
|
||||
type isRollout_Strategy interface {
|
||||
isRollout_Strategy()
|
||||
}
|
||||
|
||||
type Rollout_TrafficPercentStrategy_ struct {
|
||||
TrafficPercentStrategy *Rollout_TrafficPercentStrategy `protobuf:"bytes,5,opt,name=traffic_percent_strategy,json=trafficPercentStrategy,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Rollout_DeleteServiceStrategy_ struct {
|
||||
DeleteServiceStrategy *Rollout_DeleteServiceStrategy `protobuf:"bytes,200,opt,name=delete_service_strategy,json=deleteServiceStrategy,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Rollout_TrafficPercentStrategy_) isRollout_Strategy() {}
|
||||
|
||||
func (*Rollout_DeleteServiceStrategy_) isRollout_Strategy() {}
|
||||
|
||||
func (m *Rollout) GetStrategy() isRollout_Strategy {
|
||||
if m != nil {
|
||||
return m.Strategy
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Rollout) GetTrafficPercentStrategy() *Rollout_TrafficPercentStrategy {
|
||||
if x, ok := m.GetStrategy().(*Rollout_TrafficPercentStrategy_); ok {
|
||||
return x.TrafficPercentStrategy
|
||||
@@ -627,12 +831,12 @@ func _Rollout_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Strategy.(type) {
|
||||
case *Rollout_TrafficPercentStrategy_:
|
||||
s := proto.Size(x.TrafficPercentStrategy)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Rollout_DeleteServiceStrategy_:
|
||||
s := proto.Size(x.DeleteServiceStrategy)
|
||||
n += proto.SizeVarint(200<<3 | proto.WireBytes)
|
||||
n += 2 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -642,9 +846,10 @@ func _Rollout_OneofSizer(msg proto.Message) (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
// Strategy that specifies how Google Service Control should select
|
||||
// different
|
||||
// versions of service configurations based on traffic percentage.
|
||||
// Strategy that specifies how clients of Google Service Controller want to
|
||||
// send traffic to use different config versions. This is generally
|
||||
// used by API proxy to split traffic based on your configured precentage for
|
||||
// each config version.
|
||||
//
|
||||
// One example of how to gradually rollout a new service configuration using
|
||||
// this
|
||||
@@ -675,16 +880,37 @@ type Rollout_TrafficPercentStrategy struct {
|
||||
// Maps service configuration IDs to their corresponding traffic percentage.
|
||||
// Key is the service configuration ID, Value is the traffic percentage
|
||||
// which must be greater than 0.0 and the sum must equal to 100.0.
|
||||
Percentages map[string]float64 `protobuf:"bytes,1,rep,name=percentages" json:"percentages,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
||||
Percentages map[string]float64 `protobuf:"bytes,1,rep,name=percentages,proto3" json:"percentages,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Rollout_TrafficPercentStrategy) Reset() { *m = Rollout_TrafficPercentStrategy{} }
|
||||
func (m *Rollout_TrafficPercentStrategy) String() string { return proto.CompactTextString(m) }
|
||||
func (*Rollout_TrafficPercentStrategy) ProtoMessage() {}
|
||||
func (*Rollout_TrafficPercentStrategy) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{7, 0}
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{7, 0}
|
||||
}
|
||||
|
||||
func (m *Rollout_TrafficPercentStrategy) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Rollout_TrafficPercentStrategy.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Rollout_TrafficPercentStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Rollout_TrafficPercentStrategy.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Rollout_TrafficPercentStrategy) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Rollout_TrafficPercentStrategy.Merge(m, src)
|
||||
}
|
||||
func (m *Rollout_TrafficPercentStrategy) XXX_Size() int {
|
||||
return xxx_messageInfo_Rollout_TrafficPercentStrategy.Size(m)
|
||||
}
|
||||
func (m *Rollout_TrafficPercentStrategy) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Rollout_TrafficPercentStrategy.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Rollout_TrafficPercentStrategy proto.InternalMessageInfo
|
||||
|
||||
func (m *Rollout_TrafficPercentStrategy) GetPercentages() map[string]float64 {
|
||||
if m != nil {
|
||||
return m.Percentages
|
||||
@@ -695,16 +921,41 @@ func (m *Rollout_TrafficPercentStrategy) GetPercentages() map[string]float64 {
|
||||
// Strategy used to delete a service. This strategy is a placeholder only
|
||||
// used by the system generated rollout to delete a service.
|
||||
type Rollout_DeleteServiceStrategy struct {
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Rollout_DeleteServiceStrategy) Reset() { *m = Rollout_DeleteServiceStrategy{} }
|
||||
func (m *Rollout_DeleteServiceStrategy) String() string { return proto.CompactTextString(m) }
|
||||
func (*Rollout_DeleteServiceStrategy) ProtoMessage() {}
|
||||
func (*Rollout_DeleteServiceStrategy) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{7, 1}
|
||||
return fileDescriptor_16a1de86d13c4f21, []int{7, 1}
|
||||
}
|
||||
|
||||
func (m *Rollout_DeleteServiceStrategy) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Rollout_DeleteServiceStrategy.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Rollout_DeleteServiceStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Rollout_DeleteServiceStrategy.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Rollout_DeleteServiceStrategy) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Rollout_DeleteServiceStrategy.Merge(m, src)
|
||||
}
|
||||
func (m *Rollout_DeleteServiceStrategy) XXX_Size() int {
|
||||
return xxx_messageInfo_Rollout_DeleteServiceStrategy.Size(m)
|
||||
}
|
||||
func (m *Rollout_DeleteServiceStrategy) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Rollout_DeleteServiceStrategy.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Rollout_DeleteServiceStrategy proto.InternalMessageInfo
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.OperationMetadata_Status", OperationMetadata_Status_name, OperationMetadata_Status_value)
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.Diagnostic_Kind", Diagnostic_Kind_name, Diagnostic_Kind_value)
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.ConfigFile_FileType", ConfigFile_FileType_name, ConfigFile_FileType_value)
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.Rollout_RolloutStatus", Rollout_RolloutStatus_name, Rollout_RolloutStatus_value)
|
||||
proto.RegisterType((*ManagedService)(nil), "google.api.servicemanagement.v1.ManagedService")
|
||||
proto.RegisterType((*OperationMetadata)(nil), "google.api.servicemanagement.v1.OperationMetadata")
|
||||
proto.RegisterType((*OperationMetadata_Step)(nil), "google.api.servicemanagement.v1.OperationMetadata.Step")
|
||||
@@ -715,88 +966,92 @@ func init() {
|
||||
proto.RegisterType((*ChangeReport)(nil), "google.api.servicemanagement.v1.ChangeReport")
|
||||
proto.RegisterType((*Rollout)(nil), "google.api.servicemanagement.v1.Rollout")
|
||||
proto.RegisterType((*Rollout_TrafficPercentStrategy)(nil), "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy")
|
||||
proto.RegisterMapType((map[string]float64)(nil), "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.PercentagesEntry")
|
||||
proto.RegisterType((*Rollout_DeleteServiceStrategy)(nil), "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy")
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.OperationMetadata_Status", OperationMetadata_Status_name, OperationMetadata_Status_value)
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.Diagnostic_Kind", Diagnostic_Kind_name, Diagnostic_Kind_value)
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.ConfigFile_FileType", ConfigFile_FileType_name, ConfigFile_FileType_value)
|
||||
proto.RegisterEnum("google.api.servicemanagement.v1.Rollout_RolloutStatus", Rollout_RolloutStatus_name, Rollout_RolloutStatus_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicemanagement/v1/resources.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicemanagement/v1/resources.proto", fileDescriptor_16a1de86d13c4f21)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 1166 bytes of a gzipped FileDescriptorProto
|
||||
var fileDescriptor_16a1de86d13c4f21 = []byte{
|
||||
// 1234 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xef, 0x8e, 0xdb, 0x44,
|
||||
0x10, 0xaf, 0xf3, 0xe7, 0xee, 0x32, 0xb9, 0x0b, 0xee, 0x96, 0xf6, 0xd2, 0xd0, 0x3f, 0xc1, 0x15,
|
||||
0xd2, 0x49, 0x48, 0x0e, 0x0d, 0x08, 0x28, 0x95, 0x5a, 0xe5, 0x12, 0xdf, 0x61, 0xc8, 0xd9, 0xee,
|
||||
0xda, 0x07, 0x2a, 0x5f, 0xac, 0xad, 0xbd, 0x71, 0x4d, 0x13, 0xdb, 0xb2, 0x37, 0x27, 0x45, 0xfd,
|
||||
0xc8, 0x0b, 0xf0, 0x0c, 0x7c, 0x81, 0x47, 0xe1, 0x03, 0x4f, 0x00, 0x2f, 0x83, 0xbc, 0x5e, 0xdf,
|
||||
0xe5, 0xcf, 0xa1, 0x14, 0xf8, 0x92, 0xec, 0xfc, 0x66, 0xf6, 0x37, 0xb3, 0xb3, 0x33, 0xb3, 0x86,
|
||||
0x5e, 0x10, 0xc7, 0xc1, 0x94, 0xf6, 0x48, 0x12, 0xf6, 0x32, 0x9a, 0x5e, 0x84, 0x1e, 0x9d, 0x91,
|
||||
0x88, 0x04, 0x74, 0x46, 0x23, 0xd6, 0xbb, 0x78, 0xdc, 0x4b, 0x69, 0x16, 0xcf, 0x53, 0x8f, 0x66,
|
||||
0x6a, 0x92, 0xc6, 0x2c, 0x46, 0x0f, 0x8b, 0x0d, 0x2a, 0x49, 0x42, 0x75, 0x63, 0x83, 0x7a, 0xf1,
|
||||
0xb8, 0x73, 0x6f, 0x89, 0x91, 0x44, 0x51, 0xcc, 0x08, 0x0b, 0xe3, 0x48, 0x6c, 0xef, 0x3c, 0x58,
|
||||
0xd2, 0x7a, 0x71, 0x34, 0x09, 0x03, 0xd7, 0x7b, 0x4d, 0xa2, 0x80, 0x0a, 0x7d, 0x7b, 0x33, 0x1e,
|
||||
0xa1, 0x79, 0x24, 0x34, 0xd3, 0x38, 0x0a, 0xd2, 0x79, 0x14, 0x85, 0x51, 0xd0, 0x8b, 0x13, 0x9a,
|
||||
0xae, 0xd0, 0xdf, 0x15, 0x46, 0x5c, 0x7a, 0x35, 0x9f, 0xf4, 0x48, 0xb4, 0x10, 0xaa, 0xee, 0xba,
|
||||
0x6a, 0x12, 0xd2, 0xa9, 0xef, 0xce, 0x48, 0xf6, 0x46, 0x58, 0xdc, 0x5b, 0xb7, 0xc8, 0x58, 0x3a,
|
||||
0xf7, 0x98, 0xd0, 0x3e, 0x5c, 0xd7, 0xb2, 0x70, 0x46, 0x33, 0x46, 0x66, 0x89, 0x30, 0x38, 0x14,
|
||||
0x06, 0x69, 0xe2, 0xf5, 0x32, 0x46, 0xd8, 0x5c, 0x04, 0xa5, 0x78, 0xd0, 0x3a, 0xe3, 0x29, 0xf2,
|
||||
0xed, 0xe2, 0x44, 0xe8, 0x43, 0xd8, 0x17, 0x87, 0x73, 0x23, 0x32, 0xa3, 0xed, 0x4a, 0x57, 0x3a,
|
||||
0x6a, 0xe0, 0xa6, 0xc0, 0x0c, 0x32, 0xa3, 0x48, 0x85, 0x5b, 0x49, 0x1a, 0xfb, 0x73, 0x8f, 0xa6,
|
||||
0x6e, 0x92, 0xc6, 0x3f, 0x52, 0x8f, 0xb9, 0xa1, 0xdf, 0xae, 0x72, 0xcb, 0x9b, 0xa5, 0xca, 0x2a,
|
||||
0x34, 0xba, 0xaf, 0xfc, 0x55, 0x85, 0x9b, 0x66, 0x99, 0x8e, 0x33, 0xca, 0x88, 0x4f, 0x18, 0x41,
|
||||
0x1f, 0x41, 0xab, 0xbc, 0x40, 0xee, 0x29, 0x6b, 0x4b, 0xdd, 0xea, 0x51, 0x03, 0x1f, 0x94, 0x68,
|
||||
0xee, 0x2b, 0x43, 0x67, 0x50, 0xcf, 0x18, 0x4d, 0xb2, 0x76, 0xa5, 0x5b, 0x3d, 0x6a, 0xf6, 0xbf,
|
||||
0x50, 0xb7, 0x5c, 0xb2, 0xba, 0xe1, 0x49, 0xb5, 0x19, 0x4d, 0x70, 0xc1, 0x82, 0x7a, 0x3c, 0xf6,
|
||||
0x20, 0xa5, 0x59, 0xe6, 0x26, 0x34, 0xf5, 0x68, 0xc4, 0x48, 0x40, 0x79, 0xec, 0x75, 0x8c, 0x4a,
|
||||
0x95, 0x75, 0xa9, 0x41, 0x4f, 0x00, 0x32, 0x46, 0x52, 0xe6, 0xe6, 0x39, 0x6d, 0xd7, 0xba, 0xd2,
|
||||
0x51, 0xb3, 0xdf, 0x29, 0x83, 0x28, 0x13, 0xae, 0x3a, 0x65, 0xc2, 0x71, 0x83, 0x5b, 0xe7, 0x72,
|
||||
0xe7, 0x2d, 0xd4, 0x72, 0xd7, 0xa8, 0x0b, 0x4d, 0x9f, 0x66, 0x5e, 0x1a, 0x26, 0x79, 0x58, 0x65,
|
||||
0x46, 0x97, 0x20, 0xf4, 0x02, 0x76, 0x8a, 0x6b, 0xe1, 0x0e, 0x5a, 0xfd, 0x27, 0xff, 0xe9, 0x94,
|
||||
0x39, 0x01, 0x16, 0x44, 0x4a, 0x00, 0x3b, 0x05, 0x82, 0xee, 0x00, 0xb2, 0x9d, 0x81, 0x73, 0x6e,
|
||||
0xbb, 0xe7, 0x86, 0x6d, 0x69, 0x43, 0xfd, 0x44, 0xd7, 0x46, 0xf2, 0x0d, 0xb4, 0x07, 0xb5, 0x91,
|
||||
0x69, 0x68, 0xb2, 0x84, 0xde, 0x83, 0xa6, 0x61, 0x3a, 0xae, 0xed, 0x0c, 0xb0, 0xa3, 0x8d, 0xe4,
|
||||
0x4a, 0x0e, 0xe8, 0x86, 0x6b, 0x61, 0xf3, 0x14, 0x6b, 0xb6, 0x2d, 0x57, 0x11, 0xc0, 0xce, 0xc9,
|
||||
0x40, 0x1f, 0x6b, 0x23, 0xb9, 0x86, 0x0e, 0xa0, 0x31, 0x1c, 0x18, 0x43, 0x6d, 0x9c, 0x8b, 0x75,
|
||||
0xe5, 0x37, 0x09, 0x60, 0x14, 0x92, 0x20, 0x8a, 0x33, 0x16, 0x7a, 0xa8, 0x03, 0x7b, 0xd3, 0xd8,
|
||||
0xe3, 0xa1, 0xb5, 0x25, 0x7e, 0xd2, 0x4b, 0x19, 0x8d, 0xa0, 0xf6, 0x26, 0x8c, 0x7c, 0x9e, 0x81,
|
||||
0x56, 0xff, 0x93, 0xad, 0x87, 0xbc, 0xa2, 0x55, 0xbf, 0x0d, 0x23, 0x1f, 0xf3, 0xdd, 0xa8, 0x0d,
|
||||
0xbb, 0x33, 0x9a, 0x65, 0xe5, 0xb5, 0x35, 0x70, 0x29, 0x2a, 0x0f, 0xa0, 0x96, 0xdb, 0xa1, 0x26,
|
||||
0xec, 0x7e, 0x3f, 0xc0, 0x86, 0x6e, 0x9c, 0xca, 0x37, 0x50, 0x03, 0xea, 0x1a, 0xc6, 0x26, 0x96,
|
||||
0x25, 0x85, 0xc0, 0xfe, 0x90, 0x37, 0xb6, 0xcd, 0x0b, 0x0c, 0xb5, 0xa0, 0x12, 0xfa, 0xed, 0x3a,
|
||||
0x27, 0xa9, 0x84, 0x3e, 0x1a, 0x40, 0x7d, 0x12, 0x4e, 0x69, 0x59, 0x6b, 0x1f, 0x6f, 0x0d, 0xb0,
|
||||
0x60, 0x3b, 0x09, 0xa7, 0x14, 0x17, 0x3b, 0x95, 0x5f, 0x2b, 0x00, 0x57, 0x28, 0xfa, 0x00, 0x1a,
|
||||
0x39, 0xee, 0x26, 0x84, 0xbd, 0x2e, 0xd3, 0x91, 0x03, 0x16, 0x61, 0xaf, 0xd1, 0x23, 0x38, 0xe0,
|
||||
0x4a, 0x2f, 0x8e, 0x18, 0x8d, 0x58, 0xc6, 0x8f, 0xb3, 0x8f, 0xf7, 0x73, 0x70, 0x28, 0x30, 0xf4,
|
||||
0x42, 0x30, 0xb0, 0x45, 0x42, 0x45, 0x75, 0x7c, 0xf6, 0x2f, 0xe2, 0x52, 0xf3, 0x1f, 0x67, 0x91,
|
||||
0xd0, 0xc2, 0x6f, 0xbe, 0x52, 0x7e, 0x92, 0x60, 0xaf, 0x84, 0xd1, 0x5d, 0xb8, 0x7d, 0xa2, 0x8f,
|
||||
0x35, 0xd7, 0x79, 0x69, 0x69, 0x6b, 0x05, 0x72, 0x08, 0xb7, 0x6c, 0x0d, 0x7f, 0xa7, 0x0f, 0x35,
|
||||
0x77, 0x68, 0x1a, 0x27, 0xfa, 0xa9, 0xfb, 0x72, 0x70, 0x36, 0x96, 0x25, 0x74, 0x13, 0x0e, 0x4c,
|
||||
0x4b, 0x33, 0xdc, 0x81, 0xa5, 0xbb, 0xdf, 0xd8, 0xa6, 0x21, 0x57, 0x56, 0x20, 0x6e, 0x55, 0x45,
|
||||
0xf7, 0xe1, 0x2e, 0x67, 0x1e, 0x69, 0xf6, 0x10, 0xeb, 0x96, 0x63, 0x62, 0xd7, 0xd6, 0x9c, 0xbc,
|
||||
0xaa, 0x1c, 0x53, 0xae, 0x29, 0x0f, 0xa1, 0x51, 0x84, 0x89, 0xe9, 0x04, 0x21, 0xa8, 0xf1, 0x69,
|
||||
0x53, 0xa4, 0x88, 0xaf, 0x15, 0x13, 0xf6, 0x87, 0x7c, 0xfe, 0x62, 0x9a, 0xc4, 0x29, 0x43, 0xcf,
|
||||
0xa1, 0xb5, 0x32, 0x96, 0x8b, 0x81, 0xd1, 0xec, 0xb7, 0x97, 0xd3, 0x51, 0x50, 0x8a, 0x7d, 0x07,
|
||||
0xde, 0x92, 0x94, 0x29, 0x7f, 0xee, 0xc0, 0x2e, 0x8e, 0xa7, 0xd3, 0x78, 0xce, 0xd0, 0x7d, 0x80,
|
||||
0xb4, 0x58, 0xe6, 0xa3, 0xab, 0x70, 0xdb, 0x10, 0x88, 0xee, 0xa3, 0xa7, 0xd0, 0xf4, 0x52, 0x4a,
|
||||
0x18, 0x2d, 0xda, 0xbe, 0xb2, 0xb5, 0xed, 0xa1, 0x30, 0xcf, 0x81, 0x9c, 0xbb, 0x90, 0x7c, 0xf7,
|
||||
0xd5, 0x42, 0xd4, 0x68, 0x43, 0x20, 0xc7, 0x0b, 0x64, 0xac, 0x35, 0xfb, 0xe7, 0x5b, 0xaf, 0x53,
|
||||
0x04, 0x5d, 0xfe, 0xaf, 0x76, 0x3a, 0x7a, 0x0b, 0x6d, 0x96, 0x92, 0xc9, 0x24, 0xf4, 0xca, 0x89,
|
||||
0xe6, 0x66, 0x2c, 0x25, 0x8c, 0x06, 0x0b, 0x5e, 0xdb, 0xcd, 0xfe, 0xf3, 0x77, 0xf6, 0xe0, 0x14,
|
||||
0x44, 0x62, 0xfe, 0xd9, 0x82, 0xe6, 0xeb, 0x1b, 0xf8, 0x0e, 0xbb, 0x56, 0x83, 0x16, 0x70, 0xe8,
|
||||
0xd3, 0x29, 0x65, 0xd4, 0x2d, 0x5f, 0x8d, 0x4b, 0xdf, 0xbf, 0x4b, 0xdc, 0xf9, 0xb3, 0x77, 0x76,
|
||||
0x3e, 0xe2, 0x44, 0xe2, 0x21, 0x5a, 0xf2, 0x7d, 0xdb, 0xbf, 0x4e, 0xb1, 0xf1, 0x52, 0xed, 0x6d,
|
||||
0xbc, 0x54, 0x9d, 0x3f, 0x24, 0xb8, 0x73, 0xfd, 0x91, 0x50, 0x0a, 0xcd, 0xab, 0xf9, 0x5f, 0x96,
|
||||
0x92, 0xf5, 0x3f, 0x13, 0xa5, 0x5e, 0x3d, 0x1c, 0x99, 0x16, 0xb1, 0x74, 0x81, 0x97, 0x9d, 0x74,
|
||||
0x9e, 0x81, 0xbc, 0x6e, 0x80, 0x64, 0xa8, 0xbe, 0xa1, 0x0b, 0x51, 0x81, 0xf9, 0x12, 0xbd, 0x0f,
|
||||
0xf5, 0x0b, 0x32, 0x9d, 0x17, 0x55, 0x27, 0xe1, 0x42, 0xf8, 0xaa, 0xf2, 0xa5, 0xd4, 0x39, 0x84,
|
||||
0xdb, 0xd7, 0xe6, 0x48, 0x99, 0xc3, 0xc1, 0x4a, 0x6d, 0xa0, 0x07, 0xd0, 0xc1, 0xe6, 0x78, 0x6c,
|
||||
0x9e, 0xf3, 0xa9, 0xbe, 0x39, 0xfb, 0xd7, 0x06, 0xbc, 0x94, 0x8f, 0x4c, 0xfb, 0x7c, 0x38, 0xcc,
|
||||
0x85, 0xca, 0xea, 0x84, 0x5f, 0x1d, 0xfe, 0x4d, 0xd8, 0xb5, 0x34, 0x63, 0x94, 0x8f, 0xd6, 0xfa,
|
||||
0x31, 0xc0, 0x5e, 0x79, 0xdb, 0xc7, 0x3f, 0x4b, 0xf0, 0xc8, 0x8b, 0x67, 0xdb, 0x12, 0x78, 0xdc,
|
||||
0xc2, 0xe5, 0x57, 0x9b, 0x95, 0x77, 0x91, 0x25, 0xfd, 0x60, 0x89, 0x2d, 0x41, 0x3c, 0x25, 0x51,
|
||||
0xa0, 0xc6, 0x69, 0xd0, 0x0b, 0x68, 0xc4, 0x7b, 0x4c, 0x7c, 0x02, 0x92, 0x24, 0xcc, 0xfe, 0xf1,
|
||||
0x33, 0xf0, 0xe9, 0x06, 0xf8, 0x4b, 0xa5, 0x76, 0x3a, 0xb0, 0xcf, 0x5e, 0xed, 0x70, 0x8e, 0x4f,
|
||||
0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x64, 0x4d, 0x1e, 0x49, 0x0a, 0x00, 0x00,
|
||||
0x10, 0xaf, 0xf3, 0xef, 0x2e, 0x93, 0xbb, 0xe0, 0x6e, 0x69, 0x2f, 0x0d, 0xfd, 0x73, 0x4d, 0x85,
|
||||
0x74, 0x12, 0x92, 0xc3, 0x1d, 0x08, 0x28, 0x95, 0x5a, 0xe5, 0x1c, 0xdf, 0x11, 0x7a, 0x67, 0xbb,
|
||||
0xeb, 0x5c, 0x51, 0x51, 0x25, 0x6b, 0x6b, 0x6f, 0x5c, 0xd3, 0xc4, 0xb6, 0xec, 0xcd, 0x49, 0x51,
|
||||
0x9f, 0x81, 0x4f, 0xbc, 0x01, 0x9f, 0x10, 0x2f, 0xc0, 0x2b, 0x20, 0xc4, 0x03, 0x20, 0xf1, 0x18,
|
||||
0xbc, 0x00, 0xda, 0xf5, 0xba, 0x97, 0x3f, 0x87, 0x52, 0xe0, 0x4b, 0xb2, 0xf3, 0xfb, 0xcd, 0xce,
|
||||
0xcc, 0xce, 0xce, 0xce, 0x18, 0xba, 0x41, 0x1c, 0x07, 0x63, 0xda, 0x25, 0x49, 0xd8, 0xcd, 0x68,
|
||||
0x7a, 0x1e, 0x7a, 0x74, 0x42, 0x22, 0x12, 0xd0, 0x09, 0x8d, 0x58, 0xf7, 0x7c, 0xbf, 0x9b, 0xd2,
|
||||
0x2c, 0x9e, 0xa6, 0x1e, 0xcd, 0xb4, 0x24, 0x8d, 0x59, 0x8c, 0xee, 0xe6, 0x1b, 0x34, 0x92, 0x84,
|
||||
0xda, 0xca, 0x06, 0xed, 0x7c, 0xbf, 0x7d, 0x6b, 0xce, 0x22, 0x89, 0xa2, 0x98, 0x11, 0x16, 0xc6,
|
||||
0x91, 0xdc, 0xde, 0xbe, 0x33, 0xc7, 0x7a, 0x71, 0x34, 0x0a, 0x03, 0xd7, 0x7b, 0x45, 0xa2, 0x80,
|
||||
0x4a, 0x7e, 0x67, 0x8e, 0x9f, 0x50, 0x96, 0x86, 0x9e, 0x24, 0x5a, 0xab, 0x81, 0x4a, 0xe6, 0xbe,
|
||||
0x64, 0xc6, 0x71, 0x14, 0xa4, 0xd3, 0x28, 0x0a, 0xa3, 0xa0, 0x1b, 0x27, 0x34, 0x5d, 0xf0, 0x7b,
|
||||
0x53, 0x2a, 0x09, 0xe9, 0xe5, 0x74, 0xd4, 0x25, 0xd1, 0x4c, 0x52, 0xbb, 0xcb, 0xd4, 0x28, 0xa4,
|
||||
0x63, 0xdf, 0x9d, 0x90, 0xec, 0xb5, 0xd4, 0xb8, 0xb5, 0xac, 0x91, 0xb1, 0x74, 0xea, 0x31, 0xc9,
|
||||
0xde, 0x5d, 0x66, 0x59, 0x38, 0xa1, 0x19, 0x23, 0x93, 0x64, 0xe9, 0x4c, 0x69, 0xe2, 0x75, 0x33,
|
||||
0x46, 0xd8, 0x54, 0x06, 0xd5, 0xf1, 0xa0, 0x79, 0x2a, 0x72, 0xe7, 0x3b, 0xf9, 0x89, 0xd0, 0x3d,
|
||||
0xd8, 0x92, 0x87, 0x73, 0x23, 0x32, 0xa1, 0xad, 0xd2, 0xae, 0xb2, 0x57, 0xc7, 0x0d, 0x89, 0x99,
|
||||
0x64, 0x42, 0x91, 0x06, 0xd7, 0x92, 0x34, 0xf6, 0xa7, 0x1e, 0x4d, 0xdd, 0x24, 0x8d, 0xbf, 0xa3,
|
||||
0x1e, 0x73, 0x43, 0xbf, 0x55, 0x16, 0x9a, 0x57, 0x0b, 0xca, 0xce, 0x99, 0x81, 0xdf, 0xf9, 0xb3,
|
||||
0x0c, 0x57, 0xad, 0x22, 0x1d, 0xa7, 0x94, 0x11, 0x9f, 0x30, 0x82, 0x3e, 0x84, 0x66, 0x71, 0xb3,
|
||||
0xc2, 0x53, 0xd6, 0x52, 0x76, 0xcb, 0x7b, 0x75, 0xbc, 0x5d, 0xa0, 0xdc, 0x57, 0x86, 0x4e, 0xa1,
|
||||
0x9a, 0x31, 0x9a, 0x64, 0xad, 0xd2, 0x6e, 0x79, 0xaf, 0x71, 0xf0, 0xb9, 0xb6, 0xe6, 0xf6, 0xb5,
|
||||
0x15, 0x4f, 0x9a, 0xc3, 0x68, 0x82, 0x73, 0x2b, 0xa8, 0x2b, 0x62, 0x0f, 0x52, 0x9a, 0x65, 0x6e,
|
||||
0x42, 0x53, 0x8f, 0x46, 0x8c, 0x04, 0x54, 0xc4, 0x5e, 0xc5, 0xa8, 0xa0, 0xec, 0xb7, 0x0c, 0x7a,
|
||||
0x00, 0x90, 0x31, 0x92, 0x32, 0x97, 0xe7, 0xb4, 0x55, 0xd9, 0x55, 0xf6, 0x1a, 0x07, 0xed, 0x22,
|
||||
0x88, 0x22, 0xe1, 0xda, 0xb0, 0x48, 0x38, 0xae, 0x0b, 0x6d, 0x2e, 0xb7, 0xdf, 0x40, 0x85, 0xbb,
|
||||
0x46, 0xbb, 0xd0, 0xf0, 0x69, 0xe6, 0xa5, 0x61, 0xc2, 0xc3, 0x2a, 0x32, 0x3a, 0x07, 0xa1, 0xa7,
|
||||
0x50, 0xcb, 0xaf, 0x45, 0x38, 0x68, 0x1e, 0x3c, 0xf8, 0x4f, 0xa7, 0xe4, 0x06, 0xb0, 0x34, 0xd4,
|
||||
0x09, 0xa0, 0x96, 0x23, 0xe8, 0x06, 0x20, 0x67, 0xd8, 0x1b, 0x9e, 0x39, 0xee, 0x99, 0xe9, 0xd8,
|
||||
0x86, 0x3e, 0x38, 0x1a, 0x18, 0x7d, 0xf5, 0x0a, 0xda, 0x84, 0x4a, 0xdf, 0x32, 0x0d, 0x55, 0x41,
|
||||
0xef, 0x41, 0xc3, 0xb4, 0x86, 0xae, 0x33, 0xec, 0xe1, 0xa1, 0xd1, 0x57, 0x4b, 0x1c, 0x18, 0x98,
|
||||
0xae, 0x8d, 0xad, 0x63, 0x6c, 0x38, 0x8e, 0x5a, 0x46, 0x00, 0xb5, 0xa3, 0xde, 0xe0, 0xc4, 0xe8,
|
||||
0xab, 0x15, 0xb4, 0x0d, 0x75, 0xbd, 0x67, 0xea, 0xc6, 0x09, 0x17, 0xab, 0x9d, 0x9f, 0x14, 0x80,
|
||||
0x7e, 0x48, 0x82, 0x28, 0xce, 0x58, 0xe8, 0xa1, 0x36, 0x6c, 0x8e, 0x63, 0x4f, 0x84, 0xd6, 0x52,
|
||||
0xc4, 0x49, 0xdf, 0xca, 0xa8, 0x0f, 0x95, 0xd7, 0x61, 0xe4, 0x8b, 0x0c, 0x34, 0x0f, 0x3e, 0x5e,
|
||||
0x7b, 0xc8, 0x0b, 0xb3, 0xda, 0x93, 0x30, 0xf2, 0xb1, 0xd8, 0x8d, 0x5a, 0xb0, 0x31, 0xa1, 0x59,
|
||||
0x56, 0x5c, 0x5b, 0x1d, 0x17, 0x62, 0xe7, 0x0e, 0x54, 0xb8, 0x1e, 0x6a, 0xc0, 0xc6, 0x37, 0x3d,
|
||||
0x6c, 0x0e, 0xcc, 0x63, 0xf5, 0x0a, 0xaa, 0x43, 0xd5, 0xc0, 0xd8, 0xc2, 0xaa, 0xd2, 0x21, 0xb0,
|
||||
0xa5, 0x8b, 0x17, 0xef, 0x88, 0x02, 0x43, 0x4d, 0x28, 0x85, 0x7e, 0xab, 0x2a, 0x8c, 0x94, 0x42,
|
||||
0x1f, 0xf5, 0xa0, 0x3a, 0x0a, 0xc7, 0xb4, 0xa8, 0xb5, 0x8f, 0xd6, 0x06, 0x98, 0x5b, 0x3b, 0x0a,
|
||||
0xc7, 0x14, 0xe7, 0x3b, 0x3b, 0xbf, 0x94, 0x00, 0x2e, 0x50, 0xf4, 0x01, 0xd4, 0x39, 0xee, 0x26,
|
||||
0x84, 0xbd, 0x2a, 0xd2, 0xc1, 0x01, 0x9b, 0xb0, 0x57, 0xe8, 0x3e, 0x6c, 0x0b, 0xd2, 0x8b, 0x23,
|
||||
0x46, 0x23, 0x96, 0x89, 0xe3, 0x6c, 0xe1, 0x2d, 0x0e, 0xea, 0x12, 0x43, 0x4f, 0xa5, 0x05, 0x36,
|
||||
0x4b, 0xa8, 0xac, 0x8e, 0x4f, 0xff, 0x45, 0x5c, 0x1a, 0xff, 0x19, 0xce, 0x12, 0x9a, 0xfb, 0xe5,
|
||||
0xab, 0xce, 0x0f, 0x0a, 0x6c, 0x16, 0x30, 0xba, 0x09, 0xd7, 0x8f, 0x06, 0x27, 0x86, 0x3b, 0x7c,
|
||||
0x6e, 0x1b, 0x4b, 0x05, 0xb2, 0x03, 0xd7, 0x1c, 0x03, 0x3f, 0x1b, 0xe8, 0x86, 0xab, 0x5b, 0xe6,
|
||||
0xd1, 0xe0, 0xd8, 0x7d, 0xde, 0x3b, 0x3d, 0x51, 0x15, 0x74, 0x15, 0xb6, 0x2d, 0xdb, 0x30, 0xdd,
|
||||
0x9e, 0x3d, 0x70, 0xbf, 0x76, 0x2c, 0x53, 0x2d, 0x2d, 0x40, 0x42, 0xab, 0x8c, 0x6e, 0xc3, 0x4d,
|
||||
0x61, 0xb9, 0x6f, 0x38, 0x3a, 0x1e, 0xd8, 0x43, 0x0b, 0xbb, 0x8e, 0x31, 0xe4, 0x55, 0x35, 0xb4,
|
||||
0xd4, 0x0a, 0x6a, 0x02, 0x88, 0xa5, 0xcb, 0x95, 0xd4, 0x5a, 0xe7, 0x2e, 0xd4, 0xf3, 0xb0, 0x31,
|
||||
0x1d, 0x21, 0x04, 0x15, 0xd1, 0x7d, 0xf2, 0x94, 0x89, 0x75, 0xc7, 0x82, 0x2d, 0x5d, 0x34, 0x6a,
|
||||
0x4c, 0x93, 0x38, 0x65, 0xe8, 0x31, 0x34, 0x17, 0xfa, 0x77, 0xde, 0x40, 0x1a, 0x07, 0xad, 0xf9,
|
||||
0xf4, 0xe4, 0x26, 0xe5, 0xbe, 0x6d, 0x6f, 0x4e, 0xca, 0x3a, 0x7f, 0xd5, 0x60, 0x03, 0xc7, 0xe3,
|
||||
0x71, 0x3c, 0x65, 0xe8, 0x36, 0x40, 0x9a, 0x2f, 0x79, 0x2b, 0xcb, 0xdd, 0xd6, 0x25, 0x32, 0xf0,
|
||||
0xd1, 0x43, 0x68, 0x78, 0x29, 0x25, 0x8c, 0xe6, 0x6d, 0xa0, 0xb4, 0xb6, 0x0d, 0x40, 0xae, 0xce,
|
||||
0x01, 0x6e, 0x3b, 0x97, 0x7c, 0xf7, 0xe5, 0x4c, 0xd6, 0x6c, 0x5d, 0x22, 0x87, 0x33, 0x64, 0x2e,
|
||||
0x3d, 0xfe, 0xcf, 0xd6, 0x5e, 0xaf, 0x0c, 0xba, 0xf8, 0x5f, 0x7c, 0xf9, 0xe8, 0x0d, 0xb4, 0x58,
|
||||
0x4a, 0x46, 0xa3, 0xd0, 0x2b, 0x3a, 0x9c, 0x9b, 0xb1, 0x94, 0x30, 0x1a, 0xcc, 0x44, 0xad, 0x37,
|
||||
0x0e, 0x1e, 0xbf, 0xb3, 0x87, 0x61, 0x6e, 0x48, 0xf6, 0x43, 0x47, 0x9a, 0xf9, 0xea, 0x0a, 0xbe,
|
||||
0xc1, 0x2e, 0x65, 0xd0, 0x0c, 0x76, 0x7c, 0x3a, 0xa6, 0x8c, 0xba, 0xc5, 0x14, 0x79, 0xeb, 0xfb,
|
||||
0x57, 0x45, 0x38, 0x7f, 0xf4, 0xce, 0xce, 0xfb, 0xc2, 0x90, 0x1c, 0x4c, 0x73, 0xbe, 0xaf, 0xfb,
|
||||
0x97, 0x11, 0x2b, 0x93, 0x6b, 0x73, 0x65, 0x72, 0xb5, 0x7f, 0x57, 0xe0, 0xc6, 0xe5, 0x47, 0x42,
|
||||
0x29, 0x34, 0x2e, 0xe6, 0x41, 0x51, 0x4a, 0xf6, 0xff, 0x4c, 0x94, 0x76, 0x31, 0x48, 0x32, 0x23,
|
||||
0x62, 0xe9, 0x0c, 0xcf, 0x3b, 0x69, 0x3f, 0x02, 0x75, 0x59, 0x01, 0xa9, 0x50, 0x7e, 0x4d, 0x67,
|
||||
0xb2, 0x02, 0xf9, 0x12, 0xbd, 0x0f, 0xd5, 0x73, 0x32, 0x9e, 0xe6, 0x55, 0xa7, 0xe0, 0x5c, 0xf8,
|
||||
0xb2, 0xf4, 0x85, 0xd2, 0xde, 0x81, 0xeb, 0x97, 0xe6, 0xa8, 0xf3, 0xbd, 0x02, 0xdb, 0x0b, 0xc5,
|
||||
0x81, 0xee, 0x40, 0x1b, 0x5b, 0x27, 0x27, 0xd6, 0x99, 0x68, 0xf3, 0xab, 0xc3, 0x60, 0xa9, 0xe3,
|
||||
0x2b, 0xbc, 0x87, 0x3a, 0x67, 0xba, 0xce, 0x85, 0xd2, 0x62, 0xcb, 0x5f, 0x9c, 0x06, 0x0d, 0xd8,
|
||||
0xb0, 0x0d, 0xb3, 0xcf, 0x7b, 0x6d, 0x95, 0x8f, 0x9a, 0x9c, 0x70, 0xb9, 0x33, 0xa3, 0xef, 0x1e,
|
||||
0xf6, 0xf4, 0x27, 0x6a, 0xed, 0x10, 0x60, 0xb3, 0x28, 0x83, 0xc3, 0x3f, 0x14, 0xb8, 0xef, 0xc5,
|
||||
0x93, 0x75, 0x99, 0x3d, 0x6c, 0xe2, 0xe2, 0xbb, 0xcf, 0xe6, 0xcf, 0xcb, 0x56, 0xbe, 0xb5, 0xe5,
|
||||
0x96, 0x20, 0x1e, 0x93, 0x28, 0xd0, 0xe2, 0x34, 0xe8, 0x06, 0x34, 0x12, 0x8f, 0x4f, 0x7e, 0x44,
|
||||
0x92, 0x24, 0xcc, 0xfe, 0xf1, 0x43, 0xf2, 0xe1, 0x0a, 0xf8, 0x63, 0xa9, 0x72, 0xdc, 0x73, 0x4e,
|
||||
0x7f, 0x2e, 0xdd, 0x3b, 0xce, 0x2d, 0xeb, 0xe3, 0x78, 0xea, 0x6b, 0x32, 0x9b, 0xa7, 0x17, 0xe1,
|
||||
0x3c, 0xdb, 0xff, 0xad, 0xd0, 0x79, 0x21, 0x74, 0x5e, 0xac, 0xe8, 0xbc, 0x78, 0xb6, 0xff, 0xb2,
|
||||
0x26, 0x62, 0xf9, 0xe4, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x67, 0x13, 0xc5, 0x22, 0xd3, 0x0a,
|
||||
0x00, 0x00,
|
||||
}
|
||||
|
||||
1117
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go
generated
vendored
1117
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user