mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
24
vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go
generated
vendored
24
vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go
generated
vendored
@ -1,24 +1,12 @@
|
||||
// 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
|
||||
package annotations // import "google.golang.org/genproto/googleapis/api/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 descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -32,7 +20,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 +32,11 @@ func init() {
|
||||
proto.RegisterExtension(E_Http)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/annotations.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/annotations.proto", fileDescriptor_annotations_55609bb51d80951d)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_annotations_55609bb51d80951d = []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,
|
||||
|
192
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go
generated
vendored
192
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/http.proto
|
||||
|
||||
package annotations
|
||||
package annotations // import "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,6 +12,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
|
||||
|
||||
// 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 +25,42 @@ 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_http_98c2ff955ca74b42, []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 (dst *Http) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Http.Merge(dst, 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 +297,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 +314,85 @@ 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"`
|
||||
// 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_http_98c2ff955ca74b42, []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 (dst *HttpRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_HttpRule.Merge(dst, 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 +402,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
|
||||
@ -497,28 +557,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 +591,37 @@ 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_http_98c2ff955ca74b42, []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 (dst *CustomHttpPattern) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CustomHttpPattern.Merge(dst, 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,9 +643,9 @@ 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_http_98c2ff955ca74b42) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_http_98c2ff955ca74b42 = []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,
|
||||
|
51
vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go
generated
vendored
51
vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go
generated
vendored
@ -1,18 +1,7 @@
|
||||
// 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
|
||||
package api // import "google.golang.org/genproto/googleapis/api"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -42,13 +31,35 @@ 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_authorization_config_87a128931232bc39, []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 (dst *AuthorizationConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthorizationConfig.Merge(dst, 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 +72,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_authorization_config_87a128931232bc39)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_authorization_config_87a128931232bc39 = []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,
|
||||
|
94
vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go
generated
vendored
94
vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go
generated
vendored
@ -1,17 +1,7 @@
|
||||
// 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
|
||||
package configchange // import "google.golang.org/genproto/googleapis/api/configchange"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -62,7 +52,9 @@ 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_config_change_575fa64fb42e14af, []int{0}
|
||||
}
|
||||
|
||||
// Output generated from semantically comparing two versions of a service
|
||||
// configuration.
|
||||
@ -80,24 +72,46 @@ 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_config_change_575fa64fb42e14af, []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 (dst *ConfigChange) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigChange.Merge(dst, 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 +153,35 @@ 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_config_change_575fa64fb42e14af, []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 (dst *Advice) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Advice.Merge(dst, 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 {
|
||||
@ -160,9 +196,11 @@ func init() {
|
||||
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_config_change_575fa64fb42e14af)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_config_change_575fa64fb42e14af = []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,
|
||||
|
306
vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go
generated
vendored
306
vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go
generated
vendored
@ -1,23 +1,12 @@
|
||||
// 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
|
||||
package distribution // import "google.golang.org/genproto/googleapis/api/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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -47,10 +36,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 +49,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 +67,35 @@ 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_distribution_4362d2d5f4dd1b54, []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 (dst *Distribution) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution.Merge(dst, 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 +142,37 @@ 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_distribution_4362d2d5f4dd1b54, []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 (dst *Distribution_Range) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_Range.Merge(dst, 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 +218,57 @@ 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_distribution_4362d2d5f4dd1b54, []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 (dst *Distribution_BucketOptions) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions.Merge(dst, 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 +371,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,19 +402,39 @@ 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_distribution_4362d2d5f4dd1b54, []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 (dst *Distribution_BucketOptions_Linear) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Linear.Merge(dst, 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 {
|
||||
@ -389,11 +468,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,8 +484,25 @@ 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_distribution_4362d2d5f4dd1b54, []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 (dst *Distribution_BucketOptions_Exponential) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Exponential.Merge(dst, 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 {
|
||||
@ -439,15 +538,35 @@ 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_distribution_4362d2d5f4dd1b54, []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 (dst *Distribution_BucketOptions_Explicit) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_BucketOptions_Explicit.Merge(dst, 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 {
|
||||
@ -465,42 +584,43 @@ func init() {
|
||||
proto.RegisterType((*Distribution_BucketOptions_Explicit)(nil), "google.api.Distribution.BucketOptions.Explicit")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/distribution.proto", fileDescriptor0) }
|
||||
|
||||
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,
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/distribution.proto", fileDescriptor_distribution_4362d2d5f4dd1b54)
|
||||
}
|
||||
|
||||
var fileDescriptor_distribution_4362d2d5f4dd1b54 = []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,
|
||||
}
|
||||
|
46
vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go
generated
vendored
46
vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/experimental/experimental.proto
|
||||
|
||||
package api
|
||||
package api // import "google.golang.org/genproto/googleapis/api"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -13,17 +13,45 @@ 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_experimental_8ffd851a3879187f, []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 (dst *Experimental) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Experimental.Merge(dst, 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 +64,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_experimental_8ffd851a3879187f)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_experimental_8ffd851a3879187f = []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,
|
||||
|
87
vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
generated
vendored
87
vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
generated
vendored
@ -1,20 +1,12 @@
|
||||
// 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
|
||||
package httpbody // import "google.golang.org/genproto/googleapis/api/httpbody"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import any "github.com/golang/protobuf/ptypes/any"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -67,15 +59,40 @@ 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_httpbody_d3ca4c70025a4501, []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 (dst *HttpBody) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_HttpBody.Merge(dst, 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 +108,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_httpbody_d3ca4c70025a4501) }
|
||||
|
||||
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_httpbody_d3ca4c70025a4501 = []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,
|
||||
}
|
||||
|
55
vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go
generated
vendored
55
vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go
generated
vendored
@ -1,16 +1,7 @@
|
||||
// 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
|
||||
package label // import "google.golang.org/genproto/googleapis/api/label"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -53,22 +44,46 @@ 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_label_7ab1ab74ef036f1c, []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_label_7ab1ab74ef036f1c, []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 (dst *LabelDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LabelDescriptor.Merge(dst, 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 {
|
||||
@ -96,9 +111,9 @@ func init() {
|
||||
proto.RegisterEnum("google.api.LabelDescriptor_ValueType", LabelDescriptor_ValueType_name, LabelDescriptor_ValueType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor_label_7ab1ab74ef036f1c) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_label_7ab1ab74ef036f1c = []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,
|
||||
|
135
vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go
generated
vendored
135
vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go
generated
vendored
@ -1,22 +1,12 @@
|
||||
// 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
|
||||
package metric // import "google.golang.org/genproto/googleapis/api/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 label "google.golang.org/genproto/googleapis/api/label"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -64,7 +54,7 @@ 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_metric_18b95065d4b7f9c0, []int{0, 0}
|
||||
}
|
||||
|
||||
// The value type of a metric.
|
||||
@ -100,34 +90,27 @@ var MetricDescriptor_ValueType_name = map[int32]string{
|
||||
}
|
||||
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_metric_18b95065d4b7f9c0, []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 +118,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 +171,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 +180,7 @@ type MetricDescriptor struct {
|
||||
//
|
||||
// Expression = Component { "." Component } { "/" Component } ;
|
||||
//
|
||||
// Component = [ PREFIX ] UNIT [ Annotation ]
|
||||
// Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
||||
// | Annotation
|
||||
// | "1"
|
||||
// ;
|
||||
@ -213,18 +194,45 @@ 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_metric_18b95065d4b7f9c0, []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 (dst *MetricDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricDescriptor.Merge(dst, 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 +248,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 +295,38 @@ 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_metric_18b95065d4b7f9c0, []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 (dst *Metric) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Metric.Merge(dst, 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 {
|
||||
@ -315,13 +345,14 @@ func (m *Metric) GetLabels() map[string]string {
|
||||
func init() {
|
||||
proto.RegisterType((*MetricDescriptor)(nil), "google.api.MetricDescriptor")
|
||||
proto.RegisterType((*Metric)(nil), "google.api.Metric")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.Metric.LabelsEntry")
|
||||
proto.RegisterEnum("google.api.MetricDescriptor_MetricKind", MetricDescriptor_MetricKind_name, MetricDescriptor_MetricKind_value)
|
||||
proto.RegisterEnum("google.api.MetricDescriptor_ValueType", MetricDescriptor_ValueType_name, MetricDescriptor_ValueType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/metric.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/api/metric.proto", fileDescriptor_metric_18b95065d4b7f9c0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_metric_18b95065d4b7f9c0 = []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,
|
||||
|
221
vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go
generated
vendored
221
vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go
generated
vendored
@ -1,22 +1,13 @@
|
||||
// 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
|
||||
package monitoredres // import "google.golang.org/genproto/googleapis/api/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 _struct "github.com/golang/protobuf/ptypes/struct"
|
||||
import label "google.golang.org/genproto/googleapis/api/label"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -45,29 +36,51 @@ 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_monitored_resource_35ee91132be0d9ce, []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 (dst *MonitoredResourceDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MonitoredResourceDescriptor.Merge(dst, 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 +110,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 +133,40 @@ 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_monitored_resource_35ee91132be0d9ce, []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 (dst *MonitoredResource) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MonitoredResource.Merge(dst, 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 +182,108 @@ 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_monitored_resource_35ee91132be0d9ce, []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 (dst *MonitoredResourceMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MonitoredResourceMetadata.Merge(dst, 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_monitored_resource_35ee91132be0d9ce)
|
||||
}
|
||||
|
||||
var fileDescriptor_monitored_resource_35ee91132be0d9ce = []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,
|
||||
}
|
||||
|
245
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go
generated
vendored
245
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go
generated
vendored
@ -1,60 +1,7 @@
|
||||
// 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
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -90,15 +37,37 @@ 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_auth_88c4f5ae0863ae9c, []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 (dst *Authentication) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Authentication.Merge(dst, 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 +96,41 @@ 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_auth_88c4f5ae0863ae9c, []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 (dst *AuthenticationRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthenticationRule.Merge(dst, 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 +167,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 +184,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 +198,38 @@ 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_auth_88c4f5ae0863ae9c, []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 (dst *AuthProvider) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthProvider.Merge(dst, 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 +292,35 @@ 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_auth_88c4f5ae0863ae9c, []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 (dst *OAuthRequirements) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OAuthRequirements.Merge(dst, 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 +337,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 +354,35 @@ 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_auth_88c4f5ae0863ae9c, []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 (dst *AuthRequirement) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthRequirement.Merge(dst, 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 +406,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_auth_88c4f5ae0863ae9c) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_auth_88c4f5ae0863ae9c = []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,
|
||||
|
127
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go
generated
vendored
127
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/backend.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,18 +12,46 @@ 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_backend_bb737a5d3bcbecd6, []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 (dst *Backend) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Backend.Merge(dst, 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 +65,43 @@ 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_backend_bb737a5d3bcbecd6, []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 (dst *BackendRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BackendRule.Merge(dst, 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 +124,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_backend_bb737a5d3bcbecd6) }
|
||||
|
||||
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_backend_bb737a5d3bcbecd6 = []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,
|
||||
}
|
||||
|
116
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go
generated
vendored
116
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go
generated
vendored
@ -1,23 +1,29 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/billing.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/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"
|
||||
|
||||
// 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 +45,35 @@ 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_billing_36fc4fe99841ce3d, []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 (dst *Billing) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Billing.Merge(dst, 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 +87,38 @@ 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_billing_36fc4fe99841ce3d, []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 (dst *Billing_BillingDestination) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Billing_BillingDestination.Merge(dst, 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 +139,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_billing_36fc4fe99841ce3d) }
|
||||
|
||||
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_billing_36fc4fe99841ce3d = []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,
|
||||
}
|
||||
|
84
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go
generated
vendored
84
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/consumer.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,6 +12,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 data type of the property values
|
||||
type Property_PropertyType int32
|
||||
|
||||
@ -46,7 +52,9 @@ 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_consumer_f6466e3bd2853ce5, []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 +74,35 @@ 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_consumer_f6466e3bd2853ce5, []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 (dst *ProjectProperties) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ProjectProperties.Merge(dst, 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 +123,39 @@ 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_consumer_f6466e3bd2853ce5, []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 (dst *Property) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Property.Merge(dst, 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 {
|
||||
@ -132,9 +184,9 @@ func init() {
|
||||
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_consumer_f6466e3bd2853ce5) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
var fileDescriptor_consumer_f6466e3bd2853ce5 = []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,
|
||||
|
80
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go
generated
vendored
80
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/context.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,6 +12,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
|
||||
|
||||
// `Context` defines which contexts an API requests.
|
||||
//
|
||||
// Example:
|
||||
@ -33,13 +39,35 @@ 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_context_7f48bb214df6c175, []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 (dst *Context) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Context.Merge(dst, 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 +82,39 @@ 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_context_7f48bb214df6c175, []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 (dst *ContextRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ContextRule.Merge(dst, 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 +142,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_context_7f48bb214df6c175) }
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
var fileDescriptor_context_7f48bb214df6c175 = []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,
|
||||
|
44
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go
generated
vendored
44
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/control.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,19 +12,47 @@ 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_control_f350b83573452faa, []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 (dst *Control) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Control.Merge(dst, 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 +65,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_control_f350b83573452faa) }
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
var fileDescriptor_control_f350b83573452faa = []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,
|
||||
|
130
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go
generated
vendored
130
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/documentation.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,6 +12,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
|
||||
|
||||
// `Documentation` provides the information for describing a service.
|
||||
//
|
||||
// Example:
|
||||
@ -55,9 +61,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 +76,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 +98,35 @@ 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_documentation_ed988d5b3c756a43, []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 (dst *Documentation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Documentation.Merge(dst, 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 +171,40 @@ 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_documentation_ed988d5b3c756a43, []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 (dst *DocumentationRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DocumentationRule.Merge(dst, 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 +244,41 @@ 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_documentation_ed988d5b3c756a43, []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 (dst *Page) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Page.Merge(dst, 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 +307,11 @@ 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_documentation_ed988d5b3c756a43)
|
||||
}
|
||||
|
||||
var fileDescriptor6 = []byte{
|
||||
var fileDescriptor_documentation_ed988d5b3c756a43 = []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,
|
||||
|
99
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go
generated
vendored
99
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/endpoint.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -13,6 +13,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
|
||||
|
||||
// `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 +37,55 @@ 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_endpoint_d87650ae3428bec5, []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 (dst *Endpoint) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Endpoint.Merge(dst, 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 +101,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 +126,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_endpoint_d87650ae3428bec5) }
|
||||
|
||||
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_endpoint_d87650ae3428bec5 = []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,
|
||||
}
|
||||
|
54
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go
generated
vendored
54
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go
generated
vendored
@ -1,18 +1,24 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/log.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/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 label "google.golang.org/genproto/googleapis/api/label"
|
||||
|
||||
// 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 +32,45 @@ 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_log_43ef3b42193db0e6, []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 (dst *LogDescriptor) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LogDescriptor.Merge(dst, 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 +79,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 +104,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_log_43ef3b42193db0e6) }
|
||||
|
||||
var fileDescriptor8 = []byte{
|
||||
var fileDescriptor_log_43ef3b42193db0e6 = []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,
|
||||
|
80
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go
generated
vendored
80
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/logging.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -13,6 +13,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
|
||||
|
||||
// Logging configuration of the service.
|
||||
//
|
||||
// The following example shows how to configure logs to be sent to the
|
||||
@ -47,18 +53,40 @@ 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_logging_d4ad8a3d4a3a3050, []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 (dst *Logging) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Logging.Merge(dst, 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 +107,40 @@ 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_logging_d4ad8a3d4a3a3050, []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 (dst *Logging_LoggingDestination) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Logging_LoggingDestination.Merge(dst, 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 +161,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_logging_d4ad8a3d4a3a3050) }
|
||||
|
||||
var fileDescriptor9 = []byte{
|
||||
var fileDescriptor_logging_d4ad8a3d4a3a3050 = []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,
|
||||
|
74
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go
generated
vendored
74
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/monitoring.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -13,6 +13,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
|
||||
|
||||
// Monitoring configuration of the service.
|
||||
//
|
||||
// The example below shows how to configure monitored resources and metrics
|
||||
@ -55,18 +61,40 @@ 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_monitoring_96ebaeded677bc82, []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 (dst *Monitoring) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Monitoring.Merge(dst, 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,18 +115,38 @@ 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_monitoring_96ebaeded677bc82, []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 (dst *Monitoring_MonitoringDestination) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Monitoring_MonitoringDestination.Merge(dst, 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 {
|
||||
@ -119,9 +167,11 @@ 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_monitoring_96ebaeded677bc82)
|
||||
}
|
||||
|
||||
var fileDescriptor10 = []byte{
|
||||
var fileDescriptor_monitoring_96ebaeded677bc82 = []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,
|
||||
|
132
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go
generated
vendored
132
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/quota.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -13,6 +13,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
|
||||
|
||||
// Quota configuration helps to achieve fairness and budgeting in service
|
||||
// usage.
|
||||
//
|
||||
@ -66,18 +72,40 @@ 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_quota_8acf07194df27b7e, []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 (dst *Quota) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Quota.Merge(dst, 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 +130,42 @@ 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_quota_8acf07194df27b7e, []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 (dst *MetricRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricRule.Merge(dst, 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 +203,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 +218,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 +228,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 +237,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 +282,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 +315,40 @@ 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_quota_8acf07194df27b7e, []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 (dst *QuotaLimit) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaLimit.Merge(dst, 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 +423,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_quota_8acf07194df27b7e) }
|
||||
|
||||
var fileDescriptor11 = []byte{
|
||||
var fileDescriptor_quota_8acf07194df27b7e = []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,
|
||||
|
235
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go
generated
vendored
235
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go
generated
vendored
@ -1,27 +1,29 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/service.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/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 wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
import annotations "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import metric "google.golang.org/genproto/googleapis/api/metric"
|
||||
import monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
import api "google.golang.org/genproto/protobuf/api"
|
||||
import ptype "google.golang.org/genproto/protobuf/ptype"
|
||||
|
||||
// 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 +52,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 +78,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 +86,74 @@ 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_service_e641d3f3e04723a1, []int{0}
|
||||
}
|
||||
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 (dst *Service) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Service.Merge(dst, src)
|
||||
}
|
||||
func (m *Service) XXX_Size() int {
|
||||
return xxx_messageInfo_Service.Size(m)
|
||||
}
|
||||
func (m *Service) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Service.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *Service) GetConfigVersion() *google_protobuf5.UInt32Value {
|
||||
var xxx_messageInfo_Service proto.InternalMessageInfo
|
||||
|
||||
func (m *Service) GetConfigVersion() *wrappers.UInt32Value {
|
||||
if m != nil {
|
||||
return m.ConfigVersion
|
||||
}
|
||||
@ -166,21 +188,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 +223,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 +279,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 +328,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_service_e641d3f3e04723a1) }
|
||||
|
||||
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_service_e641d3f3e04723a1 = []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,
|
||||
}
|
||||
|
50
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go
generated
vendored
50
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go
generated
vendored
@ -1,30 +1,58 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/source_info.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
|
||||
import any "github.com/golang/protobuf/ptypes/any"
|
||||
|
||||
// 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_source_info_65b7b902b6df926b, []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 (dst *SourceInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourceInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_SourceInfo.Size(m)
|
||||
}
|
||||
func (m *SourceInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourceInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *SourceInfo) GetSourceFiles() []*google_protobuf1.Any {
|
||||
var xxx_messageInfo_SourceInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *SourceInfo) GetSourceFiles() []*any.Any {
|
||||
if m != nil {
|
||||
return m.SourceFiles
|
||||
}
|
||||
@ -35,9 +63,11 @@ 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_source_info_65b7b902b6df926b)
|
||||
}
|
||||
|
||||
var fileDescriptor13 = []byte{
|
||||
var fileDescriptor_source_info_65b7b902b6df926b = []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,
|
||||
|
116
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go
generated
vendored
116
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/system_parameter.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,6 +12,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
|
||||
|
||||
// ### System parameter configuration
|
||||
//
|
||||
// A system parameter is a special kind of parameter defined by the API
|
||||
@ -48,13 +54,35 @@ 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_system_parameter_260dda33a71a8c82, []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 (dst *SystemParameters) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SystemParameters.Merge(dst, 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 +98,41 @@ 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_system_parameter_260dda33a71a8c82, []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 (dst *SystemParameterRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SystemParameterRule.Merge(dst, 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 +153,41 @@ 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_system_parameter_260dda33a71a8c82, []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 (dst *SystemParameter) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SystemParameter.Merge(dst, 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 +216,11 @@ 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_system_parameter_260dda33a71a8c82)
|
||||
}
|
||||
|
||||
var fileDescriptor14 = []byte{
|
||||
var fileDescriptor_system_parameter_260dda33a71a8c82 = []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,
|
||||
|
93
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go
generated
vendored
93
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/usage.proto
|
||||
|
||||
package serviceconfig
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -13,16 +13,22 @@ 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 +37,35 @@ 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_usage_d93cb687fa4d5498, []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 (dst *Usage) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Usage.Merge(dst, 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 +118,43 @@ 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_usage_d93cb687fa4d5498, []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 (dst *UsageRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UsageRule.Merge(dst, 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 +182,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_usage_d93cb687fa4d5498) }
|
||||
|
||||
var fileDescriptor15 = []byte{
|
||||
var fileDescriptor_usage_d93cb687fa4d5498 = []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,
|
||||
|
74
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go
generated
vendored
74
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go
generated
vendored
@ -1,35 +1,7 @@
|
||||
// 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
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -134,21 +106,45 @@ 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_check_error_1be1bde99e60d1aa, []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_check_error_1be1bde99e60d1aa, []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 (dst *CheckError) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckError.Merge(dst, 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 {
|
||||
@ -169,9 +165,11 @@ func init() {
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.CheckError_Code", CheckError_Code_name, CheckError_Code_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor_check_error_1be1bde99e60d1aa)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_check_error_1be1bde99e60d1aa = []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,
|
||||
|
210
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go
generated
vendored
210
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/distribution.proto
|
||||
|
||||
package servicecontrol
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,6 +12,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
|
||||
|
||||
// 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 +28,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 +52,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 +81,35 @@ 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_distribution_dac88fdcde0e4047, []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 (dst *Distribution) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution.Merge(dst, src)
|
||||
}
|
||||
func (m *Distribution) XXX_Size() int {
|
||||
return xxx_messageInfo_Distribution.Size(m)
|
||||
}
|
||||
func (m *Distribution) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Distribution.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type Distribution_LinearBuckets_ struct {
|
||||
LinearBuckets *Distribution_LinearBuckets `protobuf:"bytes,7,opt,name=linear_buckets,json=linearBuckets,oneof"`
|
||||
}
|
||||
type Distribution_ExponentialBuckets_ struct {
|
||||
ExponentialBuckets *Distribution_ExponentialBuckets `protobuf:"bytes,8,opt,name=exponential_buckets,json=exponentialBuckets,oneof"`
|
||||
}
|
||||
type Distribution_ExplicitBuckets_ struct {
|
||||
ExplicitBuckets *Distribution_ExplicitBuckets `protobuf:"bytes,9,opt,name=explicit_buckets,json=explicitBuckets,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
|
||||
}
|
||||
var xxx_messageInfo_Distribution proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution) GetCount() int64 {
|
||||
if m != nil {
|
||||
@ -150,6 +153,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 +276,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 +301,44 @@ 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_distribution_dac88fdcde0e4047, []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 (dst *Distribution_LinearBuckets) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_LinearBuckets.Merge(dst, 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,25 +366,45 @@ 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_distribution_dac88fdcde0e4047, []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 (dst *Distribution_ExponentialBuckets) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_ExponentialBuckets.Merge(dst, 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 {
|
||||
@ -370,13 +444,35 @@ 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_distribution_dac88fdcde0e4047, []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 (dst *Distribution_ExplicitBuckets) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Distribution_ExplicitBuckets.Merge(dst, 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 +488,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_distribution_dac88fdcde0e4047)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_distribution_dac88fdcde0e4047 = []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,
|
||||
|
135
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go
generated
vendored
135
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go
generated
vendored
@ -1,77 +1,80 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/log_entry.proto
|
||||
|
||||
package servicecontrol
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import any "github.com/golang/protobuf/ptypes/any"
|
||||
import _struct "github.com/golang/protobuf/ptypes/struct"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
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 _type "google.golang.org/genproto/googleapis/logging/type"
|
||||
|
||||
// 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_log_entry_1cf8a0cea23f865a, []int{0}
|
||||
}
|
||||
func (m *LogEntry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_LogEntry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *LogEntry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LogEntry.Merge(dst, src)
|
||||
}
|
||||
func (m *LogEntry) XXX_Size() int {
|
||||
return xxx_messageInfo_LogEntry.Size(m)
|
||||
}
|
||||
func (m *LogEntry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_LogEntry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type LogEntry_ProtoPayload struct {
|
||||
ProtoPayload *google_protobuf1.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,oneof"`
|
||||
}
|
||||
type LogEntry_TextPayload struct {
|
||||
TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,oneof"`
|
||||
}
|
||||
type LogEntry_StructPayload struct {
|
||||
StructPayload *google_protobuf2.Struct `protobuf:"bytes,6,opt,name=struct_payload,json=structPayload,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
|
||||
}
|
||||
var xxx_messageInfo_LogEntry proto.InternalMessageInfo
|
||||
|
||||
func (m *LogEntry) GetName() string {
|
||||
if m != nil {
|
||||
@ -80,18 +83,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 +111,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 +154,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 +201,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 +216,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 +231,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 +252,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_log_entry_1cf8a0cea23f865a)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_log_entry_1cf8a0cea23f865a = []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
@ -1,13 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/metric_value.proto
|
||||
|
||||
package servicecontrol
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@ -15,20 +15,26 @@ 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 +45,35 @@ 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_metric_value_8054f3e00bcbeeb9, []int{0}
|
||||
}
|
||||
func (m *MetricValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MetricValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MetricValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MetricValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MetricValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricValue.Merge(dst, src)
|
||||
}
|
||||
func (m *MetricValue) XXX_Size() int {
|
||||
return xxx_messageInfo_MetricValue.Size(m)
|
||||
}
|
||||
func (m *MetricValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MetricValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type MetricValue_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,oneof"`
|
||||
}
|
||||
type MetricValue_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,oneof"`
|
||||
}
|
||||
type MetricValue_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,oneof"`
|
||||
}
|
||||
type MetricValue_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,7,opt,name=string_value,json=stringValue,oneof"`
|
||||
}
|
||||
type MetricValue_DistributionValue struct {
|
||||
DistributionValue *Distribution `protobuf:"bytes,8,opt,name=distribution_value,json=distributionValue,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
|
||||
}
|
||||
var xxx_messageInfo_MetricValue proto.InternalMessageInfo
|
||||
|
||||
func (m *MetricValue) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
@ -87,20 +82,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 +264,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 +293,37 @@ 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_metric_value_8054f3e00bcbeeb9, []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 (dst *MetricValueSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MetricValueSet.Merge(dst, 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 +341,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_metric_value_8054f3e00bcbeeb9)
|
||||
}
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
var fileDescriptor_metric_value_8054f3e00bcbeeb9 = []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,
|
||||
|
73
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go
generated
vendored
73
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go
generated
vendored
@ -1,19 +1,25 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/operation.proto
|
||||
|
||||
package servicecontrol
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// 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
|
||||
|
||||
@ -39,7 +45,9 @@ 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_operation_b9b924901f6a3776, []int{0, 0}
|
||||
}
|
||||
|
||||
// Represents information regarding an operation.
|
||||
type Operation struct {
|
||||
@ -52,9 +60,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 +72,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 +94,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 +105,39 @@ 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_operation_b9b924901f6a3776, []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 (dst *Operation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Operation.Merge(dst, 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 +160,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
|
||||
}
|
||||
@ -174,12 +204,15 @@ func (m *Operation) GetImportance() Operation_Importance {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Operation)(nil), "google.api.servicecontrol.v1.Operation")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.Operation.LabelsEntry")
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.Operation_Importance", Operation_Importance_name, Operation_Importance_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/servicecontrol/v1/operation.proto", fileDescriptor4) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/operation.proto", fileDescriptor_operation_b9b924901f6a3776)
|
||||
}
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
var fileDescriptor_operation_b9b924901f6a3776 = []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,
|
||||
|
183
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go
generated
vendored
183
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/quota_controller.proto
|
||||
|
||||
package servicecontrol
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -18,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
|
||||
|
||||
// Supported quota modes.
|
||||
type QuotaOperation_QuotaMode int32
|
||||
|
||||
@ -56,7 +62,9 @@ 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_quota_controller_5358e5cb4c246776, []int{1, 0}
|
||||
}
|
||||
|
||||
// Error codes related to project config validations are deprecated since the
|
||||
// quota controller methods do not perform these validations. Instead services
|
||||
@ -102,7 +110,9 @@ 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_quota_controller_5358e5cb4c246776, []int{3, 0}
|
||||
}
|
||||
|
||||
// Request message for the AllocateQuota method.
|
||||
type AllocateQuotaRequest struct {
|
||||
@ -110,19 +120,41 @@ 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_quota_controller_5358e5cb4c246776, []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 (dst *AllocateQuotaRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AllocateQuotaRequest.Merge(dst, 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 +187,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 +195,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 +215,37 @@ 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_quota_controller_5358e5cb4c246776, []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 (dst *QuotaOperation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaOperation.Merge(dst, 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 +293,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 +306,37 @@ 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_quota_controller_5358e5cb4c246776, []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 (dst *AllocateQuotaResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AllocateQuotaResponse.Merge(dst, 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 +369,41 @@ 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_quota_controller_5358e5cb4c246776, []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 (dst *QuotaError) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QuotaError.Merge(dst, 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 {
|
||||
@ -331,6 +429,7 @@ 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.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")
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.QuotaOperation_QuotaMode", QuotaOperation_QuotaMode_name, QuotaOperation_QuotaMode_value)
|
||||
@ -345,8 +444,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for QuotaController service
|
||||
|
||||
// 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.
|
||||
@ -372,15 +472,14 @@ func NewQuotaControllerClient(cc *grpc.ClientConn) QuotaControllerClient {
|
||||
|
||||
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...)
|
||||
err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.QuotaController/AllocateQuota", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for QuotaController service
|
||||
|
||||
// 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.
|
||||
@ -432,10 +531,10 @@ var _QuotaController_serviceDesc = grpc.ServiceDesc{
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor5)
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor_quota_controller_5358e5cb4c246776)
|
||||
}
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
var fileDescriptor_quota_controller_5358e5cb4c246776 = []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,
|
||||
|
270
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go
generated
vendored
270
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go
generated
vendored
@ -1,13 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/service_controller.proto
|
||||
|
||||
package servicecontrol
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
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 status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
@ -19,6 +19,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 +33,43 @@ 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_service_controller_3b2da1557482bc9c, []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 (dst *CheckRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckRequest.Merge(dst, 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,45 @@ 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_service_controller_3b2da1557482bc9c, []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 (dst *CheckResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse.Merge(dst, 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 +166,35 @@ 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_service_controller_3b2da1557482bc9c, []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 (dst *CheckResponse_CheckInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse_CheckInfo.Merge(dst, 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 +207,35 @@ 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_service_controller_3b2da1557482bc9c, []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 (dst *CheckResponse_ConsumerInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse_ConsumerInfo.Merge(dst, 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 +252,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 +263,41 @@ 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_service_controller_3b2da1557482bc9c, []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 (dst *ReportRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReportRequest.Merge(dst, 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 +336,37 @@ 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_service_controller_3b2da1557482bc9c, []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 (dst *ReportResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReportResponse.Merge(dst, 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 +385,37 @@ 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_service_controller_3b2da1557482bc9c, []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 (dst *ReportResponse_ReportError) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReportResponse_ReportError.Merge(dst, 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 +424,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
|
||||
}
|
||||
@ -289,8 +449,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 +494,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 +503,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
|
||||
@ -441,10 +601,10 @@ var _ServiceController_serviceDesc = grpc.ServiceDesc{
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor6)
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor_service_controller_3b2da1557482bc9c)
|
||||
}
|
||||
|
||||
var fileDescriptor6 = []byte{
|
||||
var fileDescriptor_service_controller_3b2da1557482bc9c = []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,
|
||||
|
674
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go
generated
vendored
674
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go
generated
vendored
@ -1,58 +1,21 @@
|
||||
// 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
|
||||
package servicemanagement // import "google.golang.org/genproto/googleapis/api/servicemanagement/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
import _ "github.com/golang/protobuf/ptypes/struct"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_api2 "google.golang.org/genproto/googleapis/api/configchange"
|
||||
import configchange "google.golang.org/genproto/googleapis/api/configchange"
|
||||
import _ "google.golang.org/genproto/googleapis/api/metric"
|
||||
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 _ "google.golang.org/genproto/protobuf/field_mask"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -65,21 +28,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
|
||||
)
|
||||
|
||||
@ -103,7 +67,9 @@ 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_resources_3e116fd147dc632b, []int{1, 0}
|
||||
}
|
||||
|
||||
// The kind of diagnostic information possible.
|
||||
type Diagnostic_Kind int32
|
||||
@ -127,7 +93,9 @@ 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_resources_3e116fd147dc632b, []int{2, 0}
|
||||
}
|
||||
|
||||
type ConfigFile_FileType int32
|
||||
|
||||
@ -148,6 +116,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,6 +130,7 @@ 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,
|
||||
@ -163,12 +138,15 @@ var ConfigFile_FileType_value = map[string]int32{
|
||||
"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_resources_3e116fd147dc632b, []int{4, 0}
|
||||
}
|
||||
|
||||
// Status of a Rollout.
|
||||
type Rollout_RolloutStatus int32
|
||||
@ -183,10 +161,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,6 +177,7 @@ 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,
|
||||
@ -204,27 +186,52 @@ 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_resources_3e116fd147dc632b, []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_resources_3e116fd147dc632b, []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 (dst *ManagedService) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ManagedService.Merge(dst, 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 +251,41 @@ 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_resources_3e116fd147dc632b, []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 (dst *OperationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OperationMetadata.Merge(dst, 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 +308,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 +318,37 @@ 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_resources_3e116fd147dc632b, []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 (dst *OperationMetadata_Step) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OperationMetadata_Step.Merge(dst, 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 +367,39 @@ 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_resources_3e116fd147dc632b, []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 (dst *Diagnostic) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Diagnostic.Merge(dst, 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 +428,38 @@ 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_resources_3e116fd147dc632b, []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 (dst *ConfigSource) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigSource.Merge(dst, 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 +478,39 @@ 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_resources_3e116fd147dc632b, []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 (dst *ConfigFile) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigFile.Merge(dst, 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 +537,35 @@ 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_resources_3e116fd147dc632b, []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 (dst *ConfigRef) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfigRef.Merge(dst, 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 +584,37 @@ 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_resources_3e116fd147dc632b, []int{6}
|
||||
}
|
||||
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 (dst *ChangeReport) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ChangeReport.Merge(dst, src)
|
||||
}
|
||||
func (m *ChangeReport) XXX_Size() int {
|
||||
return xxx_messageInfo_ChangeReport.Size(m)
|
||||
}
|
||||
func (m *ChangeReport) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ChangeReport.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *ChangeReport) GetConfigChanges() []*google_api2.ConfigChange {
|
||||
var xxx_messageInfo_ChangeReport proto.InternalMessageInfo
|
||||
|
||||
func (m *ChangeReport) GetConfigChanges() []*configchange.ConfigChange {
|
||||
if m != nil {
|
||||
return m.ConfigChanges
|
||||
}
|
||||
@ -472,15 +633,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 +651,35 @@ 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_resources_3e116fd147dc632b, []int{7}
|
||||
}
|
||||
func (m *Rollout) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Rollout.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Rollout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Rollout.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Rollout) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Rollout.Merge(dst, src)
|
||||
}
|
||||
func (m *Rollout) XXX_Size() int {
|
||||
return xxx_messageInfo_Rollout.Size(m)
|
||||
}
|
||||
func (m *Rollout) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Rollout.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type Rollout_TrafficPercentStrategy_ struct {
|
||||
TrafficPercentStrategy *Rollout_TrafficPercentStrategy `protobuf:"bytes,5,opt,name=traffic_percent_strategy,json=trafficPercentStrategy,oneof"`
|
||||
}
|
||||
type Rollout_DeleteServiceStrategy_ struct {
|
||||
DeleteServiceStrategy *Rollout_DeleteServiceStrategy `protobuf:"bytes,200,opt,name=delete_service_strategy,json=deleteServiceStrategy,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
|
||||
}
|
||||
var xxx_messageInfo_Rollout proto.InternalMessageInfo
|
||||
|
||||
func (m *Rollout) GetRolloutId() string {
|
||||
if m != nil {
|
||||
@ -526,7 +688,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 +709,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 +812,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 +827,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,15 +861,35 @@ 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_resources_3e116fd147dc632b, []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 (dst *Rollout_TrafficPercentStrategy) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Rollout_TrafficPercentStrategy.Merge(dst, 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 {
|
||||
@ -695,14 +901,34 @@ 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_resources_3e116fd147dc632b, []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 (dst *Rollout_DeleteServiceStrategy) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Rollout_DeleteServiceStrategy.Merge(dst, 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.RegisterType((*ManagedService)(nil), "google.api.servicemanagement.v1.ManagedService")
|
||||
@ -715,6 +941,7 @@ 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)
|
||||
@ -722,81 +949,88 @@ func init() {
|
||||
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) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 1166 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,
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicemanagement/v1/resources.proto", fileDescriptor_resources_3e116fd147dc632b)
|
||||
}
|
||||
|
||||
var fileDescriptor_resources_3e116fd147dc632b = []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, 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,
|
||||
}
|
||||
|
1071
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go
generated
vendored
1071
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