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:
3
vendor/google.golang.org/genproto/.travis.yml
generated
vendored
3
vendor/google.golang.org/genproto/.travis.yml
generated
vendored
@ -1,8 +1,7 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.6
|
||||
- 1.7
|
||||
- 1.8
|
||||
- 1.x
|
||||
go_import_path: google.golang.org/genproto
|
||||
|
||||
script:
|
||||
|
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
52
vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go
generated
vendored
52
vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go
generated
vendored
@ -1,16 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/legacy/audit_data.proto
|
||||
|
||||
/*
|
||||
Package legacy is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/appengine/legacy/audit_data.proto
|
||||
|
||||
It has these top-level messages:
|
||||
AuditData
|
||||
*/
|
||||
package legacy
|
||||
package legacy // import "google.golang.org/genproto/googleapis/appengine/legacy"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -31,16 +22,38 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
type AuditData struct {
|
||||
// Text description of the admin event.
|
||||
// This is the "Event" column in Admin Console's Admin Logs.
|
||||
EventMessage string `protobuf:"bytes,1,opt,name=event_message,json=eventMessage" json:"event_message,omitempty"`
|
||||
EventMessage string `protobuf:"bytes,1,opt,name=event_message,json=eventMessage,proto3" json:"event_message,omitempty"`
|
||||
// Arbitrary event data.
|
||||
// This is the "Result" column in Admin Console's Admin Logs.
|
||||
EventData map[string]string `protobuf:"bytes,2,rep,name=event_data,json=eventData" json:"event_data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
EventData map[string]string `protobuf:"bytes,2,rep,name=event_data,json=eventData,proto3" json:"event_data,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 *AuditData) Reset() { *m = AuditData{} }
|
||||
func (m *AuditData) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditData) ProtoMessage() {}
|
||||
func (*AuditData) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *AuditData) Reset() { *m = AuditData{} }
|
||||
func (m *AuditData) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditData) ProtoMessage() {}
|
||||
func (*AuditData) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_data_066939fa5b0d8e90, []int{0}
|
||||
}
|
||||
func (m *AuditData) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuditData.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuditData.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AuditData) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuditData.Merge(dst, src)
|
||||
}
|
||||
func (m *AuditData) XXX_Size() int {
|
||||
return xxx_messageInfo_AuditData.Size(m)
|
||||
}
|
||||
func (m *AuditData) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuditData.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuditData proto.InternalMessageInfo
|
||||
|
||||
func (m *AuditData) GetEventMessage() string {
|
||||
if m != nil {
|
||||
@ -58,11 +71,14 @@ func (m *AuditData) GetEventData() map[string]string {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*AuditData)(nil), "google.appengine.legacy.AuditData")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.appengine.legacy.AuditData.EventDataEntry")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor_audit_data_066939fa5b0d8e90)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_audit_data_066939fa5b0d8e90 = []byte{
|
||||
// 247 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x4f, 0x4b, 0x03, 0x31,
|
||||
0x10, 0xc5, 0xc9, 0x16, 0x85, 0x1d, 0xb5, 0x48, 0x10, 0x5c, 0xf4, 0x52, 0xf4, 0xb2, 0xa7, 0x04,
|
||||
|
242
vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go
generated
vendored
242
vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go
generated
vendored
@ -1,26 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/logging/v1/request_log.proto
|
||||
|
||||
/*
|
||||
Package logging is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/appengine/logging/v1/request_log.proto
|
||||
|
||||
It has these top-level messages:
|
||||
LogLine
|
||||
SourceLocation
|
||||
SourceReference
|
||||
RequestLog
|
||||
*/
|
||||
package logging
|
||||
package logging // import "google.golang.org/genproto/googleapis/appengine/logging/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_logging_type "google.golang.org/genproto/googleapis/logging/type"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
||||
import timestamp "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
|
||||
@ -36,32 +24,54 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
// Application log line emitted while processing a request.
|
||||
type LogLine struct {
|
||||
// Approximate time when this log entry was made.
|
||||
Time *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=time" json:"time,omitempty"`
|
||||
Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
|
||||
// Severity of this log entry.
|
||||
Severity google_logging_type.LogSeverity `protobuf:"varint,2,opt,name=severity,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
|
||||
Severity _type.LogSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
|
||||
// App-provided log message.
|
||||
LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage" json:"log_message,omitempty"`
|
||||
LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"`
|
||||
// Where in the source code this log message was written.
|
||||
SourceLocation *SourceLocation `protobuf:"bytes,4,opt,name=source_location,json=sourceLocation" json:"source_location,omitempty"`
|
||||
SourceLocation *SourceLocation `protobuf:"bytes,4,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *LogLine) Reset() { *m = LogLine{} }
|
||||
func (m *LogLine) String() string { return proto.CompactTextString(m) }
|
||||
func (*LogLine) ProtoMessage() {}
|
||||
func (*LogLine) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *LogLine) Reset() { *m = LogLine{} }
|
||||
func (m *LogLine) String() string { return proto.CompactTextString(m) }
|
||||
func (*LogLine) ProtoMessage() {}
|
||||
func (*LogLine) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{0}
|
||||
}
|
||||
func (m *LogLine) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_LogLine.Unmarshal(m, b)
|
||||
}
|
||||
func (m *LogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_LogLine.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *LogLine) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LogLine.Merge(dst, src)
|
||||
}
|
||||
func (m *LogLine) XXX_Size() int {
|
||||
return xxx_messageInfo_LogLine.Size(m)
|
||||
}
|
||||
func (m *LogLine) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_LogLine.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *LogLine) GetTime() *google_protobuf2.Timestamp {
|
||||
var xxx_messageInfo_LogLine proto.InternalMessageInfo
|
||||
|
||||
func (m *LogLine) GetTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.Time
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogLine) GetSeverity() google_logging_type.LogSeverity {
|
||||
func (m *LogLine) GetSeverity() _type.LogSeverity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return google_logging_type.LogSeverity_DEFAULT
|
||||
return _type.LogSeverity_DEFAULT
|
||||
}
|
||||
|
||||
func (m *LogLine) GetLogMessage() string {
|
||||
@ -82,22 +92,44 @@ func (m *LogLine) GetSourceLocation() *SourceLocation {
|
||||
type SourceLocation struct {
|
||||
// Source file name. Depending on the runtime environment, this might be a
|
||||
// simple name or a fully-qualified name.
|
||||
File string `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
|
||||
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
|
||||
// Line within the source file.
|
||||
Line int64 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
|
||||
Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
|
||||
// Human-readable name of the function or method being invoked, with optional
|
||||
// context such as the class or package name. This information is used in
|
||||
// contexts such as the logs viewer, where a file and line number are less
|
||||
// meaningful. The format can vary by language. For example:
|
||||
// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
|
||||
// (Python).
|
||||
FunctionName string `protobuf:"bytes,3,opt,name=function_name,json=functionName" json:"function_name,omitempty"`
|
||||
FunctionName string `protobuf:"bytes,3,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
|
||||
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceLocation) ProtoMessage() {}
|
||||
func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
|
||||
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceLocation) ProtoMessage() {}
|
||||
func (*SourceLocation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{1}
|
||||
}
|
||||
func (m *SourceLocation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SourceLocation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SourceLocation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SourceLocation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourceLocation.Merge(dst, src)
|
||||
}
|
||||
func (m *SourceLocation) XXX_Size() int {
|
||||
return xxx_messageInfo_SourceLocation.Size(m)
|
||||
}
|
||||
func (m *SourceLocation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourceLocation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourceLocation proto.InternalMessageInfo
|
||||
|
||||
func (m *SourceLocation) GetFile() string {
|
||||
if m != nil {
|
||||
@ -125,16 +157,38 @@ func (m *SourceLocation) GetFunctionName() string {
|
||||
type SourceReference struct {
|
||||
// Optional. A URI string identifying the repository.
|
||||
// Example: "https://github.com/GoogleCloudPlatform/kubernetes.git"
|
||||
Repository string `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
|
||||
Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
|
||||
// The canonical and persistent identifier of the deployed revision.
|
||||
// Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b"
|
||||
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId" json:"revision_id,omitempty"`
|
||||
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SourceReference) Reset() { *m = SourceReference{} }
|
||||
func (m *SourceReference) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceReference) ProtoMessage() {}
|
||||
func (*SourceReference) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *SourceReference) Reset() { *m = SourceReference{} }
|
||||
func (m *SourceReference) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceReference) ProtoMessage() {}
|
||||
func (*SourceReference) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{2}
|
||||
}
|
||||
func (m *SourceReference) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SourceReference.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SourceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SourceReference.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SourceReference) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourceReference.Merge(dst, src)
|
||||
}
|
||||
func (m *SourceReference) XXX_Size() int {
|
||||
return xxx_messageInfo_SourceReference.Size(m)
|
||||
}
|
||||
func (m *SourceReference) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourceReference.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourceReference proto.InternalMessageInfo
|
||||
|
||||
func (m *SourceReference) GetRepository() string {
|
||||
if m != nil {
|
||||
@ -154,42 +208,42 @@ func (m *SourceReference) GetRevisionId() string {
|
||||
// application.
|
||||
type RequestLog struct {
|
||||
// Application that handled this request.
|
||||
AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId" json:"app_id,omitempty"`
|
||||
AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
|
||||
// Module of the application that handled this request.
|
||||
ModuleId string `protobuf:"bytes,37,opt,name=module_id,json=moduleId" json:"module_id,omitempty"`
|
||||
ModuleId string `protobuf:"bytes,37,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
|
||||
// Version of the application that handled this request.
|
||||
VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
|
||||
VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
|
||||
// Globally unique identifier for a request, which is based on the request
|
||||
// start time. Request IDs for requests which started later will compare
|
||||
// greater as strings than those for requests which started earlier.
|
||||
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
|
||||
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||||
// Origin IP address.
|
||||
Ip string `protobuf:"bytes,4,opt,name=ip" json:"ip,omitempty"`
|
||||
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
|
||||
// Time when the request started.
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
// Time when the request finished.
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
||||
// Latency of the request.
|
||||
Latency *google_protobuf1.Duration `protobuf:"bytes,8,opt,name=latency" json:"latency,omitempty"`
|
||||
Latency *duration.Duration `protobuf:"bytes,8,opt,name=latency,proto3" json:"latency,omitempty"`
|
||||
// Number of CPU megacycles used to process request.
|
||||
MegaCycles int64 `protobuf:"varint,9,opt,name=mega_cycles,json=megaCycles" json:"mega_cycles,omitempty"`
|
||||
MegaCycles int64 `protobuf:"varint,9,opt,name=mega_cycles,json=megaCycles,proto3" json:"mega_cycles,omitempty"`
|
||||
// Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`.
|
||||
Method string `protobuf:"bytes,10,opt,name=method" json:"method,omitempty"`
|
||||
Method string `protobuf:"bytes,10,opt,name=method,proto3" json:"method,omitempty"`
|
||||
// Contains the path and query portion of the URL that was requested. For
|
||||
// example, if the URL was "http://example.com/app?name=val", the resource
|
||||
// would be "/app?name=val". The fragment identifier, which is identified by
|
||||
// the `#` character, is not included.
|
||||
Resource string `protobuf:"bytes,11,opt,name=resource" json:"resource,omitempty"`
|
||||
Resource string `protobuf:"bytes,11,opt,name=resource,proto3" json:"resource,omitempty"`
|
||||
// HTTP version of request. Example: `"HTTP/1.1"`.
|
||||
HttpVersion string `protobuf:"bytes,12,opt,name=http_version,json=httpVersion" json:"http_version,omitempty"`
|
||||
HttpVersion string `protobuf:"bytes,12,opt,name=http_version,json=httpVersion,proto3" json:"http_version,omitempty"`
|
||||
// HTTP response status code. Example: 200, 404.
|
||||
Status int32 `protobuf:"varint,13,opt,name=status" json:"status,omitempty"`
|
||||
Status int32 `protobuf:"varint,13,opt,name=status,proto3" json:"status,omitempty"`
|
||||
// Size in bytes sent back to client by request.
|
||||
ResponseSize int64 `protobuf:"varint,14,opt,name=response_size,json=responseSize" json:"response_size,omitempty"`
|
||||
ResponseSize int64 `protobuf:"varint,14,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"`
|
||||
// Referrer URL of request.
|
||||
Referrer string `protobuf:"bytes,15,opt,name=referrer" json:"referrer,omitempty"`
|
||||
Referrer string `protobuf:"bytes,15,opt,name=referrer,proto3" json:"referrer,omitempty"`
|
||||
// User agent that made the request.
|
||||
UserAgent string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
|
||||
UserAgent string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
|
||||
// The logged-in user who made the request.
|
||||
//
|
||||
// Most likely, this is the part of the user's email before the `@` sign. The
|
||||
@ -198,49 +252,71 @@ type RequestLog struct {
|
||||
// available to the application via the App Engine Users API.
|
||||
//
|
||||
// This field will be populated starting with App Engine 1.9.21.
|
||||
Nickname string `protobuf:"bytes,40,opt,name=nickname" json:"nickname,omitempty"`
|
||||
Nickname string `protobuf:"bytes,40,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
||||
// File or class that handled the request.
|
||||
UrlMapEntry string `protobuf:"bytes,17,opt,name=url_map_entry,json=urlMapEntry" json:"url_map_entry,omitempty"`
|
||||
UrlMapEntry string `protobuf:"bytes,17,opt,name=url_map_entry,json=urlMapEntry,proto3" json:"url_map_entry,omitempty"`
|
||||
// Internet host and port number of the resource being requested.
|
||||
Host string `protobuf:"bytes,20,opt,name=host" json:"host,omitempty"`
|
||||
Host string `protobuf:"bytes,20,opt,name=host,proto3" json:"host,omitempty"`
|
||||
// An indication of the relative cost of serving this request.
|
||||
Cost float64 `protobuf:"fixed64,21,opt,name=cost" json:"cost,omitempty"`
|
||||
Cost float64 `protobuf:"fixed64,21,opt,name=cost,proto3" json:"cost,omitempty"`
|
||||
// Queue name of the request, in the case of an offline request.
|
||||
TaskQueueName string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName" json:"task_queue_name,omitempty"`
|
||||
TaskQueueName string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName,proto3" json:"task_queue_name,omitempty"`
|
||||
// Task name of the request, in the case of an offline request.
|
||||
TaskName string `protobuf:"bytes,23,opt,name=task_name,json=taskName" json:"task_name,omitempty"`
|
||||
TaskName string `protobuf:"bytes,23,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"`
|
||||
// Whether this was a loading request for the instance.
|
||||
WasLoadingRequest bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest" json:"was_loading_request,omitempty"`
|
||||
WasLoadingRequest bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest,proto3" json:"was_loading_request,omitempty"`
|
||||
// Time this request spent in the pending request queue.
|
||||
PendingTime *google_protobuf1.Duration `protobuf:"bytes,25,opt,name=pending_time,json=pendingTime" json:"pending_time,omitempty"`
|
||||
PendingTime *duration.Duration `protobuf:"bytes,25,opt,name=pending_time,json=pendingTime,proto3" json:"pending_time,omitempty"`
|
||||
// If the instance processing this request belongs to a manually scaled
|
||||
// module, then this is the 0-based index of the instance. Otherwise, this
|
||||
// value is -1.
|
||||
InstanceIndex int32 `protobuf:"varint,26,opt,name=instance_index,json=instanceIndex" json:"instance_index,omitempty"`
|
||||
InstanceIndex int32 `protobuf:"varint,26,opt,name=instance_index,json=instanceIndex,proto3" json:"instance_index,omitempty"`
|
||||
// Whether this request is finished or active.
|
||||
Finished bool `protobuf:"varint,27,opt,name=finished" json:"finished,omitempty"`
|
||||
Finished bool `protobuf:"varint,27,opt,name=finished,proto3" json:"finished,omitempty"`
|
||||
// Whether this is the first `RequestLog` entry for this request. If an
|
||||
// active request has several `RequestLog` entries written to Stackdriver
|
||||
// Logging, then this field will be set for one of them.
|
||||
First bool `protobuf:"varint,42,opt,name=first" json:"first,omitempty"`
|
||||
First bool `protobuf:"varint,42,opt,name=first,proto3" json:"first,omitempty"`
|
||||
// An identifier for the instance that handled the request.
|
||||
InstanceId string `protobuf:"bytes,28,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
|
||||
InstanceId string `protobuf:"bytes,28,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
||||
// A list of log lines emitted by the application while serving this request.
|
||||
Line []*LogLine `protobuf:"bytes,29,rep,name=line" json:"line,omitempty"`
|
||||
Line []*LogLine `protobuf:"bytes,29,rep,name=line,proto3" json:"line,omitempty"`
|
||||
// App Engine release version.
|
||||
AppEngineRelease string `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
|
||||
AppEngineRelease string `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"`
|
||||
// Stackdriver Trace identifier for this request.
|
||||
TraceId string `protobuf:"bytes,39,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
|
||||
TraceId string `protobuf:"bytes,39,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
|
||||
// Source code for the application that handled this request. There can be
|
||||
// more than one source reference per deployed application if source code is
|
||||
// distributed among multiple repositories.
|
||||
SourceReference []*SourceReference `protobuf:"bytes,41,rep,name=source_reference,json=sourceReference" json:"source_reference,omitempty"`
|
||||
SourceReference []*SourceReference `protobuf:"bytes,41,rep,name=source_reference,json=sourceReference,proto3" json:"source_reference,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *RequestLog) Reset() { *m = RequestLog{} }
|
||||
func (m *RequestLog) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestLog) ProtoMessage() {}
|
||||
func (*RequestLog) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *RequestLog) Reset() { *m = RequestLog{} }
|
||||
func (m *RequestLog) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestLog) ProtoMessage() {}
|
||||
func (*RequestLog) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{3}
|
||||
}
|
||||
func (m *RequestLog) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RequestLog.Unmarshal(m, b)
|
||||
}
|
||||
func (m *RequestLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_RequestLog.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *RequestLog) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_RequestLog.Merge(dst, src)
|
||||
}
|
||||
func (m *RequestLog) XXX_Size() int {
|
||||
return xxx_messageInfo_RequestLog.Size(m)
|
||||
}
|
||||
func (m *RequestLog) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_RequestLog.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_RequestLog proto.InternalMessageInfo
|
||||
|
||||
func (m *RequestLog) GetAppId() string {
|
||||
if m != nil {
|
||||
@ -277,21 +353,21 @@ func (m *RequestLog) GetIp() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetStartTime() *google_protobuf2.Timestamp {
|
||||
func (m *RequestLog) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetEndTime() *google_protobuf2.Timestamp {
|
||||
func (m *RequestLog) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetLatency() *google_protobuf1.Duration {
|
||||
func (m *RequestLog) GetLatency() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.Latency
|
||||
}
|
||||
@ -403,7 +479,7 @@ func (m *RequestLog) GetWasLoadingRequest() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetPendingTime() *google_protobuf1.Duration {
|
||||
func (m *RequestLog) GetPendingTime() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.PendingTime
|
||||
}
|
||||
@ -473,9 +549,11 @@ func init() {
|
||||
proto.RegisterType((*RequestLog)(nil), "google.appengine.logging.v1.RequestLog")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor_request_log_c4e4bcec179d2e52)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_request_log_c4e4bcec179d2e52 = []byte{
|
||||
// 921 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x7f, 0x6f, 0x1c, 0x35,
|
||||
0x10, 0xd5, 0xe6, 0xe7, 0x9d, 0x2f, 0xb9, 0xa4, 0xa6, 0x2d, 0x4e, 0x42, 0x9b, 0x23, 0xd0, 0x70,
|
||||
|
436
vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go
generated
vendored
436
vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go
generated
vendored
@ -1,80 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/app_yaml.proto
|
||||
|
||||
/*
|
||||
Package appengine is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/appengine/v1/app_yaml.proto
|
||||
google/appengine/v1/appengine.proto
|
||||
google/appengine/v1/application.proto
|
||||
google/appengine/v1/audit_data.proto
|
||||
google/appengine/v1/deploy.proto
|
||||
google/appengine/v1/instance.proto
|
||||
google/appengine/v1/location.proto
|
||||
google/appengine/v1/operation.proto
|
||||
google/appengine/v1/service.proto
|
||||
google/appengine/v1/version.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ApiConfigHandler
|
||||
ErrorHandler
|
||||
UrlMap
|
||||
StaticFilesHandler
|
||||
ScriptHandler
|
||||
ApiEndpointHandler
|
||||
HealthCheck
|
||||
Library
|
||||
GetApplicationRequest
|
||||
RepairApplicationRequest
|
||||
ListServicesRequest
|
||||
ListServicesResponse
|
||||
GetServiceRequest
|
||||
UpdateServiceRequest
|
||||
DeleteServiceRequest
|
||||
ListVersionsRequest
|
||||
ListVersionsResponse
|
||||
GetVersionRequest
|
||||
CreateVersionRequest
|
||||
UpdateVersionRequest
|
||||
DeleteVersionRequest
|
||||
ListInstancesRequest
|
||||
ListInstancesResponse
|
||||
GetInstanceRequest
|
||||
DeleteInstanceRequest
|
||||
DebugInstanceRequest
|
||||
Application
|
||||
UrlDispatchRule
|
||||
AuditData
|
||||
UpdateServiceMethod
|
||||
CreateVersionMethod
|
||||
Deployment
|
||||
FileInfo
|
||||
ContainerInfo
|
||||
ZipInfo
|
||||
Instance
|
||||
LocationMetadata
|
||||
OperationMetadataV1
|
||||
Service
|
||||
TrafficSplit
|
||||
Version
|
||||
AutomaticScaling
|
||||
BasicScaling
|
||||
ManualScaling
|
||||
CpuUtilization
|
||||
RequestUtilization
|
||||
DiskUtilization
|
||||
NetworkUtilization
|
||||
Network
|
||||
Resources
|
||||
*/
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -115,7 +48,9 @@ var AuthFailAction_value = map[string]int32{
|
||||
func (x AuthFailAction) String() string {
|
||||
return proto.EnumName(AuthFailAction_name, int32(x))
|
||||
}
|
||||
func (AuthFailAction) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (AuthFailAction) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{0}
|
||||
}
|
||||
|
||||
// Methods to restrict access to a URL based on login status.
|
||||
type LoginRequirement int32
|
||||
@ -152,7 +87,9 @@ var LoginRequirement_value = map[string]int32{
|
||||
func (x LoginRequirement) String() string {
|
||||
return proto.EnumName(LoginRequirement_name, int32(x))
|
||||
}
|
||||
func (LoginRequirement) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (LoginRequirement) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1}
|
||||
}
|
||||
|
||||
// Methods to enforce security (HTTPS) on a URL.
|
||||
type SecurityLevel int32
|
||||
@ -195,7 +132,9 @@ var SecurityLevel_value = map[string]int32{
|
||||
func (x SecurityLevel) String() string {
|
||||
return proto.EnumName(SecurityLevel_name, int32(x))
|
||||
}
|
||||
func (SecurityLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (SecurityLevel) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2}
|
||||
}
|
||||
|
||||
// Error codes.
|
||||
type ErrorHandler_ErrorCode int32
|
||||
@ -232,7 +171,9 @@ var ErrorHandler_ErrorCode_value = map[string]int32{
|
||||
func (x ErrorHandler_ErrorCode) String() string {
|
||||
return proto.EnumName(ErrorHandler_ErrorCode_name, int32(x))
|
||||
}
|
||||
func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1, 0}
|
||||
}
|
||||
|
||||
// Redirect codes.
|
||||
type UrlMap_RedirectHttpResponseCode int32
|
||||
@ -269,7 +210,7 @@ func (x UrlMap_RedirectHttpResponseCode) String() string {
|
||||
return proto.EnumName(UrlMap_RedirectHttpResponseCode_name, int32(x))
|
||||
}
|
||||
func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{2, 0}
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2, 0}
|
||||
}
|
||||
|
||||
// [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/)
|
||||
@ -277,22 +218,44 @@ func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) {
|
||||
type ApiConfigHandler struct {
|
||||
// Action to take when users access resources that require
|
||||
// authentication. Defaults to `redirect`.
|
||||
AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
|
||||
AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
|
||||
// Level of login required to access this resource. Defaults to
|
||||
// `optional`.
|
||||
Login LoginRequirement `protobuf:"varint,2,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
|
||||
Login LoginRequirement `protobuf:"varint,2,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
|
||||
// Path to the script from the application root directory.
|
||||
Script string `protobuf:"bytes,3,opt,name=script" json:"script,omitempty"`
|
||||
Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
|
||||
// Security (HTTPS) enforcement for this URL.
|
||||
SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
|
||||
SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
|
||||
// URL to serve the endpoint at.
|
||||
Url string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
|
||||
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ApiConfigHandler) Reset() { *m = ApiConfigHandler{} }
|
||||
func (m *ApiConfigHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApiConfigHandler) ProtoMessage() {}
|
||||
func (*ApiConfigHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *ApiConfigHandler) Reset() { *m = ApiConfigHandler{} }
|
||||
func (m *ApiConfigHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApiConfigHandler) ProtoMessage() {}
|
||||
func (*ApiConfigHandler) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{0}
|
||||
}
|
||||
func (m *ApiConfigHandler) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ApiConfigHandler.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ApiConfigHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ApiConfigHandler.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ApiConfigHandler) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ApiConfigHandler.Merge(dst, src)
|
||||
}
|
||||
func (m *ApiConfigHandler) XXX_Size() int {
|
||||
return xxx_messageInfo_ApiConfigHandler.Size(m)
|
||||
}
|
||||
func (m *ApiConfigHandler) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ApiConfigHandler.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ApiConfigHandler proto.InternalMessageInfo
|
||||
|
||||
func (m *ApiConfigHandler) GetAuthFailAction() AuthFailAction {
|
||||
if m != nil {
|
||||
@ -332,17 +295,39 @@ func (m *ApiConfigHandler) GetUrl() string {
|
||||
// Custom static error page to be served when an error occurs.
|
||||
type ErrorHandler struct {
|
||||
// Error condition this handler applies to.
|
||||
ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"`
|
||||
ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"`
|
||||
// Static file content to be served for this error.
|
||||
StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile" json:"static_file,omitempty"`
|
||||
StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile,proto3" json:"static_file,omitempty"`
|
||||
// MIME type of file. Defaults to `text/html`.
|
||||
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
|
||||
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ErrorHandler) Reset() { *m = ErrorHandler{} }
|
||||
func (m *ErrorHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorHandler) ProtoMessage() {}
|
||||
func (*ErrorHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *ErrorHandler) Reset() { *m = ErrorHandler{} }
|
||||
func (m *ErrorHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorHandler) ProtoMessage() {}
|
||||
func (*ErrorHandler) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1}
|
||||
}
|
||||
func (m *ErrorHandler) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ErrorHandler.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ErrorHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ErrorHandler.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ErrorHandler) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ErrorHandler.Merge(dst, src)
|
||||
}
|
||||
func (m *ErrorHandler) XXX_Size() int {
|
||||
return xxx_messageInfo_ErrorHandler.Size(m)
|
||||
}
|
||||
func (m *ErrorHandler) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ErrorHandler.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ErrorHandler proto.InternalMessageInfo
|
||||
|
||||
func (m *ErrorHandler) GetErrorCode() ErrorHandler_ErrorCode {
|
||||
if m != nil {
|
||||
@ -373,7 +358,7 @@ type UrlMap struct {
|
||||
// special characters must be escaped, but should not contain groupings.
|
||||
// All URLs that begin with this prefix are handled by this handler, using the
|
||||
// portion of the URL after the prefix as part of the file path.
|
||||
UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex" json:"url_regex,omitempty"`
|
||||
UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex,proto3" json:"url_regex,omitempty"`
|
||||
// Type of handler for this URL pattern.
|
||||
//
|
||||
// Types that are valid to be assigned to HandlerType:
|
||||
@ -382,38 +367,71 @@ type UrlMap struct {
|
||||
// *UrlMap_ApiEndpoint
|
||||
HandlerType isUrlMap_HandlerType `protobuf_oneof:"handler_type"`
|
||||
// Security (HTTPS) enforcement for this URL.
|
||||
SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
|
||||
SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
|
||||
// Level of login required to access this resource.
|
||||
Login LoginRequirement `protobuf:"varint,6,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
|
||||
Login LoginRequirement `protobuf:"varint,6,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
|
||||
// Action to take when users access resources that require
|
||||
// authentication. Defaults to `redirect`.
|
||||
AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
|
||||
AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
|
||||
// `30x` code to use when performing redirects for the `secure` field.
|
||||
// Defaults to `302`.
|
||||
RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"`
|
||||
RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,proto3,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UrlMap) Reset() { *m = UrlMap{} }
|
||||
func (m *UrlMap) String() string { return proto.CompactTextString(m) }
|
||||
func (*UrlMap) ProtoMessage() {}
|
||||
func (*UrlMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *UrlMap) Reset() { *m = UrlMap{} }
|
||||
func (m *UrlMap) String() string { return proto.CompactTextString(m) }
|
||||
func (*UrlMap) ProtoMessage() {}
|
||||
func (*UrlMap) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2}
|
||||
}
|
||||
func (m *UrlMap) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UrlMap.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UrlMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UrlMap.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UrlMap) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UrlMap.Merge(dst, src)
|
||||
}
|
||||
func (m *UrlMap) XXX_Size() int {
|
||||
return xxx_messageInfo_UrlMap.Size(m)
|
||||
}
|
||||
func (m *UrlMap) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UrlMap.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UrlMap proto.InternalMessageInfo
|
||||
|
||||
func (m *UrlMap) GetUrlRegex() string {
|
||||
if m != nil {
|
||||
return m.UrlRegex
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isUrlMap_HandlerType interface {
|
||||
isUrlMap_HandlerType()
|
||||
}
|
||||
|
||||
type UrlMap_StaticFiles struct {
|
||||
StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,oneof"`
|
||||
StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,proto3,oneof"`
|
||||
}
|
||||
|
||||
type UrlMap_Script struct {
|
||||
Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,oneof"`
|
||||
Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,proto3,oneof"`
|
||||
}
|
||||
|
||||
type UrlMap_ApiEndpoint struct {
|
||||
ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,oneof"`
|
||||
ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*UrlMap_StaticFiles) isUrlMap_HandlerType() {}
|
||||
func (*UrlMap_Script) isUrlMap_HandlerType() {}
|
||||
|
||||
func (*UrlMap_Script) isUrlMap_HandlerType() {}
|
||||
|
||||
func (*UrlMap_ApiEndpoint) isUrlMap_HandlerType() {}
|
||||
|
||||
func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType {
|
||||
@ -423,13 +441,6 @@ func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetUrlRegex() string {
|
||||
if m != nil {
|
||||
return m.UrlRegex
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetStaticFiles() *StaticFilesHandler {
|
||||
if x, ok := m.GetHandlerType().(*UrlMap_StaticFiles); ok {
|
||||
return x.StaticFiles
|
||||
@ -552,17 +563,17 @@ func _UrlMap_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.HandlerType.(type) {
|
||||
case *UrlMap_StaticFiles:
|
||||
s := proto.Size(x.StaticFiles)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *UrlMap_Script:
|
||||
s := proto.Size(x.Script)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *UrlMap_ApiEndpoint:
|
||||
s := proto.Size(x.ApiEndpoint)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -580,35 +591,57 @@ type StaticFilesHandler struct {
|
||||
// Path to the static files matched by the URL pattern, from the
|
||||
// application root directory. The path can refer to text matched in groupings
|
||||
// in the URL pattern.
|
||||
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
|
||||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||
// Regular expression that matches the file paths for all files that should be
|
||||
// referenced by this handler.
|
||||
UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex" json:"upload_path_regex,omitempty"`
|
||||
UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex,proto3" json:"upload_path_regex,omitempty"`
|
||||
// HTTP headers to use for all responses from these URLs.
|
||||
HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// MIME type used to serve all files served by this handler.
|
||||
//
|
||||
// Defaults to file-specific MIME types, which are derived from each file's
|
||||
// filename extension.
|
||||
MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
|
||||
MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
|
||||
// Time a static file served by this handler should be cached
|
||||
// by web proxies and browsers.
|
||||
Expiration *google_protobuf1.Duration `protobuf:"bytes,5,opt,name=expiration" json:"expiration,omitempty"`
|
||||
Expiration *duration.Duration `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
||||
// Whether this handler should match the request if the file
|
||||
// referenced by the handler does not exist.
|
||||
RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile" json:"require_matching_file,omitempty"`
|
||||
RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile,proto3" json:"require_matching_file,omitempty"`
|
||||
// Whether files should also be uploaded as code data. By default, files
|
||||
// declared in static file handlers are uploaded as static
|
||||
// data and are only served to end users; they cannot be read by the
|
||||
// application. If enabled, uploads are charged against both your code and
|
||||
// static data storage resource quotas.
|
||||
ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable" json:"application_readable,omitempty"`
|
||||
ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable,proto3" json:"application_readable,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) Reset() { *m = StaticFilesHandler{} }
|
||||
func (m *StaticFilesHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*StaticFilesHandler) ProtoMessage() {}
|
||||
func (*StaticFilesHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *StaticFilesHandler) Reset() { *m = StaticFilesHandler{} }
|
||||
func (m *StaticFilesHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*StaticFilesHandler) ProtoMessage() {}
|
||||
func (*StaticFilesHandler) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{3}
|
||||
}
|
||||
func (m *StaticFilesHandler) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_StaticFilesHandler.Unmarshal(m, b)
|
||||
}
|
||||
func (m *StaticFilesHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_StaticFilesHandler.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *StaticFilesHandler) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StaticFilesHandler.Merge(dst, src)
|
||||
}
|
||||
func (m *StaticFilesHandler) XXX_Size() int {
|
||||
return xxx_messageInfo_StaticFilesHandler.Size(m)
|
||||
}
|
||||
func (m *StaticFilesHandler) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_StaticFilesHandler.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_StaticFilesHandler proto.InternalMessageInfo
|
||||
|
||||
func (m *StaticFilesHandler) GetPath() string {
|
||||
if m != nil {
|
||||
@ -638,7 +671,7 @@ func (m *StaticFilesHandler) GetMimeType() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) GetExpiration() *google_protobuf1.Duration {
|
||||
func (m *StaticFilesHandler) GetExpiration() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.Expiration
|
||||
}
|
||||
@ -662,13 +695,35 @@ func (m *StaticFilesHandler) GetApplicationReadable() bool {
|
||||
// Executes a script to handle the request that matches the URL pattern.
|
||||
type ScriptHandler struct {
|
||||
// Path to the script from the application root directory.
|
||||
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
|
||||
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ScriptHandler) Reset() { *m = ScriptHandler{} }
|
||||
func (m *ScriptHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ScriptHandler) ProtoMessage() {}
|
||||
func (*ScriptHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *ScriptHandler) Reset() { *m = ScriptHandler{} }
|
||||
func (m *ScriptHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ScriptHandler) ProtoMessage() {}
|
||||
func (*ScriptHandler) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{4}
|
||||
}
|
||||
func (m *ScriptHandler) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ScriptHandler.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ScriptHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ScriptHandler.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ScriptHandler) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ScriptHandler.Merge(dst, src)
|
||||
}
|
||||
func (m *ScriptHandler) XXX_Size() int {
|
||||
return xxx_messageInfo_ScriptHandler.Size(m)
|
||||
}
|
||||
func (m *ScriptHandler) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ScriptHandler.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ScriptHandler proto.InternalMessageInfo
|
||||
|
||||
func (m *ScriptHandler) GetScriptPath() string {
|
||||
if m != nil {
|
||||
@ -680,13 +735,35 @@ func (m *ScriptHandler) GetScriptPath() string {
|
||||
// Uses Google Cloud Endpoints to handle requests.
|
||||
type ApiEndpointHandler struct {
|
||||
// Path to the script from the application root directory.
|
||||
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
|
||||
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ApiEndpointHandler) Reset() { *m = ApiEndpointHandler{} }
|
||||
func (m *ApiEndpointHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApiEndpointHandler) ProtoMessage() {}
|
||||
func (*ApiEndpointHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *ApiEndpointHandler) Reset() { *m = ApiEndpointHandler{} }
|
||||
func (m *ApiEndpointHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApiEndpointHandler) ProtoMessage() {}
|
||||
func (*ApiEndpointHandler) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{5}
|
||||
}
|
||||
func (m *ApiEndpointHandler) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ApiEndpointHandler.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ApiEndpointHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ApiEndpointHandler.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ApiEndpointHandler) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ApiEndpointHandler.Merge(dst, src)
|
||||
}
|
||||
func (m *ApiEndpointHandler) XXX_Size() int {
|
||||
return xxx_messageInfo_ApiEndpointHandler.Size(m)
|
||||
}
|
||||
func (m *ApiEndpointHandler) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ApiEndpointHandler.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ApiEndpointHandler proto.InternalMessageInfo
|
||||
|
||||
func (m *ApiEndpointHandler) GetScriptPath() string {
|
||||
if m != nil {
|
||||
@ -700,29 +777,51 @@ func (m *ApiEndpointHandler) GetScriptPath() string {
|
||||
// instances in App Engine flexible environment.
|
||||
type HealthCheck struct {
|
||||
// Whether to explicitly disable health checks for this instance.
|
||||
DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck" json:"disable_health_check,omitempty"`
|
||||
DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck,proto3" json:"disable_health_check,omitempty"`
|
||||
// Host header to send when performing an HTTP health check.
|
||||
// Example: "myapp.appspot.com"
|
||||
Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
|
||||
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
|
||||
// Number of consecutive successful health checks required before receiving
|
||||
// traffic.
|
||||
HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold" json:"healthy_threshold,omitempty"`
|
||||
HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"`
|
||||
// Number of consecutive failed health checks required before removing
|
||||
// traffic.
|
||||
UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold" json:"unhealthy_threshold,omitempty"`
|
||||
UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"`
|
||||
// Number of consecutive failed health checks required before an instance is
|
||||
// restarted.
|
||||
RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold" json:"restart_threshold,omitempty"`
|
||||
RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold,proto3" json:"restart_threshold,omitempty"`
|
||||
// Interval between health checks.
|
||||
CheckInterval *google_protobuf1.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval" json:"check_interval,omitempty"`
|
||||
CheckInterval *duration.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"`
|
||||
// Time before the health check is considered failed.
|
||||
Timeout *google_protobuf1.Duration `protobuf:"bytes,7,opt,name=timeout" json:"timeout,omitempty"`
|
||||
Timeout *duration.Duration `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *HealthCheck) Reset() { *m = HealthCheck{} }
|
||||
func (m *HealthCheck) String() string { return proto.CompactTextString(m) }
|
||||
func (*HealthCheck) ProtoMessage() {}
|
||||
func (*HealthCheck) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *HealthCheck) Reset() { *m = HealthCheck{} }
|
||||
func (m *HealthCheck) String() string { return proto.CompactTextString(m) }
|
||||
func (*HealthCheck) ProtoMessage() {}
|
||||
func (*HealthCheck) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{6}
|
||||
}
|
||||
func (m *HealthCheck) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_HealthCheck.Unmarshal(m, b)
|
||||
}
|
||||
func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_HealthCheck.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *HealthCheck) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_HealthCheck.Merge(dst, src)
|
||||
}
|
||||
func (m *HealthCheck) XXX_Size() int {
|
||||
return xxx_messageInfo_HealthCheck.Size(m)
|
||||
}
|
||||
func (m *HealthCheck) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_HealthCheck.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_HealthCheck proto.InternalMessageInfo
|
||||
|
||||
func (m *HealthCheck) GetDisableHealthCheck() bool {
|
||||
if m != nil {
|
||||
@ -759,14 +858,14 @@ func (m *HealthCheck) GetRestartThreshold() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetCheckInterval() *google_protobuf1.Duration {
|
||||
func (m *HealthCheck) GetCheckInterval() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.CheckInterval
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetTimeout() *google_protobuf1.Duration {
|
||||
func (m *HealthCheck) GetTimeout() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.Timeout
|
||||
}
|
||||
@ -776,15 +875,37 @@ func (m *HealthCheck) GetTimeout() *google_protobuf1.Duration {
|
||||
// Third-party Python runtime library that is required by the application.
|
||||
type Library struct {
|
||||
// Name of the library. Example: "django".
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Version of the library to select, or "latest".
|
||||
Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
|
||||
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Library) Reset() { *m = Library{} }
|
||||
func (m *Library) String() string { return proto.CompactTextString(m) }
|
||||
func (*Library) ProtoMessage() {}
|
||||
func (*Library) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *Library) Reset() { *m = Library{} }
|
||||
func (m *Library) String() string { return proto.CompactTextString(m) }
|
||||
func (*Library) ProtoMessage() {}
|
||||
func (*Library) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{7}
|
||||
}
|
||||
func (m *Library) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Library.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Library) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Library.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Library) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Library.Merge(dst, src)
|
||||
}
|
||||
func (m *Library) XXX_Size() int {
|
||||
return xxx_messageInfo_Library.Size(m)
|
||||
}
|
||||
func (m *Library) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Library.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Library proto.InternalMessageInfo
|
||||
|
||||
func (m *Library) GetName() string {
|
||||
if m != nil {
|
||||
@ -805,6 +926,7 @@ func init() {
|
||||
proto.RegisterType((*ErrorHandler)(nil), "google.appengine.v1.ErrorHandler")
|
||||
proto.RegisterType((*UrlMap)(nil), "google.appengine.v1.UrlMap")
|
||||
proto.RegisterType((*StaticFilesHandler)(nil), "google.appengine.v1.StaticFilesHandler")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.StaticFilesHandler.HttpHeadersEntry")
|
||||
proto.RegisterType((*ScriptHandler)(nil), "google.appengine.v1.ScriptHandler")
|
||||
proto.RegisterType((*ApiEndpointHandler)(nil), "google.appengine.v1.ApiEndpointHandler")
|
||||
proto.RegisterType((*HealthCheck)(nil), "google.appengine.v1.HealthCheck")
|
||||
@ -816,9 +938,11 @@ func init() {
|
||||
proto.RegisterEnum("google.appengine.v1.UrlMap_RedirectHttpResponseCode", UrlMap_RedirectHttpResponseCode_name, UrlMap_RedirectHttpResponseCode_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor_app_yaml_07fe113144fe6ee6)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_app_yaml_07fe113144fe6ee6 = []byte{
|
||||
// 1232 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0x13, 0x47,
|
||||
0x14, 0xc6, 0x76, 0x7e, 0x8f, 0x1d, 0xb3, 0x99, 0x00, 0x75, 0x02, 0x94, 0xd4, 0xa8, 0x02, 0x25,
|
||||
|
765
vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go
generated
vendored
765
vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
102
vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go
generated
vendored
102
vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go
generated
vendored
@ -1,19 +1,25 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/application.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
|
||||
// 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 Application resource contains the top-level configuration of an App
|
||||
// Engine application.
|
||||
type Application struct {
|
||||
@ -21,22 +27,22 @@ type Application struct {
|
||||
// Example: `apps/myapp`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Identifier of the Application resource. This identifier is equivalent
|
||||
// to the project ID of the Google Cloud Platform project where you want to
|
||||
// deploy your application.
|
||||
// Example: `myapp`.
|
||||
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
|
||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// HTTP path dispatch rules for requests to the application that do not
|
||||
// explicitly target a service or version. Rules are order-dependent.
|
||||
//
|
||||
// @OutputOnly
|
||||
DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules" json:"dispatch_rules,omitempty"`
|
||||
DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules,proto3" json:"dispatch_rules,omitempty"`
|
||||
// Google Apps authentication domain that controls which users can access
|
||||
// this application.
|
||||
//
|
||||
// Defaults to open access for any Google Account.
|
||||
AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"`
|
||||
AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain,proto3" json:"auth_domain,omitempty"`
|
||||
// Location from which this application will be run. Application instances
|
||||
// will run out of data centers in the chosen location, which is also where
|
||||
// all of the application's end user content is stored.
|
||||
@ -50,32 +56,54 @@ type Application struct {
|
||||
// `europe-west` - Western Europe
|
||||
//
|
||||
// `us-east1` - Eastern US
|
||||
LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId" json:"location_id,omitempty"`
|
||||
LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
|
||||
// Google Cloud Storage bucket that can be used for storing files
|
||||
// associated with this application. This bucket is associated with the
|
||||
// application and can be used by the gcloud deployment commands.
|
||||
//
|
||||
// @OutputOnly
|
||||
CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket" json:"code_bucket,omitempty"`
|
||||
CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket,proto3" json:"code_bucket,omitempty"`
|
||||
// Cookie expiration policy for this application.
|
||||
//
|
||||
// @OutputOnly
|
||||
DefaultCookieExpiration *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration" json:"default_cookie_expiration,omitempty"`
|
||||
DefaultCookieExpiration *duration.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration,proto3" json:"default_cookie_expiration,omitempty"`
|
||||
// Hostname used to reach this application, as resolved by App Engine.
|
||||
//
|
||||
// @OutputOnly
|
||||
DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname" json:"default_hostname,omitempty"`
|
||||
DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname,proto3" json:"default_hostname,omitempty"`
|
||||
// Google Cloud Storage bucket that can be used by this application to store
|
||||
// content.
|
||||
//
|
||||
// @OutputOnly
|
||||
DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket" json:"default_bucket,omitempty"`
|
||||
DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket,proto3" json:"default_bucket,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Application) Reset() { *m = Application{} }
|
||||
func (m *Application) String() string { return proto.CompactTextString(m) }
|
||||
func (*Application) ProtoMessage() {}
|
||||
func (*Application) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *Application) Reset() { *m = Application{} }
|
||||
func (m *Application) String() string { return proto.CompactTextString(m) }
|
||||
func (*Application) ProtoMessage() {}
|
||||
func (*Application) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_application_d5f9ae7b7e94b936, []int{0}
|
||||
}
|
||||
func (m *Application) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Application.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Application.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Application) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Application.Merge(dst, src)
|
||||
}
|
||||
func (m *Application) XXX_Size() int {
|
||||
return xxx_messageInfo_Application.Size(m)
|
||||
}
|
||||
func (m *Application) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Application.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Application proto.InternalMessageInfo
|
||||
|
||||
func (m *Application) GetName() string {
|
||||
if m != nil {
|
||||
@ -119,7 +147,7 @@ func (m *Application) GetCodeBucket() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Application) GetDefaultCookieExpiration() *google_protobuf1.Duration {
|
||||
func (m *Application) GetDefaultCookieExpiration() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.DefaultCookieExpiration
|
||||
}
|
||||
@ -146,22 +174,44 @@ type UrlDispatchRule struct {
|
||||
// specified before a period: "`*.`".
|
||||
//
|
||||
// Defaults to matching all domains: "`*`".
|
||||
Domain string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
|
||||
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
|
||||
// Pathname within the host. Must start with a "`/`". A
|
||||
// single "`*`" can be included at the end of the path. The sum
|
||||
// of the lengths of the domain and path may not exceed 100
|
||||
// characters.
|
||||
Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
|
||||
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
||||
// Resource ID of a service in this application that should
|
||||
// serve the matched request. The service must already
|
||||
// exist. Example: `default`.
|
||||
Service string `protobuf:"bytes,3,opt,name=service" json:"service,omitempty"`
|
||||
Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} }
|
||||
func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*UrlDispatchRule) ProtoMessage() {}
|
||||
func (*UrlDispatchRule) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} }
|
||||
func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*UrlDispatchRule) ProtoMessage() {}
|
||||
func (*UrlDispatchRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_application_d5f9ae7b7e94b936, []int{1}
|
||||
}
|
||||
func (m *UrlDispatchRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UrlDispatchRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UrlDispatchRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UrlDispatchRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UrlDispatchRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UrlDispatchRule.Merge(dst, src)
|
||||
}
|
||||
func (m *UrlDispatchRule) XXX_Size() int {
|
||||
return xxx_messageInfo_UrlDispatchRule.Size(m)
|
||||
}
|
||||
func (m *UrlDispatchRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UrlDispatchRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UrlDispatchRule proto.InternalMessageInfo
|
||||
|
||||
func (m *UrlDispatchRule) GetDomain() string {
|
||||
if m != nil {
|
||||
@ -189,9 +239,11 @@ func init() {
|
||||
proto.RegisterType((*UrlDispatchRule)(nil), "google.appengine.v1.UrlDispatchRule")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor_application_d5f9ae7b7e94b936)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_application_d5f9ae7b7e94b936 = []byte{
|
||||
// 409 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
|
||||
0x14, 0xc5, 0x71, 0x3c, 0x92, 0x45, 0x5e, 0xfe, 0xa0, 0xc1, 0xa2, 0x84, 0xb1, 0x85, 0xb0, 0x40,
|
||||
|
120
vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go
generated
vendored
120
vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/audit_data.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
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
|
||||
|
||||
// App Engine admin service audit log.
|
||||
type AuditData struct {
|
||||
// Detailed information about methods that require it. Does not include
|
||||
@ -23,26 +29,50 @@ type AuditData struct {
|
||||
// Types that are valid to be assigned to Method:
|
||||
// *AuditData_UpdateService
|
||||
// *AuditData_CreateVersion
|
||||
Method isAuditData_Method `protobuf_oneof:"method"`
|
||||
Method isAuditData_Method `protobuf_oneof:"method"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuditData) Reset() { *m = AuditData{} }
|
||||
func (m *AuditData) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditData) ProtoMessage() {}
|
||||
func (*AuditData) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
func (m *AuditData) Reset() { *m = AuditData{} }
|
||||
func (m *AuditData) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditData) ProtoMessage() {}
|
||||
func (*AuditData) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{0}
|
||||
}
|
||||
func (m *AuditData) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuditData.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuditData.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AuditData) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuditData.Merge(dst, src)
|
||||
}
|
||||
func (m *AuditData) XXX_Size() int {
|
||||
return xxx_messageInfo_AuditData.Size(m)
|
||||
}
|
||||
func (m *AuditData) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuditData.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuditData proto.InternalMessageInfo
|
||||
|
||||
type isAuditData_Method interface {
|
||||
isAuditData_Method()
|
||||
}
|
||||
|
||||
type AuditData_UpdateService struct {
|
||||
UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,oneof"`
|
||||
UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,proto3,oneof"`
|
||||
}
|
||||
|
||||
type AuditData_CreateVersion struct {
|
||||
CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,oneof"`
|
||||
CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*AuditData_UpdateService) isAuditData_Method() {}
|
||||
|
||||
func (*AuditData_CreateVersion) isAuditData_Method() {}
|
||||
|
||||
func (m *AuditData) GetMethod() isAuditData_Method {
|
||||
@ -125,12 +155,12 @@ func _AuditData_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Method.(type) {
|
||||
case *AuditData_UpdateService:
|
||||
s := proto.Size(x.UpdateService)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *AuditData_CreateVersion:
|
||||
s := proto.Size(x.CreateVersion)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -143,13 +173,35 @@ func _AuditData_OneofSizer(msg proto.Message) (n int) {
|
||||
// Detailed information about UpdateService call.
|
||||
type UpdateServiceMethod struct {
|
||||
// Update service request.
|
||||
Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
|
||||
Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UpdateServiceMethod) Reset() { *m = UpdateServiceMethod{} }
|
||||
func (m *UpdateServiceMethod) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateServiceMethod) ProtoMessage() {}
|
||||
func (*UpdateServiceMethod) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
||||
func (m *UpdateServiceMethod) Reset() { *m = UpdateServiceMethod{} }
|
||||
func (m *UpdateServiceMethod) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateServiceMethod) ProtoMessage() {}
|
||||
func (*UpdateServiceMethod) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{1}
|
||||
}
|
||||
func (m *UpdateServiceMethod) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UpdateServiceMethod.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UpdateServiceMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UpdateServiceMethod.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UpdateServiceMethod) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UpdateServiceMethod.Merge(dst, src)
|
||||
}
|
||||
func (m *UpdateServiceMethod) XXX_Size() int {
|
||||
return xxx_messageInfo_UpdateServiceMethod.Size(m)
|
||||
}
|
||||
func (m *UpdateServiceMethod) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UpdateServiceMethod.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UpdateServiceMethod proto.InternalMessageInfo
|
||||
|
||||
func (m *UpdateServiceMethod) GetRequest() *UpdateServiceRequest {
|
||||
if m != nil {
|
||||
@ -161,13 +213,35 @@ func (m *UpdateServiceMethod) GetRequest() *UpdateServiceRequest {
|
||||
// Detailed information about CreateVersion call.
|
||||
type CreateVersionMethod struct {
|
||||
// Create version request.
|
||||
Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
|
||||
Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateVersionMethod) Reset() { *m = CreateVersionMethod{} }
|
||||
func (m *CreateVersionMethod) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateVersionMethod) ProtoMessage() {}
|
||||
func (*CreateVersionMethod) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
|
||||
func (m *CreateVersionMethod) Reset() { *m = CreateVersionMethod{} }
|
||||
func (m *CreateVersionMethod) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateVersionMethod) ProtoMessage() {}
|
||||
func (*CreateVersionMethod) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{2}
|
||||
}
|
||||
func (m *CreateVersionMethod) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateVersionMethod.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateVersionMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateVersionMethod.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateVersionMethod) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateVersionMethod.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateVersionMethod) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateVersionMethod.Size(m)
|
||||
}
|
||||
func (m *CreateVersionMethod) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateVersionMethod.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateVersionMethod proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateVersionMethod) GetRequest() *CreateVersionRequest {
|
||||
if m != nil {
|
||||
@ -182,9 +256,11 @@ func init() {
|
||||
proto.RegisterType((*CreateVersionMethod)(nil), "google.appengine.v1.CreateVersionMethod")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor3) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor_audit_data_b5f7af765ea2d3aa)
|
||||
}
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
var fileDescriptor_audit_data_b5f7af765ea2d3aa = []byte{
|
||||
// 290 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x4e, 0xc3, 0x30,
|
||||
0x10, 0x86, 0x09, 0x43, 0x01, 0x23, 0x3a, 0xa4, 0x03, 0x55, 0x07, 0x84, 0x0a, 0x43, 0x59, 0x1c,
|
||||
|
153
vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go
generated
vendored
153
vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/deploy.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -13,23 +13,51 @@ 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
|
||||
|
||||
// Code and application artifacts used to deploy a version to App Engine.
|
||||
type Deployment struct {
|
||||
// Manifest of the files stored in Google Cloud Storage that are included
|
||||
// as part of this version. All files must be readable using the
|
||||
// credentials supplied with this call.
|
||||
Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// A Docker image that App Engine uses to run the version.
|
||||
// Only applicable for instances in App Engine flexible environment.
|
||||
Container *ContainerInfo `protobuf:"bytes,2,opt,name=container" json:"container,omitempty"`
|
||||
Container *ContainerInfo `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
|
||||
// The zip file for this deployment, if this is a zip deployment.
|
||||
Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip" json:"zip,omitempty"`
|
||||
Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip,proto3" json:"zip,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Deployment) Reset() { *m = Deployment{} }
|
||||
func (m *Deployment) String() string { return proto.CompactTextString(m) }
|
||||
func (*Deployment) ProtoMessage() {}
|
||||
func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
||||
func (m *Deployment) Reset() { *m = Deployment{} }
|
||||
func (m *Deployment) String() string { return proto.CompactTextString(m) }
|
||||
func (*Deployment) ProtoMessage() {}
|
||||
func (*Deployment) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{0}
|
||||
}
|
||||
func (m *Deployment) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Deployment.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Deployment.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Deployment) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Deployment.Merge(dst, src)
|
||||
}
|
||||
func (m *Deployment) XXX_Size() int {
|
||||
return xxx_messageInfo_Deployment.Size(m)
|
||||
}
|
||||
func (m *Deployment) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Deployment.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Deployment proto.InternalMessageInfo
|
||||
|
||||
func (m *Deployment) GetFiles() map[string]*FileInfo {
|
||||
if m != nil {
|
||||
@ -58,19 +86,41 @@ type FileInfo struct {
|
||||
// URL source to use to fetch this file. Must be a URL to a resource in
|
||||
// Google Cloud Storage in the form
|
||||
// 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
|
||||
SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl" json:"source_url,omitempty"`
|
||||
SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
|
||||
// The SHA1 hash of the file, in hex.
|
||||
Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum" json:"sha1_sum,omitempty"`
|
||||
Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum,proto3" json:"sha1_sum,omitempty"`
|
||||
// The MIME type of the file.
|
||||
//
|
||||
// Defaults to the value from Google Cloud Storage.
|
||||
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
|
||||
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FileInfo) Reset() { *m = FileInfo{} }
|
||||
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*FileInfo) ProtoMessage() {}
|
||||
func (*FileInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
|
||||
func (m *FileInfo) Reset() { *m = FileInfo{} }
|
||||
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*FileInfo) ProtoMessage() {}
|
||||
func (*FileInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{1}
|
||||
}
|
||||
func (m *FileInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FileInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *FileInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FileInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *FileInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_FileInfo.Size(m)
|
||||
}
|
||||
func (m *FileInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FileInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FileInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *FileInfo) GetSourceUrl() string {
|
||||
if m != nil {
|
||||
@ -99,13 +149,35 @@ type ContainerInfo struct {
|
||||
// URI to the hosted container image in a Docker repository. The URI must be
|
||||
// fully qualified and include a tag or digest.
|
||||
// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
|
||||
Image string `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
|
||||
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ContainerInfo) Reset() { *m = ContainerInfo{} }
|
||||
func (m *ContainerInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ContainerInfo) ProtoMessage() {}
|
||||
func (*ContainerInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
|
||||
func (m *ContainerInfo) Reset() { *m = ContainerInfo{} }
|
||||
func (m *ContainerInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ContainerInfo) ProtoMessage() {}
|
||||
func (*ContainerInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{2}
|
||||
}
|
||||
func (m *ContainerInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ContainerInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ContainerInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ContainerInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ContainerInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *ContainerInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_ContainerInfo.Size(m)
|
||||
}
|
||||
func (m *ContainerInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ContainerInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ContainerInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *ContainerInfo) GetImage() string {
|
||||
if m != nil {
|
||||
@ -118,17 +190,39 @@ type ZipInfo struct {
|
||||
// URL of the zip file to deploy from. Must be a URL to a resource in
|
||||
// Google Cloud Storage in the form
|
||||
// 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
|
||||
SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl" json:"source_url,omitempty"`
|
||||
SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
|
||||
// An estimate of the number of files in a zip for a zip deployment.
|
||||
// If set, must be greater than or equal to the actual number of files.
|
||||
// Used for optimizing performance; if not provided, deployment may be slow.
|
||||
FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount" json:"files_count,omitempty"`
|
||||
FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount,proto3" json:"files_count,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ZipInfo) Reset() { *m = ZipInfo{} }
|
||||
func (m *ZipInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ZipInfo) ProtoMessage() {}
|
||||
func (*ZipInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
|
||||
func (m *ZipInfo) Reset() { *m = ZipInfo{} }
|
||||
func (m *ZipInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ZipInfo) ProtoMessage() {}
|
||||
func (*ZipInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{3}
|
||||
}
|
||||
func (m *ZipInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ZipInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ZipInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ZipInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ZipInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ZipInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *ZipInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_ZipInfo.Size(m)
|
||||
}
|
||||
func (m *ZipInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ZipInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ZipInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *ZipInfo) GetSourceUrl() string {
|
||||
if m != nil {
|
||||
@ -146,14 +240,17 @@ func (m *ZipInfo) GetFilesCount() int32 {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Deployment)(nil), "google.appengine.v1.Deployment")
|
||||
proto.RegisterMapType((map[string]*FileInfo)(nil), "google.appengine.v1.Deployment.FilesEntry")
|
||||
proto.RegisterType((*FileInfo)(nil), "google.appengine.v1.FileInfo")
|
||||
proto.RegisterType((*ContainerInfo)(nil), "google.appengine.v1.ContainerInfo")
|
||||
proto.RegisterType((*ZipInfo)(nil), "google.appengine.v1.ZipInfo")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor4) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor_deploy_ed99bebbe4262e1c)
|
||||
}
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
var fileDescriptor_deploy_ed99bebbe4262e1c = []byte{
|
||||
// 394 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xd1, 0xab, 0xd3, 0x30,
|
||||
0x14, 0xc6, 0xe9, 0x6a, 0xbd, 0xeb, 0x29, 0x82, 0x44, 0xc1, 0x7a, 0xbd, 0x17, 0x4b, 0x41, 0x28,
|
||||
|
82
vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go
generated
vendored
82
vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go
generated
vendored
@ -1,19 +1,25 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/instance.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/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_protobuf2 "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
|
||||
|
||||
// Availability of the instance.
|
||||
type Instance_Availability int32
|
||||
|
||||
@ -37,7 +43,9 @@ var Instance_Availability_value = map[string]int32{
|
||||
func (x Instance_Availability) String() string {
|
||||
return proto.EnumName(Instance_Availability_name, int32(x))
|
||||
}
|
||||
func (Instance_Availability) EnumDescriptor() ([]byte, []int) { return fileDescriptor5, []int{0, 0} }
|
||||
func (Instance_Availability) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_899688eaafc2a354, []int{0, 0}
|
||||
}
|
||||
|
||||
// An Instance resource is the computing unit that App Engine uses to
|
||||
// automatically scale an application.
|
||||
@ -46,75 +54,97 @@ type Instance struct {
|
||||
// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Relative name of the instance within the version.
|
||||
// Example: `instance-1`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
|
||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// App Engine release this instance is running on.
|
||||
//
|
||||
// @OutputOnly
|
||||
AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
|
||||
AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"`
|
||||
// Availability of the instance.
|
||||
//
|
||||
// @OutputOnly
|
||||
Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"`
|
||||
Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"`
|
||||
// Name of the virtual machine where this instance lives. Only applicable
|
||||
// for instances in App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName" json:"vm_name,omitempty"`
|
||||
VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
|
||||
// Zone where the virtual machine is located. Only applicable for instances
|
||||
// in App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName" json:"vm_zone_name,omitempty"`
|
||||
VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName,proto3" json:"vm_zone_name,omitempty"`
|
||||
// Virtual machine ID of this instance. Only applicable for instances in
|
||||
// App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
|
||||
VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
|
||||
// Time that this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
// Number of requests since this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
Requests int32 `protobuf:"varint,9,opt,name=requests" json:"requests,omitempty"`
|
||||
Requests int32 `protobuf:"varint,9,opt,name=requests,proto3" json:"requests,omitempty"`
|
||||
// Number of errors since this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
Errors int32 `protobuf:"varint,10,opt,name=errors" json:"errors,omitempty"`
|
||||
Errors int32 `protobuf:"varint,10,opt,name=errors,proto3" json:"errors,omitempty"`
|
||||
// Average queries per second (QPS) over the last minute.
|
||||
//
|
||||
// @OutputOnly
|
||||
Qps float32 `protobuf:"fixed32,11,opt,name=qps" json:"qps,omitempty"`
|
||||
Qps float32 `protobuf:"fixed32,11,opt,name=qps,proto3" json:"qps,omitempty"`
|
||||
// Average latency (ms) over the last minute.
|
||||
//
|
||||
// @OutputOnly
|
||||
AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency" json:"average_latency,omitempty"`
|
||||
AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency,proto3" json:"average_latency,omitempty"`
|
||||
// Total memory in use (bytes).
|
||||
//
|
||||
// @OutputOnly
|
||||
MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage" json:"memory_usage,omitempty"`
|
||||
MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
|
||||
// Status of the virtual machine where this instance lives. Only applicable
|
||||
// for instances in App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus" json:"vm_status,omitempty"`
|
||||
VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus,proto3" json:"vm_status,omitempty"`
|
||||
// Whether this instance is in debug mode. Only applicable for instances in
|
||||
// App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled" json:"vm_debug_enabled,omitempty"`
|
||||
VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled,proto3" json:"vm_debug_enabled,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Instance) Reset() { *m = Instance{} }
|
||||
func (m *Instance) String() string { return proto.CompactTextString(m) }
|
||||
func (*Instance) ProtoMessage() {}
|
||||
func (*Instance) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||||
func (m *Instance) Reset() { *m = Instance{} }
|
||||
func (m *Instance) String() string { return proto.CompactTextString(m) }
|
||||
func (*Instance) ProtoMessage() {}
|
||||
func (*Instance) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_899688eaafc2a354, []int{0}
|
||||
}
|
||||
func (m *Instance) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Instance.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Instance.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Instance) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Instance.Merge(dst, src)
|
||||
}
|
||||
func (m *Instance) XXX_Size() int {
|
||||
return xxx_messageInfo_Instance.Size(m)
|
||||
}
|
||||
func (m *Instance) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Instance.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Instance proto.InternalMessageInfo
|
||||
|
||||
func (m *Instance) GetName() string {
|
||||
if m != nil {
|
||||
@ -165,7 +195,7 @@ func (m *Instance) GetVmId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetStartTime() *google_protobuf2.Timestamp {
|
||||
func (m *Instance) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
@ -226,9 +256,11 @@ func init() {
|
||||
proto.RegisterEnum("google.appengine.v1.Instance_Availability", Instance_Availability_name, Instance_Availability_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor5) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor_instance_899688eaafc2a354)
|
||||
}
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
var fileDescriptor_instance_899688eaafc2a354 = []byte{
|
||||
// 521 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x6b, 0xdb, 0x3c,
|
||||
0x14, 0x7e, 0x9d, 0xb6, 0xa9, 0x73, 0xe2, 0x26, 0x46, 0x85, 0xb7, 0x22, 0x1b, 0xcc, 0xcb, 0xcd,
|
||||
|
48
vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go
generated
vendored
48
vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/location.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -14,22 +14,50 @@ 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
|
||||
|
||||
// Metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
|
||||
type LocationMetadata struct {
|
||||
// App Engine Standard Environment is available in the given location.
|
||||
//
|
||||
// @OutputOnly
|
||||
StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable" json:"standard_environment_available,omitempty"`
|
||||
StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable,proto3" json:"standard_environment_available,omitempty"`
|
||||
// App Engine Flexible Environment is available in the given location.
|
||||
//
|
||||
// @OutputOnly
|
||||
FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable" json:"flexible_environment_available,omitempty"`
|
||||
FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable,proto3" json:"flexible_environment_available,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *LocationMetadata) Reset() { *m = LocationMetadata{} }
|
||||
func (m *LocationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*LocationMetadata) ProtoMessage() {}
|
||||
func (*LocationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
|
||||
func (m *LocationMetadata) Reset() { *m = LocationMetadata{} }
|
||||
func (m *LocationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*LocationMetadata) ProtoMessage() {}
|
||||
func (*LocationMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_location_22ad68e45e4328c7, []int{0}
|
||||
}
|
||||
func (m *LocationMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_LocationMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_LocationMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *LocationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_LocationMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *LocationMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_LocationMetadata.Size(m)
|
||||
}
|
||||
func (m *LocationMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_LocationMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_LocationMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *LocationMetadata) GetStandardEnvironmentAvailable() bool {
|
||||
if m != nil {
|
||||
@ -49,9 +77,11 @@ func init() {
|
||||
proto.RegisterType((*LocationMetadata)(nil), "google.appengine.v1.LocationMetadata")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor6) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor_location_22ad68e45e4328c7)
|
||||
}
|
||||
|
||||
var fileDescriptor6 = []byte{
|
||||
var fileDescriptor_location_22ad68e45e4328c7 = []byte{
|
||||
// 236 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0xc3, 0x40,
|
||||
0x10, 0x85, 0x89, 0x88, 0x48, 0x40, 0x90, 0x7a, 0xb0, 0x94, 0x22, 0xd2, 0x93, 0xa7, 0x5d, 0x8a,
|
||||
|
60
vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go
generated
vendored
60
vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go
generated
vendored
@ -1,49 +1,77 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/operation.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/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_protobuf2 "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
|
||||
|
||||
// Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
|
||||
type OperationMetadataV1 struct {
|
||||
// API method that initiated this operation. Example:
|
||||
// `google.appengine.v1.Versions.CreateVersion`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Method string `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
|
||||
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
|
||||
// Time that this operation was created.
|
||||
//
|
||||
// @OutputOnly
|
||||
InsertTime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime" json:"insert_time,omitempty"`
|
||||
InsertTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"`
|
||||
// Time that this operation completed.
|
||||
//
|
||||
// @OutputOnly
|
||||
EndTime *google_protobuf2.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"`
|
||||
// User who requested this operation.
|
||||
//
|
||||
// @OutputOnly
|
||||
User string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
|
||||
User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
|
||||
// Name of the resource that this operation is acting on. Example:
|
||||
// `apps/myapp/services/default`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Target string `protobuf:"bytes,5,opt,name=target" json:"target,omitempty"`
|
||||
Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) Reset() { *m = OperationMetadataV1{} }
|
||||
func (m *OperationMetadataV1) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadataV1) ProtoMessage() {}
|
||||
func (*OperationMetadataV1) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
|
||||
func (m *OperationMetadataV1) Reset() { *m = OperationMetadataV1{} }
|
||||
func (m *OperationMetadataV1) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadataV1) ProtoMessage() {}
|
||||
func (*OperationMetadataV1) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_operation_b53f7e8fb6160f01, []int{0}
|
||||
}
|
||||
func (m *OperationMetadataV1) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OperationMetadataV1.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OperationMetadataV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OperationMetadataV1.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *OperationMetadataV1) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OperationMetadataV1.Merge(dst, src)
|
||||
}
|
||||
func (m *OperationMetadataV1) XXX_Size() int {
|
||||
return xxx_messageInfo_OperationMetadataV1.Size(m)
|
||||
}
|
||||
func (m *OperationMetadataV1) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OperationMetadataV1.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OperationMetadataV1 proto.InternalMessageInfo
|
||||
|
||||
func (m *OperationMetadataV1) GetMethod() string {
|
||||
if m != nil {
|
||||
@ -52,14 +80,14 @@ func (m *OperationMetadataV1) GetMethod() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetInsertTime() *google_protobuf2.Timestamp {
|
||||
func (m *OperationMetadataV1) GetInsertTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.InsertTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetEndTime() *google_protobuf2.Timestamp {
|
||||
func (m *OperationMetadataV1) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
@ -84,9 +112,11 @@ func init() {
|
||||
proto.RegisterType((*OperationMetadataV1)(nil), "google.appengine.v1.OperationMetadataV1")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor7) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor_operation_b53f7e8fb6160f01)
|
||||
}
|
||||
|
||||
var fileDescriptor7 = []byte{
|
||||
var fileDescriptor_operation_b53f7e8fb6160f01 = []byte{
|
||||
// 271 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0x03, 0x31,
|
||||
0x10, 0x85, 0x59, 0xad, 0x55, 0x53, 0xf0, 0xb0, 0x05, 0x5d, 0x16, 0xc1, 0xa2, 0x97, 0x9e, 0x12,
|
||||
|
89
vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go
generated
vendored
89
vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/service.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
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
|
||||
|
||||
// Available sharding mechanisms.
|
||||
type TrafficSplit_ShardBy int32
|
||||
|
||||
@ -41,7 +47,9 @@ var TrafficSplit_ShardBy_value = map[string]int32{
|
||||
func (x TrafficSplit_ShardBy) String() string {
|
||||
return proto.EnumName(TrafficSplit_ShardBy_name, int32(x))
|
||||
}
|
||||
func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{1, 0} }
|
||||
func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_service_c3b4fd6114e9d0a5, []int{1, 0}
|
||||
}
|
||||
|
||||
// A Service resource is a logical component of an application that can share
|
||||
// state and communicate in a secure fashion with other services.
|
||||
@ -55,21 +63,43 @@ type Service struct {
|
||||
// Example: `apps/myapp/services/default`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Relative name of the service within the application.
|
||||
// Example: `default`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
|
||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// Mapping that defines fractional HTTP traffic diversion to
|
||||
// different versions within the service.
|
||||
Split *TrafficSplit `protobuf:"bytes,3,opt,name=split" json:"split,omitempty"`
|
||||
Split *TrafficSplit `protobuf:"bytes,3,opt,name=split,proto3" json:"split,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 fileDescriptor8, []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_c3b4fd6114e9d0a5, []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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Service proto.InternalMessageInfo
|
||||
|
||||
func (m *Service) GetName() string {
|
||||
if m != nil {
|
||||
@ -98,7 +128,7 @@ type TrafficSplit struct {
|
||||
// Mechanism used to determine which version a request is sent to.
|
||||
// The traffic selection algorithm will
|
||||
// be stable for either type until allocations are changed.
|
||||
ShardBy TrafficSplit_ShardBy `protobuf:"varint,1,opt,name=shard_by,json=shardBy,enum=google.appengine.v1.TrafficSplit_ShardBy" json:"shard_by,omitempty"`
|
||||
ShardBy TrafficSplit_ShardBy `protobuf:"varint,1,opt,name=shard_by,json=shardBy,proto3,enum=google.appengine.v1.TrafficSplit_ShardBy" json:"shard_by,omitempty"`
|
||||
// Mapping from version IDs within the service to fractional
|
||||
// (0.000, 1] allocations of traffic for that version. Each version can
|
||||
// be specified only once, but some versions in the service may not
|
||||
@ -107,13 +137,35 @@ type TrafficSplit struct {
|
||||
// their traffic allocation is removed. Allocations must sum to 1.
|
||||
// Up to two decimal place precision is supported for IP-based splits and
|
||||
// up to three decimal places is supported for cookie-based splits.
|
||||
Allocations map[string]float64 `protobuf:"bytes,2,rep,name=allocations" json:"allocations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
||||
Allocations map[string]float64 `protobuf:"bytes,2,rep,name=allocations,proto3" json:"allocations,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 *TrafficSplit) Reset() { *m = TrafficSplit{} }
|
||||
func (m *TrafficSplit) String() string { return proto.CompactTextString(m) }
|
||||
func (*TrafficSplit) ProtoMessage() {}
|
||||
func (*TrafficSplit) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
|
||||
func (m *TrafficSplit) Reset() { *m = TrafficSplit{} }
|
||||
func (m *TrafficSplit) String() string { return proto.CompactTextString(m) }
|
||||
func (*TrafficSplit) ProtoMessage() {}
|
||||
func (*TrafficSplit) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_service_c3b4fd6114e9d0a5, []int{1}
|
||||
}
|
||||
func (m *TrafficSplit) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TrafficSplit.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TrafficSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TrafficSplit.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TrafficSplit) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TrafficSplit.Merge(dst, src)
|
||||
}
|
||||
func (m *TrafficSplit) XXX_Size() int {
|
||||
return xxx_messageInfo_TrafficSplit.Size(m)
|
||||
}
|
||||
func (m *TrafficSplit) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TrafficSplit.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TrafficSplit proto.InternalMessageInfo
|
||||
|
||||
func (m *TrafficSplit) GetShardBy() TrafficSplit_ShardBy {
|
||||
if m != nil {
|
||||
@ -132,12 +184,15 @@ func (m *TrafficSplit) GetAllocations() map[string]float64 {
|
||||
func init() {
|
||||
proto.RegisterType((*Service)(nil), "google.appengine.v1.Service")
|
||||
proto.RegisterType((*TrafficSplit)(nil), "google.appengine.v1.TrafficSplit")
|
||||
proto.RegisterMapType((map[string]float64)(nil), "google.appengine.v1.TrafficSplit.AllocationsEntry")
|
||||
proto.RegisterEnum("google.appengine.v1.TrafficSplit_ShardBy", TrafficSplit_ShardBy_name, TrafficSplit_ShardBy_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor8) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor_service_c3b4fd6114e9d0a5)
|
||||
}
|
||||
|
||||
var fileDescriptor8 = []byte{
|
||||
var fileDescriptor_service_c3b4fd6114e9d0a5 = []byte{
|
||||
// 356 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x51, 0x8b, 0xda, 0x40,
|
||||
0x10, 0xc7, 0x9b, 0xb5, 0x6a, 0x3b, 0x11, 0x1b, 0xb6, 0x85, 0x06, 0xe9, 0x83, 0xfa, 0x64, 0x5f,
|
||||
|
514
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
514
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
@ -1,20 +1,26 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/version.proto
|
||||
|
||||
package appengine
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf2 "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
|
||||
|
||||
// Available inbound services.
|
||||
type InboundServiceType int32
|
||||
|
||||
@ -66,7 +72,9 @@ var InboundServiceType_value = map[string]int32{
|
||||
func (x InboundServiceType) String() string {
|
||||
return proto.EnumName(InboundServiceType_name, int32(x))
|
||||
}
|
||||
func (InboundServiceType) EnumDescriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
|
||||
func (InboundServiceType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{0}
|
||||
}
|
||||
|
||||
// Run states of a version.
|
||||
type ServingStatus int32
|
||||
@ -97,7 +105,9 @@ var ServingStatus_value = map[string]int32{
|
||||
func (x ServingStatus) String() string {
|
||||
return proto.EnumName(ServingStatus_name, int32(x))
|
||||
}
|
||||
func (ServingStatus) EnumDescriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
|
||||
func (ServingStatus) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{1}
|
||||
}
|
||||
|
||||
// A Version resource is a specific set of source code and configuration files
|
||||
// that are deployed into a service.
|
||||
@ -106,11 +116,11 @@ type Version struct {
|
||||
// `apps/myapp/services/default/versions/v1`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Relative name of the version within the service. Example: `v1`.
|
||||
// Version names can contain only lowercase letters, numbers, or hyphens.
|
||||
// Reserved names: "default", "latest", and any name with the prefix "ah-".
|
||||
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
|
||||
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// Controls how instances are created.
|
||||
//
|
||||
// Defaults to `AutomaticScaling`.
|
||||
@ -122,131 +132,128 @@ type Version struct {
|
||||
Scaling isVersion_Scaling `protobuf_oneof:"scaling"`
|
||||
// Before an application can receive email or XMPP messages, the application
|
||||
// must be configured to enable the service.
|
||||
InboundServices []InboundServiceType `protobuf:"varint,6,rep,packed,name=inbound_services,json=inboundServices,enum=google.appengine.v1.InboundServiceType" json:"inbound_services,omitempty"`
|
||||
InboundServices []InboundServiceType `protobuf:"varint,6,rep,packed,name=inbound_services,json=inboundServices,proto3,enum=google.appengine.v1.InboundServiceType" json:"inbound_services,omitempty"`
|
||||
// Instance class that is used to run this version. Valid values are:
|
||||
// * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G`
|
||||
// * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G`
|
||||
//
|
||||
// Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or
|
||||
// BasicScaling.
|
||||
InstanceClass string `protobuf:"bytes,7,opt,name=instance_class,json=instanceClass" json:"instance_class,omitempty"`
|
||||
InstanceClass string `protobuf:"bytes,7,opt,name=instance_class,json=instanceClass,proto3" json:"instance_class,omitempty"`
|
||||
// Extra network settings. Only applicable for VM runtimes.
|
||||
Network *Network `protobuf:"bytes,8,opt,name=network" json:"network,omitempty"`
|
||||
Network *Network `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
|
||||
// Machine resources for this version. Only applicable for VM runtimes.
|
||||
Resources *Resources `protobuf:"bytes,9,opt,name=resources" json:"resources,omitempty"`
|
||||
Resources *Resources `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
|
||||
// Desired runtime. Example: `python27`.
|
||||
Runtime string `protobuf:"bytes,10,opt,name=runtime" json:"runtime,omitempty"`
|
||||
Runtime string `protobuf:"bytes,10,opt,name=runtime,proto3" json:"runtime,omitempty"`
|
||||
// Whether multiple requests can be dispatched to this version at once.
|
||||
Threadsafe bool `protobuf:"varint,11,opt,name=threadsafe" json:"threadsafe,omitempty"`
|
||||
Threadsafe bool `protobuf:"varint,11,opt,name=threadsafe,proto3" json:"threadsafe,omitempty"`
|
||||
// Whether to deploy this version in a container on a virtual machine.
|
||||
Vm bool `protobuf:"varint,12,opt,name=vm" json:"vm,omitempty"`
|
||||
Vm bool `protobuf:"varint,12,opt,name=vm,proto3" json:"vm,omitempty"`
|
||||
// Metadata settings that are supplied to this version to enable
|
||||
// beta runtime features.
|
||||
BetaSettings map[string]string `protobuf:"bytes,13,rep,name=beta_settings,json=betaSettings" json:"beta_settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
BetaSettings map[string]string `protobuf:"bytes,13,rep,name=beta_settings,json=betaSettings,proto3" json:"beta_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// App Engine execution environment for this version.
|
||||
//
|
||||
// Defaults to `standard`.
|
||||
Env string `protobuf:"bytes,14,opt,name=env" json:"env,omitempty"`
|
||||
Env string `protobuf:"bytes,14,opt,name=env,proto3" json:"env,omitempty"`
|
||||
// Current serving status of this version. Only the versions with a
|
||||
// `SERVING` status create instances and can be billed.
|
||||
//
|
||||
// `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`.
|
||||
ServingStatus ServingStatus `protobuf:"varint,15,opt,name=serving_status,json=servingStatus,enum=google.appengine.v1.ServingStatus" json:"serving_status,omitempty"`
|
||||
ServingStatus ServingStatus `protobuf:"varint,15,opt,name=serving_status,json=servingStatus,proto3,enum=google.appengine.v1.ServingStatus" json:"serving_status,omitempty"`
|
||||
// Email address of the user who created this version.
|
||||
//
|
||||
// @OutputOnly
|
||||
CreatedBy string `protobuf:"bytes,16,opt,name=created_by,json=createdBy" json:"created_by,omitempty"`
|
||||
CreatedBy string `protobuf:"bytes,16,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
|
||||
// Time that this version was created.
|
||||
//
|
||||
// @OutputOnly
|
||||
CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,17,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// Total size in bytes of all the files that are included in this version
|
||||
// and curerntly hosted on the App Engine disk.
|
||||
//
|
||||
// @OutputOnly
|
||||
DiskUsageBytes int64 `protobuf:"varint,18,opt,name=disk_usage_bytes,json=diskUsageBytes" json:"disk_usage_bytes,omitempty"`
|
||||
DiskUsageBytes int64 `protobuf:"varint,18,opt,name=disk_usage_bytes,json=diskUsageBytes,proto3" json:"disk_usage_bytes,omitempty"`
|
||||
// An ordered list of URL-matching patterns that should be applied to incoming
|
||||
// requests. The first matching URL handles the request and other request
|
||||
// handlers are not attempted.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
Handlers []*UrlMap `protobuf:"bytes,100,rep,name=handlers" json:"handlers,omitempty"`
|
||||
Handlers []*UrlMap `protobuf:"bytes,100,rep,name=handlers,proto3" json:"handlers,omitempty"`
|
||||
// Custom static error pages. Limited to 10KB per page.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
ErrorHandlers []*ErrorHandler `protobuf:"bytes,101,rep,name=error_handlers,json=errorHandlers" json:"error_handlers,omitempty"`
|
||||
ErrorHandlers []*ErrorHandler `protobuf:"bytes,101,rep,name=error_handlers,json=errorHandlers,proto3" json:"error_handlers,omitempty"`
|
||||
// Configuration for third-party Python runtime libraries that are required
|
||||
// by the application.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
Libraries []*Library `protobuf:"bytes,102,rep,name=libraries" json:"libraries,omitempty"`
|
||||
Libraries []*Library `protobuf:"bytes,102,rep,name=libraries,proto3" json:"libraries,omitempty"`
|
||||
// Serving configuration for
|
||||
// [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
ApiConfig *ApiConfigHandler `protobuf:"bytes,103,opt,name=api_config,json=apiConfig" json:"api_config,omitempty"`
|
||||
ApiConfig *ApiConfigHandler `protobuf:"bytes,103,opt,name=api_config,json=apiConfig,proto3" json:"api_config,omitempty"`
|
||||
// Environment variables available to the application.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
EnvVariables map[string]string `protobuf:"bytes,104,rep,name=env_variables,json=envVariables" json:"env_variables,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
EnvVariables map[string]string `protobuf:"bytes,104,rep,name=env_variables,json=envVariables,proto3" json:"env_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// Duration that static files should be cached by web proxies and browsers.
|
||||
// Only applicable if the corresponding
|
||||
// [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler)
|
||||
// does not specify its own expiration time.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
DefaultExpiration *google_protobuf1.Duration `protobuf:"bytes,105,opt,name=default_expiration,json=defaultExpiration" json:"default_expiration,omitempty"`
|
||||
DefaultExpiration *duration.Duration `protobuf:"bytes,105,opt,name=default_expiration,json=defaultExpiration,proto3" json:"default_expiration,omitempty"`
|
||||
// Configures health checking for VM instances. Unhealthy instances are
|
||||
// stopped and replaced with new instances. Only applicable for VM
|
||||
// runtimes.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
HealthCheck *HealthCheck `protobuf:"bytes,106,opt,name=health_check,json=healthCheck" json:"health_check,omitempty"`
|
||||
HealthCheck *HealthCheck `protobuf:"bytes,106,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"`
|
||||
// Files that match this pattern will not be built into this version.
|
||||
// Only applicable for Go runtimes.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
NobuildFilesRegex string `protobuf:"bytes,107,opt,name=nobuild_files_regex,json=nobuildFilesRegex" json:"nobuild_files_regex,omitempty"`
|
||||
NobuildFilesRegex string `protobuf:"bytes,107,opt,name=nobuild_files_regex,json=nobuildFilesRegex,proto3" json:"nobuild_files_regex,omitempty"`
|
||||
// Code and application artifacts that make up this version.
|
||||
//
|
||||
// Only returned in `GET` requests if `view=FULL` is set.
|
||||
Deployment *Deployment `protobuf:"bytes,108,opt,name=deployment" json:"deployment,omitempty"`
|
||||
Deployment *Deployment `protobuf:"bytes,108,opt,name=deployment,proto3" json:"deployment,omitempty"`
|
||||
// Serving URL for this version. Example:
|
||||
// "https://myversion-dot-myservice-dot-myapp.appspot.com"
|
||||
//
|
||||
// @OutputOnly
|
||||
VersionUrl string `protobuf:"bytes,109,opt,name=version_url,json=versionUrl" json:"version_url,omitempty"`
|
||||
VersionUrl string `protobuf:"bytes,109,opt,name=version_url,json=versionUrl,proto3" json:"version_url,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Version) Reset() { *m = Version{} }
|
||||
func (m *Version) String() string { return proto.CompactTextString(m) }
|
||||
func (*Version) ProtoMessage() {}
|
||||
func (*Version) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
|
||||
|
||||
type isVersion_Scaling interface {
|
||||
isVersion_Scaling()
|
||||
func (m *Version) Reset() { *m = Version{} }
|
||||
func (m *Version) String() string { return proto.CompactTextString(m) }
|
||||
func (*Version) ProtoMessage() {}
|
||||
func (*Version) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{0}
|
||||
}
|
||||
func (m *Version) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Version.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Version.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Version) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Version.Merge(dst, src)
|
||||
}
|
||||
func (m *Version) XXX_Size() int {
|
||||
return xxx_messageInfo_Version.Size(m)
|
||||
}
|
||||
func (m *Version) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Version.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type Version_AutomaticScaling struct {
|
||||
AutomaticScaling *AutomaticScaling `protobuf:"bytes,3,opt,name=automatic_scaling,json=automaticScaling,oneof"`
|
||||
}
|
||||
type Version_BasicScaling struct {
|
||||
BasicScaling *BasicScaling `protobuf:"bytes,4,opt,name=basic_scaling,json=basicScaling,oneof"`
|
||||
}
|
||||
type Version_ManualScaling struct {
|
||||
ManualScaling *ManualScaling `protobuf:"bytes,5,opt,name=manual_scaling,json=manualScaling,oneof"`
|
||||
}
|
||||
|
||||
func (*Version_AutomaticScaling) isVersion_Scaling() {}
|
||||
func (*Version_BasicScaling) isVersion_Scaling() {}
|
||||
func (*Version_ManualScaling) isVersion_Scaling() {}
|
||||
|
||||
func (m *Version) GetScaling() isVersion_Scaling {
|
||||
if m != nil {
|
||||
return m.Scaling
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_Version proto.InternalMessageInfo
|
||||
|
||||
func (m *Version) GetName() string {
|
||||
if m != nil {
|
||||
@ -262,6 +269,35 @@ func (m *Version) GetId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type isVersion_Scaling interface {
|
||||
isVersion_Scaling()
|
||||
}
|
||||
|
||||
type Version_AutomaticScaling struct {
|
||||
AutomaticScaling *AutomaticScaling `protobuf:"bytes,3,opt,name=automatic_scaling,json=automaticScaling,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Version_BasicScaling struct {
|
||||
BasicScaling *BasicScaling `protobuf:"bytes,4,opt,name=basic_scaling,json=basicScaling,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Version_ManualScaling struct {
|
||||
ManualScaling *ManualScaling `protobuf:"bytes,5,opt,name=manual_scaling,json=manualScaling,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Version_AutomaticScaling) isVersion_Scaling() {}
|
||||
|
||||
func (*Version_BasicScaling) isVersion_Scaling() {}
|
||||
|
||||
func (*Version_ManualScaling) isVersion_Scaling() {}
|
||||
|
||||
func (m *Version) GetScaling() isVersion_Scaling {
|
||||
if m != nil {
|
||||
return m.Scaling
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Version) GetAutomaticScaling() *AutomaticScaling {
|
||||
if x, ok := m.GetScaling().(*Version_AutomaticScaling); ok {
|
||||
return x.AutomaticScaling
|
||||
@ -360,7 +396,7 @@ func (m *Version) GetCreatedBy() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Version) GetCreateTime() *google_protobuf2.Timestamp {
|
||||
func (m *Version) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
@ -409,7 +445,7 @@ func (m *Version) GetEnvVariables() map[string]string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Version) GetDefaultExpiration() *google_protobuf1.Duration {
|
||||
func (m *Version) GetDefaultExpiration() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.DefaultExpiration
|
||||
}
|
||||
@ -517,17 +553,17 @@ func _Version_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Scaling.(type) {
|
||||
case *Version_AutomaticScaling:
|
||||
s := proto.Size(x.AutomaticScaling)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Version_BasicScaling:
|
||||
s := proto.Size(x.BasicScaling)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Version_ManualScaling:
|
||||
s := proto.Size(x.ManualScaling)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -544,44 +580,66 @@ type AutomaticScaling struct {
|
||||
// [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
|
||||
// should wait between changes to the number of virtual machines.
|
||||
// Only applicable for VM runtimes.
|
||||
CoolDownPeriod *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=cool_down_period,json=coolDownPeriod" json:"cool_down_period,omitempty"`
|
||||
CoolDownPeriod *duration.Duration `protobuf:"bytes,1,opt,name=cool_down_period,json=coolDownPeriod,proto3" json:"cool_down_period,omitempty"`
|
||||
// Target scaling by CPU usage.
|
||||
CpuUtilization *CpuUtilization `protobuf:"bytes,2,opt,name=cpu_utilization,json=cpuUtilization" json:"cpu_utilization,omitempty"`
|
||||
CpuUtilization *CpuUtilization `protobuf:"bytes,2,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"`
|
||||
// Number of concurrent requests an automatic scaling instance can accept
|
||||
// before the scheduler spawns a new instance.
|
||||
//
|
||||
// Defaults to a runtime-specific value.
|
||||
MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=max_concurrent_requests,json=maxConcurrentRequests" json:"max_concurrent_requests,omitempty"`
|
||||
MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=max_concurrent_requests,json=maxConcurrentRequests,proto3" json:"max_concurrent_requests,omitempty"`
|
||||
// Maximum number of idle instances that should be maintained for this
|
||||
// version.
|
||||
MaxIdleInstances int32 `protobuf:"varint,4,opt,name=max_idle_instances,json=maxIdleInstances" json:"max_idle_instances,omitempty"`
|
||||
MaxIdleInstances int32 `protobuf:"varint,4,opt,name=max_idle_instances,json=maxIdleInstances,proto3" json:"max_idle_instances,omitempty"`
|
||||
// Maximum number of instances that should be started to handle requests.
|
||||
MaxTotalInstances int32 `protobuf:"varint,5,opt,name=max_total_instances,json=maxTotalInstances" json:"max_total_instances,omitempty"`
|
||||
MaxTotalInstances int32 `protobuf:"varint,5,opt,name=max_total_instances,json=maxTotalInstances,proto3" json:"max_total_instances,omitempty"`
|
||||
// Maximum amount of time that a request should wait in the pending queue
|
||||
// before starting a new instance to handle it.
|
||||
MaxPendingLatency *google_protobuf1.Duration `protobuf:"bytes,6,opt,name=max_pending_latency,json=maxPendingLatency" json:"max_pending_latency,omitempty"`
|
||||
MaxPendingLatency *duration.Duration `protobuf:"bytes,6,opt,name=max_pending_latency,json=maxPendingLatency,proto3" json:"max_pending_latency,omitempty"`
|
||||
// Minimum number of idle instances that should be maintained for
|
||||
// this version. Only applicable for the default version of a service.
|
||||
MinIdleInstances int32 `protobuf:"varint,7,opt,name=min_idle_instances,json=minIdleInstances" json:"min_idle_instances,omitempty"`
|
||||
MinIdleInstances int32 `protobuf:"varint,7,opt,name=min_idle_instances,json=minIdleInstances,proto3" json:"min_idle_instances,omitempty"`
|
||||
// Minimum number of instances that should be maintained for this version.
|
||||
MinTotalInstances int32 `protobuf:"varint,8,opt,name=min_total_instances,json=minTotalInstances" json:"min_total_instances,omitempty"`
|
||||
MinTotalInstances int32 `protobuf:"varint,8,opt,name=min_total_instances,json=minTotalInstances,proto3" json:"min_total_instances,omitempty"`
|
||||
// Minimum amount of time a request should wait in the pending queue before
|
||||
// starting a new instance to handle it.
|
||||
MinPendingLatency *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=min_pending_latency,json=minPendingLatency" json:"min_pending_latency,omitempty"`
|
||||
MinPendingLatency *duration.Duration `protobuf:"bytes,9,opt,name=min_pending_latency,json=minPendingLatency,proto3" json:"min_pending_latency,omitempty"`
|
||||
// Target scaling by request utilization.
|
||||
RequestUtilization *RequestUtilization `protobuf:"bytes,10,opt,name=request_utilization,json=requestUtilization" json:"request_utilization,omitempty"`
|
||||
RequestUtilization *RequestUtilization `protobuf:"bytes,10,opt,name=request_utilization,json=requestUtilization,proto3" json:"request_utilization,omitempty"`
|
||||
// Target scaling by disk usage.
|
||||
DiskUtilization *DiskUtilization `protobuf:"bytes,11,opt,name=disk_utilization,json=diskUtilization" json:"disk_utilization,omitempty"`
|
||||
DiskUtilization *DiskUtilization `protobuf:"bytes,11,opt,name=disk_utilization,json=diskUtilization,proto3" json:"disk_utilization,omitempty"`
|
||||
// Target scaling by network usage.
|
||||
NetworkUtilization *NetworkUtilization `protobuf:"bytes,12,opt,name=network_utilization,json=networkUtilization" json:"network_utilization,omitempty"`
|
||||
NetworkUtilization *NetworkUtilization `protobuf:"bytes,12,opt,name=network_utilization,json=networkUtilization,proto3" json:"network_utilization,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AutomaticScaling) Reset() { *m = AutomaticScaling{} }
|
||||
func (m *AutomaticScaling) String() string { return proto.CompactTextString(m) }
|
||||
func (*AutomaticScaling) ProtoMessage() {}
|
||||
func (*AutomaticScaling) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
|
||||
func (m *AutomaticScaling) Reset() { *m = AutomaticScaling{} }
|
||||
func (m *AutomaticScaling) String() string { return proto.CompactTextString(m) }
|
||||
func (*AutomaticScaling) ProtoMessage() {}
|
||||
func (*AutomaticScaling) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{1}
|
||||
}
|
||||
func (m *AutomaticScaling) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AutomaticScaling.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AutomaticScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AutomaticScaling.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AutomaticScaling) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AutomaticScaling.Merge(dst, src)
|
||||
}
|
||||
func (m *AutomaticScaling) XXX_Size() int {
|
||||
return xxx_messageInfo_AutomaticScaling.Size(m)
|
||||
}
|
||||
func (m *AutomaticScaling) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AutomaticScaling.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *AutomaticScaling) GetCoolDownPeriod() *google_protobuf1.Duration {
|
||||
var xxx_messageInfo_AutomaticScaling proto.InternalMessageInfo
|
||||
|
||||
func (m *AutomaticScaling) GetCoolDownPeriod() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.CoolDownPeriod
|
||||
}
|
||||
@ -616,7 +674,7 @@ func (m *AutomaticScaling) GetMaxTotalInstances() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *AutomaticScaling) GetMaxPendingLatency() *google_protobuf1.Duration {
|
||||
func (m *AutomaticScaling) GetMaxPendingLatency() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.MaxPendingLatency
|
||||
}
|
||||
@ -637,7 +695,7 @@ func (m *AutomaticScaling) GetMinTotalInstances() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *AutomaticScaling) GetMinPendingLatency() *google_protobuf1.Duration {
|
||||
func (m *AutomaticScaling) GetMinPendingLatency() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.MinPendingLatency
|
||||
}
|
||||
@ -672,17 +730,39 @@ func (m *AutomaticScaling) GetNetworkUtilization() *NetworkUtilization {
|
||||
type BasicScaling struct {
|
||||
// Duration of time after the last request that an instance must wait before
|
||||
// the instance is shut down.
|
||||
IdleTimeout *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout" json:"idle_timeout,omitempty"`
|
||||
IdleTimeout *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
|
||||
// Maximum number of instances to create for this version.
|
||||
MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances" json:"max_instances,omitempty"`
|
||||
MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *BasicScaling) Reset() { *m = BasicScaling{} }
|
||||
func (m *BasicScaling) String() string { return proto.CompactTextString(m) }
|
||||
func (*BasicScaling) ProtoMessage() {}
|
||||
func (*BasicScaling) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
|
||||
func (m *BasicScaling) Reset() { *m = BasicScaling{} }
|
||||
func (m *BasicScaling) String() string { return proto.CompactTextString(m) }
|
||||
func (*BasicScaling) ProtoMessage() {}
|
||||
func (*BasicScaling) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{2}
|
||||
}
|
||||
func (m *BasicScaling) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BasicScaling.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BasicScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BasicScaling.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *BasicScaling) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BasicScaling.Merge(dst, src)
|
||||
}
|
||||
func (m *BasicScaling) XXX_Size() int {
|
||||
return xxx_messageInfo_BasicScaling.Size(m)
|
||||
}
|
||||
func (m *BasicScaling) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BasicScaling.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *BasicScaling) GetIdleTimeout() *google_protobuf1.Duration {
|
||||
var xxx_messageInfo_BasicScaling proto.InternalMessageInfo
|
||||
|
||||
func (m *BasicScaling) GetIdleTimeout() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.IdleTimeout
|
||||
}
|
||||
@ -703,13 +783,35 @@ type ManualScaling struct {
|
||||
// can later be altered by using the
|
||||
// [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions)
|
||||
// `set_num_instances()` function.
|
||||
Instances int32 `protobuf:"varint,1,opt,name=instances" json:"instances,omitempty"`
|
||||
Instances int32 `protobuf:"varint,1,opt,name=instances,proto3" json:"instances,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ManualScaling) Reset() { *m = ManualScaling{} }
|
||||
func (m *ManualScaling) String() string { return proto.CompactTextString(m) }
|
||||
func (*ManualScaling) ProtoMessage() {}
|
||||
func (*ManualScaling) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
|
||||
func (m *ManualScaling) Reset() { *m = ManualScaling{} }
|
||||
func (m *ManualScaling) String() string { return proto.CompactTextString(m) }
|
||||
func (*ManualScaling) ProtoMessage() {}
|
||||
func (*ManualScaling) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{3}
|
||||
}
|
||||
func (m *ManualScaling) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ManualScaling.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ManualScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ManualScaling.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ManualScaling) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ManualScaling.Merge(dst, src)
|
||||
}
|
||||
func (m *ManualScaling) XXX_Size() int {
|
||||
return xxx_messageInfo_ManualScaling.Size(m)
|
||||
}
|
||||
func (m *ManualScaling) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ManualScaling.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ManualScaling proto.InternalMessageInfo
|
||||
|
||||
func (m *ManualScaling) GetInstances() int32 {
|
||||
if m != nil {
|
||||
@ -721,18 +823,40 @@ func (m *ManualScaling) GetInstances() int32 {
|
||||
// Target scaling by CPU usage.
|
||||
type CpuUtilization struct {
|
||||
// Period of time over which CPU utilization is calculated.
|
||||
AggregationWindowLength *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=aggregation_window_length,json=aggregationWindowLength" json:"aggregation_window_length,omitempty"`
|
||||
AggregationWindowLength *duration.Duration `protobuf:"bytes,1,opt,name=aggregation_window_length,json=aggregationWindowLength,proto3" json:"aggregation_window_length,omitempty"`
|
||||
// Target CPU utilization ratio to maintain when scaling. Must be between 0
|
||||
// and 1.
|
||||
TargetUtilization float64 `protobuf:"fixed64,2,opt,name=target_utilization,json=targetUtilization" json:"target_utilization,omitempty"`
|
||||
TargetUtilization float64 `protobuf:"fixed64,2,opt,name=target_utilization,json=targetUtilization,proto3" json:"target_utilization,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CpuUtilization) Reset() { *m = CpuUtilization{} }
|
||||
func (m *CpuUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*CpuUtilization) ProtoMessage() {}
|
||||
func (*CpuUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
|
||||
func (m *CpuUtilization) Reset() { *m = CpuUtilization{} }
|
||||
func (m *CpuUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*CpuUtilization) ProtoMessage() {}
|
||||
func (*CpuUtilization) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{4}
|
||||
}
|
||||
func (m *CpuUtilization) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CpuUtilization.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CpuUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CpuUtilization.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CpuUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CpuUtilization.Merge(dst, src)
|
||||
}
|
||||
func (m *CpuUtilization) XXX_Size() int {
|
||||
return xxx_messageInfo_CpuUtilization.Size(m)
|
||||
}
|
||||
func (m *CpuUtilization) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CpuUtilization.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *CpuUtilization) GetAggregationWindowLength() *google_protobuf1.Duration {
|
||||
var xxx_messageInfo_CpuUtilization proto.InternalMessageInfo
|
||||
|
||||
func (m *CpuUtilization) GetAggregationWindowLength() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.AggregationWindowLength
|
||||
}
|
||||
@ -749,15 +873,37 @@ func (m *CpuUtilization) GetTargetUtilization() float64 {
|
||||
// Target scaling by request utilization. Only applicable for VM runtimes.
|
||||
type RequestUtilization struct {
|
||||
// Target requests per second.
|
||||
TargetRequestCountPerSecond int32 `protobuf:"varint,1,opt,name=target_request_count_per_second,json=targetRequestCountPerSecond" json:"target_request_count_per_second,omitempty"`
|
||||
TargetRequestCountPerSecond int32 `protobuf:"varint,1,opt,name=target_request_count_per_second,json=targetRequestCountPerSecond,proto3" json:"target_request_count_per_second,omitempty"`
|
||||
// Target number of concurrent requests.
|
||||
TargetConcurrentRequests int32 `protobuf:"varint,2,opt,name=target_concurrent_requests,json=targetConcurrentRequests" json:"target_concurrent_requests,omitempty"`
|
||||
TargetConcurrentRequests int32 `protobuf:"varint,2,opt,name=target_concurrent_requests,json=targetConcurrentRequests,proto3" json:"target_concurrent_requests,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *RequestUtilization) Reset() { *m = RequestUtilization{} }
|
||||
func (m *RequestUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestUtilization) ProtoMessage() {}
|
||||
func (*RequestUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
|
||||
func (m *RequestUtilization) Reset() { *m = RequestUtilization{} }
|
||||
func (m *RequestUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestUtilization) ProtoMessage() {}
|
||||
func (*RequestUtilization) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{5}
|
||||
}
|
||||
func (m *RequestUtilization) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RequestUtilization.Unmarshal(m, b)
|
||||
}
|
||||
func (m *RequestUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_RequestUtilization.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *RequestUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_RequestUtilization.Merge(dst, src)
|
||||
}
|
||||
func (m *RequestUtilization) XXX_Size() int {
|
||||
return xxx_messageInfo_RequestUtilization.Size(m)
|
||||
}
|
||||
func (m *RequestUtilization) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_RequestUtilization.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_RequestUtilization proto.InternalMessageInfo
|
||||
|
||||
func (m *RequestUtilization) GetTargetRequestCountPerSecond() int32 {
|
||||
if m != nil {
|
||||
@ -776,19 +922,41 @@ func (m *RequestUtilization) GetTargetConcurrentRequests() int32 {
|
||||
// Target scaling by disk usage. Only applicable for VM runtimes.
|
||||
type DiskUtilization struct {
|
||||
// Target bytes written per second.
|
||||
TargetWriteBytesPerSecond int32 `protobuf:"varint,14,opt,name=target_write_bytes_per_second,json=targetWriteBytesPerSecond" json:"target_write_bytes_per_second,omitempty"`
|
||||
TargetWriteBytesPerSecond int32 `protobuf:"varint,14,opt,name=target_write_bytes_per_second,json=targetWriteBytesPerSecond,proto3" json:"target_write_bytes_per_second,omitempty"`
|
||||
// Target ops written per second.
|
||||
TargetWriteOpsPerSecond int32 `protobuf:"varint,15,opt,name=target_write_ops_per_second,json=targetWriteOpsPerSecond" json:"target_write_ops_per_second,omitempty"`
|
||||
TargetWriteOpsPerSecond int32 `protobuf:"varint,15,opt,name=target_write_ops_per_second,json=targetWriteOpsPerSecond,proto3" json:"target_write_ops_per_second,omitempty"`
|
||||
// Target bytes read per second.
|
||||
TargetReadBytesPerSecond int32 `protobuf:"varint,16,opt,name=target_read_bytes_per_second,json=targetReadBytesPerSecond" json:"target_read_bytes_per_second,omitempty"`
|
||||
TargetReadBytesPerSecond int32 `protobuf:"varint,16,opt,name=target_read_bytes_per_second,json=targetReadBytesPerSecond,proto3" json:"target_read_bytes_per_second,omitempty"`
|
||||
// Target ops read per seconds.
|
||||
TargetReadOpsPerSecond int32 `protobuf:"varint,17,opt,name=target_read_ops_per_second,json=targetReadOpsPerSecond" json:"target_read_ops_per_second,omitempty"`
|
||||
TargetReadOpsPerSecond int32 `protobuf:"varint,17,opt,name=target_read_ops_per_second,json=targetReadOpsPerSecond,proto3" json:"target_read_ops_per_second,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DiskUtilization) Reset() { *m = DiskUtilization{} }
|
||||
func (m *DiskUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*DiskUtilization) ProtoMessage() {}
|
||||
func (*DiskUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
|
||||
func (m *DiskUtilization) Reset() { *m = DiskUtilization{} }
|
||||
func (m *DiskUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*DiskUtilization) ProtoMessage() {}
|
||||
func (*DiskUtilization) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{6}
|
||||
}
|
||||
func (m *DiskUtilization) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DiskUtilization.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DiskUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DiskUtilization.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DiskUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DiskUtilization.Merge(dst, src)
|
||||
}
|
||||
func (m *DiskUtilization) XXX_Size() int {
|
||||
return xxx_messageInfo_DiskUtilization.Size(m)
|
||||
}
|
||||
func (m *DiskUtilization) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DiskUtilization.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DiskUtilization proto.InternalMessageInfo
|
||||
|
||||
func (m *DiskUtilization) GetTargetWriteBytesPerSecond() int32 {
|
||||
if m != nil {
|
||||
@ -821,19 +989,41 @@ func (m *DiskUtilization) GetTargetReadOpsPerSecond() int32 {
|
||||
// Target scaling by network usage. Only applicable for VM runtimes.
|
||||
type NetworkUtilization struct {
|
||||
// Target bytes sent per second.
|
||||
TargetSentBytesPerSecond int32 `protobuf:"varint,1,opt,name=target_sent_bytes_per_second,json=targetSentBytesPerSecond" json:"target_sent_bytes_per_second,omitempty"`
|
||||
TargetSentBytesPerSecond int32 `protobuf:"varint,1,opt,name=target_sent_bytes_per_second,json=targetSentBytesPerSecond,proto3" json:"target_sent_bytes_per_second,omitempty"`
|
||||
// Target packets sent per second.
|
||||
TargetSentPacketsPerSecond int32 `protobuf:"varint,11,opt,name=target_sent_packets_per_second,json=targetSentPacketsPerSecond" json:"target_sent_packets_per_second,omitempty"`
|
||||
TargetSentPacketsPerSecond int32 `protobuf:"varint,11,opt,name=target_sent_packets_per_second,json=targetSentPacketsPerSecond,proto3" json:"target_sent_packets_per_second,omitempty"`
|
||||
// Target bytes received per second.
|
||||
TargetReceivedBytesPerSecond int32 `protobuf:"varint,12,opt,name=target_received_bytes_per_second,json=targetReceivedBytesPerSecond" json:"target_received_bytes_per_second,omitempty"`
|
||||
TargetReceivedBytesPerSecond int32 `protobuf:"varint,12,opt,name=target_received_bytes_per_second,json=targetReceivedBytesPerSecond,proto3" json:"target_received_bytes_per_second,omitempty"`
|
||||
// Target packets received per second.
|
||||
TargetReceivedPacketsPerSecond int32 `protobuf:"varint,13,opt,name=target_received_packets_per_second,json=targetReceivedPacketsPerSecond" json:"target_received_packets_per_second,omitempty"`
|
||||
TargetReceivedPacketsPerSecond int32 `protobuf:"varint,13,opt,name=target_received_packets_per_second,json=targetReceivedPacketsPerSecond,proto3" json:"target_received_packets_per_second,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NetworkUtilization) Reset() { *m = NetworkUtilization{} }
|
||||
func (m *NetworkUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*NetworkUtilization) ProtoMessage() {}
|
||||
func (*NetworkUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
|
||||
func (m *NetworkUtilization) Reset() { *m = NetworkUtilization{} }
|
||||
func (m *NetworkUtilization) String() string { return proto.CompactTextString(m) }
|
||||
func (*NetworkUtilization) ProtoMessage() {}
|
||||
func (*NetworkUtilization) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{7}
|
||||
}
|
||||
func (m *NetworkUtilization) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_NetworkUtilization.Unmarshal(m, b)
|
||||
}
|
||||
func (m *NetworkUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_NetworkUtilization.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *NetworkUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NetworkUtilization.Merge(dst, src)
|
||||
}
|
||||
func (m *NetworkUtilization) XXX_Size() int {
|
||||
return xxx_messageInfo_NetworkUtilization.Size(m)
|
||||
}
|
||||
func (m *NetworkUtilization) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NetworkUtilization.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NetworkUtilization proto.InternalMessageInfo
|
||||
|
||||
func (m *NetworkUtilization) GetTargetSentBytesPerSecond() int32 {
|
||||
if m != nil {
|
||||
@ -867,20 +1057,42 @@ func (m *NetworkUtilization) GetTargetReceivedPacketsPerSecond() int32 {
|
||||
type Network struct {
|
||||
// List of ports, or port pairs, to forward from the virtual machine to the
|
||||
// application container.
|
||||
ForwardedPorts []string `protobuf:"bytes,1,rep,name=forwarded_ports,json=forwardedPorts" json:"forwarded_ports,omitempty"`
|
||||
ForwardedPorts []string `protobuf:"bytes,1,rep,name=forwarded_ports,json=forwardedPorts,proto3" json:"forwarded_ports,omitempty"`
|
||||
// Tag to apply to the VM instance during creation.
|
||||
InstanceTag string `protobuf:"bytes,2,opt,name=instance_tag,json=instanceTag" json:"instance_tag,omitempty"`
|
||||
InstanceTag string `protobuf:"bytes,2,opt,name=instance_tag,json=instanceTag,proto3" json:"instance_tag,omitempty"`
|
||||
// Google Cloud Platform network where the virtual machines are created.
|
||||
// Specify the short name, not the resource path.
|
||||
//
|
||||
// Defaults to `default`.
|
||||
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Network) Reset() { *m = Network{} }
|
||||
func (m *Network) String() string { return proto.CompactTextString(m) }
|
||||
func (*Network) ProtoMessage() {}
|
||||
func (*Network) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
|
||||
func (m *Network) Reset() { *m = Network{} }
|
||||
func (m *Network) String() string { return proto.CompactTextString(m) }
|
||||
func (*Network) ProtoMessage() {}
|
||||
func (*Network) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{8}
|
||||
}
|
||||
func (m *Network) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Network.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Network.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Network) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Network.Merge(dst, src)
|
||||
}
|
||||
func (m *Network) XXX_Size() int {
|
||||
return xxx_messageInfo_Network.Size(m)
|
||||
}
|
||||
func (m *Network) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Network.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Network proto.InternalMessageInfo
|
||||
|
||||
func (m *Network) GetForwardedPorts() []string {
|
||||
if m != nil {
|
||||
@ -906,17 +1118,39 @@ func (m *Network) GetName() string {
|
||||
// Machine resources for a version.
|
||||
type Resources struct {
|
||||
// Number of CPU cores needed.
|
||||
Cpu float64 `protobuf:"fixed64,1,opt,name=cpu" json:"cpu,omitempty"`
|
||||
Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
|
||||
// Disk size (GB) needed.
|
||||
DiskGb float64 `protobuf:"fixed64,2,opt,name=disk_gb,json=diskGb" json:"disk_gb,omitempty"`
|
||||
DiskGb float64 `protobuf:"fixed64,2,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
|
||||
// Memory (GB) needed.
|
||||
MemoryGb float64 `protobuf:"fixed64,3,opt,name=memory_gb,json=memoryGb" json:"memory_gb,omitempty"`
|
||||
MemoryGb float64 `protobuf:"fixed64,3,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Resources) Reset() { *m = Resources{} }
|
||||
func (m *Resources) String() string { return proto.CompactTextString(m) }
|
||||
func (*Resources) ProtoMessage() {}
|
||||
func (*Resources) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
|
||||
func (m *Resources) Reset() { *m = Resources{} }
|
||||
func (m *Resources) String() string { return proto.CompactTextString(m) }
|
||||
func (*Resources) ProtoMessage() {}
|
||||
func (*Resources) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_version_8b240e3827c1f1f0, []int{9}
|
||||
}
|
||||
func (m *Resources) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Resources.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Resources.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Resources) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Resources.Merge(dst, src)
|
||||
}
|
||||
func (m *Resources) XXX_Size() int {
|
||||
return xxx_messageInfo_Resources.Size(m)
|
||||
}
|
||||
func (m *Resources) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Resources.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Resources proto.InternalMessageInfo
|
||||
|
||||
func (m *Resources) GetCpu() float64 {
|
||||
if m != nil {
|
||||
@ -941,6 +1175,8 @@ func (m *Resources) GetMemoryGb() float64 {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Version)(nil), "google.appengine.v1.Version")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.Version.BetaSettingsEntry")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.Version.EnvVariablesEntry")
|
||||
proto.RegisterType((*AutomaticScaling)(nil), "google.appengine.v1.AutomaticScaling")
|
||||
proto.RegisterType((*BasicScaling)(nil), "google.appengine.v1.BasicScaling")
|
||||
proto.RegisterType((*ManualScaling)(nil), "google.appengine.v1.ManualScaling")
|
||||
@ -954,9 +1190,11 @@ func init() {
|
||||
proto.RegisterEnum("google.appengine.v1.ServingStatus", ServingStatus_name, ServingStatus_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/version.proto", fileDescriptor9) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/version.proto", fileDescriptor_version_8b240e3827c1f1f0)
|
||||
}
|
||||
|
||||
var fileDescriptor9 = []byte{
|
||||
var fileDescriptor_version_8b240e3827c1f1f0 = []byte{
|
||||
// 1767 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x5d, 0x73, 0xdb, 0xc6,
|
||||
0x15, 0x0d, 0x29, 0x4b, 0x14, 0x2f, 0x3f, 0x04, 0xad, 0xd3, 0x08, 0x96, 0x64, 0x89, 0x66, 0x92,
|
||||
|
@ -1,29 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/assistant/embedded/v1alpha1/embedded_assistant.proto
|
||||
|
||||
/*
|
||||
Package embedded is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/assistant/embedded/v1alpha1/embedded_assistant.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ConverseConfig
|
||||
AudioInConfig
|
||||
AudioOutConfig
|
||||
ConverseState
|
||||
AudioOut
|
||||
ConverseResult
|
||||
ConverseRequest
|
||||
ConverseResponse
|
||||
*/
|
||||
package embedded
|
||||
package embedded // import "google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1"
|
||||
|
||||
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"
|
||||
@ -75,7 +59,9 @@ var AudioInConfig_Encoding_value = map[string]int32{
|
||||
func (x AudioInConfig_Encoding) String() string {
|
||||
return proto.EnumName(AudioInConfig_Encoding_name, int32(x))
|
||||
}
|
||||
func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{1, 0}
|
||||
}
|
||||
|
||||
// Audio encoding of the data returned in the audio message. All encodings are
|
||||
// raw audio bytes with no header, except as indicated below.
|
||||
@ -111,7 +97,9 @@ var AudioOutConfig_Encoding_value = map[string]int32{
|
||||
func (x AudioOutConfig_Encoding) String() string {
|
||||
return proto.EnumName(AudioOutConfig_Encoding_name, int32(x))
|
||||
}
|
||||
func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{2, 0}
|
||||
}
|
||||
|
||||
// Possible states of the microphone after a `Converse` RPC completes.
|
||||
type ConverseResult_MicrophoneMode int32
|
||||
@ -143,7 +131,7 @@ func (x ConverseResult_MicrophoneMode) String() string {
|
||||
return proto.EnumName(ConverseResult_MicrophoneMode_name, int32(x))
|
||||
}
|
||||
func (ConverseResult_MicrophoneMode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{5, 0}
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{5, 0}
|
||||
}
|
||||
|
||||
// Indicates the type of event.
|
||||
@ -174,23 +162,45 @@ func (x ConverseResponse_EventType) String() string {
|
||||
return proto.EnumName(ConverseResponse_EventType_name, int32(x))
|
||||
}
|
||||
func (ConverseResponse_EventType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{7, 0}
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{7, 0}
|
||||
}
|
||||
|
||||
// Specifies how to process the `ConverseRequest` messages.
|
||||
type ConverseConfig struct {
|
||||
// *Required* Specifies how to process the subsequent incoming audio.
|
||||
AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig" json:"audio_in_config,omitempty"`
|
||||
AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig,proto3" json:"audio_in_config,omitempty"`
|
||||
// *Required* Specifies how to format the audio that will be returned.
|
||||
AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig" json:"audio_out_config,omitempty"`
|
||||
AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig,proto3" json:"audio_out_config,omitempty"`
|
||||
// *Required* Represents the current dialog state.
|
||||
ConverseState *ConverseState `protobuf:"bytes,3,opt,name=converse_state,json=converseState" json:"converse_state,omitempty"`
|
||||
ConverseState *ConverseState `protobuf:"bytes,3,opt,name=converse_state,json=converseState,proto3" json:"converse_state,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseConfig) Reset() { *m = ConverseConfig{} }
|
||||
func (m *ConverseConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseConfig) ProtoMessage() {}
|
||||
func (*ConverseConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *ConverseConfig) Reset() { *m = ConverseConfig{} }
|
||||
func (m *ConverseConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseConfig) ProtoMessage() {}
|
||||
func (*ConverseConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{0}
|
||||
}
|
||||
func (m *ConverseConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConverseConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseConfig.Merge(dst, src)
|
||||
}
|
||||
func (m *ConverseConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseConfig.Size(m)
|
||||
}
|
||||
func (m *ConverseConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseConfig proto.InternalMessageInfo
|
||||
|
||||
func (m *ConverseConfig) GetAudioInConfig() *AudioInConfig {
|
||||
if m != nil {
|
||||
@ -218,19 +228,41 @@ func (m *ConverseConfig) GetConverseState() *ConverseState {
|
||||
// [best practices](https://developers.google.com/assistant/sdk/develop/grpc/best-practices/audio).
|
||||
type AudioInConfig struct {
|
||||
// *Required* Encoding of audio data sent in all `audio_in` messages.
|
||||
Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,enum=google.assistant.embedded.v1alpha1.AudioInConfig_Encoding" json:"encoding,omitempty"`
|
||||
Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.AudioInConfig_Encoding" json:"encoding,omitempty"`
|
||||
// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in`
|
||||
// messages. Valid values are from 16000-24000, but 16000 is optimal.
|
||||
// For best results, set the sampling rate of the audio source to 16000 Hz.
|
||||
// If that's not possible, use the native sample rate of the audio source
|
||||
// (instead of re-sampling).
|
||||
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz" json:"sample_rate_hertz,omitempty"`
|
||||
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AudioInConfig) Reset() { *m = AudioInConfig{} }
|
||||
func (m *AudioInConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*AudioInConfig) ProtoMessage() {}
|
||||
func (*AudioInConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *AudioInConfig) Reset() { *m = AudioInConfig{} }
|
||||
func (m *AudioInConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*AudioInConfig) ProtoMessage() {}
|
||||
func (*AudioInConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{1}
|
||||
}
|
||||
func (m *AudioInConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AudioInConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AudioInConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AudioInConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AudioInConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AudioInConfig.Merge(dst, src)
|
||||
}
|
||||
func (m *AudioInConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_AudioInConfig.Size(m)
|
||||
}
|
||||
func (m *AudioInConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AudioInConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AudioInConfig proto.InternalMessageInfo
|
||||
|
||||
func (m *AudioInConfig) GetEncoding() AudioInConfig_Encoding {
|
||||
if m != nil {
|
||||
@ -251,19 +283,41 @@ func (m *AudioInConfig) GetSampleRateHertz() int32 {
|
||||
type AudioOutConfig struct {
|
||||
// *Required* The encoding of audio data to be returned in all `audio_out`
|
||||
// messages.
|
||||
Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,enum=google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding" json:"encoding,omitempty"`
|
||||
Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding" json:"encoding,omitempty"`
|
||||
// *Required* The sample rate in Hertz of the audio data returned in
|
||||
// `audio_out` messages. Valid values are: 16000-24000.
|
||||
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz" json:"sample_rate_hertz,omitempty"`
|
||||
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
|
||||
// *Required* Current volume setting of the device's audio output.
|
||||
// Valid values are 1 to 100 (corresponding to 1% to 100%).
|
||||
VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage" json:"volume_percentage,omitempty"`
|
||||
VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AudioOutConfig) Reset() { *m = AudioOutConfig{} }
|
||||
func (m *AudioOutConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*AudioOutConfig) ProtoMessage() {}
|
||||
func (*AudioOutConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *AudioOutConfig) Reset() { *m = AudioOutConfig{} }
|
||||
func (m *AudioOutConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*AudioOutConfig) ProtoMessage() {}
|
||||
func (*AudioOutConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{2}
|
||||
}
|
||||
func (m *AudioOutConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AudioOutConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AudioOutConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AudioOutConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AudioOutConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AudioOutConfig.Merge(dst, src)
|
||||
}
|
||||
func (m *AudioOutConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_AudioOutConfig.Size(m)
|
||||
}
|
||||
func (m *AudioOutConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AudioOutConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AudioOutConfig proto.InternalMessageInfo
|
||||
|
||||
func (m *AudioOutConfig) GetEncoding() AudioOutConfig_Encoding {
|
||||
if m != nil {
|
||||
@ -293,13 +347,35 @@ type ConverseState struct {
|
||||
// `ConverseResponse`. If there was a prior `ConverseResponse`, do not omit
|
||||
// this field; doing so will end that conversation (and this new request will
|
||||
// start a new conversation).
|
||||
ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
|
||||
ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseState) Reset() { *m = ConverseState{} }
|
||||
func (m *ConverseState) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseState) ProtoMessage() {}
|
||||
func (*ConverseState) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *ConverseState) Reset() { *m = ConverseState{} }
|
||||
func (m *ConverseState) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseState) ProtoMessage() {}
|
||||
func (*ConverseState) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{3}
|
||||
}
|
||||
func (m *ConverseState) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseState.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseState.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConverseState) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseState.Merge(dst, src)
|
||||
}
|
||||
func (m *ConverseState) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseState.Size(m)
|
||||
}
|
||||
func (m *ConverseState) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseState.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseState proto.InternalMessageInfo
|
||||
|
||||
func (m *ConverseState) GetConversationState() []byte {
|
||||
if m != nil {
|
||||
@ -314,13 +390,35 @@ type AudioOut struct {
|
||||
// *Output-only* The audio data containing the assistant's response to the
|
||||
// query. Sequential chunks of audio data are received in sequential
|
||||
// `ConverseResponse` messages.
|
||||
AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
|
||||
AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AudioOut) Reset() { *m = AudioOut{} }
|
||||
func (m *AudioOut) String() string { return proto.CompactTextString(m) }
|
||||
func (*AudioOut) ProtoMessage() {}
|
||||
func (*AudioOut) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *AudioOut) Reset() { *m = AudioOut{} }
|
||||
func (m *AudioOut) String() string { return proto.CompactTextString(m) }
|
||||
func (*AudioOut) ProtoMessage() {}
|
||||
func (*AudioOut) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{4}
|
||||
}
|
||||
func (m *AudioOut) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AudioOut.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AudioOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AudioOut.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AudioOut) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AudioOut.Merge(dst, src)
|
||||
}
|
||||
func (m *AudioOut) XXX_Size() int {
|
||||
return xxx_messageInfo_AudioOut.Size(m)
|
||||
}
|
||||
func (m *AudioOut) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AudioOut.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AudioOut proto.InternalMessageInfo
|
||||
|
||||
func (m *AudioOut) GetAudioData() []byte {
|
||||
if m != nil {
|
||||
@ -332,10 +430,10 @@ func (m *AudioOut) GetAudioData() []byte {
|
||||
// The semantic result for the user's spoken query.
|
||||
type ConverseResult struct {
|
||||
// *Output-only* The recognized transcript of what the user said.
|
||||
SpokenRequestText string `protobuf:"bytes,1,opt,name=spoken_request_text,json=spokenRequestText" json:"spoken_request_text,omitempty"`
|
||||
SpokenRequestText string `protobuf:"bytes,1,opt,name=spoken_request_text,json=spokenRequestText,proto3" json:"spoken_request_text,omitempty"`
|
||||
// *Output-only* The text of the assistant's spoken response. This is only
|
||||
// returned for an IFTTT action.
|
||||
SpokenResponseText string `protobuf:"bytes,2,opt,name=spoken_response_text,json=spokenResponseText" json:"spoken_response_text,omitempty"`
|
||||
SpokenResponseText string `protobuf:"bytes,2,opt,name=spoken_response_text,json=spokenResponseText,proto3" json:"spoken_response_text,omitempty"`
|
||||
// *Output-only* State information for subsequent `ConverseRequest`. This
|
||||
// value should be saved in the client and returned in the
|
||||
// `conversation_state` with the next `ConverseRequest`. (The client does not
|
||||
@ -344,7 +442,7 @@ type ConverseResult struct {
|
||||
ConversationState []byte `protobuf:"bytes,3,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
|
||||
// *Output-only* Specifies the mode of the microphone after this `Converse`
|
||||
// RPC is processed.
|
||||
MicrophoneMode ConverseResult_MicrophoneMode `protobuf:"varint,4,opt,name=microphone_mode,json=microphoneMode,enum=google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode" json:"microphone_mode,omitempty"`
|
||||
MicrophoneMode ConverseResult_MicrophoneMode `protobuf:"varint,4,opt,name=microphone_mode,json=microphoneMode,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode" json:"microphone_mode,omitempty"`
|
||||
// *Output-only* Updated volume level. The value will be 0 or omitted
|
||||
// (indicating no change) unless a voice command such as "Increase the volume"
|
||||
// or "Set volume level 4" was recognized, in which case the value will be
|
||||
@ -354,13 +452,35 @@ type ConverseResult struct {
|
||||
// supply it in the `AudioOutConfig` of the next `ConverseRequest`. (Some
|
||||
// clients may also implement other ways to allow the current volume level to
|
||||
// be changed, for example, by providing a knob that the user can turn.)
|
||||
VolumePercentage int32 `protobuf:"varint,5,opt,name=volume_percentage,json=volumePercentage" json:"volume_percentage,omitempty"`
|
||||
VolumePercentage int32 `protobuf:"varint,5,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseResult) Reset() { *m = ConverseResult{} }
|
||||
func (m *ConverseResult) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResult) ProtoMessage() {}
|
||||
func (*ConverseResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *ConverseResult) Reset() { *m = ConverseResult{} }
|
||||
func (m *ConverseResult) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResult) ProtoMessage() {}
|
||||
func (*ConverseResult) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{5}
|
||||
}
|
||||
func (m *ConverseResult) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseResult.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseResult.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConverseResult) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseResult.Merge(dst, src)
|
||||
}
|
||||
func (m *ConverseResult) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseResult.Size(m)
|
||||
}
|
||||
func (m *ConverseResult) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseResult.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseResult proto.InternalMessageInfo
|
||||
|
||||
func (m *ConverseResult) GetSpokenRequestText() string {
|
||||
if m != nil {
|
||||
@ -408,26 +528,50 @@ type ConverseRequest struct {
|
||||
// Types that are valid to be assigned to ConverseRequest:
|
||||
// *ConverseRequest_Config
|
||||
// *ConverseRequest_AudioIn
|
||||
ConverseRequest isConverseRequest_ConverseRequest `protobuf_oneof:"converse_request"`
|
||||
ConverseRequest isConverseRequest_ConverseRequest `protobuf_oneof:"converse_request"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseRequest) Reset() { *m = ConverseRequest{} }
|
||||
func (m *ConverseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseRequest) ProtoMessage() {}
|
||||
func (*ConverseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *ConverseRequest) Reset() { *m = ConverseRequest{} }
|
||||
func (m *ConverseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseRequest) ProtoMessage() {}
|
||||
func (*ConverseRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{6}
|
||||
}
|
||||
func (m *ConverseRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConverseRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ConverseRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseRequest.Size(m)
|
||||
}
|
||||
func (m *ConverseRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseRequest proto.InternalMessageInfo
|
||||
|
||||
type isConverseRequest_ConverseRequest interface {
|
||||
isConverseRequest_ConverseRequest()
|
||||
}
|
||||
|
||||
type ConverseRequest_Config struct {
|
||||
Config *ConverseConfig `protobuf:"bytes,1,opt,name=config,oneof"`
|
||||
Config *ConverseConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ConverseRequest_AudioIn struct {
|
||||
AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {}
|
||||
func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {}
|
||||
|
||||
func (*ConverseRequest_AudioIn) isConverseRequest_ConverseRequest() {}
|
||||
|
||||
func (m *ConverseRequest) GetConverseRequest() isConverseRequest_ConverseRequest {
|
||||
@ -507,11 +651,11 @@ func _ConverseRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.ConverseRequest.(type) {
|
||||
case *ConverseRequest_Config:
|
||||
s := proto.Size(x.Config)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ConverseRequest_AudioIn:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.AudioIn)))
|
||||
n += len(x.AudioIn)
|
||||
case nil:
|
||||
@ -531,35 +675,63 @@ type ConverseResponse struct {
|
||||
// *ConverseResponse_EventType_
|
||||
// *ConverseResponse_AudioOut
|
||||
// *ConverseResponse_Result
|
||||
ConverseResponse isConverseResponse_ConverseResponse `protobuf_oneof:"converse_response"`
|
||||
ConverseResponse isConverseResponse_ConverseResponse `protobuf_oneof:"converse_response"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseResponse) Reset() { *m = ConverseResponse{} }
|
||||
func (m *ConverseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResponse) ProtoMessage() {}
|
||||
func (*ConverseResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *ConverseResponse) Reset() { *m = ConverseResponse{} }
|
||||
func (m *ConverseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResponse) ProtoMessage() {}
|
||||
func (*ConverseResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_embedded_assistant_1e1f50e651d7eaee, []int{7}
|
||||
}
|
||||
func (m *ConverseResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConverseResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ConverseResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseResponse.Size(m)
|
||||
}
|
||||
func (m *ConverseResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseResponse proto.InternalMessageInfo
|
||||
|
||||
type isConverseResponse_ConverseResponse interface {
|
||||
isConverseResponse_ConverseResponse()
|
||||
}
|
||||
|
||||
type ConverseResponse_Error struct {
|
||||
Error *google_rpc.Status `protobuf:"bytes,1,opt,name=error,oneof"`
|
||||
}
|
||||
type ConverseResponse_EventType_ struct {
|
||||
EventType ConverseResponse_EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,enum=google.assistant.embedded.v1alpha1.ConverseResponse_EventType,oneof"`
|
||||
}
|
||||
type ConverseResponse_AudioOut struct {
|
||||
AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,oneof"`
|
||||
}
|
||||
type ConverseResponse_Result struct {
|
||||
Result *ConverseResult `protobuf:"bytes,5,opt,name=result,oneof"`
|
||||
Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {}
|
||||
type ConverseResponse_EventType_ struct {
|
||||
EventType ConverseResponse_EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResponse_EventType,oneof"`
|
||||
}
|
||||
|
||||
type ConverseResponse_AudioOut struct {
|
||||
AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ConverseResponse_Result struct {
|
||||
Result *ConverseResult `protobuf:"bytes,5,opt,name=result,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (*ConverseResponse_EventType_) isConverseResponse_ConverseResponse() {}
|
||||
func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {}
|
||||
func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResponse {
|
||||
if m != nil {
|
||||
@ -568,7 +740,7 @@ func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResp
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ConverseResponse) GetError() *google_rpc.Status {
|
||||
func (m *ConverseResponse) GetError() *status.Status {
|
||||
if x, ok := m.GetConverseResponse().(*ConverseResponse_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
@ -642,7 +814,7 @@ func _ConverseResponse_OneofUnmarshaler(msg proto.Message, tag, wire int, b *pro
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_rpc.Status)
|
||||
msg := new(status.Status)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ConverseResponse = &ConverseResponse_Error{msg}
|
||||
return true, err
|
||||
@ -680,20 +852,20 @@ func _ConverseResponse_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.ConverseResponse.(type) {
|
||||
case *ConverseResponse_Error:
|
||||
s := proto.Size(x.Error)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ConverseResponse_EventType_:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.EventType))
|
||||
case *ConverseResponse_AudioOut:
|
||||
s := proto.Size(x.AudioOut)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ConverseResponse_Result:
|
||||
s := proto.Size(x.Result)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -726,8 +898,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for EmbeddedAssistant service
|
||||
|
||||
// EmbeddedAssistantClient is the client API for EmbeddedAssistant service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type EmbeddedAssistantClient interface {
|
||||
// Initiates or continues a conversation with the embedded assistant service.
|
||||
// Each call performs one round-trip, sending an audio request to the service
|
||||
@ -782,7 +955,7 @@ func NewEmbeddedAssistantClient(cc *grpc.ClientConn) EmbeddedAssistantClient {
|
||||
}
|
||||
|
||||
func (c *embeddedAssistantClient) Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], c.cc, "/google.assistant.embedded.v1alpha1.EmbeddedAssistant/Converse", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], "/google.assistant.embedded.v1alpha1.EmbeddedAssistant/Converse", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -812,8 +985,7 @@ func (x *embeddedAssistantConverseClient) Recv() (*ConverseResponse, error) {
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// Server API for EmbeddedAssistant service
|
||||
|
||||
// EmbeddedAssistantServer is the server API for EmbeddedAssistant service.
|
||||
type EmbeddedAssistantServer interface {
|
||||
// Initiates or continues a conversation with the embedded assistant service.
|
||||
// Each call performs one round-trip, sending an audio request to the service
|
||||
@ -905,10 +1077,10 @@ var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor0)
|
||||
proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor_embedded_assistant_1e1f50e651d7eaee)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_embedded_assistant_1e1f50e651d7eaee = []byte{
|
||||
// 892 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x51, 0x73, 0xdb, 0x44,
|
||||
0x10, 0xb6, 0xec, 0xa6, 0xb5, 0xb7, 0x89, 0x2c, 0x5f, 0x33, 0x90, 0x49, 0x61, 0x60, 0xf4, 0xc0,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,38 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
|
||||
|
||||
/*
|
||||
Package cluster is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
|
||||
google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto
|
||||
google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Zone
|
||||
Cluster
|
||||
ListZonesRequest
|
||||
ListZonesResponse
|
||||
GetClusterRequest
|
||||
ListClustersRequest
|
||||
ListClustersResponse
|
||||
CreateClusterRequest
|
||||
CreateClusterMetadata
|
||||
UpdateClusterMetadata
|
||||
DeleteClusterRequest
|
||||
UndeleteClusterRequest
|
||||
UndeleteClusterMetadata
|
||||
V2OperationMetadata
|
||||
*/
|
||||
package cluster
|
||||
package cluster // import "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
import _ "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -71,7 +47,9 @@ var StorageType_value = map[string]int32{
|
||||
func (x StorageType) String() string {
|
||||
return proto.EnumName(StorageType_name, int32(x))
|
||||
}
|
||||
func (StorageType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (StorageType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{0}
|
||||
}
|
||||
|
||||
// Possible states of a zone.
|
||||
type Zone_Status int32
|
||||
@ -94,8 +72,8 @@ var Zone_Status_name = map[int32]string{
|
||||
3: "EMERGENCY_MAINENANCE",
|
||||
}
|
||||
var Zone_Status_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"OK": 1,
|
||||
"UNKNOWN": 0,
|
||||
"OK": 1,
|
||||
"PLANNED_MAINTENANCE": 2,
|
||||
"EMERGENCY_MAINENANCE": 3,
|
||||
}
|
||||
@ -103,24 +81,48 @@ var Zone_Status_value = map[string]int32{
|
||||
func (x Zone_Status) String() string {
|
||||
return proto.EnumName(Zone_Status_name, int32(x))
|
||||
}
|
||||
func (Zone_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
||||
func (Zone_Status) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{0, 0}
|
||||
}
|
||||
|
||||
// A physical location in which a particular project can allocate Cloud BigTable
|
||||
// resources.
|
||||
type Zone struct {
|
||||
// A permanent unique identifier for the zone.
|
||||
// Values are of the form projects/<project>/zones/[a-z][-a-z0-9]*
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The name of this zone as it appears in UIs.
|
||||
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"`
|
||||
// The current state of this zone.
|
||||
Status Zone_Status `protobuf:"varint,3,opt,name=status,enum=google.bigtable.admin.cluster.v1.Zone_Status" json:"status,omitempty"`
|
||||
Status Zone_Status `protobuf:"varint,3,opt,name=status,proto3,enum=google.bigtable.admin.cluster.v1.Zone_Status" json:"status,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Zone) Reset() { *m = Zone{} }
|
||||
func (m *Zone) String() string { return proto.CompactTextString(m) }
|
||||
func (*Zone) ProtoMessage() {}
|
||||
func (*Zone) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *Zone) Reset() { *m = Zone{} }
|
||||
func (m *Zone) String() string { return proto.CompactTextString(m) }
|
||||
func (*Zone) ProtoMessage() {}
|
||||
func (*Zone) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{0}
|
||||
}
|
||||
func (m *Zone) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Zone.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Zone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Zone.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Zone) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Zone.Merge(dst, src)
|
||||
}
|
||||
func (m *Zone) XXX_Size() int {
|
||||
return xxx_messageInfo_Zone.Size(m)
|
||||
}
|
||||
func (m *Zone) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Zone.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Zone proto.InternalMessageInfo
|
||||
|
||||
func (m *Zone) GetName() string {
|
||||
if m != nil {
|
||||
@ -149,26 +151,48 @@ type Cluster struct {
|
||||
// zone in which the cluster resides is included here.
|
||||
// Values are of the form
|
||||
// projects/<project>/zones/<zone>/clusters/[a-z][-a-z0-9]*
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The operation currently running on the cluster, if any.
|
||||
// This cannot be set directly, only through CreateCluster, UpdateCluster,
|
||||
// or UndeleteCluster. Calls to these methods will be rejected if
|
||||
// "current_operation" is already set.
|
||||
CurrentOperation *google_longrunning.Operation `protobuf:"bytes,3,opt,name=current_operation,json=currentOperation" json:"current_operation,omitempty"`
|
||||
CurrentOperation *longrunning.Operation `protobuf:"bytes,3,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"`
|
||||
// The descriptive name for this cluster as it appears in UIs.
|
||||
// Must be unique per zone.
|
||||
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"`
|
||||
// The number of serve nodes allocated to this cluster.
|
||||
ServeNodes int32 `protobuf:"varint,5,opt,name=serve_nodes,json=serveNodes" json:"serve_nodes,omitempty"`
|
||||
ServeNodes int32 `protobuf:"varint,5,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"`
|
||||
// What storage type to use for tables in this cluster. Only configurable at
|
||||
// cluster creation time. If unspecified, STORAGE_SSD will be used.
|
||||
DefaultStorageType StorageType `protobuf:"varint,8,opt,name=default_storage_type,json=defaultStorageType,enum=google.bigtable.admin.cluster.v1.StorageType" json:"default_storage_type,omitempty"`
|
||||
DefaultStorageType StorageType `protobuf:"varint,8,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.cluster.v1.StorageType" json:"default_storage_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Cluster) Reset() { *m = Cluster{} }
|
||||
func (m *Cluster) String() string { return proto.CompactTextString(m) }
|
||||
func (*Cluster) ProtoMessage() {}
|
||||
func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *Cluster) Reset() { *m = Cluster{} }
|
||||
func (m *Cluster) String() string { return proto.CompactTextString(m) }
|
||||
func (*Cluster) ProtoMessage() {}
|
||||
func (*Cluster) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{1}
|
||||
}
|
||||
func (m *Cluster) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Cluster.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Cluster.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Cluster) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Cluster.Merge(dst, src)
|
||||
}
|
||||
func (m *Cluster) XXX_Size() int {
|
||||
return xxx_messageInfo_Cluster.Size(m)
|
||||
}
|
||||
func (m *Cluster) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Cluster.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Cluster proto.InternalMessageInfo
|
||||
|
||||
func (m *Cluster) GetName() string {
|
||||
if m != nil {
|
||||
@ -177,7 +201,7 @@ func (m *Cluster) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Cluster) GetCurrentOperation() *google_longrunning.Operation {
|
||||
func (m *Cluster) GetCurrentOperation() *longrunning.Operation {
|
||||
if m != nil {
|
||||
return m.CurrentOperation
|
||||
}
|
||||
@ -213,10 +237,10 @@ func init() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto", fileDescriptor0)
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto", fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701 = []byte{
|
||||
// 493 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xd1, 0x6e, 0xd3, 0x3c,
|
||||
0x1c, 0xc5, 0x97, 0xae, 0xeb, 0xbe, 0xcf, 0x41, 0x10, 0xcc, 0x24, 0xa2, 0x09, 0xb4, 0x52, 0xb8,
|
||||
|
@ -1,14 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto
|
||||
|
||||
package cluster
|
||||
package cluster // import "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/empty"
|
||||
import longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
@ -20,6 +20,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
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@ -28,8 +34,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for BigtableClusterService service
|
||||
|
||||
// BigtableClusterServiceClient is the client API for BigtableClusterService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type BigtableClusterServiceClient interface {
|
||||
// Lists the supported zones for the given project.
|
||||
ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error)
|
||||
@ -93,7 +100,7 @@ type BigtableClusterServiceClient interface {
|
||||
// At the cluster's "delete_time":
|
||||
// * The cluster and *all of its tables* will immediately and irrevocably
|
||||
// disappear from the API, and their data will be permanently deleted.
|
||||
DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Cancels the scheduled deletion of an cluster and begins preparing it to
|
||||
// resume serving. The returned operation will also be embedded as the
|
||||
// cluster's "current_operation".
|
||||
@ -107,7 +114,7 @@ type BigtableClusterServiceClient interface {
|
||||
// * All tables within the cluster will be available.
|
||||
// [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
|
||||
UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
|
||||
}
|
||||
|
||||
type bigtableClusterServiceClient struct {
|
||||
@ -120,7 +127,7 @@ func NewBigtableClusterServiceClient(cc *grpc.ClientConn) BigtableClusterService
|
||||
|
||||
func (c *bigtableClusterServiceClient) ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error) {
|
||||
out := new(ListZonesResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -129,7 +136,7 @@ func (c *bigtableClusterServiceClient) ListZones(ctx context.Context, in *ListZo
|
||||
|
||||
func (c *bigtableClusterServiceClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
|
||||
out := new(Cluster)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -138,7 +145,7 @@ func (c *bigtableClusterServiceClient) GetCluster(ctx context.Context, in *GetCl
|
||||
|
||||
func (c *bigtableClusterServiceClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) {
|
||||
out := new(ListClustersResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -147,7 +154,7 @@ func (c *bigtableClusterServiceClient) ListClusters(ctx context.Context, in *Lis
|
||||
|
||||
func (c *bigtableClusterServiceClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
|
||||
out := new(Cluster)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -156,33 +163,32 @@ func (c *bigtableClusterServiceClient) CreateCluster(ctx context.Context, in *Cr
|
||||
|
||||
func (c *bigtableClusterServiceClient) UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) {
|
||||
out := new(Cluster)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableClusterServiceClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster", in, out, c.cc, opts...)
|
||||
func (c *bigtableClusterServiceClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableClusterServiceClient) UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
|
||||
out := new(google_longrunning.Operation)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster", in, out, c.cc, opts...)
|
||||
func (c *bigtableClusterServiceClient) UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
|
||||
out := new(longrunning.Operation)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for BigtableClusterService service
|
||||
|
||||
// BigtableClusterServiceServer is the server API for BigtableClusterService service.
|
||||
type BigtableClusterServiceServer interface {
|
||||
// Lists the supported zones for the given project.
|
||||
ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)
|
||||
@ -246,7 +252,7 @@ type BigtableClusterServiceServer interface {
|
||||
// At the cluster's "delete_time":
|
||||
// * The cluster and *all of its tables* will immediately and irrevocably
|
||||
// disappear from the API, and their data will be permanently deleted.
|
||||
DeleteCluster(context.Context, *DeleteClusterRequest) (*google_protobuf2.Empty, error)
|
||||
DeleteCluster(context.Context, *DeleteClusterRequest) (*empty.Empty, error)
|
||||
// Cancels the scheduled deletion of an cluster and begins preparing it to
|
||||
// resume serving. The returned operation will also be embedded as the
|
||||
// cluster's "current_operation".
|
||||
@ -260,7 +266,7 @@ type BigtableClusterServiceServer interface {
|
||||
// * All tables within the cluster will be available.
|
||||
// [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
UndeleteCluster(context.Context, *UndeleteClusterRequest) (*google_longrunning.Operation, error)
|
||||
UndeleteCluster(context.Context, *UndeleteClusterRequest) (*longrunning.Operation, error)
|
||||
}
|
||||
|
||||
func RegisterBigtableClusterServiceServer(s *grpc.Server, srv BigtableClusterServiceServer) {
|
||||
@ -431,10 +437,10 @@ var _BigtableClusterService_serviceDesc = grpc.ServiceDesc{
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", fileDescriptor1)
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", fileDescriptor_bigtable_cluster_service_eb6b3340e63f14bc)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_bigtable_cluster_service_eb6b3340e63f14bc = []byte{
|
||||
// 515 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x4f, 0x6b, 0x14, 0x31,
|
||||
0x18, 0xc6, 0x89, 0x07, 0xa1, 0xc1, 0x45, 0xc8, 0xa1, 0x87, 0x6d, 0x0b, 0x32, 0x15, 0xb1, 0x23,
|
||||
|
@ -1,30 +1,58 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto
|
||||
|
||||
package cluster
|
||||
package cluster // import "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import timestamp "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
|
||||
|
||||
// Request message for BigtableClusterService.ListZones.
|
||||
type ListZonesRequest struct {
|
||||
// The unique name of the project for which a list of supported zones is
|
||||
// requested.
|
||||
// Values are of the form projects/<project>
|
||||
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 *ListZonesRequest) Reset() { *m = ListZonesRequest{} }
|
||||
func (m *ListZonesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListZonesRequest) ProtoMessage() {}
|
||||
func (*ListZonesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *ListZonesRequest) Reset() { *m = ListZonesRequest{} }
|
||||
func (m *ListZonesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListZonesRequest) ProtoMessage() {}
|
||||
func (*ListZonesRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{0}
|
||||
}
|
||||
func (m *ListZonesRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListZonesRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListZonesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListZonesRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListZonesRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListZonesRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListZonesRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListZonesRequest.Size(m)
|
||||
}
|
||||
func (m *ListZonesRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListZonesRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListZonesRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListZonesRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -36,13 +64,35 @@ func (m *ListZonesRequest) GetName() string {
|
||||
// Response message for BigtableClusterService.ListZones.
|
||||
type ListZonesResponse struct {
|
||||
// The list of requested zones.
|
||||
Zones []*Zone `protobuf:"bytes,1,rep,name=zones" json:"zones,omitempty"`
|
||||
Zones []*Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListZonesResponse) Reset() { *m = ListZonesResponse{} }
|
||||
func (m *ListZonesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListZonesResponse) ProtoMessage() {}
|
||||
func (*ListZonesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
func (m *ListZonesResponse) Reset() { *m = ListZonesResponse{} }
|
||||
func (m *ListZonesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListZonesResponse) ProtoMessage() {}
|
||||
func (*ListZonesResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{1}
|
||||
}
|
||||
func (m *ListZonesResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListZonesResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListZonesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListZonesResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListZonesResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListZonesResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListZonesResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListZonesResponse.Size(m)
|
||||
}
|
||||
func (m *ListZonesResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListZonesResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListZonesResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListZonesResponse) GetZones() []*Zone {
|
||||
if m != nil {
|
||||
@ -55,13 +105,35 @@ func (m *ListZonesResponse) GetZones() []*Zone {
|
||||
type GetClusterRequest struct {
|
||||
// The unique name of the requested cluster.
|
||||
// Values are of the form projects/<project>/zones/<zone>/clusters/<cluster>
|
||||
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 *GetClusterRequest) Reset() { *m = GetClusterRequest{} }
|
||||
func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetClusterRequest) ProtoMessage() {}
|
||||
func (*GetClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} }
|
||||
func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetClusterRequest) ProtoMessage() {}
|
||||
func (*GetClusterRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{2}
|
||||
}
|
||||
func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetClusterRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetClusterRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *GetClusterRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetClusterRequest.Size(m)
|
||||
}
|
||||
func (m *GetClusterRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetClusterRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetClusterRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -74,13 +146,35 @@ func (m *GetClusterRequest) GetName() string {
|
||||
type ListClustersRequest struct {
|
||||
// The unique name of the project for which a list of clusters is requested.
|
||||
// Values are of the form projects/<project>
|
||||
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 *ListClustersRequest) Reset() { *m = ListClustersRequest{} }
|
||||
func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListClustersRequest) ProtoMessage() {}
|
||||
func (*ListClustersRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} }
|
||||
func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListClustersRequest) ProtoMessage() {}
|
||||
func (*ListClustersRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{3}
|
||||
}
|
||||
func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListClustersRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListClustersRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListClustersRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListClustersRequest.Size(m)
|
||||
}
|
||||
func (m *ListClustersRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListClustersRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListClustersRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -92,15 +186,37 @@ func (m *ListClustersRequest) GetName() string {
|
||||
// Response message for BigtableClusterService.ListClusters.
|
||||
type ListClustersResponse struct {
|
||||
// The list of requested Clusters.
|
||||
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters" json:"clusters,omitempty"`
|
||||
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
|
||||
// The zones for which clusters could not be retrieved.
|
||||
FailedZones []*Zone `protobuf:"bytes,2,rep,name=failed_zones,json=failedZones" json:"failed_zones,omitempty"`
|
||||
FailedZones []*Zone `protobuf:"bytes,2,rep,name=failed_zones,json=failedZones,proto3" json:"failed_zones,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} }
|
||||
func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListClustersResponse) ProtoMessage() {}
|
||||
func (*ListClustersResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} }
|
||||
func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListClustersResponse) ProtoMessage() {}
|
||||
func (*ListClustersResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{4}
|
||||
}
|
||||
func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListClustersResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListClustersResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListClustersResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListClustersResponse.Size(m)
|
||||
}
|
||||
func (m *ListClustersResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListClustersResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListClustersResponse) GetClusters() []*Cluster {
|
||||
if m != nil {
|
||||
@ -120,21 +236,43 @@ func (m *ListClustersResponse) GetFailedZones() []*Zone {
|
||||
type CreateClusterRequest struct {
|
||||
// The unique name of the zone in which to create the cluster.
|
||||
// Values are of the form projects/<project>/zones/<zone>
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The id to be used when referring to the new cluster within its zone,
|
||||
// e.g. just the "test-cluster" section of the full name
|
||||
// "projects/<project>/zones/<zone>/clusters/test-cluster".
|
||||
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
|
||||
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
||||
// The cluster to create.
|
||||
// The "name", "delete_time", and "current_operation" fields must be left
|
||||
// blank.
|
||||
Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster" json:"cluster,omitempty"`
|
||||
Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} }
|
||||
func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateClusterRequest) ProtoMessage() {}
|
||||
func (*CreateClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} }
|
||||
func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateClusterRequest) ProtoMessage() {}
|
||||
func (*CreateClusterRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{5}
|
||||
}
|
||||
func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateClusterRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateClusterRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateClusterRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateClusterRequest.Size(m)
|
||||
}
|
||||
func (m *CreateClusterRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateClusterRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -161,17 +299,39 @@ func (m *CreateClusterRequest) GetCluster() *Cluster {
|
||||
// BigtableClusterService.CreateCluster.
|
||||
type CreateClusterMetadata struct {
|
||||
// The request which prompted the creation of this operation.
|
||||
OriginalRequest *CreateClusterRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"`
|
||||
OriginalRequest *CreateClusterRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
|
||||
// The time at which original_request was received.
|
||||
RequestTime *google_protobuf3.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime" json:"request_time,omitempty"`
|
||||
RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
|
||||
// The time at which this operation failed or was completed successfully.
|
||||
FinishTime *google_protobuf3.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"`
|
||||
FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} }
|
||||
func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateClusterMetadata) ProtoMessage() {}
|
||||
func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
|
||||
func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} }
|
||||
func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateClusterMetadata) ProtoMessage() {}
|
||||
func (*CreateClusterMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{6}
|
||||
}
|
||||
func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateClusterMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateClusterMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateClusterMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateClusterMetadata.Size(m)
|
||||
}
|
||||
func (m *CreateClusterMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateClusterMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateClusterMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest {
|
||||
if m != nil {
|
||||
@ -180,14 +340,14 @@ func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CreateClusterMetadata) GetRequestTime() *google_protobuf3.Timestamp {
|
||||
func (m *CreateClusterMetadata) GetRequestTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RequestTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CreateClusterMetadata) GetFinishTime() *google_protobuf3.Timestamp {
|
||||
func (m *CreateClusterMetadata) GetFinishTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.FinishTime
|
||||
}
|
||||
@ -198,21 +358,43 @@ func (m *CreateClusterMetadata) GetFinishTime() *google_protobuf3.Timestamp {
|
||||
// BigtableClusterService.UpdateCluster.
|
||||
type UpdateClusterMetadata struct {
|
||||
// The request which prompted the creation of this operation.
|
||||
OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"`
|
||||
OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
|
||||
// The time at which original_request was received.
|
||||
RequestTime *google_protobuf3.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime" json:"request_time,omitempty"`
|
||||
RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
|
||||
// The time at which this operation was cancelled. If set, this operation is
|
||||
// in the process of undoing itself (which is guaranteed to succeed) and
|
||||
// cannot be cancelled again.
|
||||
CancelTime *google_protobuf3.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime" json:"cancel_time,omitempty"`
|
||||
CancelTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"`
|
||||
// The time at which this operation failed or was completed successfully.
|
||||
FinishTime *google_protobuf3.Timestamp `protobuf:"bytes,4,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"`
|
||||
FinishTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} }
|
||||
func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateClusterMetadata) ProtoMessage() {}
|
||||
func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
|
||||
func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} }
|
||||
func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateClusterMetadata) ProtoMessage() {}
|
||||
func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{7}
|
||||
}
|
||||
func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UpdateClusterMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UpdateClusterMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *UpdateClusterMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_UpdateClusterMetadata.Size(m)
|
||||
}
|
||||
func (m *UpdateClusterMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UpdateClusterMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UpdateClusterMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster {
|
||||
if m != nil {
|
||||
@ -221,21 +403,21 @@ func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateClusterMetadata) GetRequestTime() *google_protobuf3.Timestamp {
|
||||
func (m *UpdateClusterMetadata) GetRequestTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RequestTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateClusterMetadata) GetCancelTime() *google_protobuf3.Timestamp {
|
||||
func (m *UpdateClusterMetadata) GetCancelTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CancelTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateClusterMetadata) GetFinishTime() *google_protobuf3.Timestamp {
|
||||
func (m *UpdateClusterMetadata) GetFinishTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.FinishTime
|
||||
}
|
||||
@ -246,13 +428,35 @@ func (m *UpdateClusterMetadata) GetFinishTime() *google_protobuf3.Timestamp {
|
||||
type DeleteClusterRequest struct {
|
||||
// The unique name of the cluster to be deleted.
|
||||
// Values are of the form projects/<project>/zones/<zone>/clusters/<cluster>
|
||||
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 *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} }
|
||||
func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteClusterRequest) ProtoMessage() {}
|
||||
func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }
|
||||
func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} }
|
||||
func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteClusterRequest) ProtoMessage() {}
|
||||
func (*DeleteClusterRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{8}
|
||||
}
|
||||
func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeleteClusterRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *DeleteClusterRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_DeleteClusterRequest.Size(m)
|
||||
}
|
||||
func (m *DeleteClusterRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *DeleteClusterRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -265,13 +469,35 @@ func (m *DeleteClusterRequest) GetName() string {
|
||||
type UndeleteClusterRequest struct {
|
||||
// The unique name of the cluster to be un-deleted.
|
||||
// Values are of the form projects/<project>/zones/<zone>/clusters/<cluster>
|
||||
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 *UndeleteClusterRequest) Reset() { *m = UndeleteClusterRequest{} }
|
||||
func (m *UndeleteClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UndeleteClusterRequest) ProtoMessage() {}
|
||||
func (*UndeleteClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} }
|
||||
func (m *UndeleteClusterRequest) Reset() { *m = UndeleteClusterRequest{} }
|
||||
func (m *UndeleteClusterRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UndeleteClusterRequest) ProtoMessage() {}
|
||||
func (*UndeleteClusterRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{9}
|
||||
}
|
||||
func (m *UndeleteClusterRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UndeleteClusterRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UndeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UndeleteClusterRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UndeleteClusterRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UndeleteClusterRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *UndeleteClusterRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_UndeleteClusterRequest.Size(m)
|
||||
}
|
||||
func (m *UndeleteClusterRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UndeleteClusterRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UndeleteClusterRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *UndeleteClusterRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -284,24 +510,46 @@ func (m *UndeleteClusterRequest) GetName() string {
|
||||
// BigtableClusterService.UndeleteCluster.
|
||||
type UndeleteClusterMetadata struct {
|
||||
// The time at which the original request was received.
|
||||
RequestTime *google_protobuf3.Timestamp `protobuf:"bytes,1,opt,name=request_time,json=requestTime" json:"request_time,omitempty"`
|
||||
RequestTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
|
||||
// The time at which this operation failed or was completed successfully.
|
||||
FinishTime *google_protobuf3.Timestamp `protobuf:"bytes,2,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"`
|
||||
FinishTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UndeleteClusterMetadata) Reset() { *m = UndeleteClusterMetadata{} }
|
||||
func (m *UndeleteClusterMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*UndeleteClusterMetadata) ProtoMessage() {}
|
||||
func (*UndeleteClusterMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{10} }
|
||||
func (m *UndeleteClusterMetadata) Reset() { *m = UndeleteClusterMetadata{} }
|
||||
func (m *UndeleteClusterMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*UndeleteClusterMetadata) ProtoMessage() {}
|
||||
func (*UndeleteClusterMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{10}
|
||||
}
|
||||
func (m *UndeleteClusterMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UndeleteClusterMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UndeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UndeleteClusterMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UndeleteClusterMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UndeleteClusterMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *UndeleteClusterMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_UndeleteClusterMetadata.Size(m)
|
||||
}
|
||||
func (m *UndeleteClusterMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UndeleteClusterMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *UndeleteClusterMetadata) GetRequestTime() *google_protobuf3.Timestamp {
|
||||
var xxx_messageInfo_UndeleteClusterMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *UndeleteClusterMetadata) GetRequestTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RequestTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UndeleteClusterMetadata) GetFinishTime() *google_protobuf3.Timestamp {
|
||||
func (m *UndeleteClusterMetadata) GetFinishTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.FinishTime
|
||||
}
|
||||
@ -311,12 +559,34 @@ func (m *UndeleteClusterMetadata) GetFinishTime() *google_protobuf3.Timestamp {
|
||||
// Metadata type for operations initiated by the V2 BigtableAdmin service.
|
||||
// More complete information for such operations is available via the V2 API.
|
||||
type V2OperationMetadata struct {
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *V2OperationMetadata) Reset() { *m = V2OperationMetadata{} }
|
||||
func (m *V2OperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*V2OperationMetadata) ProtoMessage() {}
|
||||
func (*V2OperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{11} }
|
||||
func (m *V2OperationMetadata) Reset() { *m = V2OperationMetadata{} }
|
||||
func (m *V2OperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*V2OperationMetadata) ProtoMessage() {}
|
||||
func (*V2OperationMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3, []int{11}
|
||||
}
|
||||
func (m *V2OperationMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_V2OperationMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *V2OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_V2OperationMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *V2OperationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_V2OperationMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *V2OperationMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_V2OperationMetadata.Size(m)
|
||||
}
|
||||
func (m *V2OperationMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_V2OperationMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_V2OperationMetadata proto.InternalMessageInfo
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ListZonesRequest)(nil), "google.bigtable.admin.cluster.v1.ListZonesRequest")
|
||||
@ -334,10 +604,10 @@ func init() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto", fileDescriptor2)
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto", fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3 = []byte{
|
||||
// 541 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xd3, 0x40,
|
||||
0x10, 0xd5, 0x26, 0xe5, 0xa3, 0xe3, 0x4a, 0xb4, 0x6e, 0x02, 0x51, 0x24, 0x44, 0x64, 0x50, 0x69,
|
||||
|
@ -1,35 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/table/v1/bigtable_table_data.proto
|
||||
|
||||
/*
|
||||
Package table is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/bigtable/admin/table/v1/bigtable_table_data.proto
|
||||
google/bigtable/admin/table/v1/bigtable_table_service.proto
|
||||
google/bigtable/admin/table/v1/bigtable_table_service_messages.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Table
|
||||
ColumnFamily
|
||||
GcRule
|
||||
CreateTableRequest
|
||||
ListTablesRequest
|
||||
ListTablesResponse
|
||||
GetTableRequest
|
||||
DeleteTableRequest
|
||||
RenameTableRequest
|
||||
CreateColumnFamilyRequest
|
||||
DeleteColumnFamilyRequest
|
||||
BulkDeleteRowsRequest
|
||||
*/
|
||||
package table
|
||||
package table // import "google.golang.org/genproto/googleapis/bigtable/admin/table/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/duration"
|
||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
||||
import longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -59,7 +37,7 @@ func (x Table_TimestampGranularity) String() string {
|
||||
return proto.EnumName(Table_TimestampGranularity_name, int32(x))
|
||||
}
|
||||
func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 0}
|
||||
return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{0, 0}
|
||||
}
|
||||
|
||||
// A collection of user data indexed by row, column, and timestamp.
|
||||
@ -67,23 +45,45 @@ func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) {
|
||||
type Table struct {
|
||||
// A unique identifier of the form
|
||||
// <cluster_name>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// If this Table is in the process of being created, the Operation used to
|
||||
// track its progress. As long as this operation is present, the Table will
|
||||
// not accept any Table Admin or Read/Write requests.
|
||||
CurrentOperation *google_longrunning.Operation `protobuf:"bytes,2,opt,name=current_operation,json=currentOperation" json:"current_operation,omitempty"`
|
||||
CurrentOperation *longrunning.Operation `protobuf:"bytes,2,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"`
|
||||
// The column families configured for this table, mapped by column family id.
|
||||
ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies,proto3" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in
|
||||
// this table. Timestamps not matching the granularity will be rejected.
|
||||
// Cannot be changed once the table is created.
|
||||
Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,enum=google.bigtable.admin.table.v1.Table_TimestampGranularity" json:"granularity,omitempty"`
|
||||
Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,proto3,enum=google.bigtable.admin.table.v1.Table_TimestampGranularity" json:"granularity,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Table) Reset() { *m = Table{} }
|
||||
func (m *Table) String() string { return proto.CompactTextString(m) }
|
||||
func (*Table) ProtoMessage() {}
|
||||
func (*Table) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *Table) Reset() { *m = Table{} }
|
||||
func (m *Table) String() string { return proto.CompactTextString(m) }
|
||||
func (*Table) ProtoMessage() {}
|
||||
func (*Table) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{0}
|
||||
}
|
||||
func (m *Table) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Table.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Table.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Table) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Table.Merge(dst, src)
|
||||
}
|
||||
func (m *Table) XXX_Size() int {
|
||||
return xxx_messageInfo_Table.Size(m)
|
||||
}
|
||||
func (m *Table) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Table.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Table proto.InternalMessageInfo
|
||||
|
||||
func (m *Table) GetName() string {
|
||||
if m != nil {
|
||||
@ -92,7 +92,7 @@ func (m *Table) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Table) GetCurrentOperation() *google_longrunning.Operation {
|
||||
func (m *Table) GetCurrentOperation() *longrunning.Operation {
|
||||
if m != nil {
|
||||
return m.CurrentOperation
|
||||
}
|
||||
@ -118,7 +118,7 @@ type ColumnFamily struct {
|
||||
// A unique identifier of the form <table_name>/columnFamilies/[-_.a-zA-Z0-9]+
|
||||
// The last segment is the same as the "name" field in
|
||||
// google.bigtable.v1.Family.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Garbage collection expression specified by the following grammar:
|
||||
// GC = EXPR
|
||||
// | "" ;
|
||||
@ -144,7 +144,7 @@ type ColumnFamily struct {
|
||||
// Garbage collection executes opportunistically in the background, and so
|
||||
// it's possible for reads to return a cell even if it matches the active GC
|
||||
// expression for its family.
|
||||
GcExpression string `protobuf:"bytes,2,opt,name=gc_expression,json=gcExpression" json:"gc_expression,omitempty"`
|
||||
GcExpression string `protobuf:"bytes,2,opt,name=gc_expression,json=gcExpression,proto3" json:"gc_expression,omitempty"`
|
||||
// Garbage collection rule specified as a protobuf.
|
||||
// Supersedes `gc_expression`.
|
||||
// Must serialize to at most 500 bytes.
|
||||
@ -152,13 +152,35 @@ type ColumnFamily struct {
|
||||
// NOTE: Garbage collection executes opportunistically in the background, and
|
||||
// so it's possible for reads to return a cell even if it matches the active
|
||||
// GC expression for its family.
|
||||
GcRule *GcRule `protobuf:"bytes,3,opt,name=gc_rule,json=gcRule" json:"gc_rule,omitempty"`
|
||||
GcRule *GcRule `protobuf:"bytes,3,opt,name=gc_rule,json=gcRule,proto3" json:"gc_rule,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ColumnFamily) Reset() { *m = ColumnFamily{} }
|
||||
func (m *ColumnFamily) String() string { return proto.CompactTextString(m) }
|
||||
func (*ColumnFamily) ProtoMessage() {}
|
||||
func (*ColumnFamily) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *ColumnFamily) Reset() { *m = ColumnFamily{} }
|
||||
func (m *ColumnFamily) String() string { return proto.CompactTextString(m) }
|
||||
func (*ColumnFamily) ProtoMessage() {}
|
||||
func (*ColumnFamily) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{1}
|
||||
}
|
||||
func (m *ColumnFamily) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ColumnFamily.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ColumnFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ColumnFamily.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ColumnFamily) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ColumnFamily.Merge(dst, src)
|
||||
}
|
||||
func (m *ColumnFamily) XXX_Size() int {
|
||||
return xxx_messageInfo_ColumnFamily.Size(m)
|
||||
}
|
||||
func (m *ColumnFamily) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ColumnFamily.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ColumnFamily proto.InternalMessageInfo
|
||||
|
||||
func (m *ColumnFamily) GetName() string {
|
||||
if m != nil {
|
||||
@ -188,35 +210,63 @@ type GcRule struct {
|
||||
// *GcRule_MaxAge
|
||||
// *GcRule_Intersection_
|
||||
// *GcRule_Union_
|
||||
Rule isGcRule_Rule `protobuf_oneof:"rule"`
|
||||
Rule isGcRule_Rule `protobuf_oneof:"rule"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcRule) Reset() { *m = GcRule{} }
|
||||
func (m *GcRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule) ProtoMessage() {}
|
||||
func (*GcRule) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *GcRule) Reset() { *m = GcRule{} }
|
||||
func (m *GcRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule) ProtoMessage() {}
|
||||
func (*GcRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{2}
|
||||
}
|
||||
func (m *GcRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcRule.Merge(dst, src)
|
||||
}
|
||||
func (m *GcRule) XXX_Size() int {
|
||||
return xxx_messageInfo_GcRule.Size(m)
|
||||
}
|
||||
func (m *GcRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcRule proto.InternalMessageInfo
|
||||
|
||||
type isGcRule_Rule interface {
|
||||
isGcRule_Rule()
|
||||
}
|
||||
|
||||
type GcRule_MaxNumVersions struct {
|
||||
MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,oneof"`
|
||||
MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_MaxAge struct {
|
||||
MaxAge *google_protobuf3.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,oneof"`
|
||||
MaxAge *duration.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_Intersection_ struct {
|
||||
Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,oneof"`
|
||||
Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_Union_ struct {
|
||||
Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,oneof"`
|
||||
Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*GcRule_MaxNumVersions) isGcRule_Rule() {}
|
||||
func (*GcRule_MaxAge) isGcRule_Rule() {}
|
||||
func (*GcRule_Intersection_) isGcRule_Rule() {}
|
||||
func (*GcRule_Union_) isGcRule_Rule() {}
|
||||
|
||||
func (*GcRule_MaxAge) isGcRule_Rule() {}
|
||||
|
||||
func (*GcRule_Intersection_) isGcRule_Rule() {}
|
||||
|
||||
func (*GcRule_Union_) isGcRule_Rule() {}
|
||||
|
||||
func (m *GcRule) GetRule() isGcRule_Rule {
|
||||
if m != nil {
|
||||
@ -232,7 +282,7 @@ func (m *GcRule) GetMaxNumVersions() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GcRule) GetMaxAge() *google_protobuf3.Duration {
|
||||
func (m *GcRule) GetMaxAge() *duration.Duration {
|
||||
if x, ok := m.GetRule().(*GcRule_MaxAge); ok {
|
||||
return x.MaxAge
|
||||
}
|
||||
@ -306,7 +356,7 @@ func _GcRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer)
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_protobuf3.Duration)
|
||||
msg := new(duration.Duration)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_MaxAge{msg}
|
||||
return true, err
|
||||
@ -336,21 +386,21 @@ func _GcRule_OneofSizer(msg proto.Message) (n int) {
|
||||
// rule
|
||||
switch x := m.Rule.(type) {
|
||||
case *GcRule_MaxNumVersions:
|
||||
n += proto.SizeVarint(1<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.MaxNumVersions))
|
||||
case *GcRule_MaxAge:
|
||||
s := proto.Size(x.MaxAge)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Intersection_:
|
||||
s := proto.Size(x.Intersection)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Union_:
|
||||
s := proto.Size(x.Union)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -363,13 +413,35 @@ func _GcRule_OneofSizer(msg proto.Message) (n int) {
|
||||
// A GcRule which deletes cells matching all of the given rules.
|
||||
type GcRule_Intersection struct {
|
||||
// Only delete cells which would be deleted by every element of `rules`.
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcRule_Intersection) Reset() { *m = GcRule_Intersection{} }
|
||||
func (m *GcRule_Intersection) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Intersection) ProtoMessage() {}
|
||||
func (*GcRule_Intersection) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
func (m *GcRule_Intersection) Reset() { *m = GcRule_Intersection{} }
|
||||
func (m *GcRule_Intersection) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Intersection) ProtoMessage() {}
|
||||
func (*GcRule_Intersection) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{2, 0}
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcRule_Intersection.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcRule_Intersection.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcRule_Intersection) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcRule_Intersection.Merge(dst, src)
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_Size() int {
|
||||
return xxx_messageInfo_GcRule_Intersection.Size(m)
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcRule_Intersection.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcRule_Intersection proto.InternalMessageInfo
|
||||
|
||||
func (m *GcRule_Intersection) GetRules() []*GcRule {
|
||||
if m != nil {
|
||||
@ -381,13 +453,35 @@ func (m *GcRule_Intersection) GetRules() []*GcRule {
|
||||
// A GcRule which deletes cells matching any of the given rules.
|
||||
type GcRule_Union struct {
|
||||
// Delete cells which would be deleted by any element of `rules`.
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcRule_Union) Reset() { *m = GcRule_Union{} }
|
||||
func (m *GcRule_Union) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Union) ProtoMessage() {}
|
||||
func (*GcRule_Union) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 1} }
|
||||
func (m *GcRule_Union) Reset() { *m = GcRule_Union{} }
|
||||
func (m *GcRule_Union) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Union) ProtoMessage() {}
|
||||
func (*GcRule_Union) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{2, 1}
|
||||
}
|
||||
func (m *GcRule_Union) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcRule_Union.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcRule_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcRule_Union.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcRule_Union) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcRule_Union.Merge(dst, src)
|
||||
}
|
||||
func (m *GcRule_Union) XXX_Size() int {
|
||||
return xxx_messageInfo_GcRule_Union.Size(m)
|
||||
}
|
||||
func (m *GcRule_Union) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcRule_Union.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcRule_Union proto.InternalMessageInfo
|
||||
|
||||
func (m *GcRule_Union) GetRules() []*GcRule {
|
||||
if m != nil {
|
||||
@ -398,6 +492,7 @@ func (m *GcRule_Union) GetRules() []*GcRule {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Table)(nil), "google.bigtable.admin.table.v1.Table")
|
||||
proto.RegisterMapType((map[string]*ColumnFamily)(nil), "google.bigtable.admin.table.v1.Table.ColumnFamiliesEntry")
|
||||
proto.RegisterType((*ColumnFamily)(nil), "google.bigtable.admin.table.v1.ColumnFamily")
|
||||
proto.RegisterType((*GcRule)(nil), "google.bigtable.admin.table.v1.GcRule")
|
||||
proto.RegisterType((*GcRule_Intersection)(nil), "google.bigtable.admin.table.v1.GcRule.Intersection")
|
||||
@ -406,10 +501,10 @@ func init() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_data.proto", fileDescriptor0)
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_data.proto", fileDescriptor_bigtable_table_data_021ea70d03a8dd36)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_bigtable_table_data_021ea70d03a8dd36 = []byte{
|
||||
// 579 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x61, 0x6b, 0xd3, 0x40,
|
||||
0x18, 0xc7, 0x9b, 0xa5, 0xed, 0xd8, 0xb3, 0x3a, 0xeb, 0x29, 0x52, 0x0b, 0x4a, 0xc9, 0x40, 0x8a,
|
||||
|
@ -1,13 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/table/v1/bigtable_table_service.proto
|
||||
|
||||
package table
|
||||
package table // import "google.golang.org/genproto/googleapis/bigtable/admin/table/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
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
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@ -27,8 +33,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for BigtableTableService service
|
||||
|
||||
// BigtableTableServiceClient is the client API for BigtableTableService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type BigtableTableServiceClient interface {
|
||||
// Creates a new table, to be served from a specified cluster.
|
||||
// The table can be created with a full set of initial column families,
|
||||
@ -39,18 +46,18 @@ type BigtableTableServiceClient interface {
|
||||
// Gets the schema of the specified table, including its column families.
|
||||
GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error)
|
||||
// Permanently deletes a specified table and all of its data.
|
||||
DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Changes the name of a specified table.
|
||||
// Cannot be used to move tables between clusters, zones, or projects.
|
||||
RenameTable(ctx context.Context, in *RenameTableRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
RenameTable(ctx context.Context, in *RenameTableRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Creates a new column family within a specified table.
|
||||
CreateColumnFamily(ctx context.Context, in *CreateColumnFamilyRequest, opts ...grpc.CallOption) (*ColumnFamily, error)
|
||||
// Changes the configuration of a specified column family.
|
||||
UpdateColumnFamily(ctx context.Context, in *ColumnFamily, opts ...grpc.CallOption) (*ColumnFamily, error)
|
||||
// Permanently deletes a specified column family and all of its data.
|
||||
DeleteColumnFamily(ctx context.Context, in *DeleteColumnFamilyRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
DeleteColumnFamily(ctx context.Context, in *DeleteColumnFamilyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Delete all rows in a table corresponding to a particular prefix
|
||||
BulkDeleteRows(ctx context.Context, in *BulkDeleteRowsRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
BulkDeleteRows(ctx context.Context, in *BulkDeleteRowsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
type bigtableTableServiceClient struct {
|
||||
@ -63,7 +70,7 @@ func NewBigtableTableServiceClient(cc *grpc.ClientConn) BigtableTableServiceClie
|
||||
|
||||
func (c *bigtableTableServiceClient) CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error) {
|
||||
out := new(Table)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateTable", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateTable", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -72,7 +79,7 @@ func (c *bigtableTableServiceClient) CreateTable(ctx context.Context, in *Create
|
||||
|
||||
func (c *bigtableTableServiceClient) ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) {
|
||||
out := new(ListTablesResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/ListTables", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/ListTables", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -81,25 +88,25 @@ func (c *bigtableTableServiceClient) ListTables(ctx context.Context, in *ListTab
|
||||
|
||||
func (c *bigtableTableServiceClient) GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) {
|
||||
out := new(Table)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/GetTable", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/GetTable", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/DeleteTable", in, out, c.cc, opts...)
|
||||
func (c *bigtableTableServiceClient) DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/DeleteTable", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) RenameTable(ctx context.Context, in *RenameTableRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/RenameTable", in, out, c.cc, opts...)
|
||||
func (c *bigtableTableServiceClient) RenameTable(ctx context.Context, in *RenameTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/RenameTable", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -108,7 +115,7 @@ func (c *bigtableTableServiceClient) RenameTable(ctx context.Context, in *Rename
|
||||
|
||||
func (c *bigtableTableServiceClient) CreateColumnFamily(ctx context.Context, in *CreateColumnFamilyRequest, opts ...grpc.CallOption) (*ColumnFamily, error) {
|
||||
out := new(ColumnFamily)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateColumnFamily", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateColumnFamily", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -117,33 +124,32 @@ func (c *bigtableTableServiceClient) CreateColumnFamily(ctx context.Context, in
|
||||
|
||||
func (c *bigtableTableServiceClient) UpdateColumnFamily(ctx context.Context, in *ColumnFamily, opts ...grpc.CallOption) (*ColumnFamily, error) {
|
||||
out := new(ColumnFamily)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/UpdateColumnFamily", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/UpdateColumnFamily", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) DeleteColumnFamily(ctx context.Context, in *DeleteColumnFamilyRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/DeleteColumnFamily", in, out, c.cc, opts...)
|
||||
func (c *bigtableTableServiceClient) DeleteColumnFamily(ctx context.Context, in *DeleteColumnFamilyRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/DeleteColumnFamily", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) BulkDeleteRows(ctx context.Context, in *BulkDeleteRowsRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/BulkDeleteRows", in, out, c.cc, opts...)
|
||||
func (c *bigtableTableServiceClient) BulkDeleteRows(ctx context.Context, in *BulkDeleteRowsRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/BulkDeleteRows", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for BigtableTableService service
|
||||
|
||||
// BigtableTableServiceServer is the server API for BigtableTableService service.
|
||||
type BigtableTableServiceServer interface {
|
||||
// Creates a new table, to be served from a specified cluster.
|
||||
// The table can be created with a full set of initial column families,
|
||||
@ -154,18 +160,18 @@ type BigtableTableServiceServer interface {
|
||||
// Gets the schema of the specified table, including its column families.
|
||||
GetTable(context.Context, *GetTableRequest) (*Table, error)
|
||||
// Permanently deletes a specified table and all of its data.
|
||||
DeleteTable(context.Context, *DeleteTableRequest) (*google_protobuf2.Empty, error)
|
||||
DeleteTable(context.Context, *DeleteTableRequest) (*empty.Empty, error)
|
||||
// Changes the name of a specified table.
|
||||
// Cannot be used to move tables between clusters, zones, or projects.
|
||||
RenameTable(context.Context, *RenameTableRequest) (*google_protobuf2.Empty, error)
|
||||
RenameTable(context.Context, *RenameTableRequest) (*empty.Empty, error)
|
||||
// Creates a new column family within a specified table.
|
||||
CreateColumnFamily(context.Context, *CreateColumnFamilyRequest) (*ColumnFamily, error)
|
||||
// Changes the configuration of a specified column family.
|
||||
UpdateColumnFamily(context.Context, *ColumnFamily) (*ColumnFamily, error)
|
||||
// Permanently deletes a specified column family and all of its data.
|
||||
DeleteColumnFamily(context.Context, *DeleteColumnFamilyRequest) (*google_protobuf2.Empty, error)
|
||||
DeleteColumnFamily(context.Context, *DeleteColumnFamilyRequest) (*empty.Empty, error)
|
||||
// Delete all rows in a table corresponding to a particular prefix
|
||||
BulkDeleteRows(context.Context, *BulkDeleteRowsRequest) (*google_protobuf2.Empty, error)
|
||||
BulkDeleteRows(context.Context, *BulkDeleteRowsRequest) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterBigtableTableServiceServer(s *grpc.Server, srv BigtableTableServiceServer) {
|
||||
@ -380,10 +386,10 @@ var _BigtableTableService_serviceDesc = grpc.ServiceDesc{
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service.proto", fileDescriptor1)
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service.proto", fileDescriptor_bigtable_table_service_077fd6962a736aed)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_bigtable_table_service_077fd6962a736aed = []byte{
|
||||
// 560 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xbf, 0x6f, 0xd4, 0x30,
|
||||
0x14, 0xc7, 0x65, 0x06, 0x84, 0x7c, 0x88, 0xc1, 0x42, 0x0c, 0x07, 0x62, 0x88, 0xc4, 0x12, 0xa1,
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/table/v1/bigtable_table_service_messages.proto
|
||||
|
||||
package table
|
||||
package table // import "google.golang.org/genproto/googleapis/bigtable/admin/table/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -12,15 +12,21 @@ 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
|
||||
|
||||
type CreateTableRequest struct {
|
||||
// The unique name of the cluster in which to create the new table.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The name by which the new table should be referred to within the cluster,
|
||||
// e.g. "foobar" rather than "<cluster_name>/tables/foobar".
|
||||
TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
|
||||
TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
|
||||
// The Table to create. The `name` field of the Table and all of its
|
||||
// ColumnFamilies must be left blank, and will be populated in the response.
|
||||
Table *Table `protobuf:"bytes,3,opt,name=table" json:"table,omitempty"`
|
||||
Table *Table `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
|
||||
// The optional list of row keys that will be used to initially split the
|
||||
// table into several tablets (Tablets are similar to HBase regions).
|
||||
// Given two split keys, "s1" and "s2", three tablets will be created,
|
||||
@ -36,13 +42,35 @@ type CreateTableRequest struct {
|
||||
// - Tablet 3 [customer_1, customer_2) => {"customer_1"}.
|
||||
// - Tablet 4 [customer_2, other) => {"customer_2"}.
|
||||
// - Tablet 5 [other, ) => {"other", "zz"}.
|
||||
InitialSplitKeys []string `protobuf:"bytes,4,rep,name=initial_split_keys,json=initialSplitKeys" json:"initial_split_keys,omitempty"`
|
||||
InitialSplitKeys []string `protobuf:"bytes,4,rep,name=initial_split_keys,json=initialSplitKeys,proto3" json:"initial_split_keys,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} }
|
||||
func (m *CreateTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateTableRequest) ProtoMessage() {}
|
||||
func (*CreateTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} }
|
||||
func (m *CreateTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateTableRequest) ProtoMessage() {}
|
||||
func (*CreateTableRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{0}
|
||||
}
|
||||
func (m *CreateTableRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateTableRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateTableRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateTableRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateTableRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateTableRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateTableRequest.Size(m)
|
||||
}
|
||||
func (m *CreateTableRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateTableRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateTableRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateTableRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -74,13 +102,35 @@ func (m *CreateTableRequest) GetInitialSplitKeys() []string {
|
||||
|
||||
type ListTablesRequest struct {
|
||||
// The unique name of the cluster for which tables should be listed.
|
||||
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 *ListTablesRequest) Reset() { *m = ListTablesRequest{} }
|
||||
func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTablesRequest) ProtoMessage() {}
|
||||
func (*ListTablesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
func (m *ListTablesRequest) Reset() { *m = ListTablesRequest{} }
|
||||
func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTablesRequest) ProtoMessage() {}
|
||||
func (*ListTablesRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{1}
|
||||
}
|
||||
func (m *ListTablesRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListTablesRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListTablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListTablesRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListTablesRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListTablesRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListTablesRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListTablesRequest.Size(m)
|
||||
}
|
||||
func (m *ListTablesRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListTablesRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListTablesRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListTablesRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -92,13 +142,35 @@ func (m *ListTablesRequest) GetName() string {
|
||||
type ListTablesResponse struct {
|
||||
// The tables present in the requested cluster.
|
||||
// At present, only the names of the tables are populated.
|
||||
Tables []*Table `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
|
||||
Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListTablesResponse) Reset() { *m = ListTablesResponse{} }
|
||||
func (m *ListTablesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTablesResponse) ProtoMessage() {}
|
||||
func (*ListTablesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
func (m *ListTablesResponse) Reset() { *m = ListTablesResponse{} }
|
||||
func (m *ListTablesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTablesResponse) ProtoMessage() {}
|
||||
func (*ListTablesResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{2}
|
||||
}
|
||||
func (m *ListTablesResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListTablesResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListTablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListTablesResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListTablesResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListTablesResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListTablesResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListTablesResponse.Size(m)
|
||||
}
|
||||
func (m *ListTablesResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListTablesResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListTablesResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListTablesResponse) GetTables() []*Table {
|
||||
if m != nil {
|
||||
@ -109,13 +181,35 @@ func (m *ListTablesResponse) GetTables() []*Table {
|
||||
|
||||
type GetTableRequest struct {
|
||||
// The unique name of the requested table.
|
||||
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 *GetTableRequest) Reset() { *m = GetTableRequest{} }
|
||||
func (m *GetTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetTableRequest) ProtoMessage() {}
|
||||
func (*GetTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
func (m *GetTableRequest) Reset() { *m = GetTableRequest{} }
|
||||
func (m *GetTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetTableRequest) ProtoMessage() {}
|
||||
func (*GetTableRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{3}
|
||||
}
|
||||
func (m *GetTableRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetTableRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetTableRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetTableRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetTableRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *GetTableRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetTableRequest.Size(m)
|
||||
}
|
||||
func (m *GetTableRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetTableRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetTableRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetTableRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -126,13 +220,35 @@ func (m *GetTableRequest) GetName() string {
|
||||
|
||||
type DeleteTableRequest struct {
|
||||
// The unique name of the table to be deleted.
|
||||
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 *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} }
|
||||
func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteTableRequest) ProtoMessage() {}
|
||||
func (*DeleteTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
func (m *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} }
|
||||
func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteTableRequest) ProtoMessage() {}
|
||||
func (*DeleteTableRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{4}
|
||||
}
|
||||
func (m *DeleteTableRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteTableRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeleteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeleteTableRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DeleteTableRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeleteTableRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *DeleteTableRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_DeleteTableRequest.Size(m)
|
||||
}
|
||||
func (m *DeleteTableRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeleteTableRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeleteTableRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *DeleteTableRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -143,16 +259,38 @@ func (m *DeleteTableRequest) GetName() string {
|
||||
|
||||
type RenameTableRequest struct {
|
||||
// The current unique name of the table.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The new name by which the table should be referred to within its containing
|
||||
// cluster, e.g. "foobar" rather than "<cluster_name>/tables/foobar".
|
||||
NewId string `protobuf:"bytes,2,opt,name=new_id,json=newId" json:"new_id,omitempty"`
|
||||
NewId string `protobuf:"bytes,2,opt,name=new_id,json=newId,proto3" json:"new_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *RenameTableRequest) Reset() { *m = RenameTableRequest{} }
|
||||
func (m *RenameTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*RenameTableRequest) ProtoMessage() {}
|
||||
func (*RenameTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
func (m *RenameTableRequest) Reset() { *m = RenameTableRequest{} }
|
||||
func (m *RenameTableRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*RenameTableRequest) ProtoMessage() {}
|
||||
func (*RenameTableRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{5}
|
||||
}
|
||||
func (m *RenameTableRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RenameTableRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *RenameTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_RenameTableRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *RenameTableRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_RenameTableRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *RenameTableRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_RenameTableRequest.Size(m)
|
||||
}
|
||||
func (m *RenameTableRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_RenameTableRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_RenameTableRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *RenameTableRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -170,18 +308,40 @@ func (m *RenameTableRequest) GetNewId() string {
|
||||
|
||||
type CreateColumnFamilyRequest struct {
|
||||
// The unique name of the table in which to create the new column family.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The name by which the new column family should be referred to within the
|
||||
// table, e.g. "foobar" rather than "<table_name>/columnFamilies/foobar".
|
||||
ColumnFamilyId string `protobuf:"bytes,2,opt,name=column_family_id,json=columnFamilyId" json:"column_family_id,omitempty"`
|
||||
ColumnFamilyId string `protobuf:"bytes,2,opt,name=column_family_id,json=columnFamilyId,proto3" json:"column_family_id,omitempty"`
|
||||
// The column family to create. The `name` field must be left blank.
|
||||
ColumnFamily *ColumnFamily `protobuf:"bytes,3,opt,name=column_family,json=columnFamily" json:"column_family,omitempty"`
|
||||
ColumnFamily *ColumnFamily `protobuf:"bytes,3,opt,name=column_family,json=columnFamily,proto3" json:"column_family,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateColumnFamilyRequest) Reset() { *m = CreateColumnFamilyRequest{} }
|
||||
func (m *CreateColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateColumnFamilyRequest) ProtoMessage() {}
|
||||
func (*CreateColumnFamilyRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
|
||||
func (m *CreateColumnFamilyRequest) Reset() { *m = CreateColumnFamilyRequest{} }
|
||||
func (m *CreateColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateColumnFamilyRequest) ProtoMessage() {}
|
||||
func (*CreateColumnFamilyRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{6}
|
||||
}
|
||||
func (m *CreateColumnFamilyRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateColumnFamilyRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateColumnFamilyRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateColumnFamilyRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateColumnFamilyRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateColumnFamilyRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateColumnFamilyRequest.Size(m)
|
||||
}
|
||||
func (m *CreateColumnFamilyRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateColumnFamilyRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateColumnFamilyRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateColumnFamilyRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -206,13 +366,35 @@ func (m *CreateColumnFamilyRequest) GetColumnFamily() *ColumnFamily {
|
||||
|
||||
type DeleteColumnFamilyRequest struct {
|
||||
// The unique name of the column family to be deleted.
|
||||
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 *DeleteColumnFamilyRequest) Reset() { *m = DeleteColumnFamilyRequest{} }
|
||||
func (m *DeleteColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteColumnFamilyRequest) ProtoMessage() {}
|
||||
func (*DeleteColumnFamilyRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
|
||||
func (m *DeleteColumnFamilyRequest) Reset() { *m = DeleteColumnFamilyRequest{} }
|
||||
func (m *DeleteColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteColumnFamilyRequest) ProtoMessage() {}
|
||||
func (*DeleteColumnFamilyRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{7}
|
||||
}
|
||||
func (m *DeleteColumnFamilyRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteColumnFamilyRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeleteColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeleteColumnFamilyRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DeleteColumnFamilyRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeleteColumnFamilyRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *DeleteColumnFamilyRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_DeleteColumnFamilyRequest.Size(m)
|
||||
}
|
||||
func (m *DeleteColumnFamilyRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeleteColumnFamilyRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeleteColumnFamilyRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *DeleteColumnFamilyRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -223,17 +405,46 @@ func (m *DeleteColumnFamilyRequest) GetName() string {
|
||||
|
||||
type BulkDeleteRowsRequest struct {
|
||||
// The unique name of the table on which to perform the bulk delete
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// Types that are valid to be assigned to Target:
|
||||
// *BulkDeleteRowsRequest_RowKeyPrefix
|
||||
// *BulkDeleteRowsRequest_DeleteAllDataFromTable
|
||||
Target isBulkDeleteRowsRequest_Target `protobuf_oneof:"target"`
|
||||
Target isBulkDeleteRowsRequest_Target `protobuf_oneof:"target"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *BulkDeleteRowsRequest) Reset() { *m = BulkDeleteRowsRequest{} }
|
||||
func (m *BulkDeleteRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*BulkDeleteRowsRequest) ProtoMessage() {}
|
||||
func (*BulkDeleteRowsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }
|
||||
func (m *BulkDeleteRowsRequest) Reset() { *m = BulkDeleteRowsRequest{} }
|
||||
func (m *BulkDeleteRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*BulkDeleteRowsRequest) ProtoMessage() {}
|
||||
func (*BulkDeleteRowsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{8}
|
||||
}
|
||||
func (m *BulkDeleteRowsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BulkDeleteRowsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BulkDeleteRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BulkDeleteRowsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *BulkDeleteRowsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BulkDeleteRowsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *BulkDeleteRowsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_BulkDeleteRowsRequest.Size(m)
|
||||
}
|
||||
func (m *BulkDeleteRowsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BulkDeleteRowsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BulkDeleteRowsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *BulkDeleteRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
return m.TableName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isBulkDeleteRowsRequest_Target interface {
|
||||
isBulkDeleteRowsRequest_Target()
|
||||
@ -242,11 +453,13 @@ type isBulkDeleteRowsRequest_Target interface {
|
||||
type BulkDeleteRowsRequest_RowKeyPrefix struct {
|
||||
RowKeyPrefix []byte `protobuf:"bytes,2,opt,name=row_key_prefix,json=rowKeyPrefix,proto3,oneof"`
|
||||
}
|
||||
|
||||
type BulkDeleteRowsRequest_DeleteAllDataFromTable struct {
|
||||
DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,oneof"`
|
||||
DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*BulkDeleteRowsRequest_RowKeyPrefix) isBulkDeleteRowsRequest_Target() {}
|
||||
func (*BulkDeleteRowsRequest_RowKeyPrefix) isBulkDeleteRowsRequest_Target() {}
|
||||
|
||||
func (*BulkDeleteRowsRequest_DeleteAllDataFromTable) isBulkDeleteRowsRequest_Target() {}
|
||||
|
||||
func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target {
|
||||
@ -256,13 +469,6 @@ func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BulkDeleteRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
return m.TableName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *BulkDeleteRowsRequest) GetRowKeyPrefix() []byte {
|
||||
if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_RowKeyPrefix); ok {
|
||||
return x.RowKeyPrefix
|
||||
@ -333,11 +539,11 @@ func _BulkDeleteRowsRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
// target
|
||||
switch x := m.Target.(type) {
|
||||
case *BulkDeleteRowsRequest_RowKeyPrefix:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.RowKeyPrefix)))
|
||||
n += len(x.RowKeyPrefix)
|
||||
case *BulkDeleteRowsRequest_DeleteAllDataFromTable:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case nil:
|
||||
default:
|
||||
@ -359,10 +565,10 @@ func init() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor2)
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor_bigtable_table_service_messages_db488db316a00db0)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_bigtable_table_service_messages_db488db316a00db0 = []byte{
|
||||
// 514 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x6e, 0xd3, 0x40,
|
||||
0x10, 0xad, 0x49, 0x1b, 0x92, 0x21, 0x94, 0xb2, 0x52, 0x51, 0x52, 0x09, 0x14, 0x56, 0x2a, 0xe4,
|
||||
|
1123
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go
generated
vendored
1123
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1080
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go
generated
vendored
1080
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
24
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go
generated
vendored
24
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go
generated
vendored
@ -1,19 +1,25 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/v2/common.proto
|
||||
|
||||
package admin
|
||||
package admin // import "google.golang.org/genproto/googleapis/bigtable/admin/v2"
|
||||
|
||||
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/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// Storage media types for persisting Bigtable data.
|
||||
type StorageType int32
|
||||
|
||||
@ -33,22 +39,26 @@ var StorageType_name = map[int32]string{
|
||||
}
|
||||
var StorageType_value = map[string]int32{
|
||||
"STORAGE_TYPE_UNSPECIFIED": 0,
|
||||
"SSD": 1,
|
||||
"HDD": 2,
|
||||
"SSD": 1,
|
||||
"HDD": 2,
|
||||
}
|
||||
|
||||
func (x StorageType) String() string {
|
||||
return proto.EnumName(StorageType_name, int32(x))
|
||||
}
|
||||
func (StorageType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (StorageType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_common_a7c806066773dffe, []int{0}
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.StorageType", StorageType_name, StorageType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/admin/v2/common.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/v2/common.proto", fileDescriptor_common_a7c806066773dffe)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_common_a7c806066773dffe = []byte{
|
||||
// 270 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0xcf, 0x4b, 0xc3, 0x30,
|
||||
0x14, 0x07, 0x70, 0x3b, 0x41, 0x21, 0xbb, 0x94, 0x9e, 0xc6, 0x28, 0x7a, 0xf2, 0xe2, 0x21, 0x81,
|
||||
|
242
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go
generated
vendored
242
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go
generated
vendored
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/v2/instance.proto
|
||||
|
||||
package admin
|
||||
package admin // import "google.golang.org/genproto/googleapis/bigtable/admin/v2"
|
||||
|
||||
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
|
||||
|
||||
// Possible states of an instance.
|
||||
type Instance_State int32
|
||||
|
||||
@ -41,7 +47,9 @@ var Instance_State_value = map[string]int32{
|
||||
func (x Instance_State) String() string {
|
||||
return proto.EnumName(Instance_State_name, int32(x))
|
||||
}
|
||||
func (Instance_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} }
|
||||
func (Instance_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{0, 0}
|
||||
}
|
||||
|
||||
// The type of the instance.
|
||||
type Instance_Type int32
|
||||
@ -78,7 +86,9 @@ var Instance_Type_value = map[string]int32{
|
||||
func (x Instance_Type) String() string {
|
||||
return proto.EnumName(Instance_Type_name, int32(x))
|
||||
}
|
||||
func (Instance_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 1} }
|
||||
func (Instance_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{0, 1}
|
||||
}
|
||||
|
||||
// Possible states of a cluster.
|
||||
type Cluster_State int32
|
||||
@ -121,7 +131,9 @@ var Cluster_State_value = map[string]int32{
|
||||
func (x Cluster_State) String() string {
|
||||
return proto.EnumName(Cluster_State_name, int32(x))
|
||||
}
|
||||
func (Cluster_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{1, 0} }
|
||||
func (Cluster_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{1, 0}
|
||||
}
|
||||
|
||||
// A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
|
||||
// the resources that serve them.
|
||||
@ -131,16 +143,16 @@ type Instance struct {
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the instance. Values are of the form
|
||||
// `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The descriptive name for this instance as it appears in UIs.
|
||||
// Can be changed at any time, but should be kept globally unique
|
||||
// to avoid confusion.
|
||||
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"`
|
||||
// (`OutputOnly`)
|
||||
// The current state of the instance.
|
||||
State Instance_State `protobuf:"varint,3,opt,name=state,enum=google.bigtable.admin.v2.Instance_State" json:"state,omitempty"`
|
||||
State Instance_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Instance_State" json:"state,omitempty"`
|
||||
// The type of the instance. Defaults to `PRODUCTION`.
|
||||
Type Instance_Type `protobuf:"varint,4,opt,name=type,enum=google.bigtable.admin.v2.Instance_Type" json:"type,omitempty"`
|
||||
Type Instance_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.bigtable.admin.v2.Instance_Type" json:"type,omitempty"`
|
||||
// Labels are a flexible and lightweight mechanism for organizing cloud
|
||||
// resources into groups that reflect a customer's organizational needs and
|
||||
// deployment strategies. They can be used to filter resources and aggregate
|
||||
@ -152,13 +164,35 @@ type Instance struct {
|
||||
// the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
|
||||
// * No more than 64 labels can be associated with a given resource.
|
||||
// * Keys and values must both be under 128 bytes.
|
||||
Labels map[string]string `protobuf:"bytes,5,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,5,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 *Instance) Reset() { *m = Instance{} }
|
||||
func (m *Instance) String() string { return proto.CompactTextString(m) }
|
||||
func (*Instance) ProtoMessage() {}
|
||||
func (*Instance) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
func (m *Instance) Reset() { *m = Instance{} }
|
||||
func (m *Instance) String() string { return proto.CompactTextString(m) }
|
||||
func (*Instance) ProtoMessage() {}
|
||||
func (*Instance) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{0}
|
||||
}
|
||||
func (m *Instance) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Instance.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Instance.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Instance) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Instance.Merge(dst, src)
|
||||
}
|
||||
func (m *Instance) XXX_Size() int {
|
||||
return xxx_messageInfo_Instance.Size(m)
|
||||
}
|
||||
func (m *Instance) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Instance.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Instance proto.InternalMessageInfo
|
||||
|
||||
func (m *Instance) GetName() string {
|
||||
if m != nil {
|
||||
@ -202,29 +236,51 @@ type Cluster struct {
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the cluster. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// (`CreationOnly`)
|
||||
// The location where this cluster's nodes and storage reside. For best
|
||||
// performance, clients should be located as close as possible to this
|
||||
// cluster. Currently only zones are supported, so values should be of the
|
||||
// form `projects/<project>/locations/<zone>`.
|
||||
Location string `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"`
|
||||
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The current state of the cluster.
|
||||
State Cluster_State `protobuf:"varint,3,opt,name=state,enum=google.bigtable.admin.v2.Cluster_State" json:"state,omitempty"`
|
||||
State Cluster_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Cluster_State" json:"state,omitempty"`
|
||||
// The number of nodes allocated to this cluster. More nodes enable higher
|
||||
// throughput and more consistent performance.
|
||||
ServeNodes int32 `protobuf:"varint,4,opt,name=serve_nodes,json=serveNodes" json:"serve_nodes,omitempty"`
|
||||
ServeNodes int32 `protobuf:"varint,4,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"`
|
||||
// (`CreationOnly`)
|
||||
// The type of storage used by this cluster to serve its
|
||||
// parent instance's tables, unless explicitly overridden.
|
||||
DefaultStorageType StorageType `protobuf:"varint,5,opt,name=default_storage_type,json=defaultStorageType,enum=google.bigtable.admin.v2.StorageType" json:"default_storage_type,omitempty"`
|
||||
DefaultStorageType StorageType `protobuf:"varint,5,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.v2.StorageType" json:"default_storage_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Cluster) Reset() { *m = Cluster{} }
|
||||
func (m *Cluster) String() string { return proto.CompactTextString(m) }
|
||||
func (*Cluster) ProtoMessage() {}
|
||||
func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
||||
func (m *Cluster) Reset() { *m = Cluster{} }
|
||||
func (m *Cluster) String() string { return proto.CompactTextString(m) }
|
||||
func (*Cluster) ProtoMessage() {}
|
||||
func (*Cluster) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{1}
|
||||
}
|
||||
func (m *Cluster) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Cluster.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Cluster.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Cluster) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Cluster.Merge(dst, src)
|
||||
}
|
||||
func (m *Cluster) XXX_Size() int {
|
||||
return xxx_messageInfo_Cluster.Size(m)
|
||||
}
|
||||
func (m *Cluster) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Cluster.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Cluster proto.InternalMessageInfo
|
||||
|
||||
func (m *Cluster) GetName() string {
|
||||
if m != nil {
|
||||
@ -261,18 +317,13 @@ func (m *Cluster) GetDefaultStorageType() StorageType {
|
||||
return StorageType_STORAGE_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
// A configuration object describing how Cloud Bigtable should treat traffic
|
||||
// from a particular end user application.
|
||||
type AppProfile struct {
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the app profile. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Strongly validated etag for optimistic concurrency control. Preserve the
|
||||
// value returned from `GetAppProfile` when calling `UpdateAppProfile` to
|
||||
// fail the request if there has been a modification in the mean time. The
|
||||
@ -281,43 +332,44 @@ type AppProfile struct {
|
||||
// See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
|
||||
// [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
|
||||
// details.
|
||||
Etag string `protobuf:"bytes,2,opt,name=etag" json:"etag,omitempty"`
|
||||
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
|
||||
// Optional long form description of the use case for this AppProfile.
|
||||
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// The routing policy for all read/write requests which use this app profile.
|
||||
// A value must be explicitly set.
|
||||
//
|
||||
// Types that are valid to be assigned to RoutingPolicy:
|
||||
// *AppProfile_MultiClusterRoutingUseAny_
|
||||
// *AppProfile_SingleClusterRouting_
|
||||
RoutingPolicy isAppProfile_RoutingPolicy `protobuf_oneof:"routing_policy"`
|
||||
RoutingPolicy isAppProfile_RoutingPolicy `protobuf_oneof:"routing_policy"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AppProfile) Reset() { *m = AppProfile{} }
|
||||
func (m *AppProfile) String() string { return proto.CompactTextString(m) }
|
||||
func (*AppProfile) ProtoMessage() {}
|
||||
func (*AppProfile) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
|
||||
|
||||
type isAppProfile_RoutingPolicy interface {
|
||||
isAppProfile_RoutingPolicy()
|
||||
func (m *AppProfile) Reset() { *m = AppProfile{} }
|
||||
func (m *AppProfile) String() string { return proto.CompactTextString(m) }
|
||||
func (*AppProfile) ProtoMessage() {}
|
||||
func (*AppProfile) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{2}
|
||||
}
|
||||
func (m *AppProfile) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AppProfile.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AppProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AppProfile.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AppProfile) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AppProfile.Merge(dst, src)
|
||||
}
|
||||
func (m *AppProfile) XXX_Size() int {
|
||||
return xxx_messageInfo_AppProfile.Size(m)
|
||||
}
|
||||
func (m *AppProfile) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AppProfile.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type AppProfile_MultiClusterRoutingUseAny_ struct {
|
||||
MultiClusterRoutingUseAny *AppProfile_MultiClusterRoutingUseAny `protobuf:"bytes,5,opt,name=multi_cluster_routing_use_any,json=multiClusterRoutingUseAny,oneof"`
|
||||
}
|
||||
type AppProfile_SingleClusterRouting_ struct {
|
||||
SingleClusterRouting *AppProfile_SingleClusterRouting `protobuf:"bytes,6,opt,name=single_cluster_routing,json=singleClusterRouting,oneof"`
|
||||
}
|
||||
|
||||
func (*AppProfile_MultiClusterRoutingUseAny_) isAppProfile_RoutingPolicy() {}
|
||||
func (*AppProfile_SingleClusterRouting_) isAppProfile_RoutingPolicy() {}
|
||||
|
||||
func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicy {
|
||||
if m != nil {
|
||||
return m.RoutingPolicy
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_AppProfile proto.InternalMessageInfo
|
||||
|
||||
func (m *AppProfile) GetName() string {
|
||||
if m != nil {
|
||||
@ -340,6 +392,29 @@ func (m *AppProfile) GetDescription() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type isAppProfile_RoutingPolicy interface {
|
||||
isAppProfile_RoutingPolicy()
|
||||
}
|
||||
|
||||
type AppProfile_MultiClusterRoutingUseAny_ struct {
|
||||
MultiClusterRoutingUseAny *AppProfile_MultiClusterRoutingUseAny `protobuf:"bytes,5,opt,name=multi_cluster_routing_use_any,json=multiClusterRoutingUseAny,proto3,oneof"`
|
||||
}
|
||||
|
||||
type AppProfile_SingleClusterRouting_ struct {
|
||||
SingleClusterRouting *AppProfile_SingleClusterRouting `protobuf:"bytes,6,opt,name=single_cluster_routing,json=singleClusterRouting,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*AppProfile_MultiClusterRoutingUseAny_) isAppProfile_RoutingPolicy() {}
|
||||
|
||||
func (*AppProfile_SingleClusterRouting_) isAppProfile_RoutingPolicy() {}
|
||||
|
||||
func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicy {
|
||||
if m != nil {
|
||||
return m.RoutingPolicy
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AppProfile) GetMultiClusterRoutingUseAny() *AppProfile_MultiClusterRoutingUseAny {
|
||||
if x, ok := m.GetRoutingPolicy().(*AppProfile_MultiClusterRoutingUseAny_); ok {
|
||||
return x.MultiClusterRoutingUseAny
|
||||
@ -413,12 +488,12 @@ func _AppProfile_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.RoutingPolicy.(type) {
|
||||
case *AppProfile_MultiClusterRoutingUseAny_:
|
||||
s := proto.Size(x.MultiClusterRoutingUseAny)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *AppProfile_SingleClusterRouting_:
|
||||
s := proto.Size(x.SingleClusterRouting)
|
||||
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -433,33 +508,73 @@ func _AppProfile_OneofSizer(msg proto.Message) (n int) {
|
||||
// Choosing this option sacrifices read-your-writes consistency to improve
|
||||
// availability.
|
||||
type AppProfile_MultiClusterRoutingUseAny struct {
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AppProfile_MultiClusterRoutingUseAny) Reset() { *m = AppProfile_MultiClusterRoutingUseAny{} }
|
||||
func (m *AppProfile_MultiClusterRoutingUseAny) String() string { return proto.CompactTextString(m) }
|
||||
func (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage() {}
|
||||
func (*AppProfile_MultiClusterRoutingUseAny) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor3, []int{2, 0}
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{2, 0}
|
||||
}
|
||||
func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AppProfile_MultiClusterRoutingUseAny) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Merge(dst, src)
|
||||
}
|
||||
func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Size() int {
|
||||
return xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Size(m)
|
||||
}
|
||||
func (m *AppProfile_MultiClusterRoutingUseAny) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny proto.InternalMessageInfo
|
||||
|
||||
// Unconditionally routes all read/write requests to a specific cluster.
|
||||
// This option preserves read-your-writes consistency, but does not improve
|
||||
// availability.
|
||||
type AppProfile_SingleClusterRouting struct {
|
||||
// The cluster to which read/write requests should be routed.
|
||||
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
|
||||
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
||||
// Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
|
||||
// allowed by this app profile. It is unsafe to send these requests to
|
||||
// the same table/row/column in multiple clusters.
|
||||
AllowTransactionalWrites bool `protobuf:"varint,2,opt,name=allow_transactional_writes,json=allowTransactionalWrites" json:"allow_transactional_writes,omitempty"`
|
||||
AllowTransactionalWrites bool `protobuf:"varint,2,opt,name=allow_transactional_writes,json=allowTransactionalWrites,proto3" json:"allow_transactional_writes,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AppProfile_SingleClusterRouting) Reset() { *m = AppProfile_SingleClusterRouting{} }
|
||||
func (m *AppProfile_SingleClusterRouting) String() string { return proto.CompactTextString(m) }
|
||||
func (*AppProfile_SingleClusterRouting) ProtoMessage() {}
|
||||
func (*AppProfile_SingleClusterRouting) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor3, []int{2, 1}
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{2, 1}
|
||||
}
|
||||
func (m *AppProfile_SingleClusterRouting) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AppProfile_SingleClusterRouting.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AppProfile_SingleClusterRouting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AppProfile_SingleClusterRouting.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AppProfile_SingleClusterRouting) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AppProfile_SingleClusterRouting.Merge(dst, src)
|
||||
}
|
||||
func (m *AppProfile_SingleClusterRouting) XXX_Size() int {
|
||||
return xxx_messageInfo_AppProfile_SingleClusterRouting.Size(m)
|
||||
}
|
||||
func (m *AppProfile_SingleClusterRouting) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AppProfile_SingleClusterRouting.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AppProfile_SingleClusterRouting proto.InternalMessageInfo
|
||||
|
||||
func (m *AppProfile_SingleClusterRouting) GetClusterId() string {
|
||||
if m != nil {
|
||||
@ -477,6 +592,7 @@ func (m *AppProfile_SingleClusterRouting) GetAllowTransactionalWrites() bool {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Instance)(nil), "google.bigtable.admin.v2.Instance")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.bigtable.admin.v2.Instance.LabelsEntry")
|
||||
proto.RegisterType((*Cluster)(nil), "google.bigtable.admin.v2.Cluster")
|
||||
proto.RegisterType((*AppProfile)(nil), "google.bigtable.admin.v2.AppProfile")
|
||||
proto.RegisterType((*AppProfile_MultiClusterRoutingUseAny)(nil), "google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny")
|
||||
@ -486,9 +602,11 @@ func init() {
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Cluster_State", Cluster_State_name, Cluster_State_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/admin/v2/instance.proto", fileDescriptor3) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/v2/instance.proto", fileDescriptor_instance_49fafc75b31da0ad)
|
||||
}
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
var fileDescriptor_instance_49fafc75b31da0ad = []byte{
|
||||
// 765 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdd, 0x8e, 0xdb, 0x44,
|
||||
0x14, 0x8e, 0xf3, 0xb3, 0x64, 0x4f, 0xca, 0xd6, 0x1a, 0x22, 0x94, 0x86, 0x16, 0x42, 0xa4, 0xaa,
|
||||
|
360
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go
generated
vendored
360
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go
generated
vendored
@ -1,20 +1,26 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/v2/table.proto
|
||||
|
||||
package admin
|
||||
package admin // import "google.golang.org/genproto/googleapis/bigtable/admin/v2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf5 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf1 "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
|
||||
|
||||
// Possible timestamp granularities to use when keeping multiple versions
|
||||
// of data in a table.
|
||||
type Table_TimestampGranularity int32
|
||||
@ -33,14 +39,14 @@ var Table_TimestampGranularity_name = map[int32]string{
|
||||
}
|
||||
var Table_TimestampGranularity_value = map[string]int32{
|
||||
"TIMESTAMP_GRANULARITY_UNSPECIFIED": 0,
|
||||
"MILLIS": 1,
|
||||
"MILLIS": 1,
|
||||
}
|
||||
|
||||
func (x Table_TimestampGranularity) String() string {
|
||||
return proto.EnumName(Table_TimestampGranularity_name, int32(x))
|
||||
}
|
||||
func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor4, []int{0, 0}
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0, 0}
|
||||
}
|
||||
|
||||
// Defines a view over a table's fields.
|
||||
@ -53,12 +59,6 @@ const (
|
||||
Table_NAME_ONLY Table_View = 1
|
||||
// Only populates `name` and fields related to the table's schema.
|
||||
Table_SCHEMA_VIEW Table_View = 2
|
||||
// This is a private alpha release of Cloud Bigtable replication. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not
|
||||
// recommended for production use. It is not subject to any SLA or
|
||||
// deprecation policy.
|
||||
//
|
||||
// Only populates `name` and fields related to the table's
|
||||
// replication state.
|
||||
Table_REPLICATION_VIEW Table_View = 3
|
||||
@ -84,7 +84,9 @@ var Table_View_value = map[string]int32{
|
||||
func (x Table_View) String() string {
|
||||
return proto.EnumName(Table_View_name, int32(x))
|
||||
}
|
||||
func (Table_View) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0, 1} }
|
||||
func (Table_View) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0, 1}
|
||||
}
|
||||
|
||||
// Table replication states.
|
||||
type Table_ClusterState_ReplicationState int32
|
||||
@ -94,21 +96,17 @@ const (
|
||||
Table_ClusterState_STATE_NOT_KNOWN Table_ClusterState_ReplicationState = 0
|
||||
// The cluster was recently created, and the table must finish copying
|
||||
// over pre-existing data from other clusters before it can begin
|
||||
// receiving live replication updates and serving
|
||||
// [Data API][google.bigtable.v2.Bigtable] requests.
|
||||
// receiving live replication updates and serving Data API requests.
|
||||
Table_ClusterState_INITIALIZING Table_ClusterState_ReplicationState = 1
|
||||
// The table is temporarily unable to serve
|
||||
// [Data API][google.bigtable.v2.Bigtable] requests from this
|
||||
// The table is temporarily unable to serve Data API requests from this
|
||||
// cluster due to planned internal maintenance.
|
||||
Table_ClusterState_PLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 2
|
||||
// The table is temporarily unable to serve
|
||||
// [Data API][google.bigtable.v2.Bigtable] requests from this
|
||||
// The table is temporarily unable to serve Data API requests from this
|
||||
// cluster due to unplanned or emergency maintenance.
|
||||
Table_ClusterState_UNPLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 3
|
||||
// The table can serve
|
||||
// [Data API][google.bigtable.v2.Bigtable] requests from this
|
||||
// cluster. Depending on replication delay, reads may not immediately
|
||||
// reflect the state of the table in other clusters.
|
||||
// The table can serve Data API requests from this cluster. Depending on
|
||||
// replication delay, reads may not immediately reflect the state of the
|
||||
// table in other clusters.
|
||||
Table_ClusterState_READY Table_ClusterState_ReplicationState = 4
|
||||
)
|
||||
|
||||
@ -131,7 +129,7 @@ func (x Table_ClusterState_ReplicationState) String() string {
|
||||
return proto.EnumName(Table_ClusterState_ReplicationState_name, int32(x))
|
||||
}
|
||||
func (Table_ClusterState_ReplicationState) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor4, []int{0, 0, 0}
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0, 0, 0}
|
||||
}
|
||||
|
||||
// Possible states of a snapshot.
|
||||
@ -162,7 +160,9 @@ var Snapshot_State_value = map[string]int32{
|
||||
func (x Snapshot_State) String() string {
|
||||
return proto.EnumName(Snapshot_State_name, int32(x))
|
||||
}
|
||||
func (Snapshot_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{3, 0} }
|
||||
func (Snapshot_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{3, 0}
|
||||
}
|
||||
|
||||
// A collection of user data indexed by row, column, and timestamp.
|
||||
// Each table is served using the resources of its parent cluster.
|
||||
@ -170,36 +170,53 @@ type Table struct {
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the table. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
||||
// Views: `NAME_ONLY`, `SCHEMA_VIEW`, `FULL`
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
// Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// Map from cluster ID to per-cluster table state.
|
||||
// If it could not be determined whether or not the table has data in a
|
||||
// particular cluster (for example, if its zone is unavailable), then
|
||||
// there will be an entry for the cluster with UNKNOWN `replication_status`.
|
||||
// Views: `FULL`
|
||||
ClusterStates map[string]*Table_ClusterState `protobuf:"bytes,2,rep,name=cluster_states,json=clusterStates" json:"cluster_states,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// Views: `REPLICATION_VIEW`, `FULL`
|
||||
ClusterStates map[string]*Table_ClusterState `protobuf:"bytes,2,rep,name=cluster_states,json=clusterStates,proto3" json:"cluster_states,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// (`CreationOnly`)
|
||||
// The column families configured for this table, mapped by column family ID.
|
||||
// Views: `SCHEMA_VIEW`, `FULL`
|
||||
ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies,proto3" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// (`CreationOnly`)
|
||||
// The granularity (e.g. `MILLIS`, `MICROS`) at which timestamps are stored in
|
||||
// The granularity (i.e. `MILLIS`) at which timestamps are stored in
|
||||
// this table. Timestamps not matching the granularity will be rejected.
|
||||
// If unspecified at creation time, the value will be set to `MILLIS`.
|
||||
// Views: `SCHEMA_VIEW`, `FULL`
|
||||
Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,enum=google.bigtable.admin.v2.Table_TimestampGranularity" json:"granularity,omitempty"`
|
||||
Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,proto3,enum=google.bigtable.admin.v2.Table_TimestampGranularity" json:"granularity,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Table) Reset() { *m = Table{} }
|
||||
func (m *Table) String() string { return proto.CompactTextString(m) }
|
||||
func (*Table) ProtoMessage() {}
|
||||
func (*Table) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
||||
func (m *Table) Reset() { *m = Table{} }
|
||||
func (m *Table) String() string { return proto.CompactTextString(m) }
|
||||
func (*Table) ProtoMessage() {}
|
||||
func (*Table) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0}
|
||||
}
|
||||
func (m *Table) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Table.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Table.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Table) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Table.Merge(dst, src)
|
||||
}
|
||||
func (m *Table) XXX_Size() int {
|
||||
return xxx_messageInfo_Table.Size(m)
|
||||
}
|
||||
func (m *Table) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Table.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Table proto.InternalMessageInfo
|
||||
|
||||
func (m *Table) GetName() string {
|
||||
if m != nil {
|
||||
@ -229,22 +246,39 @@ func (m *Table) GetGranularity() Table_TimestampGranularity {
|
||||
return Table_TIMESTAMP_GRANULARITY_UNSPECIFIED
|
||||
}
|
||||
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
// The state of a table's data in a particular cluster.
|
||||
type Table_ClusterState struct {
|
||||
// (`OutputOnly`)
|
||||
// The state of replication for the table in this cluster.
|
||||
ReplicationState Table_ClusterState_ReplicationState `protobuf:"varint,1,opt,name=replication_state,json=replicationState,enum=google.bigtable.admin.v2.Table_ClusterState_ReplicationState" json:"replication_state,omitempty"`
|
||||
ReplicationState Table_ClusterState_ReplicationState `protobuf:"varint,1,opt,name=replication_state,json=replicationState,proto3,enum=google.bigtable.admin.v2.Table_ClusterState_ReplicationState" json:"replication_state,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Table_ClusterState) Reset() { *m = Table_ClusterState{} }
|
||||
func (m *Table_ClusterState) String() string { return proto.CompactTextString(m) }
|
||||
func (*Table_ClusterState) ProtoMessage() {}
|
||||
func (*Table_ClusterState) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0, 0} }
|
||||
func (m *Table_ClusterState) Reset() { *m = Table_ClusterState{} }
|
||||
func (m *Table_ClusterState) String() string { return proto.CompactTextString(m) }
|
||||
func (*Table_ClusterState) ProtoMessage() {}
|
||||
func (*Table_ClusterState) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0, 0}
|
||||
}
|
||||
func (m *Table_ClusterState) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Table_ClusterState.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Table_ClusterState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Table_ClusterState.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Table_ClusterState) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Table_ClusterState.Merge(dst, src)
|
||||
}
|
||||
func (m *Table_ClusterState) XXX_Size() int {
|
||||
return xxx_messageInfo_Table_ClusterState.Size(m)
|
||||
}
|
||||
func (m *Table_ClusterState) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Table_ClusterState.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Table_ClusterState proto.InternalMessageInfo
|
||||
|
||||
func (m *Table_ClusterState) GetReplicationState() Table_ClusterState_ReplicationState {
|
||||
if m != nil {
|
||||
@ -261,13 +295,35 @@ type ColumnFamily struct {
|
||||
// NOTE: Garbage collection executes opportunistically in the background, and
|
||||
// so it's possible for reads to return a cell even if it matches the active
|
||||
// GC expression for its family.
|
||||
GcRule *GcRule `protobuf:"bytes,1,opt,name=gc_rule,json=gcRule" json:"gc_rule,omitempty"`
|
||||
GcRule *GcRule `protobuf:"bytes,1,opt,name=gc_rule,json=gcRule,proto3" json:"gc_rule,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ColumnFamily) Reset() { *m = ColumnFamily{} }
|
||||
func (m *ColumnFamily) String() string { return proto.CompactTextString(m) }
|
||||
func (*ColumnFamily) ProtoMessage() {}
|
||||
func (*ColumnFamily) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
|
||||
func (m *ColumnFamily) Reset() { *m = ColumnFamily{} }
|
||||
func (m *ColumnFamily) String() string { return proto.CompactTextString(m) }
|
||||
func (*ColumnFamily) ProtoMessage() {}
|
||||
func (*ColumnFamily) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{1}
|
||||
}
|
||||
func (m *ColumnFamily) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ColumnFamily.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ColumnFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ColumnFamily.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ColumnFamily) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ColumnFamily.Merge(dst, src)
|
||||
}
|
||||
func (m *ColumnFamily) XXX_Size() int {
|
||||
return xxx_messageInfo_ColumnFamily.Size(m)
|
||||
}
|
||||
func (m *ColumnFamily) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ColumnFamily.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ColumnFamily proto.InternalMessageInfo
|
||||
|
||||
func (m *ColumnFamily) GetGcRule() *GcRule {
|
||||
if m != nil {
|
||||
@ -285,35 +341,63 @@ type GcRule struct {
|
||||
// *GcRule_MaxAge
|
||||
// *GcRule_Intersection_
|
||||
// *GcRule_Union_
|
||||
Rule isGcRule_Rule `protobuf_oneof:"rule"`
|
||||
Rule isGcRule_Rule `protobuf_oneof:"rule"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcRule) Reset() { *m = GcRule{} }
|
||||
func (m *GcRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule) ProtoMessage() {}
|
||||
func (*GcRule) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
|
||||
func (m *GcRule) Reset() { *m = GcRule{} }
|
||||
func (m *GcRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule) ProtoMessage() {}
|
||||
func (*GcRule) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{2}
|
||||
}
|
||||
func (m *GcRule) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcRule.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcRule.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcRule) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcRule.Merge(dst, src)
|
||||
}
|
||||
func (m *GcRule) XXX_Size() int {
|
||||
return xxx_messageInfo_GcRule.Size(m)
|
||||
}
|
||||
func (m *GcRule) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcRule.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcRule proto.InternalMessageInfo
|
||||
|
||||
type isGcRule_Rule interface {
|
||||
isGcRule_Rule()
|
||||
}
|
||||
|
||||
type GcRule_MaxNumVersions struct {
|
||||
MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,oneof"`
|
||||
MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_MaxAge struct {
|
||||
MaxAge *google_protobuf5.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,oneof"`
|
||||
MaxAge *duration.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_Intersection_ struct {
|
||||
Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,oneof"`
|
||||
Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_Union_ struct {
|
||||
Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,oneof"`
|
||||
Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*GcRule_MaxNumVersions) isGcRule_Rule() {}
|
||||
func (*GcRule_MaxAge) isGcRule_Rule() {}
|
||||
func (*GcRule_Intersection_) isGcRule_Rule() {}
|
||||
func (*GcRule_Union_) isGcRule_Rule() {}
|
||||
|
||||
func (*GcRule_MaxAge) isGcRule_Rule() {}
|
||||
|
||||
func (*GcRule_Intersection_) isGcRule_Rule() {}
|
||||
|
||||
func (*GcRule_Union_) isGcRule_Rule() {}
|
||||
|
||||
func (m *GcRule) GetRule() isGcRule_Rule {
|
||||
if m != nil {
|
||||
@ -329,7 +413,7 @@ func (m *GcRule) GetMaxNumVersions() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GcRule) GetMaxAge() *google_protobuf5.Duration {
|
||||
func (m *GcRule) GetMaxAge() *duration.Duration {
|
||||
if x, ok := m.GetRule().(*GcRule_MaxAge); ok {
|
||||
return x.MaxAge
|
||||
}
|
||||
@ -403,7 +487,7 @@ func _GcRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer)
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_protobuf5.Duration)
|
||||
msg := new(duration.Duration)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_MaxAge{msg}
|
||||
return true, err
|
||||
@ -433,21 +517,21 @@ func _GcRule_OneofSizer(msg proto.Message) (n int) {
|
||||
// rule
|
||||
switch x := m.Rule.(type) {
|
||||
case *GcRule_MaxNumVersions:
|
||||
n += proto.SizeVarint(1<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.MaxNumVersions))
|
||||
case *GcRule_MaxAge:
|
||||
s := proto.Size(x.MaxAge)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Intersection_:
|
||||
s := proto.Size(x.Intersection)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Union_:
|
||||
s := proto.Size(x.Union)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -460,13 +544,35 @@ func _GcRule_OneofSizer(msg proto.Message) (n int) {
|
||||
// A GcRule which deletes cells matching all of the given rules.
|
||||
type GcRule_Intersection struct {
|
||||
// Only delete cells which would be deleted by every element of `rules`.
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcRule_Intersection) Reset() { *m = GcRule_Intersection{} }
|
||||
func (m *GcRule_Intersection) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Intersection) ProtoMessage() {}
|
||||
func (*GcRule_Intersection) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2, 0} }
|
||||
func (m *GcRule_Intersection) Reset() { *m = GcRule_Intersection{} }
|
||||
func (m *GcRule_Intersection) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Intersection) ProtoMessage() {}
|
||||
func (*GcRule_Intersection) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{2, 0}
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcRule_Intersection.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcRule_Intersection.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcRule_Intersection) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcRule_Intersection.Merge(dst, src)
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_Size() int {
|
||||
return xxx_messageInfo_GcRule_Intersection.Size(m)
|
||||
}
|
||||
func (m *GcRule_Intersection) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcRule_Intersection.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcRule_Intersection proto.InternalMessageInfo
|
||||
|
||||
func (m *GcRule_Intersection) GetRules() []*GcRule {
|
||||
if m != nil {
|
||||
@ -478,13 +584,35 @@ func (m *GcRule_Intersection) GetRules() []*GcRule {
|
||||
// A GcRule which deletes cells matching any of the given rules.
|
||||
type GcRule_Union struct {
|
||||
// Delete cells which would be deleted by any element of `rules`.
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcRule_Union) Reset() { *m = GcRule_Union{} }
|
||||
func (m *GcRule_Union) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Union) ProtoMessage() {}
|
||||
func (*GcRule_Union) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2, 1} }
|
||||
func (m *GcRule_Union) Reset() { *m = GcRule_Union{} }
|
||||
func (m *GcRule_Union) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcRule_Union) ProtoMessage() {}
|
||||
func (*GcRule_Union) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{2, 1}
|
||||
}
|
||||
func (m *GcRule_Union) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcRule_Union.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcRule_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcRule_Union.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcRule_Union) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcRule_Union.Merge(dst, src)
|
||||
}
|
||||
func (m *GcRule_Union) XXX_Size() int {
|
||||
return xxx_messageInfo_GcRule_Union.Size(m)
|
||||
}
|
||||
func (m *GcRule_Union) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcRule_Union.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcRule_Union proto.InternalMessageInfo
|
||||
|
||||
func (m *GcRule_Union) GetRules() []*GcRule {
|
||||
if m != nil {
|
||||
@ -493,47 +621,69 @@ func (m *GcRule_Union) GetRules() []*GcRule {
|
||||
return nil
|
||||
}
|
||||
|
||||
// This is a private alpha release of Cloud Bigtable snapshots. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
// A snapshot of a table at a particular time. A snapshot can be used as a
|
||||
// checkpoint for data restoration or a data source for a new table.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
type Snapshot struct {
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the snapshot.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The source table at the time the snapshot was taken.
|
||||
SourceTable *Table `protobuf:"bytes,2,opt,name=source_table,json=sourceTable" json:"source_table,omitempty"`
|
||||
SourceTable *Table `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The size of the data in the source table at the time the snapshot was
|
||||
// taken. In some cases, this value may be computed asynchronously via a
|
||||
// background process and a placeholder of 0 will be used in the meantime.
|
||||
DataSizeBytes int64 `protobuf:"varint,3,opt,name=data_size_bytes,json=dataSizeBytes" json:"data_size_bytes,omitempty"`
|
||||
DataSizeBytes int64 `protobuf:"varint,3,opt,name=data_size_bytes,json=dataSizeBytes,proto3" json:"data_size_bytes,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The time when the snapshot is created.
|
||||
CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The time when the snapshot will be deleted. The maximum amount of time a
|
||||
// snapshot can stay active is 365 days. If 'ttl' is not specified,
|
||||
// the default maximum of 365 days will be used.
|
||||
DeleteTime *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime" json:"delete_time,omitempty"`
|
||||
DeleteTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The current state of the snapshot.
|
||||
State Snapshot_State `protobuf:"varint,6,opt,name=state,enum=google.bigtable.admin.v2.Snapshot_State" json:"state,omitempty"`
|
||||
State Snapshot_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.bigtable.admin.v2.Snapshot_State" json:"state,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// Description of the snapshot.
|
||||
Description string `protobuf:"bytes,7,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Snapshot) Reset() { *m = Snapshot{} }
|
||||
func (m *Snapshot) String() string { return proto.CompactTextString(m) }
|
||||
func (*Snapshot) ProtoMessage() {}
|
||||
func (*Snapshot) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
|
||||
func (m *Snapshot) Reset() { *m = Snapshot{} }
|
||||
func (m *Snapshot) String() string { return proto.CompactTextString(m) }
|
||||
func (*Snapshot) ProtoMessage() {}
|
||||
func (*Snapshot) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{3}
|
||||
}
|
||||
func (m *Snapshot) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Snapshot.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Snapshot) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Snapshot.Merge(dst, src)
|
||||
}
|
||||
func (m *Snapshot) XXX_Size() int {
|
||||
return xxx_messageInfo_Snapshot.Size(m)
|
||||
}
|
||||
func (m *Snapshot) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Snapshot.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Snapshot proto.InternalMessageInfo
|
||||
|
||||
func (m *Snapshot) GetName() string {
|
||||
if m != nil {
|
||||
@ -556,14 +706,14 @@ func (m *Snapshot) GetDataSizeBytes() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetCreateTime() *google_protobuf1.Timestamp {
|
||||
func (m *Snapshot) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetDeleteTime() *google_protobuf1.Timestamp {
|
||||
func (m *Snapshot) GetDeleteTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.DeleteTime
|
||||
}
|
||||
@ -586,6 +736,8 @@ func (m *Snapshot) GetDescription() string {
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Table)(nil), "google.bigtable.admin.v2.Table")
|
||||
proto.RegisterMapType((map[string]*Table_ClusterState)(nil), "google.bigtable.admin.v2.Table.ClusterStatesEntry")
|
||||
proto.RegisterMapType((map[string]*ColumnFamily)(nil), "google.bigtable.admin.v2.Table.ColumnFamiliesEntry")
|
||||
proto.RegisterType((*Table_ClusterState)(nil), "google.bigtable.admin.v2.Table.ClusterState")
|
||||
proto.RegisterType((*ColumnFamily)(nil), "google.bigtable.admin.v2.ColumnFamily")
|
||||
proto.RegisterType((*GcRule)(nil), "google.bigtable.admin.v2.GcRule")
|
||||
@ -598,9 +750,11 @@ func init() {
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Snapshot_State", Snapshot_State_name, Snapshot_State_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/admin/v2/table.proto", fileDescriptor4) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/v2/table.proto", fileDescriptor_table_cd8df3d61350f137)
|
||||
}
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
var fileDescriptor_table_cd8df3d61350f137 = []byte{
|
||||
// 965 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xff, 0x6e, 0xdb, 0x54,
|
||||
0x18, 0xad, 0xe3, 0x38, 0x6d, 0xbf, 0xa4, 0xad, 0xb9, 0x1d, 0x22, 0x8b, 0xa6, 0x2d, 0x44, 0x30,
|
||||
|
1046
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go
generated
vendored
1046
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
44
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go
generated
vendored
44
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go
generated
vendored
@ -1,13 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/v1/bigtable_service.proto
|
||||
|
||||
package bigtable
|
||||
package bigtable // import "google.golang.org/genproto/googleapis/bigtable/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
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
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@ -27,8 +33,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for BigtableService service
|
||||
|
||||
// BigtableServiceClient is the client API for BigtableService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type BigtableServiceClient interface {
|
||||
// Streams back the contents of all requested rows, optionally applying
|
||||
// the same Reader filter to each. Depending on their size, rows may be
|
||||
@ -42,7 +49,7 @@ type BigtableServiceClient interface {
|
||||
SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error)
|
||||
// Mutates a row atomically. Cells already present in the row are left
|
||||
// unchanged unless explicitly changed by 'mutation'.
|
||||
MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Mutates multiple rows in a batch. Each individual row is mutated
|
||||
// atomically as in MutateRow, but the entire batch is not executed
|
||||
// atomically.
|
||||
@ -65,7 +72,7 @@ func NewBigtableServiceClient(cc *grpc.ClientConn) BigtableServiceClient {
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_BigtableService_serviceDesc.Streams[0], c.cc, "/google.bigtable.v1.BigtableService/ReadRows", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[0], "/google.bigtable.v1.BigtableService/ReadRows", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -97,7 +104,7 @@ func (x *bigtableServiceReadRowsClient) Recv() (*ReadRowsResponse, error) {
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_BigtableService_serviceDesc.Streams[1], c.cc, "/google.bigtable.v1.BigtableService/SampleRowKeys", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[1], "/google.bigtable.v1.BigtableService/SampleRowKeys", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -128,9 +135,9 @@ func (x *bigtableServiceSampleRowKeysClient) Recv() (*SampleRowKeysResponse, err
|
||||
return m, nil
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRow", in, out, c.cc, opts...)
|
||||
func (c *bigtableServiceClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -139,7 +146,7 @@ func (c *bigtableServiceClient) MutateRow(ctx context.Context, in *MutateRowRequ
|
||||
|
||||
func (c *bigtableServiceClient) MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error) {
|
||||
out := new(MutateRowsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRows", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRows", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -148,7 +155,7 @@ func (c *bigtableServiceClient) MutateRows(ctx context.Context, in *MutateRowsRe
|
||||
|
||||
func (c *bigtableServiceClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) {
|
||||
out := new(CheckAndMutateRowResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/CheckAndMutateRow", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/CheckAndMutateRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -157,15 +164,14 @@ func (c *bigtableServiceClient) CheckAndMutateRow(ctx context.Context, in *Check
|
||||
|
||||
func (c *bigtableServiceClient) ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error) {
|
||||
out := new(Row)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for BigtableService service
|
||||
|
||||
// BigtableServiceServer is the server API for BigtableService service.
|
||||
type BigtableServiceServer interface {
|
||||
// Streams back the contents of all requested rows, optionally applying
|
||||
// the same Reader filter to each. Depending on their size, rows may be
|
||||
@ -179,7 +185,7 @@ type BigtableServiceServer interface {
|
||||
SampleRowKeys(*SampleRowKeysRequest, BigtableService_SampleRowKeysServer) error
|
||||
// Mutates a row atomically. Cells already present in the row are left
|
||||
// unchanged unless explicitly changed by 'mutation'.
|
||||
MutateRow(context.Context, *MutateRowRequest) (*google_protobuf2.Empty, error)
|
||||
MutateRow(context.Context, *MutateRowRequest) (*empty.Empty, error)
|
||||
// Mutates multiple rows in a batch. Each individual row is mutated
|
||||
// atomically as in MutateRow, but the entire batch is not executed
|
||||
// atomically.
|
||||
@ -347,9 +353,11 @@ var _BigtableService_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "google/bigtable/v1/bigtable_service.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor1) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor_bigtable_service_ae822d62962d408a)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_bigtable_service_ae822d62962d408a = []byte{
|
||||
// 521 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcd, 0x6e, 0xd4, 0x30,
|
||||
0x10, 0xc7, 0x65, 0x0e, 0xa8, 0x58, 0x42, 0x08, 0x4b, 0x14, 0x69, 0xe1, 0x14, 0xa0, 0xa2, 0x11,
|
||||
|
476
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go
generated
vendored
476
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go
generated
vendored
@ -1,22 +1,28 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/v1/bigtable_service_messages.proto
|
||||
|
||||
package bigtable
|
||||
package bigtable // import "google.golang.org/genproto/googleapis/bigtable/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
import status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// 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
|
||||
|
||||
// Request message for BigtableServer.ReadRows.
|
||||
type ReadRowsRequest struct {
|
||||
// The unique name of the table from which to read.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// If neither row_key nor row_range is set, reads from all rows.
|
||||
//
|
||||
// Types that are valid to be assigned to Target:
|
||||
@ -26,24 +32,53 @@ type ReadRowsRequest struct {
|
||||
Target isReadRowsRequest_Target `protobuf_oneof:"target"`
|
||||
// The filter to apply to the contents of the specified row(s). If unset,
|
||||
// reads the entire table.
|
||||
Filter *RowFilter `protobuf:"bytes,5,opt,name=filter" json:"filter,omitempty"`
|
||||
Filter *RowFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
|
||||
// By default, rows are read sequentially, producing results which are
|
||||
// guaranteed to arrive in increasing row order. Setting
|
||||
// "allow_row_interleaving" to true allows multiple rows to be interleaved in
|
||||
// the response stream, which increases throughput but breaks this guarantee,
|
||||
// and may force the client to use more memory to buffer partially-received
|
||||
// rows. Cannot be set to true when specifying "num_rows_limit".
|
||||
AllowRowInterleaving bool `protobuf:"varint,6,opt,name=allow_row_interleaving,json=allowRowInterleaving" json:"allow_row_interleaving,omitempty"`
|
||||
AllowRowInterleaving bool `protobuf:"varint,6,opt,name=allow_row_interleaving,json=allowRowInterleaving,proto3" json:"allow_row_interleaving,omitempty"`
|
||||
// The read will terminate after committing to N rows' worth of results. The
|
||||
// default (zero) is to return all results.
|
||||
// Note that "allow_row_interleaving" cannot be set to true when this is set.
|
||||
NumRowsLimit int64 `protobuf:"varint,7,opt,name=num_rows_limit,json=numRowsLimit" json:"num_rows_limit,omitempty"`
|
||||
NumRowsLimit int64 `protobuf:"varint,7,opt,name=num_rows_limit,json=numRowsLimit,proto3" json:"num_rows_limit,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} }
|
||||
func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsRequest) ProtoMessage() {}
|
||||
func (*ReadRowsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} }
|
||||
func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsRequest) ProtoMessage() {}
|
||||
func (*ReadRowsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{0}
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsRequest.Size(m)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
return m.TableName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isReadRowsRequest_Target interface {
|
||||
isReadRowsRequest_Target()
|
||||
@ -52,16 +87,20 @@ type isReadRowsRequest_Target interface {
|
||||
type ReadRowsRequest_RowKey struct {
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ReadRowsRequest_RowRange struct {
|
||||
RowRange *RowRange `protobuf:"bytes,3,opt,name=row_range,json=rowRange,oneof"`
|
||||
}
|
||||
type ReadRowsRequest_RowSet struct {
|
||||
RowSet *RowSet `protobuf:"bytes,8,opt,name=row_set,json=rowSet,oneof"`
|
||||
RowRange *RowRange `protobuf:"bytes,3,opt,name=row_range,json=rowRange,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsRequest_RowKey) isReadRowsRequest_Target() {}
|
||||
type ReadRowsRequest_RowSet struct {
|
||||
RowSet *RowSet `protobuf:"bytes,8,opt,name=row_set,json=rowSet,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsRequest_RowKey) isReadRowsRequest_Target() {}
|
||||
|
||||
func (*ReadRowsRequest_RowRange) isReadRowsRequest_Target() {}
|
||||
func (*ReadRowsRequest_RowSet) isReadRowsRequest_Target() {}
|
||||
|
||||
func (*ReadRowsRequest_RowSet) isReadRowsRequest_Target() {}
|
||||
|
||||
func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target {
|
||||
if m != nil {
|
||||
@ -70,13 +109,6 @@ func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReadRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
return m.TableName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReadRowsRequest) GetRowKey() []byte {
|
||||
if x, ok := m.GetTarget().(*ReadRowsRequest_RowKey); ok {
|
||||
return x.RowKey
|
||||
@ -188,17 +220,17 @@ func _ReadRowsRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
// target
|
||||
switch x := m.Target.(type) {
|
||||
case *ReadRowsRequest_RowKey:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.RowKey)))
|
||||
n += len(x.RowKey)
|
||||
case *ReadRowsRequest_RowRange:
|
||||
s := proto.Size(x.RowRange)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ReadRowsRequest_RowSet:
|
||||
s := proto.Size(x.RowSet)
|
||||
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@ -215,13 +247,35 @@ type ReadRowsResponse struct {
|
||||
// "allow_row_interleaving" was specified in the request.
|
||||
RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// One or more chunks of the row specified by "row_key".
|
||||
Chunks []*ReadRowsResponse_Chunk `protobuf:"bytes,2,rep,name=chunks" json:"chunks,omitempty"`
|
||||
Chunks []*ReadRowsResponse_Chunk `protobuf:"bytes,2,rep,name=chunks,proto3" json:"chunks,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} }
|
||||
func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse) ProtoMessage() {}
|
||||
func (*ReadRowsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} }
|
||||
func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse) ProtoMessage() {}
|
||||
func (*ReadRowsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{1}
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsResponse.Size(m)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRowsResponse) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -244,31 +298,57 @@ type ReadRowsResponse_Chunk struct {
|
||||
// *ReadRowsResponse_Chunk_RowContents
|
||||
// *ReadRowsResponse_Chunk_ResetRow
|
||||
// *ReadRowsResponse_Chunk_CommitRow
|
||||
Chunk isReadRowsResponse_Chunk_Chunk `protobuf_oneof:"chunk"`
|
||||
Chunk isReadRowsResponse_Chunk_Chunk `protobuf_oneof:"chunk"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse_Chunk) Reset() { *m = ReadRowsResponse_Chunk{} }
|
||||
func (m *ReadRowsResponse_Chunk) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse_Chunk) ProtoMessage() {}
|
||||
func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1, 0} }
|
||||
func (m *ReadRowsResponse_Chunk) Reset() { *m = ReadRowsResponse_Chunk{} }
|
||||
func (m *ReadRowsResponse_Chunk) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse_Chunk) ProtoMessage() {}
|
||||
func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{1, 0}
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsResponse_Chunk.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsResponse_Chunk.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsResponse_Chunk) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsResponse_Chunk.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsResponse_Chunk.Size(m)
|
||||
}
|
||||
func (m *ReadRowsResponse_Chunk) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsResponse_Chunk.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsResponse_Chunk proto.InternalMessageInfo
|
||||
|
||||
type isReadRowsResponse_Chunk_Chunk interface {
|
||||
isReadRowsResponse_Chunk_Chunk()
|
||||
}
|
||||
|
||||
type ReadRowsResponse_Chunk_RowContents struct {
|
||||
RowContents *Family `protobuf:"bytes,1,opt,name=row_contents,json=rowContents,oneof"`
|
||||
RowContents *Family `protobuf:"bytes,1,opt,name=row_contents,json=rowContents,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ReadRowsResponse_Chunk_ResetRow struct {
|
||||
ResetRow bool `protobuf:"varint,2,opt,name=reset_row,json=resetRow,oneof"`
|
||||
ResetRow bool `protobuf:"varint,2,opt,name=reset_row,json=resetRow,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ReadRowsResponse_Chunk_CommitRow struct {
|
||||
CommitRow bool `protobuf:"varint,3,opt,name=commit_row,json=commitRow,oneof"`
|
||||
CommitRow bool `protobuf:"varint,3,opt,name=commit_row,json=commitRow,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsResponse_Chunk_RowContents) isReadRowsResponse_Chunk_Chunk() {}
|
||||
func (*ReadRowsResponse_Chunk_ResetRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
func (*ReadRowsResponse_Chunk_CommitRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
|
||||
func (*ReadRowsResponse_Chunk_ResetRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
|
||||
func (*ReadRowsResponse_Chunk_CommitRow) isReadRowsResponse_Chunk_Chunk() {}
|
||||
|
||||
func (m *ReadRowsResponse_Chunk) GetChunk() isReadRowsResponse_Chunk_Chunk {
|
||||
if m != nil {
|
||||
@ -373,14 +453,14 @@ func _ReadRowsResponse_Chunk_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Chunk.(type) {
|
||||
case *ReadRowsResponse_Chunk_RowContents:
|
||||
s := proto.Size(x.RowContents)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ReadRowsResponse_Chunk_ResetRow:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *ReadRowsResponse_Chunk_CommitRow:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case nil:
|
||||
default:
|
||||
@ -392,13 +472,35 @@ func _ReadRowsResponse_Chunk_OneofSizer(msg proto.Message) (n int) {
|
||||
// Request message for BigtableService.SampleRowKeys.
|
||||
type SampleRowKeysRequest struct {
|
||||
// The unique name of the table from which to sample row keys.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} }
|
||||
func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysRequest) ProtoMessage() {}
|
||||
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} }
|
||||
func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysRequest) ProtoMessage() {}
|
||||
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{2}
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SampleRowKeysRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SampleRowKeysRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Size(m)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SampleRowKeysRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SampleRowKeysRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *SampleRowKeysRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -421,13 +523,35 @@ type SampleRowKeysResponse struct {
|
||||
// "row_key". Buffering the contents of all rows between two subsequent
|
||||
// samples would require space roughly equal to the difference in their
|
||||
// "offset_bytes" fields.
|
||||
OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes" json:"offset_bytes,omitempty"`
|
||||
OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes,proto3" json:"offset_bytes,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} }
|
||||
func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysResponse) ProtoMessage() {}
|
||||
func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} }
|
||||
func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysResponse) ProtoMessage() {}
|
||||
func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{3}
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SampleRowKeysResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SampleRowKeysResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Size(m)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SampleRowKeysResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SampleRowKeysResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *SampleRowKeysResponse) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -446,19 +570,41 @@ func (m *SampleRowKeysResponse) GetOffsetBytes() int64 {
|
||||
// Request message for BigtableService.MutateRow.
|
||||
type MutateRowRequest struct {
|
||||
// The unique name of the table to which the mutation should be applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The key of the row to which the mutation should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// Changes to be atomically applied to the specified row. Entries are applied
|
||||
// in order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry and at most 100000.
|
||||
Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations" json:"mutations,omitempty"`
|
||||
Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations,proto3" json:"mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} }
|
||||
func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowRequest) ProtoMessage() {}
|
||||
func (*MutateRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} }
|
||||
func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowRequest) ProtoMessage() {}
|
||||
func (*MutateRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{4}
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowRequest.Size(m)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -484,19 +630,41 @@ func (m *MutateRowRequest) GetMutations() []*Mutation {
|
||||
// Request message for BigtableService.MutateRows.
|
||||
type MutateRowsRequest struct {
|
||||
// The unique name of the table to which the mutations should be applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The row keys/mutations to be applied in bulk.
|
||||
// Each entry is applied as an atomic mutation, but the entries may be
|
||||
// applied in arbitrary order (even between entries for the same row).
|
||||
// At least one entry must be specified, and in total the entries may
|
||||
// contain at most 100000 mutations.
|
||||
Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
|
||||
Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} }
|
||||
func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest) ProtoMessage() {}
|
||||
func (*MutateRowsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} }
|
||||
func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest) ProtoMessage() {}
|
||||
func (*MutateRowsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{5}
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsRequest.Size(m)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -519,13 +687,35 @@ type MutateRowsRequest_Entry struct {
|
||||
// applied in order, meaning that earlier mutations can be masked by
|
||||
// later ones.
|
||||
// At least one mutation must be specified.
|
||||
Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
|
||||
Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry{} }
|
||||
func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5, 0} }
|
||||
func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry{} }
|
||||
func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{5, 0}
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsRequest_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsRequest_Entry.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Size(m)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsRequest_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsRequest_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsRequest_Entry) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -548,15 +738,37 @@ type MutateRowsResponse struct {
|
||||
// Depending on how requests are batched during execution, it is possible
|
||||
// for one Entry to fail due to an error with another Entry. In the event
|
||||
// that this occurs, the same error will be reported for both entries.
|
||||
Statuses []*google_rpc.Status `protobuf:"bytes,1,rep,name=statuses" json:"statuses,omitempty"`
|
||||
Statuses []*status.Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} }
|
||||
func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse) ProtoMessage() {}
|
||||
func (*MutateRowsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
|
||||
func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} }
|
||||
func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse) ProtoMessage() {}
|
||||
func (*MutateRowsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{6}
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsResponse.Size(m)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *MutateRowsResponse) GetStatuses() []*google_rpc.Status {
|
||||
var xxx_messageInfo_MutateRowsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsResponse) GetStatuses() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Statuses
|
||||
}
|
||||
@ -567,32 +779,54 @@ func (m *MutateRowsResponse) GetStatuses() []*google_rpc.Status {
|
||||
type CheckAndMutateRowRequest struct {
|
||||
// The unique name of the table to which the conditional mutation should be
|
||||
// applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The key of the row to which the conditional mutation should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// The filter to be applied to the contents of the specified row. Depending
|
||||
// on whether or not any results are yielded, either "true_mutations" or
|
||||
// "false_mutations" will be executed. If unset, checks that the row contains
|
||||
// any values at all.
|
||||
PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter" json:"predicate_filter,omitempty"`
|
||||
PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"`
|
||||
// Changes to be atomically applied to the specified row if "predicate_filter"
|
||||
// yields at least one cell when applied to "row_key". Entries are applied in
|
||||
// order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry if "false_mutations" is empty, and at most
|
||||
// 100000.
|
||||
TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations" json:"true_mutations,omitempty"`
|
||||
TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations,proto3" json:"true_mutations,omitempty"`
|
||||
// Changes to be atomically applied to the specified row if "predicate_filter"
|
||||
// does not yield any cells when applied to "row_key". Entries are applied in
|
||||
// order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry if "true_mutations" is empty, and at most
|
||||
// 100000.
|
||||
FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations" json:"false_mutations,omitempty"`
|
||||
FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations,proto3" json:"false_mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} }
|
||||
func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowRequest) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
|
||||
func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} }
|
||||
func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowRequest) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{7}
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CheckAndMutateRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckAndMutateRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Size(m)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckAndMutateRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckAndMutateRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckAndMutateRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -633,13 +867,35 @@ func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation {
|
||||
type CheckAndMutateRowResponse struct {
|
||||
// Whether or not the request's "predicate_filter" yielded any results for
|
||||
// the specified row.
|
||||
PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched" json:"predicate_matched,omitempty"`
|
||||
PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched,proto3" json:"predicate_matched,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} }
|
||||
func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowResponse) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }
|
||||
func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} }
|
||||
func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowResponse) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{8}
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CheckAndMutateRowResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckAndMutateRowResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Size(m)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckAndMutateRowResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckAndMutateRowResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool {
|
||||
if m != nil {
|
||||
@ -652,19 +908,41 @@ func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool {
|
||||
type ReadModifyWriteRowRequest struct {
|
||||
// The unique name of the table to which the read/modify/write rules should be
|
||||
// applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// The key of the row to which the read/modify/write rules should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// Rules specifying how the specified row's contents are to be transformed
|
||||
// into writes. Entries are applied in order, meaning that earlier rules will
|
||||
// affect the results of later ones.
|
||||
Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} }
|
||||
func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowRequest) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} }
|
||||
func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} }
|
||||
func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowRequest) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_service_messages_e7f32c735e59c16c, []int{9}
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadModifyWriteRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadModifyWriteRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Size(m)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadModifyWriteRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadModifyWriteRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadModifyWriteRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -702,9 +980,11 @@ func init() {
|
||||
proto.RegisterType((*ReadModifyWriteRowRequest)(nil), "google.bigtable.v1.ReadModifyWriteRowRequest")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/v1/bigtable_service_messages.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/v1/bigtable_service_messages.proto", fileDescriptor_bigtable_service_messages_e7f32c735e59c16c)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_bigtable_service_messages_e7f32c735e59c16c = []byte{
|
||||
// 788 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5f, 0x8b, 0x23, 0x45,
|
||||
0x10, 0xdf, 0x49, 0xcc, 0xbf, 0x4a, 0xdc, 0xdd, 0x6b, 0xce, 0xdb, 0xd9, 0x70, 0x8b, 0x71, 0x10,
|
||||
|
667
vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go
generated
vendored
667
vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go
generated
vendored
@ -1,47 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/v2/bigtable.proto
|
||||
|
||||
/*
|
||||
Package bigtable is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/bigtable/v2/bigtable.proto
|
||||
google/bigtable/v2/data.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ReadRowsRequest
|
||||
ReadRowsResponse
|
||||
SampleRowKeysRequest
|
||||
SampleRowKeysResponse
|
||||
MutateRowRequest
|
||||
MutateRowResponse
|
||||
MutateRowsRequest
|
||||
MutateRowsResponse
|
||||
CheckAndMutateRowRequest
|
||||
CheckAndMutateRowResponse
|
||||
ReadModifyWriteRowRequest
|
||||
ReadModifyWriteRowResponse
|
||||
Row
|
||||
Family
|
||||
Column
|
||||
Cell
|
||||
RowRange
|
||||
RowSet
|
||||
ColumnRange
|
||||
TimestampRange
|
||||
ValueRange
|
||||
RowFilter
|
||||
Mutation
|
||||
ReadModifyWriteRule
|
||||
*/
|
||||
package bigtable
|
||||
package bigtable // import "google.golang.org/genproto/googleapis/bigtable/v2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/wrappers"
|
||||
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"
|
||||
@ -64,29 +31,46 @@ type ReadRowsRequest struct {
|
||||
// The unique name of the table from which to read.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// This value specifies routing for replication. If not specified, the
|
||||
// "default" application profile will be used.
|
||||
AppProfileId string `protobuf:"bytes,5,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"`
|
||||
AppProfileId string `protobuf:"bytes,5,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
||||
// The row keys and/or ranges to read. If not specified, reads from all rows.
|
||||
Rows *RowSet `protobuf:"bytes,2,opt,name=rows" json:"rows,omitempty"`
|
||||
Rows *RowSet `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"`
|
||||
// The filter to apply to the contents of the specified row(s). If unset,
|
||||
// reads the entirety of each row.
|
||||
Filter *RowFilter `protobuf:"bytes,3,opt,name=filter" json:"filter,omitempty"`
|
||||
Filter *RowFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
|
||||
// The read will terminate after committing to N rows' worth of results. The
|
||||
// default (zero) is to return all results.
|
||||
RowsLimit int64 `protobuf:"varint,4,opt,name=rows_limit,json=rowsLimit" json:"rows_limit,omitempty"`
|
||||
RowsLimit int64 `protobuf:"varint,4,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} }
|
||||
func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsRequest) ProtoMessage() {}
|
||||
func (*ReadRowsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *ReadRowsRequest) Reset() { *m = ReadRowsRequest{} }
|
||||
func (m *ReadRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsRequest) ProtoMessage() {}
|
||||
func (*ReadRowsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{0}
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsRequest.Size(m)
|
||||
}
|
||||
func (m *ReadRowsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -125,7 +109,7 @@ func (m *ReadRowsRequest) GetRowsLimit() int64 {
|
||||
|
||||
// Response message for Bigtable.ReadRows.
|
||||
type ReadRowsResponse struct {
|
||||
Chunks []*ReadRowsResponse_CellChunk `protobuf:"bytes,1,rep,name=chunks" json:"chunks,omitempty"`
|
||||
Chunks []*ReadRowsResponse_CellChunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
|
||||
// Optionally the server might return the row key of the last row it
|
||||
// has scanned. The client can use this to construct a more
|
||||
// efficient retry request if needed: any row keys or portions of
|
||||
@ -133,13 +117,35 @@ type ReadRowsResponse struct {
|
||||
// This is primarily useful for cases where the server has read a
|
||||
// lot of data that was filtered out since the last committed row
|
||||
// key, allowing the client to skip that work on a retry.
|
||||
LastScannedRowKey []byte `protobuf:"bytes,2,opt,name=last_scanned_row_key,json=lastScannedRowKey,proto3" json:"last_scanned_row_key,omitempty"`
|
||||
LastScannedRowKey []byte `protobuf:"bytes,2,opt,name=last_scanned_row_key,json=lastScannedRowKey,proto3" json:"last_scanned_row_key,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} }
|
||||
func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse) ProtoMessage() {}
|
||||
func (*ReadRowsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *ReadRowsResponse) Reset() { *m = ReadRowsResponse{} }
|
||||
func (m *ReadRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse) ProtoMessage() {}
|
||||
func (*ReadRowsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{1}
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsResponse.Size(m)
|
||||
}
|
||||
func (m *ReadRowsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRowsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRowsResponse) GetChunks() []*ReadRowsResponse_CellChunk {
|
||||
if m != nil {
|
||||
@ -169,13 +175,13 @@ type ReadRowsResponse_CellChunk struct {
|
||||
// column family name in a response so clients must check
|
||||
// explicitly for the presence of this message, not just for
|
||||
// `family_name.value` being non-empty.
|
||||
FamilyName *google_protobuf1.StringValue `protobuf:"bytes,2,opt,name=family_name,json=familyName" json:"family_name,omitempty"`
|
||||
FamilyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
|
||||
// The column qualifier for this chunk of data. If this message
|
||||
// is not present, this CellChunk is a continuation of the same column
|
||||
// as the previous CellChunk. Column qualifiers may be empty so
|
||||
// clients must check for the presence of this message, not just
|
||||
// for `qualifier.value` being non-empty.
|
||||
Qualifier *google_protobuf1.BytesValue `protobuf:"bytes,3,opt,name=qualifier" json:"qualifier,omitempty"`
|
||||
Qualifier *wrappers.BytesValue `protobuf:"bytes,3,opt,name=qualifier,proto3" json:"qualifier,omitempty"`
|
||||
// The cell's stored timestamp, which also uniquely identifies it
|
||||
// within its column. Values are always expressed in
|
||||
// microseconds, but individual tables may set a coarser
|
||||
@ -184,11 +190,11 @@ type ReadRowsResponse_CellChunk struct {
|
||||
// only allow values of `timestamp_micros` which are multiples of
|
||||
// 1000. Timestamps are only set in the first CellChunk per cell
|
||||
// (for cells split into multiple chunks).
|
||||
TimestampMicros int64 `protobuf:"varint,4,opt,name=timestamp_micros,json=timestampMicros" json:"timestamp_micros,omitempty"`
|
||||
TimestampMicros int64 `protobuf:"varint,4,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"`
|
||||
// Labels applied to the cell by a
|
||||
// [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set
|
||||
// on the first CellChunk per cell.
|
||||
Labels []string `protobuf:"bytes,5,rep,name=labels" json:"labels,omitempty"`
|
||||
Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
|
||||
// The value stored in the cell. Cell values can be split across
|
||||
// multiple CellChunks. In that case only the value field will be
|
||||
// set in CellChunks after the first: the timestamp and labels
|
||||
@ -199,38 +205,39 @@ type ReadRowsResponse_CellChunk struct {
|
||||
// not the final chunk of that cell, value_size will be set to the
|
||||
// total length of the cell value. The client can use this size
|
||||
// to pre-allocate memory to hold the full cell value.
|
||||
ValueSize int32 `protobuf:"varint,7,opt,name=value_size,json=valueSize" json:"value_size,omitempty"`
|
||||
ValueSize int32 `protobuf:"varint,7,opt,name=value_size,json=valueSize,proto3" json:"value_size,omitempty"`
|
||||
// Types that are valid to be assigned to RowStatus:
|
||||
// *ReadRowsResponse_CellChunk_ResetRow
|
||||
// *ReadRowsResponse_CellChunk_CommitRow
|
||||
RowStatus isReadRowsResponse_CellChunk_RowStatus `protobuf_oneof:"row_status"`
|
||||
RowStatus isReadRowsResponse_CellChunk_RowStatus `protobuf_oneof:"row_status"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse_CellChunk) Reset() { *m = ReadRowsResponse_CellChunk{} }
|
||||
func (m *ReadRowsResponse_CellChunk) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse_CellChunk) ProtoMessage() {}
|
||||
func (*ReadRowsResponse_CellChunk) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
|
||||
type isReadRowsResponse_CellChunk_RowStatus interface {
|
||||
isReadRowsResponse_CellChunk_RowStatus()
|
||||
func (m *ReadRowsResponse_CellChunk) Reset() { *m = ReadRowsResponse_CellChunk{} }
|
||||
func (m *ReadRowsResponse_CellChunk) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRowsResponse_CellChunk) ProtoMessage() {}
|
||||
func (*ReadRowsResponse_CellChunk) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{1, 0}
|
||||
}
|
||||
func (m *ReadRowsResponse_CellChunk) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRowsResponse_CellChunk.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRowsResponse_CellChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRowsResponse_CellChunk.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRowsResponse_CellChunk) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRowsResponse_CellChunk.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRowsResponse_CellChunk) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRowsResponse_CellChunk.Size(m)
|
||||
}
|
||||
func (m *ReadRowsResponse_CellChunk) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRowsResponse_CellChunk.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
type ReadRowsResponse_CellChunk_ResetRow struct {
|
||||
ResetRow bool `protobuf:"varint,8,opt,name=reset_row,json=resetRow,oneof"`
|
||||
}
|
||||
type ReadRowsResponse_CellChunk_CommitRow struct {
|
||||
CommitRow bool `protobuf:"varint,9,opt,name=commit_row,json=commitRow,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsResponse_CellChunk_ResetRow) isReadRowsResponse_CellChunk_RowStatus() {}
|
||||
func (*ReadRowsResponse_CellChunk_CommitRow) isReadRowsResponse_CellChunk_RowStatus() {}
|
||||
|
||||
func (m *ReadRowsResponse_CellChunk) GetRowStatus() isReadRowsResponse_CellChunk_RowStatus {
|
||||
if m != nil {
|
||||
return m.RowStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var xxx_messageInfo_ReadRowsResponse_CellChunk proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRowsResponse_CellChunk) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -239,14 +246,14 @@ func (m *ReadRowsResponse_CellChunk) GetRowKey() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse_CellChunk) GetFamilyName() *google_protobuf1.StringValue {
|
||||
func (m *ReadRowsResponse_CellChunk) GetFamilyName() *wrappers.StringValue {
|
||||
if m != nil {
|
||||
return m.FamilyName
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse_CellChunk) GetQualifier() *google_protobuf1.BytesValue {
|
||||
func (m *ReadRowsResponse_CellChunk) GetQualifier() *wrappers.BytesValue {
|
||||
if m != nil {
|
||||
return m.Qualifier
|
||||
}
|
||||
@ -281,6 +288,29 @@ func (m *ReadRowsResponse_CellChunk) GetValueSize() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type isReadRowsResponse_CellChunk_RowStatus interface {
|
||||
isReadRowsResponse_CellChunk_RowStatus()
|
||||
}
|
||||
|
||||
type ReadRowsResponse_CellChunk_ResetRow struct {
|
||||
ResetRow bool `protobuf:"varint,8,opt,name=reset_row,json=resetRow,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ReadRowsResponse_CellChunk_CommitRow struct {
|
||||
CommitRow bool `protobuf:"varint,9,opt,name=commit_row,json=commitRow,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ReadRowsResponse_CellChunk_ResetRow) isReadRowsResponse_CellChunk_RowStatus() {}
|
||||
|
||||
func (*ReadRowsResponse_CellChunk_CommitRow) isReadRowsResponse_CellChunk_RowStatus() {}
|
||||
|
||||
func (m *ReadRowsResponse_CellChunk) GetRowStatus() isReadRowsResponse_CellChunk_RowStatus {
|
||||
if m != nil {
|
||||
return m.RowStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReadRowsResponse_CellChunk) GetResetRow() bool {
|
||||
if x, ok := m.GetRowStatus().(*ReadRowsResponse_CellChunk_ResetRow); ok {
|
||||
return x.ResetRow
|
||||
@ -355,10 +385,10 @@ func _ReadRowsResponse_CellChunk_OneofSizer(msg proto.Message) (n int) {
|
||||
// row_status
|
||||
switch x := m.RowStatus.(type) {
|
||||
case *ReadRowsResponse_CellChunk_ResetRow:
|
||||
n += proto.SizeVarint(8<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *ReadRowsResponse_CellChunk_CommitRow:
|
||||
n += proto.SizeVarint(9<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case nil:
|
||||
default:
|
||||
@ -372,21 +402,38 @@ type SampleRowKeysRequest struct {
|
||||
// The unique name of the table from which to sample row keys.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// This value specifies routing for replication. If not specified, the
|
||||
// "default" application profile will be used.
|
||||
AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"`
|
||||
AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} }
|
||||
func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysRequest) ProtoMessage() {}
|
||||
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *SampleRowKeysRequest) Reset() { *m = SampleRowKeysRequest{} }
|
||||
func (m *SampleRowKeysRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysRequest) ProtoMessage() {}
|
||||
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{2}
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SampleRowKeysRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SampleRowKeysRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_SampleRowKeysRequest.Size(m)
|
||||
}
|
||||
func (m *SampleRowKeysRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SampleRowKeysRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SampleRowKeysRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *SampleRowKeysRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -416,13 +463,35 @@ type SampleRowKeysResponse struct {
|
||||
// `row_key`. Buffering the contents of all rows between two subsequent
|
||||
// samples would require space roughly equal to the difference in their
|
||||
// `offset_bytes` fields.
|
||||
OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes" json:"offset_bytes,omitempty"`
|
||||
OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes,proto3" json:"offset_bytes,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} }
|
||||
func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysResponse) ProtoMessage() {}
|
||||
func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *SampleRowKeysResponse) Reset() { *m = SampleRowKeysResponse{} }
|
||||
func (m *SampleRowKeysResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SampleRowKeysResponse) ProtoMessage() {}
|
||||
func (*SampleRowKeysResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{3}
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SampleRowKeysResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SampleRowKeysResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_SampleRowKeysResponse.Size(m)
|
||||
}
|
||||
func (m *SampleRowKeysResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SampleRowKeysResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SampleRowKeysResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *SampleRowKeysResponse) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -443,27 +512,44 @@ type MutateRowRequest struct {
|
||||
// The unique name of the table to which the mutation should be applied.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// This value specifies routing for replication. If not specified, the
|
||||
// "default" application profile will be used.
|
||||
AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"`
|
||||
AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
||||
// The key of the row to which the mutation should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// Changes to be atomically applied to the specified row. Entries are applied
|
||||
// in order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry and at most 100000.
|
||||
Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations" json:"mutations,omitempty"`
|
||||
Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations,proto3" json:"mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} }
|
||||
func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowRequest) ProtoMessage() {}
|
||||
func (*MutateRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *MutateRowRequest) Reset() { *m = MutateRowRequest{} }
|
||||
func (m *MutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowRequest) ProtoMessage() {}
|
||||
func (*MutateRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{4}
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowRequest.Size(m)
|
||||
}
|
||||
func (m *MutateRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -495,37 +581,76 @@ func (m *MutateRowRequest) GetMutations() []*Mutation {
|
||||
|
||||
// Response message for Bigtable.MutateRow.
|
||||
type MutateRowResponse struct {
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowResponse) Reset() { *m = MutateRowResponse{} }
|
||||
func (m *MutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowResponse) ProtoMessage() {}
|
||||
func (*MutateRowResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *MutateRowResponse) Reset() { *m = MutateRowResponse{} }
|
||||
func (m *MutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowResponse) ProtoMessage() {}
|
||||
func (*MutateRowResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{5}
|
||||
}
|
||||
func (m *MutateRowResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowResponse.Size(m)
|
||||
}
|
||||
func (m *MutateRowResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowResponse proto.InternalMessageInfo
|
||||
|
||||
// Request message for BigtableService.MutateRows.
|
||||
type MutateRowsRequest struct {
|
||||
// The unique name of the table to which the mutations should be applied.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// This value specifies routing for replication. If not specified, the
|
||||
// "default" application profile will be used.
|
||||
AppProfileId string `protobuf:"bytes,3,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"`
|
||||
AppProfileId string `protobuf:"bytes,3,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
||||
// The row keys and corresponding mutations to be applied in bulk.
|
||||
// Each entry is applied as an atomic mutation, but the entries may be
|
||||
// applied in arbitrary order (even between entries for the same row).
|
||||
// At least one entry must be specified, and in total the entries can
|
||||
// contain at most 100000 mutations.
|
||||
Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
|
||||
Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} }
|
||||
func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest) ProtoMessage() {}
|
||||
func (*MutateRowsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} }
|
||||
func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest) ProtoMessage() {}
|
||||
func (*MutateRowsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{6}
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsRequest.Size(m)
|
||||
}
|
||||
func (m *MutateRowsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -555,13 +680,35 @@ type MutateRowsRequest_Entry struct {
|
||||
// applied in order, meaning that earlier mutations can be masked by
|
||||
// later ones.
|
||||
// You must specify at least one mutation.
|
||||
Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
|
||||
Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry{} }
|
||||
func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6, 0} }
|
||||
func (m *MutateRowsRequest_Entry) Reset() { *m = MutateRowsRequest_Entry{} }
|
||||
func (m *MutateRowsRequest_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsRequest_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{6, 0}
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsRequest_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsRequest_Entry.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsRequest_Entry.Size(m)
|
||||
}
|
||||
func (m *MutateRowsRequest_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsRequest_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsRequest_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsRequest_Entry) GetRowKey() []byte {
|
||||
if m != nil {
|
||||
@ -580,13 +727,35 @@ func (m *MutateRowsRequest_Entry) GetMutations() []*Mutation {
|
||||
// Response message for BigtableService.MutateRows.
|
||||
type MutateRowsResponse struct {
|
||||
// One or more results for Entries from the batch request.
|
||||
Entries []*MutateRowsResponse_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
|
||||
Entries []*MutateRowsResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} }
|
||||
func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse) ProtoMessage() {}
|
||||
func (*MutateRowsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} }
|
||||
func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse) ProtoMessage() {}
|
||||
func (*MutateRowsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{7}
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsResponse.Size(m)
|
||||
}
|
||||
func (m *MutateRowsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsResponse) GetEntries() []*MutateRowsResponse_Entry {
|
||||
if m != nil {
|
||||
@ -598,18 +767,40 @@ func (m *MutateRowsResponse) GetEntries() []*MutateRowsResponse_Entry {
|
||||
type MutateRowsResponse_Entry struct {
|
||||
// The index into the original request's `entries` list of the Entry
|
||||
// for which a result is being reported.
|
||||
Index int64 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"`
|
||||
Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||||
// The result of the request Entry identified by `index`.
|
||||
// Depending on how requests are batched during execution, it is possible
|
||||
// for one Entry to fail due to an error with another Entry. In the event
|
||||
// that this occurs, the same error will be reported for both entries.
|
||||
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 *MutateRowsResponse_Entry) Reset() { *m = MutateRowsResponse_Entry{} }
|
||||
func (m *MutateRowsResponse_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsResponse_Entry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7, 0} }
|
||||
func (m *MutateRowsResponse_Entry) Reset() { *m = MutateRowsResponse_Entry{} }
|
||||
func (m *MutateRowsResponse_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MutateRowsResponse_Entry) ProtoMessage() {}
|
||||
func (*MutateRowsResponse_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{7, 0}
|
||||
}
|
||||
func (m *MutateRowsResponse_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MutateRowsResponse_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MutateRowsResponse_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MutateRowsResponse_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *MutateRowsResponse_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MutateRowsResponse_Entry.Merge(dst, src)
|
||||
}
|
||||
func (m *MutateRowsResponse_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MutateRowsResponse_Entry.Size(m)
|
||||
}
|
||||
func (m *MutateRowsResponse_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MutateRowsResponse_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MutateRowsResponse_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MutateRowsResponse_Entry) GetIndex() int64 {
|
||||
if m != nil {
|
||||
@ -618,7 +809,7 @@ func (m *MutateRowsResponse_Entry) GetIndex() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *MutateRowsResponse_Entry) GetStatus() *google_rpc.Status {
|
||||
func (m *MutateRowsResponse_Entry) GetStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
@ -631,40 +822,57 @@ type CheckAndMutateRowRequest struct {
|
||||
// applied.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// This value specifies routing for replication. If not specified, the
|
||||
// "default" application profile will be used.
|
||||
AppProfileId string `protobuf:"bytes,7,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"`
|
||||
AppProfileId string `protobuf:"bytes,7,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
||||
// The key of the row to which the conditional mutation should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// The filter to be applied to the contents of the specified row. Depending
|
||||
// on whether or not any results are yielded, either `true_mutations` or
|
||||
// `false_mutations` will be executed. If unset, checks that the row contains
|
||||
// any values at all.
|
||||
PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter" json:"predicate_filter,omitempty"`
|
||||
PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"`
|
||||
// Changes to be atomically applied to the specified row if `predicate_filter`
|
||||
// yields at least one cell when applied to `row_key`. Entries are applied in
|
||||
// order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry if `false_mutations` is empty, and at most
|
||||
// 100000.
|
||||
TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations" json:"true_mutations,omitempty"`
|
||||
TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations,proto3" json:"true_mutations,omitempty"`
|
||||
// Changes to be atomically applied to the specified row if `predicate_filter`
|
||||
// does not yield any cells when applied to `row_key`. Entries are applied in
|
||||
// order, meaning that earlier mutations can be masked by later ones.
|
||||
// Must contain at least one entry if `true_mutations` is empty, and at most
|
||||
// 100000.
|
||||
FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations" json:"false_mutations,omitempty"`
|
||||
FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations,proto3" json:"false_mutations,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} }
|
||||
func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowRequest) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} }
|
||||
func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowRequest) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{8}
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CheckAndMutateRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckAndMutateRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckAndMutateRowRequest.Size(m)
|
||||
}
|
||||
func (m *CheckAndMutateRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckAndMutateRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckAndMutateRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckAndMutateRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -712,13 +920,35 @@ func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation {
|
||||
type CheckAndMutateRowResponse struct {
|
||||
// Whether or not the request's `predicate_filter` yielded any results for
|
||||
// the specified row.
|
||||
PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched" json:"predicate_matched,omitempty"`
|
||||
PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched,proto3" json:"predicate_matched,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} }
|
||||
func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowResponse) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||
func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} }
|
||||
func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckAndMutateRowResponse) ProtoMessage() {}
|
||||
func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{9}
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CheckAndMutateRowResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckAndMutateRowResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckAndMutateRowResponse.Size(m)
|
||||
}
|
||||
func (m *CheckAndMutateRowResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckAndMutateRowResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckAndMutateRowResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool {
|
||||
if m != nil {
|
||||
@ -733,27 +963,44 @@ type ReadModifyWriteRowRequest struct {
|
||||
// applied.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
|
||||
// This is a private alpha release of Cloud Bigtable replication. This feature
|
||||
// is not currently available to most Cloud Bigtable customers. This feature
|
||||
// might be changed in backward-incompatible ways and is not recommended for
|
||||
// production use. It is not subject to any SLA or deprecation policy.
|
||||
//
|
||||
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
|
||||
// This value specifies routing for replication. If not specified, the
|
||||
// "default" application profile will be used.
|
||||
AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"`
|
||||
AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"`
|
||||
// The key of the row to which the read/modify/write rules should be applied.
|
||||
RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
|
||||
// Rules specifying how the specified row's contents are to be transformed
|
||||
// into writes. Entries are applied in order, meaning that earlier rules will
|
||||
// affect the results of later ones.
|
||||
Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"`
|
||||
Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} }
|
||||
func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowRequest) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
||||
func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} }
|
||||
func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowRequest) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{10}
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadModifyWriteRowRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadModifyWriteRowRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadModifyWriteRowRequest.Size(m)
|
||||
}
|
||||
func (m *ReadModifyWriteRowRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadModifyWriteRowRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadModifyWriteRowRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadModifyWriteRowRequest) GetTableName() string {
|
||||
if m != nil {
|
||||
@ -786,13 +1033,35 @@ func (m *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule {
|
||||
// Response message for Bigtable.ReadModifyWriteRow.
|
||||
type ReadModifyWriteRowResponse struct {
|
||||
// A Row containing the new contents of all cells modified by the request.
|
||||
Row *Row `protobuf:"bytes,1,opt,name=row" json:"row,omitempty"`
|
||||
Row *Row `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadModifyWriteRowResponse) Reset() { *m = ReadModifyWriteRowResponse{} }
|
||||
func (m *ReadModifyWriteRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowResponse) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
||||
func (m *ReadModifyWriteRowResponse) Reset() { *m = ReadModifyWriteRowResponse{} }
|
||||
func (m *ReadModifyWriteRowResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadModifyWriteRowResponse) ProtoMessage() {}
|
||||
func (*ReadModifyWriteRowResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_3e4f9d0dda27200f, []int{11}
|
||||
}
|
||||
func (m *ReadModifyWriteRowResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadModifyWriteRowResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadModifyWriteRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadModifyWriteRowResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadModifyWriteRowResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadModifyWriteRowResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadModifyWriteRowResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadModifyWriteRowResponse.Size(m)
|
||||
}
|
||||
func (m *ReadModifyWriteRowResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadModifyWriteRowResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadModifyWriteRowResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadModifyWriteRowResponse) GetRow() *Row {
|
||||
if m != nil {
|
||||
@ -827,8 +1096,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for Bigtable service
|
||||
|
||||
// BigtableClient is the client API for Bigtable service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type BigtableClient interface {
|
||||
// Streams back the contents of all requested rows in key order, optionally
|
||||
// applying the same Reader filter to each. Depending on their size,
|
||||
@ -867,7 +1137,7 @@ func NewBigtableClient(cc *grpc.ClientConn) BigtableClient {
|
||||
}
|
||||
|
||||
func (c *bigtableClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (Bigtable_ReadRowsClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_Bigtable_serviceDesc.Streams[0], c.cc, "/google.bigtable.v2.Bigtable/ReadRows", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[0], "/google.bigtable.v2.Bigtable/ReadRows", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -899,7 +1169,7 @@ func (x *bigtableReadRowsClient) Recv() (*ReadRowsResponse, error) {
|
||||
}
|
||||
|
||||
func (c *bigtableClient) SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (Bigtable_SampleRowKeysClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_Bigtable_serviceDesc.Streams[1], c.cc, "/google.bigtable.v2.Bigtable/SampleRowKeys", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[1], "/google.bigtable.v2.Bigtable/SampleRowKeys", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -932,7 +1202,7 @@ func (x *bigtableSampleRowKeysClient) Recv() (*SampleRowKeysResponse, error) {
|
||||
|
||||
func (c *bigtableClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*MutateRowResponse, error) {
|
||||
out := new(MutateRowResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v2.Bigtable/MutateRow", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/MutateRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -940,7 +1210,7 @@ func (c *bigtableClient) MutateRow(ctx context.Context, in *MutateRowRequest, op
|
||||
}
|
||||
|
||||
func (c *bigtableClient) MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (Bigtable_MutateRowsClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_Bigtable_serviceDesc.Streams[2], c.cc, "/google.bigtable.v2.Bigtable/MutateRows", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[2], "/google.bigtable.v2.Bigtable/MutateRows", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -973,7 +1243,7 @@ func (x *bigtableMutateRowsClient) Recv() (*MutateRowsResponse, error) {
|
||||
|
||||
func (c *bigtableClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) {
|
||||
out := new(CheckAndMutateRowResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v2.Bigtable/CheckAndMutateRow", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/CheckAndMutateRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -982,15 +1252,14 @@ func (c *bigtableClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMuta
|
||||
|
||||
func (c *bigtableClient) ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*ReadModifyWriteRowResponse, error) {
|
||||
out := new(ReadModifyWriteRowResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bigtable.v2.Bigtable/ReadModifyWriteRow", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/ReadModifyWriteRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for Bigtable service
|
||||
|
||||
// BigtableServer is the server API for Bigtable service.
|
||||
type BigtableServer interface {
|
||||
// Streams back the contents of all requested rows in key order, optionally
|
||||
// applying the same Reader filter to each. Depending on their size,
|
||||
@ -1178,9 +1447,11 @@ var _Bigtable_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "google/bigtable/v2/bigtable.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bigtable/v2/bigtable.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/v2/bigtable.proto", fileDescriptor_bigtable_3e4f9d0dda27200f)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_bigtable_3e4f9d0dda27200f = []byte{
|
||||
// 1210 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x41, 0x6f, 0x1b, 0x45,
|
||||
0x14, 0x66, 0xec, 0xd8, 0xf1, 0xbe, 0xa4, 0x4d, 0x32, 0x84, 0x76, 0x6b, 0x5a, 0x70, 0x97, 0x16,
|
||||
|
1072
vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go
generated
vendored
1072
vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
242
vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go
generated
vendored
242
vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go
generated
vendored
@ -1,27 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bytestream/bytestream.proto
|
||||
|
||||
/*
|
||||
Package bytestream is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/bytestream/bytestream.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ReadRequest
|
||||
ReadResponse
|
||||
WriteRequest
|
||||
WriteResponse
|
||||
QueryWriteStatusRequest
|
||||
QueryWriteStatusResponse
|
||||
*/
|
||||
package bytestream
|
||||
package bytestream // import "google.golang.org/genproto/googleapis/bytestream"
|
||||
|
||||
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/wrappers"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
@ -42,13 +28,13 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
// Request object for ByteStream.Read.
|
||||
type ReadRequest struct {
|
||||
// The name of the resource to read.
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName" json:"resource_name,omitempty"`
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
// The offset for the first byte to return in the read, relative to the start
|
||||
// of the resource.
|
||||
//
|
||||
// A `read_offset` that is negative or greater than the size of the resource
|
||||
// will cause an `OUT_OF_RANGE` error.
|
||||
ReadOffset int64 `protobuf:"varint,2,opt,name=read_offset,json=readOffset" json:"read_offset,omitempty"`
|
||||
ReadOffset int64 `protobuf:"varint,2,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"`
|
||||
// The maximum number of `data` bytes the server is allowed to return in the
|
||||
// sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
|
||||
// there is no limit, and a negative `read_limit` will cause an error.
|
||||
@ -56,13 +42,35 @@ type ReadRequest struct {
|
||||
// If the stream returns fewer bytes than allowed by the `read_limit` and no
|
||||
// error occurred, the stream includes all data from the `read_offset` to the
|
||||
// end of the resource.
|
||||
ReadLimit int64 `protobuf:"varint,3,opt,name=read_limit,json=readLimit" json:"read_limit,omitempty"`
|
||||
ReadLimit int64 `protobuf:"varint,3,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadRequest) Reset() { *m = ReadRequest{} }
|
||||
func (m *ReadRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRequest) ProtoMessage() {}
|
||||
func (*ReadRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *ReadRequest) Reset() { *m = ReadRequest{} }
|
||||
func (m *ReadRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadRequest) ProtoMessage() {}
|
||||
func (*ReadRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bytestream_414b76681ba3f568, []int{0}
|
||||
}
|
||||
func (m *ReadRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadRequest.Size(m)
|
||||
}
|
||||
func (m *ReadRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadRequest) GetResourceName() string {
|
||||
if m != nil {
|
||||
@ -91,13 +99,35 @@ type ReadResponse struct {
|
||||
// empty for any given `ReadResponse`. This enables the service to inform the
|
||||
// client that the request is still live while it is running an operation to
|
||||
// generate more data.
|
||||
Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"`
|
||||
Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ReadResponse) Reset() { *m = ReadResponse{} }
|
||||
func (m *ReadResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadResponse) ProtoMessage() {}
|
||||
func (*ReadResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *ReadResponse) Reset() { *m = ReadResponse{} }
|
||||
func (m *ReadResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReadResponse) ProtoMessage() {}
|
||||
func (*ReadResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bytestream_414b76681ba3f568, []int{1}
|
||||
}
|
||||
func (m *ReadResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReadResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ReadResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ReadResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ReadResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ReadResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ReadResponse.Size(m)
|
||||
}
|
||||
func (m *ReadResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ReadResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ReadResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ReadResponse) GetData() []byte {
|
||||
if m != nil {
|
||||
@ -111,7 +141,7 @@ type WriteRequest struct {
|
||||
// The name of the resource to write. This **must** be set on the first
|
||||
// `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
|
||||
// it **must** match the value of the first request.
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName" json:"resource_name,omitempty"`
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
// The offset from the beginning of the resource at which the data should be
|
||||
// written. It is required on all `WriteRequest`s.
|
||||
//
|
||||
@ -124,22 +154,44 @@ type WriteRequest struct {
|
||||
// sent previously on this stream.
|
||||
//
|
||||
// An incorrect value will cause an error.
|
||||
WriteOffset int64 `protobuf:"varint,2,opt,name=write_offset,json=writeOffset" json:"write_offset,omitempty"`
|
||||
WriteOffset int64 `protobuf:"varint,2,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"`
|
||||
// If `true`, this indicates that the write is complete. Sending any
|
||||
// `WriteRequest`s subsequent to one in which `finish_write` is `true` will
|
||||
// cause an error.
|
||||
FinishWrite bool `protobuf:"varint,3,opt,name=finish_write,json=finishWrite" json:"finish_write,omitempty"`
|
||||
FinishWrite bool `protobuf:"varint,3,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"`
|
||||
// A portion of the data for the resource. The client **may** leave `data`
|
||||
// empty for any given `WriteRequest`. This enables the client to inform the
|
||||
// service that the request is still live while it is running an operation to
|
||||
// generate more data.
|
||||
Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"`
|
||||
Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *WriteRequest) Reset() { *m = WriteRequest{} }
|
||||
func (m *WriteRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*WriteRequest) ProtoMessage() {}
|
||||
func (*WriteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *WriteRequest) Reset() { *m = WriteRequest{} }
|
||||
func (m *WriteRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*WriteRequest) ProtoMessage() {}
|
||||
func (*WriteRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bytestream_414b76681ba3f568, []int{2}
|
||||
}
|
||||
func (m *WriteRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_WriteRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_WriteRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *WriteRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_WriteRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *WriteRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_WriteRequest.Size(m)
|
||||
}
|
||||
func (m *WriteRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_WriteRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_WriteRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *WriteRequest) GetResourceName() string {
|
||||
if m != nil {
|
||||
@ -172,13 +224,35 @@ func (m *WriteRequest) GetData() []byte {
|
||||
// Response object for ByteStream.Write.
|
||||
type WriteResponse struct {
|
||||
// The number of bytes that have been processed for the given resource.
|
||||
CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize" json:"committed_size,omitempty"`
|
||||
CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize,proto3" json:"committed_size,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *WriteResponse) Reset() { *m = WriteResponse{} }
|
||||
func (m *WriteResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*WriteResponse) ProtoMessage() {}
|
||||
func (*WriteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *WriteResponse) Reset() { *m = WriteResponse{} }
|
||||
func (m *WriteResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*WriteResponse) ProtoMessage() {}
|
||||
func (*WriteResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bytestream_414b76681ba3f568, []int{3}
|
||||
}
|
||||
func (m *WriteResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_WriteResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_WriteResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *WriteResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_WriteResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *WriteResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_WriteResponse.Size(m)
|
||||
}
|
||||
func (m *WriteResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_WriteResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_WriteResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *WriteResponse) GetCommittedSize() int64 {
|
||||
if m != nil {
|
||||
@ -190,13 +264,35 @@ func (m *WriteResponse) GetCommittedSize() int64 {
|
||||
// Request object for ByteStream.QueryWriteStatus.
|
||||
type QueryWriteStatusRequest struct {
|
||||
// The name of the resource whose write status is being requested.
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName" json:"resource_name,omitempty"`
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *QueryWriteStatusRequest) Reset() { *m = QueryWriteStatusRequest{} }
|
||||
func (m *QueryWriteStatusRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryWriteStatusRequest) ProtoMessage() {}
|
||||
func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *QueryWriteStatusRequest) Reset() { *m = QueryWriteStatusRequest{} }
|
||||
func (m *QueryWriteStatusRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryWriteStatusRequest) ProtoMessage() {}
|
||||
func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bytestream_414b76681ba3f568, []int{4}
|
||||
}
|
||||
func (m *QueryWriteStatusRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_QueryWriteStatusRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *QueryWriteStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_QueryWriteStatusRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *QueryWriteStatusRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryWriteStatusRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *QueryWriteStatusRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_QueryWriteStatusRequest.Size(m)
|
||||
}
|
||||
func (m *QueryWriteStatusRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryWriteStatusRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryWriteStatusRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryWriteStatusRequest) GetResourceName() string {
|
||||
if m != nil {
|
||||
@ -208,16 +304,38 @@ func (m *QueryWriteStatusRequest) GetResourceName() string {
|
||||
// Response object for ByteStream.QueryWriteStatus.
|
||||
type QueryWriteStatusResponse struct {
|
||||
// The number of bytes that have been processed for the given resource.
|
||||
CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize" json:"committed_size,omitempty"`
|
||||
CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize,proto3" json:"committed_size,omitempty"`
|
||||
// `complete` is `true` only if the client has sent a `WriteRequest` with
|
||||
// `finish_write` set to true, and the server has processed that request.
|
||||
Complete bool `protobuf:"varint,2,opt,name=complete" json:"complete,omitempty"`
|
||||
Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *QueryWriteStatusResponse) Reset() { *m = QueryWriteStatusResponse{} }
|
||||
func (m *QueryWriteStatusResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryWriteStatusResponse) ProtoMessage() {}
|
||||
func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *QueryWriteStatusResponse) Reset() { *m = QueryWriteStatusResponse{} }
|
||||
func (m *QueryWriteStatusResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryWriteStatusResponse) ProtoMessage() {}
|
||||
func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bytestream_414b76681ba3f568, []int{5}
|
||||
}
|
||||
func (m *QueryWriteStatusResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_QueryWriteStatusResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *QueryWriteStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_QueryWriteStatusResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *QueryWriteStatusResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryWriteStatusResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *QueryWriteStatusResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_QueryWriteStatusResponse.Size(m)
|
||||
}
|
||||
func (m *QueryWriteStatusResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryWriteStatusResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryWriteStatusResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryWriteStatusResponse) GetCommittedSize() int64 {
|
||||
if m != nil {
|
||||
@ -250,8 +368,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for ByteStream service
|
||||
|
||||
// ByteStreamClient is the client API for ByteStream service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type ByteStreamClient interface {
|
||||
// `Read()` is used to retrieve the contents of a resource as a sequence
|
||||
// of bytes. The bytes are returned in a sequence of responses, and the
|
||||
@ -306,7 +425,7 @@ func NewByteStreamClient(cc *grpc.ClientConn) ByteStreamClient {
|
||||
}
|
||||
|
||||
func (c *byteStreamClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (ByteStream_ReadClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_ByteStream_serviceDesc.Streams[0], c.cc, "/google.bytestream.ByteStream/Read", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_ByteStream_serviceDesc.Streams[0], "/google.bytestream.ByteStream/Read", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -338,7 +457,7 @@ func (x *byteStreamReadClient) Recv() (*ReadResponse, error) {
|
||||
}
|
||||
|
||||
func (c *byteStreamClient) Write(ctx context.Context, opts ...grpc.CallOption) (ByteStream_WriteClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_ByteStream_serviceDesc.Streams[1], c.cc, "/google.bytestream.ByteStream/Write", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_ByteStream_serviceDesc.Streams[1], "/google.bytestream.ByteStream/Write", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -373,15 +492,14 @@ func (x *byteStreamWriteClient) CloseAndRecv() (*WriteResponse, error) {
|
||||
|
||||
func (c *byteStreamClient) QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error) {
|
||||
out := new(QueryWriteStatusResponse)
|
||||
err := grpc.Invoke(ctx, "/google.bytestream.ByteStream/QueryWriteStatus", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.bytestream.ByteStream/QueryWriteStatus", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for ByteStream service
|
||||
|
||||
// ByteStreamServer is the server API for ByteStream service.
|
||||
type ByteStreamServer interface {
|
||||
// `Read()` is used to retrieve the contents of a resource as a sequence
|
||||
// of bytes. The bytes are returned in a sequence of responses, and the
|
||||
@ -520,9 +638,11 @@ var _ByteStream_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "google/bytestream/bytestream.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/bytestream/bytestream.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/bytestream/bytestream.proto", fileDescriptor_bytestream_414b76681ba3f568)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_bytestream_414b76681ba3f568 = []byte{
|
||||
// 446 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x5b, 0x8b, 0x13, 0x31,
|
||||
0x14, 0x66, 0xb6, 0xab, 0x74, 0x4f, 0xa7, 0x5e, 0x02, 0xe2, 0x30, 0xe8, 0x6e, 0x77, 0x44, 0x28,
|
||||
|
188
vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go
generated
vendored
188
vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go
generated
vendored
@ -1,27 +1,15 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/audit/audit_log.proto
|
||||
|
||||
/*
|
||||
Package audit is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/cloud/audit/audit_log.proto
|
||||
|
||||
It has these top-level messages:
|
||||
AuditLog
|
||||
AuthenticationInfo
|
||||
AuthorizationInfo
|
||||
RequestMetadata
|
||||
*/
|
||||
package audit
|
||||
package audit // import "google.golang.org/genproto/googleapis/cloud/audit"
|
||||
|
||||
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 _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/struct"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
import status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -38,57 +26,79 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
type AuditLog struct {
|
||||
// The name of the API service performing the operation. For example,
|
||||
// `"datastore.googleapis.com"`.
|
||||
ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
|
||||
ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
||||
// The name of the service method or operation.
|
||||
// For API calls, this should be the name of the API method.
|
||||
// For example,
|
||||
//
|
||||
// "google.datastore.v1.Datastore.RunQuery"
|
||||
// "google.logging.v1.LoggingService.DeleteLog"
|
||||
MethodName string `protobuf:"bytes,8,opt,name=method_name,json=methodName" json:"method_name,omitempty"`
|
||||
MethodName string `protobuf:"bytes,8,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
|
||||
// The resource or collection that is the target of the operation.
|
||||
// The name is a scheme-less URI, not including the API service name.
|
||||
// For example:
|
||||
//
|
||||
// "shelves/SHELF_ID/books"
|
||||
// "shelves/SHELF_ID/books/BOOK_ID"
|
||||
ResourceName string `protobuf:"bytes,11,opt,name=resource_name,json=resourceName" json:"resource_name,omitempty"`
|
||||
ResourceName string `protobuf:"bytes,11,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
// The number of items returned from a List or Query API method,
|
||||
// if applicable.
|
||||
NumResponseItems int64 `protobuf:"varint,12,opt,name=num_response_items,json=numResponseItems" json:"num_response_items,omitempty"`
|
||||
NumResponseItems int64 `protobuf:"varint,12,opt,name=num_response_items,json=numResponseItems,proto3" json:"num_response_items,omitempty"`
|
||||
// The status of the overall 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"`
|
||||
// Authentication information.
|
||||
AuthenticationInfo *AuthenticationInfo `protobuf:"bytes,3,opt,name=authentication_info,json=authenticationInfo" json:"authentication_info,omitempty"`
|
||||
AuthenticationInfo *AuthenticationInfo `protobuf:"bytes,3,opt,name=authentication_info,json=authenticationInfo,proto3" json:"authentication_info,omitempty"`
|
||||
// Authorization information. If there are multiple
|
||||
// resources or permissions involved, then there is
|
||||
// one AuthorizationInfo element for each {resource, permission} tuple.
|
||||
AuthorizationInfo []*AuthorizationInfo `protobuf:"bytes,9,rep,name=authorization_info,json=authorizationInfo" json:"authorization_info,omitempty"`
|
||||
AuthorizationInfo []*AuthorizationInfo `protobuf:"bytes,9,rep,name=authorization_info,json=authorizationInfo,proto3" json:"authorization_info,omitempty"`
|
||||
// Metadata about the operation.
|
||||
RequestMetadata *RequestMetadata `protobuf:"bytes,4,opt,name=request_metadata,json=requestMetadata" json:"request_metadata,omitempty"`
|
||||
RequestMetadata *RequestMetadata `protobuf:"bytes,4,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
|
||||
// The operation request. This may not include all request parameters,
|
||||
// such as those that are too large, privacy-sensitive, or duplicated
|
||||
// elsewhere in the log record.
|
||||
// It should never include user-generated data, such as file contents.
|
||||
// When the JSON object represented here has a proto equivalent, the proto
|
||||
// name will be indicated in the `@type` property.
|
||||
Request *google_protobuf2.Struct `protobuf:"bytes,16,opt,name=request" json:"request,omitempty"`
|
||||
Request *_struct.Struct `protobuf:"bytes,16,opt,name=request,proto3" json:"request,omitempty"`
|
||||
// The operation response. This may not include all response elements,
|
||||
// such as those that are too large, privacy-sensitive, or duplicated
|
||||
// elsewhere in the log record.
|
||||
// It should never include user-generated data, such as file contents.
|
||||
// When the JSON object represented here has a proto equivalent, the proto
|
||||
// name will be indicated in the `@type` property.
|
||||
Response *google_protobuf2.Struct `protobuf:"bytes,17,opt,name=response" json:"response,omitempty"`
|
||||
Response *_struct.Struct `protobuf:"bytes,17,opt,name=response,proto3" json:"response,omitempty"`
|
||||
// Other service-specific data about the request, response, and other
|
||||
// activities.
|
||||
ServiceData *google_protobuf1.Any `protobuf:"bytes,15,opt,name=service_data,json=serviceData" json:"service_data,omitempty"`
|
||||
ServiceData *any.Any `protobuf:"bytes,15,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuditLog) Reset() { *m = AuditLog{} }
|
||||
func (m *AuditLog) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditLog) ProtoMessage() {}
|
||||
func (*AuditLog) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *AuditLog) Reset() { *m = AuditLog{} }
|
||||
func (m *AuditLog) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditLog) ProtoMessage() {}
|
||||
func (*AuditLog) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_log_394f9970a41d2fd2, []int{0}
|
||||
}
|
||||
func (m *AuditLog) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuditLog.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuditLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuditLog.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AuditLog) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuditLog.Merge(dst, src)
|
||||
}
|
||||
func (m *AuditLog) XXX_Size() int {
|
||||
return xxx_messageInfo_AuditLog.Size(m)
|
||||
}
|
||||
func (m *AuditLog) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuditLog.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuditLog proto.InternalMessageInfo
|
||||
|
||||
func (m *AuditLog) GetServiceName() string {
|
||||
if m != nil {
|
||||
@ -118,7 +128,7 @@ func (m *AuditLog) GetNumResponseItems() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetStatus() *google_rpc.Status {
|
||||
func (m *AuditLog) GetStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
@ -146,21 +156,21 @@ func (m *AuditLog) GetRequestMetadata() *RequestMetadata {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetRequest() *google_protobuf2.Struct {
|
||||
func (m *AuditLog) GetRequest() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Request
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetResponse() *google_protobuf2.Struct {
|
||||
func (m *AuditLog) GetResponse() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Response
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetServiceData() *google_protobuf1.Any {
|
||||
func (m *AuditLog) GetServiceData() *any.Any {
|
||||
if m != nil {
|
||||
return m.ServiceData
|
||||
}
|
||||
@ -170,13 +180,35 @@ func (m *AuditLog) GetServiceData() *google_protobuf1.Any {
|
||||
// Authentication information for the operation.
|
||||
type AuthenticationInfo struct {
|
||||
// The email address of the authenticated user making the request.
|
||||
PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail" json:"principal_email,omitempty"`
|
||||
PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuthenticationInfo) Reset() { *m = AuthenticationInfo{} }
|
||||
func (m *AuthenticationInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthenticationInfo) ProtoMessage() {}
|
||||
func (*AuthenticationInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *AuthenticationInfo) Reset() { *m = AuthenticationInfo{} }
|
||||
func (m *AuthenticationInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthenticationInfo) ProtoMessage() {}
|
||||
func (*AuthenticationInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_log_394f9970a41d2fd2, []int{1}
|
||||
}
|
||||
func (m *AuthenticationInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuthenticationInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuthenticationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuthenticationInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AuthenticationInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthenticationInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *AuthenticationInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_AuthenticationInfo.Size(m)
|
||||
}
|
||||
func (m *AuthenticationInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuthenticationInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuthenticationInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *AuthenticationInfo) GetPrincipalEmail() string {
|
||||
if m != nil {
|
||||
@ -190,18 +222,40 @@ type AuthorizationInfo struct {
|
||||
// The resource being accessed, as a REST-style string. For example:
|
||||
//
|
||||
// bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID
|
||||
Resource string `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
|
||||
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
|
||||
// The required IAM permission.
|
||||
Permission string `protobuf:"bytes,2,opt,name=permission" json:"permission,omitempty"`
|
||||
Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
|
||||
// Whether or not authorization for `resource` and `permission`
|
||||
// was granted.
|
||||
Granted bool `protobuf:"varint,3,opt,name=granted" json:"granted,omitempty"`
|
||||
Granted bool `protobuf:"varint,3,opt,name=granted,proto3" json:"granted,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *AuthorizationInfo) Reset() { *m = AuthorizationInfo{} }
|
||||
func (m *AuthorizationInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthorizationInfo) ProtoMessage() {}
|
||||
func (*AuthorizationInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *AuthorizationInfo) Reset() { *m = AuthorizationInfo{} }
|
||||
func (m *AuthorizationInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuthorizationInfo) ProtoMessage() {}
|
||||
func (*AuthorizationInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_log_394f9970a41d2fd2, []int{2}
|
||||
}
|
||||
func (m *AuthorizationInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AuthorizationInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AuthorizationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AuthorizationInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AuthorizationInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AuthorizationInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *AuthorizationInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_AuthorizationInfo.Size(m)
|
||||
}
|
||||
func (m *AuthorizationInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AuthorizationInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AuthorizationInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *AuthorizationInfo) GetResource() string {
|
||||
if m != nil {
|
||||
@ -227,7 +281,7 @@ func (m *AuthorizationInfo) GetGranted() bool {
|
||||
// Metadata about the request.
|
||||
type RequestMetadata struct {
|
||||
// The IP address of the caller.
|
||||
CallerIp string `protobuf:"bytes,1,opt,name=caller_ip,json=callerIp" json:"caller_ip,omitempty"`
|
||||
CallerIp string `protobuf:"bytes,1,opt,name=caller_ip,json=callerIp,proto3" json:"caller_ip,omitempty"`
|
||||
// The user agent of the caller.
|
||||
// This information is not authenticated and should be treated accordingly.
|
||||
// For example:
|
||||
@ -238,13 +292,35 @@ type RequestMetadata struct {
|
||||
// The request was made by the Google Cloud SDK CLI (gcloud).
|
||||
// + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`:
|
||||
// The request was made from the `my-project` App Engine app.
|
||||
CallerSuppliedUserAgent string `protobuf:"bytes,2,opt,name=caller_supplied_user_agent,json=callerSuppliedUserAgent" json:"caller_supplied_user_agent,omitempty"`
|
||||
CallerSuppliedUserAgent string `protobuf:"bytes,2,opt,name=caller_supplied_user_agent,json=callerSuppliedUserAgent,proto3" json:"caller_supplied_user_agent,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *RequestMetadata) Reset() { *m = RequestMetadata{} }
|
||||
func (m *RequestMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestMetadata) ProtoMessage() {}
|
||||
func (*RequestMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *RequestMetadata) Reset() { *m = RequestMetadata{} }
|
||||
func (m *RequestMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestMetadata) ProtoMessage() {}
|
||||
func (*RequestMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_audit_log_394f9970a41d2fd2, []int{3}
|
||||
}
|
||||
func (m *RequestMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RequestMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *RequestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_RequestMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *RequestMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_RequestMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *RequestMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_RequestMetadata.Size(m)
|
||||
}
|
||||
func (m *RequestMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_RequestMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_RequestMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *RequestMetadata) GetCallerIp() string {
|
||||
if m != nil {
|
||||
@ -267,9 +343,11 @@ func init() {
|
||||
proto.RegisterType((*RequestMetadata)(nil), "google.cloud.audit.RequestMetadata")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/audit/audit_log.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/audit/audit_log.proto", fileDescriptor_audit_log_394f9970a41d2fd2)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_audit_log_394f9970a41d2fd2 = []byte{
|
||||
// 576 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0x5f, 0x6f, 0xd3, 0x30,
|
||||
0x14, 0xc5, 0x55, 0x36, 0x6d, 0xad, 0xbb, 0xd1, 0xd6, 0x20, 0x1a, 0xca, 0x04, 0xa5, 0x13, 0x50,
|
||||
|
224
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go
generated
vendored
Normal file
224
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go
generated
vendored
Normal file
@ -0,0 +1,224 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/annotation_payload.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// Contains annotation information that is relevant to AutoML.
|
||||
type AnnotationPayload struct {
|
||||
// Output only . Additional information about the annotation
|
||||
// specific to the AutoML solution.
|
||||
//
|
||||
// Types that are valid to be assigned to Detail:
|
||||
// *AnnotationPayload_Translation
|
||||
// *AnnotationPayload_Classification
|
||||
Detail isAnnotationPayload_Detail `protobuf_oneof:"detail"`
|
||||
// Output only . The resource ID of the annotation spec that
|
||||
// this annotation pertains to. The annotation spec comes from either an
|
||||
// ancestor dataset, or the dataset that was used to train the model in use.
|
||||
AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
|
||||
// Output only. The value of [AnnotationSpec.display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] when the model
|
||||
// was trained. Because this field returns a value at model training time,
|
||||
// for different models trained using the same dataset, the returned value
|
||||
// could be different as model owner could update the display_name between
|
||||
// any two model training.
|
||||
DisplayName string `protobuf:"bytes,5,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 *AnnotationPayload) Reset() { *m = AnnotationPayload{} }
|
||||
func (m *AnnotationPayload) String() string { return proto.CompactTextString(m) }
|
||||
func (*AnnotationPayload) ProtoMessage() {}
|
||||
func (*AnnotationPayload) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_annotation_payload_ce47679ba5fa3ec6, []int{0}
|
||||
}
|
||||
func (m *AnnotationPayload) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AnnotationPayload.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AnnotationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AnnotationPayload.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AnnotationPayload) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AnnotationPayload.Merge(dst, src)
|
||||
}
|
||||
func (m *AnnotationPayload) XXX_Size() int {
|
||||
return xxx_messageInfo_AnnotationPayload.Size(m)
|
||||
}
|
||||
func (m *AnnotationPayload) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AnnotationPayload.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AnnotationPayload proto.InternalMessageInfo
|
||||
|
||||
type isAnnotationPayload_Detail interface {
|
||||
isAnnotationPayload_Detail()
|
||||
}
|
||||
|
||||
type AnnotationPayload_Translation struct {
|
||||
Translation *TranslationAnnotation `protobuf:"bytes,2,opt,name=translation,proto3,oneof"`
|
||||
}
|
||||
|
||||
type AnnotationPayload_Classification struct {
|
||||
Classification *ClassificationAnnotation `protobuf:"bytes,3,opt,name=classification,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {}
|
||||
|
||||
func (*AnnotationPayload_Classification) isAnnotationPayload_Detail() {}
|
||||
|
||||
func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail {
|
||||
if m != nil {
|
||||
return m.Detail
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AnnotationPayload) GetTranslation() *TranslationAnnotation {
|
||||
if x, ok := m.GetDetail().(*AnnotationPayload_Translation); ok {
|
||||
return x.Translation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AnnotationPayload) GetClassification() *ClassificationAnnotation {
|
||||
if x, ok := m.GetDetail().(*AnnotationPayload_Classification); ok {
|
||||
return x.Classification
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AnnotationPayload) GetAnnotationSpecId() string {
|
||||
if m != nil {
|
||||
return m.AnnotationSpecId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AnnotationPayload) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*AnnotationPayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _AnnotationPayload_OneofMarshaler, _AnnotationPayload_OneofUnmarshaler, _AnnotationPayload_OneofSizer, []interface{}{
|
||||
(*AnnotationPayload_Translation)(nil),
|
||||
(*AnnotationPayload_Classification)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _AnnotationPayload_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*AnnotationPayload)
|
||||
// detail
|
||||
switch x := m.Detail.(type) {
|
||||
case *AnnotationPayload_Translation:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Translation); err != nil {
|
||||
return err
|
||||
}
|
||||
case *AnnotationPayload_Classification:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Classification); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("AnnotationPayload.Detail has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _AnnotationPayload_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*AnnotationPayload)
|
||||
switch tag {
|
||||
case 2: // detail.translation
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(TranslationAnnotation)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Detail = &AnnotationPayload_Translation{msg}
|
||||
return true, err
|
||||
case 3: // detail.classification
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ClassificationAnnotation)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Detail = &AnnotationPayload_Classification{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _AnnotationPayload_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*AnnotationPayload)
|
||||
// detail
|
||||
switch x := m.Detail.(type) {
|
||||
case *AnnotationPayload_Translation:
|
||||
s := proto.Size(x.Translation)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *AnnotationPayload_Classification:
|
||||
s := proto.Size(x.Classification)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*AnnotationPayload)(nil), "google.cloud.automl.v1beta1.AnnotationPayload")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/annotation_payload.proto", fileDescriptor_annotation_payload_ce47679ba5fa3ec6)
|
||||
}
|
||||
|
||||
var fileDescriptor_annotation_payload_ce47679ba5fa3ec6 = []byte{
|
||||
// 297 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0x33, 0x31,
|
||||
0x10, 0x86, 0xbf, 0xed, 0x87, 0x45, 0x53, 0x11, 0xdd, 0xd3, 0x52, 0x05, 0xab, 0xa7, 0x1e, 0x34,
|
||||
0xb1, 0x55, 0x4f, 0x9e, 0x5a, 0x2f, 0x7a, 0x91, 0x52, 0xc5, 0x83, 0x97, 0x65, 0x9a, 0xa4, 0x21,
|
||||
0x90, 0xcd, 0x84, 0x26, 0x15, 0xfa, 0x8b, 0xfc, 0x9b, 0x42, 0xb2, 0xd8, 0xad, 0xc8, 0x1e, 0x93,
|
||||
0x79, 0x9f, 0x67, 0x26, 0x19, 0x72, 0xa7, 0x10, 0x95, 0x91, 0x8c, 0x1b, 0x5c, 0x0b, 0x06, 0xeb,
|
||||
0x80, 0x95, 0x61, 0x9f, 0xa3, 0x85, 0x0c, 0x30, 0x62, 0x60, 0x2d, 0x06, 0x08, 0x1a, 0x6d, 0xe9,
|
||||
0x60, 0x63, 0x10, 0x04, 0x75, 0x2b, 0x0c, 0x98, 0x9f, 0x26, 0x8a, 0x46, 0x8a, 0x26, 0x8a, 0xd6,
|
||||
0x54, 0xff, 0xac, 0x56, 0x82, 0xd3, 0x0d, 0x83, 0x4f, 0x68, 0xff, 0xa6, 0xad, 0x21, 0x37, 0xe0,
|
||||
0xbd, 0x5e, 0x6a, 0x1e, 0x91, 0x9a, 0xb8, 0x6e, 0x23, 0xc2, 0x0a, 0xac, 0x37, 0x8d, 0xf8, 0xe5,
|
||||
0x57, 0x87, 0x9c, 0x4c, 0x7e, 0xda, 0xce, 0xd2, 0xdc, 0xf9, 0x3b, 0xe9, 0x35, 0xa2, 0x45, 0x67,
|
||||
0x90, 0x0d, 0x7b, 0xe3, 0x31, 0x6d, 0x79, 0x07, 0x7d, 0xdb, 0xe6, 0xb7, 0xbe, 0xa7, 0x7f, 0xf3,
|
||||
0xa6, 0x28, 0x2f, 0xc9, 0xd1, 0xee, 0xd0, 0xc5, 0xff, 0xa8, 0xbe, 0x6f, 0x55, 0x3f, 0xee, 0x20,
|
||||
0x3b, 0xf6, 0x5f, 0xba, 0xfc, 0x8a, 0xe4, 0x8d, 0x35, 0x78, 0x27, 0x79, 0xa9, 0x45, 0x91, 0x0d,
|
||||
0xb2, 0xe1, 0xc1, 0xfc, 0x78, 0x5b, 0x79, 0x75, 0x92, 0x3f, 0x8b, 0xfc, 0x82, 0x1c, 0x0a, 0xed,
|
||||
0x9d, 0x81, 0x4d, 0x69, 0xa1, 0x92, 0xc5, 0x5e, 0xcc, 0xf5, 0xea, 0xbb, 0x17, 0xa8, 0xe4, 0x74,
|
||||
0x9f, 0x74, 0x85, 0x0c, 0xa0, 0xcd, 0x74, 0x49, 0xce, 0x39, 0x56, 0x6d, 0x83, 0xce, 0xb2, 0x8f,
|
||||
0x49, 0x5d, 0x56, 0x68, 0xc0, 0x2a, 0x8a, 0x2b, 0xc5, 0x94, 0xb4, 0xf1, 0xab, 0x59, 0x2a, 0x81,
|
||||
0xd3, 0xfe, 0xcf, 0xe5, 0x3c, 0xa4, 0xe3, 0xa2, 0x1b, 0xd3, 0xb7, 0xdf, 0x01, 0x00, 0x00, 0xff,
|
||||
0xff, 0x44, 0x63, 0x2f, 0x26, 0x6c, 0x02, 0x00, 0x00,
|
||||
}
|
434
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go
generated
vendored
Normal file
434
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go
generated
vendored
Normal file
@ -0,0 +1,434 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/classification.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// Type of the classification problem.
|
||||
type ClassificationType int32
|
||||
|
||||
const (
|
||||
// Should not be used, an un-set enum has this value by default.
|
||||
ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED ClassificationType = 0
|
||||
// At most one label is allowed per example.
|
||||
ClassificationType_MULTICLASS ClassificationType = 1
|
||||
// Multiple labels are allowed for one example.
|
||||
ClassificationType_MULTILABEL ClassificationType = 2
|
||||
)
|
||||
|
||||
var ClassificationType_name = map[int32]string{
|
||||
0: "CLASSIFICATION_TYPE_UNSPECIFIED",
|
||||
1: "MULTICLASS",
|
||||
2: "MULTILABEL",
|
||||
}
|
||||
var ClassificationType_value = map[string]int32{
|
||||
"CLASSIFICATION_TYPE_UNSPECIFIED": 0,
|
||||
"MULTICLASS": 1,
|
||||
"MULTILABEL": 2,
|
||||
}
|
||||
|
||||
func (x ClassificationType) String() string {
|
||||
return proto.EnumName(ClassificationType_name, int32(x))
|
||||
}
|
||||
func (ClassificationType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_classification_e3eb78fdd10472f9, []int{0}
|
||||
}
|
||||
|
||||
// Contains annotation details specific to classification.
|
||||
type ClassificationAnnotation struct {
|
||||
// Output only. A confidence estimate between 0.0 and 1.0. A higher value
|
||||
// means greater confidence that the annotation is positive. If a user
|
||||
// approves an annotation as negative or positive, the score value remains
|
||||
// unchanged. If a user creates an annotation, the score is 0 for negative or
|
||||
// 1 for positive.
|
||||
Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClassificationAnnotation) Reset() { *m = ClassificationAnnotation{} }
|
||||
func (m *ClassificationAnnotation) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClassificationAnnotation) ProtoMessage() {}
|
||||
func (*ClassificationAnnotation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_classification_e3eb78fdd10472f9, []int{0}
|
||||
}
|
||||
func (m *ClassificationAnnotation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClassificationAnnotation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClassificationAnnotation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClassificationAnnotation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClassificationAnnotation.Merge(dst, src)
|
||||
}
|
||||
func (m *ClassificationAnnotation) XXX_Size() int {
|
||||
return xxx_messageInfo_ClassificationAnnotation.Size(m)
|
||||
}
|
||||
func (m *ClassificationAnnotation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClassificationAnnotation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClassificationAnnotation proto.InternalMessageInfo
|
||||
|
||||
func (m *ClassificationAnnotation) GetScore() float32 {
|
||||
if m != nil {
|
||||
return m.Score
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Model evaluation metrics for classification problems.
|
||||
// Visible only to v1beta1
|
||||
type ClassificationEvaluationMetrics struct {
|
||||
// Output only. The Area under precision recall curve metric.
|
||||
AuPrc float32 `protobuf:"fixed32,1,opt,name=au_prc,json=auPrc,proto3" json:"au_prc,omitempty"`
|
||||
// Output only. The Area under precision recall curve metric based on priors.
|
||||
BaseAuPrc float32 `protobuf:"fixed32,2,opt,name=base_au_prc,json=baseAuPrc,proto3" json:"base_au_prc,omitempty"`
|
||||
// Output only. Metrics that have confidence thresholds.
|
||||
// Precision-recall curve can be derived from it.
|
||||
ConfidenceMetricsEntry []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry `protobuf:"bytes,3,rep,name=confidence_metrics_entry,json=confidenceMetricsEntry,proto3" json:"confidence_metrics_entry,omitempty"`
|
||||
// Output only. Confusion matrix of the evaluation.
|
||||
// Only set for MULTICLASS classification problems where number
|
||||
// of labels is no more than 10.
|
||||
// Only set for model level evaluation, not for evaluation per label.
|
||||
ConfusionMatrix *ClassificationEvaluationMetrics_ConfusionMatrix `protobuf:"bytes,4,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"`
|
||||
// Output only. The annotation spec ids used for this evaluation.
|
||||
AnnotationSpecId []string `protobuf:"bytes,5,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics) Reset() { *m = ClassificationEvaluationMetrics{} }
|
||||
func (m *ClassificationEvaluationMetrics) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClassificationEvaluationMetrics) ProtoMessage() {}
|
||||
func (*ClassificationEvaluationMetrics) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_classification_e3eb78fdd10472f9, []int{1}
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClassificationEvaluationMetrics) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics.Merge(dst, src)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics) XXX_Size() int {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics.Size(m)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClassificationEvaluationMetrics proto.InternalMessageInfo
|
||||
|
||||
func (m *ClassificationEvaluationMetrics) GetAuPrc() float32 {
|
||||
if m != nil {
|
||||
return m.AuPrc
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics) GetBaseAuPrc() float32 {
|
||||
if m != nil {
|
||||
return m.BaseAuPrc
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics) GetConfidenceMetricsEntry() []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry {
|
||||
if m != nil {
|
||||
return m.ConfidenceMetricsEntry
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics) GetConfusionMatrix() *ClassificationEvaluationMetrics_ConfusionMatrix {
|
||||
if m != nil {
|
||||
return m.ConfusionMatrix
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics) GetAnnotationSpecId() []string {
|
||||
if m != nil {
|
||||
return m.AnnotationSpecId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Metrics for a single confidence threshold.
|
||||
type ClassificationEvaluationMetrics_ConfidenceMetricsEntry struct {
|
||||
// Output only. The confidence threshold value used to compute the metrics.
|
||||
ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
|
||||
// Output only. Recall under the given confidence threshold.
|
||||
Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"`
|
||||
// Output only. Precision under the given confidence threshold.
|
||||
Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"`
|
||||
// Output only. The harmonic mean of recall and precision.
|
||||
F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"`
|
||||
// Output only. The recall when only considering the label that has the
|
||||
// highest prediction score and not below the confidence threshold for each
|
||||
// example.
|
||||
RecallAt1 float32 `protobuf:"fixed32,5,opt,name=recall_at1,json=recallAt1,proto3" json:"recall_at1,omitempty"`
|
||||
// Output only. The precision when only considering the label that has the
|
||||
// highest predictionscore and not below the confidence threshold for each
|
||||
// example.
|
||||
PrecisionAt1 float32 `protobuf:"fixed32,6,opt,name=precision_at1,json=precisionAt1,proto3" json:"precision_at1,omitempty"`
|
||||
// Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
|
||||
F1ScoreAt1 float32 `protobuf:"fixed32,7,opt,name=f1_score_at1,json=f1ScoreAt1,proto3" json:"f1_score_at1,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Reset() {
|
||||
*m = ClassificationEvaluationMetrics_ConfidenceMetricsEntry{}
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) String() string {
|
||||
return proto.CompactTextString(m)
|
||||
}
|
||||
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage() {}
|
||||
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_classification_e3eb78fdd10472f9, []int{1, 0}
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Merge(dst, src)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Size() int {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Size(m)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry proto.InternalMessageInfo
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 {
|
||||
if m != nil {
|
||||
return m.ConfidenceThreshold
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecall() float32 {
|
||||
if m != nil {
|
||||
return m.Recall
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision() float32 {
|
||||
if m != nil {
|
||||
return m.Precision
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score() float32 {
|
||||
if m != nil {
|
||||
return m.F1Score
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecallAt1() float32 {
|
||||
if m != nil {
|
||||
return m.RecallAt1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecisionAt1() float32 {
|
||||
if m != nil {
|
||||
return m.PrecisionAt1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1ScoreAt1() float32 {
|
||||
if m != nil {
|
||||
return m.F1ScoreAt1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Confusion matrix of the model running the classification.
|
||||
type ClassificationEvaluationMetrics_ConfusionMatrix struct {
|
||||
// Output only. IDs of the annotation specs used in the confusion matrix.
|
||||
AnnotationSpecId []string `protobuf:"bytes,1,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
|
||||
// Output only. Rows in the confusion matrix. The number of rows is equal to
|
||||
// the size of `annotation_spec_id`.
|
||||
// `row[i].value[j]` is the number of examples that have ground truth of the
|
||||
// `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by
|
||||
// the model being evaluated.
|
||||
Row []*ClassificationEvaluationMetrics_ConfusionMatrix_Row `protobuf:"bytes,2,rep,name=row,proto3" json:"row,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) Reset() {
|
||||
*m = ClassificationEvaluationMetrics_ConfusionMatrix{}
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) String() string {
|
||||
return proto.CompactTextString(m)
|
||||
}
|
||||
func (*ClassificationEvaluationMetrics_ConfusionMatrix) ProtoMessage() {}
|
||||
func (*ClassificationEvaluationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_classification_e3eb78fdd10472f9, []int{1, 1}
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Merge(dst, src)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Size() int {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Size(m)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix proto.InternalMessageInfo
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetAnnotationSpecId() []string {
|
||||
if m != nil {
|
||||
return m.AnnotationSpecId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetRow() []*ClassificationEvaluationMetrics_ConfusionMatrix_Row {
|
||||
if m != nil {
|
||||
return m.Row
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Output only. A row in the confusion matrix.
|
||||
type ClassificationEvaluationMetrics_ConfusionMatrix_Row struct {
|
||||
// Output only. Value of the specific cell in the confusion matrix.
|
||||
// The number of values each row is equal to the size of
|
||||
// annotatin_spec_id.
|
||||
ExampleCount []int32 `protobuf:"varint,1,rep,packed,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) Reset() {
|
||||
*m = ClassificationEvaluationMetrics_ConfusionMatrix_Row{}
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) String() string {
|
||||
return proto.CompactTextString(m)
|
||||
}
|
||||
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoMessage() {}
|
||||
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_classification_e3eb78fdd10472f9, []int{1, 1, 0}
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Merge(dst, src)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Size() int {
|
||||
return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Size(m)
|
||||
}
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row proto.InternalMessageInfo
|
||||
|
||||
func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) GetExampleCount() []int32 {
|
||||
if m != nil {
|
||||
return m.ExampleCount
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ClassificationAnnotation)(nil), "google.cloud.automl.v1beta1.ClassificationAnnotation")
|
||||
proto.RegisterType((*ClassificationEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics")
|
||||
proto.RegisterType((*ClassificationEvaluationMetrics_ConfidenceMetricsEntry)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry")
|
||||
proto.RegisterType((*ClassificationEvaluationMetrics_ConfusionMatrix)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix")
|
||||
proto.RegisterType((*ClassificationEvaluationMetrics_ConfusionMatrix_Row)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row")
|
||||
proto.RegisterEnum("google.cloud.automl.v1beta1.ClassificationType", ClassificationType_name, ClassificationType_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/classification.proto", fileDescriptor_classification_e3eb78fdd10472f9)
|
||||
}
|
||||
|
||||
var fileDescriptor_classification_e3eb78fdd10472f9 = []byte{
|
||||
// 583 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcf, 0x4f, 0xdb, 0x3e,
|
||||
0x14, 0xff, 0xa6, 0xa5, 0xe5, 0xcb, 0x83, 0x8d, 0xca, 0x30, 0x94, 0x75, 0x6c, 0x54, 0x70, 0xa9,
|
||||
0xd0, 0x94, 0x10, 0x76, 0xdc, 0x29, 0x64, 0x45, 0x8a, 0x54, 0x58, 0x95, 0x94, 0x03, 0xbb, 0x58,
|
||||
0xae, 0xeb, 0x86, 0x48, 0x69, 0x1c, 0x39, 0x0e, 0x85, 0xeb, 0xee, 0xfb, 0xdb, 0xf6, 0x5f, 0xec,
|
||||
0xef, 0x98, 0x62, 0x87, 0x74, 0x95, 0x2a, 0x36, 0x69, 0xbb, 0xe5, 0x7d, 0x7e, 0xf9, 0x3d, 0xbf,
|
||||
0xc8, 0x70, 0x16, 0x71, 0x1e, 0x25, 0xcc, 0xa6, 0x09, 0x2f, 0xa6, 0x36, 0x29, 0x24, 0x9f, 0x27,
|
||||
0xf6, 0xbd, 0x33, 0x61, 0x92, 0x38, 0x36, 0x4d, 0x48, 0x9e, 0xc7, 0xb3, 0x98, 0x12, 0x19, 0xf3,
|
||||
0xd4, 0xca, 0x04, 0x97, 0x1c, 0xbd, 0xd1, 0x0e, 0x4b, 0x39, 0x2c, 0xed, 0xb0, 0x2a, 0x47, 0xf7,
|
||||
0xb0, 0x8a, 0x23, 0x59, 0x6c, 0x93, 0x34, 0xe5, 0x52, 0x39, 0x73, 0x6d, 0x3d, 0x3e, 0x03, 0xd3,
|
||||
0x5b, 0x89, 0x74, 0x6b, 0x09, 0xda, 0x87, 0x56, 0x4e, 0xb9, 0x60, 0xa6, 0xd1, 0x33, 0xfa, 0x8d,
|
||||
0x40, 0x17, 0xc7, 0x3f, 0xda, 0x70, 0xb4, 0x6a, 0x19, 0xdc, 0x93, 0xa4, 0x50, 0x5f, 0x57, 0x4c,
|
||||
0x8a, 0x98, 0xe6, 0xe8, 0x15, 0xb4, 0x49, 0x81, 0x33, 0x41, 0x9f, 0xac, 0xa4, 0x18, 0x09, 0x8a,
|
||||
0xde, 0xc1, 0xf6, 0x84, 0xe4, 0x0c, 0x57, 0x5c, 0x43, 0x71, 0x5b, 0x25, 0xe4, 0x2a, 0xfe, 0x9b,
|
||||
0x01, 0x26, 0xe5, 0xe9, 0x2c, 0x9e, 0xb2, 0x94, 0x32, 0x3c, 0xd7, 0x69, 0x98, 0xa5, 0x52, 0x3c,
|
||||
0x9a, 0xcd, 0x5e, 0xb3, 0xbf, 0x7d, 0x1e, 0x5a, 0xcf, 0xcc, 0x6a, 0xfd, 0xa6, 0x2f, 0xcb, 0xab,
|
||||
0xc3, 0x2b, 0x64, 0x50, 0x46, 0x07, 0x07, 0x74, 0x2d, 0x8e, 0x16, 0xd0, 0x29, 0x99, 0x22, 0x8f,
|
||||
0x79, 0x8a, 0xe7, 0x44, 0x8a, 0xf8, 0xc1, 0xdc, 0xe8, 0x19, 0xfd, 0xed, 0xf3, 0xe1, 0x5f, 0xb7,
|
||||
0xa1, 0x42, 0xaf, 0x54, 0x66, 0xb0, 0x4b, 0x57, 0x01, 0xf4, 0x1e, 0xd0, 0x72, 0x55, 0x38, 0xcf,
|
||||
0x18, 0xc5, 0xf1, 0xd4, 0x6c, 0xf5, 0x9a, 0xfd, 0xad, 0xa0, 0xb3, 0x64, 0xc2, 0x8c, 0x51, 0x7f,
|
||||
0xda, 0xfd, 0xda, 0x80, 0x83, 0xf5, 0x93, 0x21, 0x07, 0xf6, 0x7f, 0xb9, 0x50, 0x79, 0x27, 0x58,
|
||||
0x7e, 0xc7, 0x93, 0x69, 0xb5, 0x96, 0xbd, 0x25, 0x37, 0x7e, 0xa2, 0xd0, 0x01, 0xb4, 0x05, 0xa3,
|
||||
0x24, 0x49, 0xaa, 0xfd, 0x54, 0x15, 0x3a, 0x84, 0xad, 0x4c, 0x30, 0x1a, 0x97, 0x6d, 0x9a, 0x4d,
|
||||
0xbd, 0xba, 0x1a, 0x40, 0xaf, 0xe1, 0xff, 0x99, 0x83, 0xf5, 0xef, 0xb2, 0xa1, 0xc8, 0xcd, 0x99,
|
||||
0x13, 0x96, 0x25, 0x7a, 0x0b, 0xa0, 0x23, 0x30, 0x91, 0x8e, 0xd9, 0xd2, 0x4e, 0x8d, 0xb8, 0xd2,
|
||||
0x41, 0x27, 0xf0, 0xa2, 0x8e, 0x51, 0x8a, 0xb6, 0x52, 0xec, 0xd4, 0x60, 0x29, 0xea, 0xc1, 0xce,
|
||||
0x53, 0xbc, 0xd2, 0x6c, 0x2a, 0x0d, 0x54, 0x47, 0xb8, 0xd2, 0xe9, 0x7e, 0x37, 0x60, 0xd7, 0xfb,
|
||||
0xa3, 0x6b, 0x34, 0xd6, 0x5f, 0x23, 0x9a, 0x40, 0x53, 0xf0, 0x85, 0xd9, 0x50, 0xff, 0xd9, 0xe8,
|
||||
0x5f, 0x2e, 0xd8, 0x0a, 0xf8, 0x22, 0x28, 0xc3, 0xbb, 0xa7, 0xd0, 0x0c, 0xf8, 0xa2, 0x9c, 0x99,
|
||||
0x3d, 0x90, 0x79, 0x96, 0x30, 0x4c, 0x79, 0x91, 0x4a, 0xd5, 0x53, 0x2b, 0xd8, 0xa9, 0x40, 0xaf,
|
||||
0xc4, 0x4e, 0x6f, 0x01, 0xad, 0x9e, 0x33, 0x7e, 0xcc, 0x18, 0x3a, 0x81, 0x23, 0x6f, 0xe8, 0x86,
|
||||
0xa1, 0x7f, 0xe9, 0x7b, 0xee, 0xd8, 0xff, 0x7c, 0x8d, 0xc7, 0xb7, 0xa3, 0x01, 0xbe, 0xb9, 0x0e,
|
||||
0x47, 0x03, 0xcf, 0xbf, 0xf4, 0x07, 0x9f, 0x3a, 0xff, 0xa1, 0x97, 0x00, 0x57, 0x37, 0xc3, 0xb1,
|
||||
0xaf, 0x94, 0x1d, 0xa3, 0xae, 0x87, 0xee, 0xc5, 0x60, 0xd8, 0x69, 0x5c, 0x3c, 0xc2, 0x11, 0xe5,
|
||||
0xf3, 0xe7, 0x46, 0xbc, 0xd8, 0x5b, 0x3d, 0x7b, 0x54, 0xbe, 0x16, 0x5f, 0xdc, 0xca, 0x11, 0xf1,
|
||||
0x84, 0xa4, 0x91, 0xc5, 0x45, 0x64, 0x47, 0x2c, 0x55, 0x2f, 0x89, 0xad, 0x29, 0x92, 0xc5, 0xf9,
|
||||
0xda, 0x97, 0xeb, 0xa3, 0x2e, 0x27, 0x6d, 0xa5, 0xfe, 0xf0, 0x33, 0x00, 0x00, 0xff, 0xff, 0x22,
|
||||
0xd4, 0x8f, 0x68, 0xe6, 0x04, 0x00, 0x00,
|
||||
}
|
424
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go
generated
vendored
Normal file
424
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go
generated
vendored
Normal file
@ -0,0 +1,424 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/data_items.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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 representation of an image.
|
||||
type Image struct {
|
||||
// Input only. The data representing the image.
|
||||
// For Predict calls [image_bytes][] must be set, as other options are not
|
||||
// currently supported by prediction API. You can read the contents of an
|
||||
// uploaded image by using the [content_uri][] field.
|
||||
//
|
||||
// Types that are valid to be assigned to Data:
|
||||
// *Image_ImageBytes
|
||||
// *Image_InputConfig
|
||||
Data isImage_Data `protobuf_oneof:"data"`
|
||||
// Output only. HTTP URI to the thumbnail image.
|
||||
ThumbnailUri string `protobuf:"bytes,4,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Image) Reset() { *m = Image{} }
|
||||
func (m *Image) String() string { return proto.CompactTextString(m) }
|
||||
func (*Image) ProtoMessage() {}
|
||||
func (*Image) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_data_items_6a949c451484ad28, []int{0}
|
||||
}
|
||||
func (m *Image) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Image.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Image.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Image) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Image.Merge(dst, src)
|
||||
}
|
||||
func (m *Image) XXX_Size() int {
|
||||
return xxx_messageInfo_Image.Size(m)
|
||||
}
|
||||
func (m *Image) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Image.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Image proto.InternalMessageInfo
|
||||
|
||||
type isImage_Data interface {
|
||||
isImage_Data()
|
||||
}
|
||||
|
||||
type Image_ImageBytes struct {
|
||||
ImageBytes []byte `protobuf:"bytes,1,opt,name=image_bytes,json=imageBytes,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Image_InputConfig struct {
|
||||
InputConfig *InputConfig `protobuf:"bytes,6,opt,name=input_config,json=inputConfig,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Image_ImageBytes) isImage_Data() {}
|
||||
|
||||
func (*Image_InputConfig) isImage_Data() {}
|
||||
|
||||
func (m *Image) GetData() isImage_Data {
|
||||
if m != nil {
|
||||
return m.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Image) GetImageBytes() []byte {
|
||||
if x, ok := m.GetData().(*Image_ImageBytes); ok {
|
||||
return x.ImageBytes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Image) GetInputConfig() *InputConfig {
|
||||
if x, ok := m.GetData().(*Image_InputConfig); ok {
|
||||
return x.InputConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Image) GetThumbnailUri() string {
|
||||
if m != nil {
|
||||
return m.ThumbnailUri
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Image) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Image_OneofMarshaler, _Image_OneofUnmarshaler, _Image_OneofSizer, []interface{}{
|
||||
(*Image_ImageBytes)(nil),
|
||||
(*Image_InputConfig)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Image_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Image)
|
||||
// data
|
||||
switch x := m.Data.(type) {
|
||||
case *Image_ImageBytes:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
b.EncodeRawBytes(x.ImageBytes)
|
||||
case *Image_InputConfig:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.InputConfig); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Image.Data has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Image_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Image)
|
||||
switch tag {
|
||||
case 1: // data.image_bytes
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeRawBytes(true)
|
||||
m.Data = &Image_ImageBytes{x}
|
||||
return true, err
|
||||
case 6: // data.input_config
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(InputConfig)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Data = &Image_InputConfig{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Image_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Image)
|
||||
// data
|
||||
switch x := m.Data.(type) {
|
||||
case *Image_ImageBytes:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.ImageBytes)))
|
||||
n += len(x.ImageBytes)
|
||||
case *Image_InputConfig:
|
||||
s := proto.Size(x.InputConfig)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// A representation of a text snippet.
|
||||
type TextSnippet struct {
|
||||
// Required. The content of the text snippet as a string. Up to 250000
|
||||
// characters long.
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
// The format of the source text. For example, "text/html" or
|
||||
// "text/plain". If left blank the format is automatically determined from
|
||||
// the type of the uploaded content. The default is "text/html". Up to 25000
|
||||
// characters long.
|
||||
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
|
||||
// Output only. HTTP URI where you can download the content.
|
||||
ContentUri string `protobuf:"bytes,4,opt,name=content_uri,json=contentUri,proto3" json:"content_uri,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TextSnippet) Reset() { *m = TextSnippet{} }
|
||||
func (m *TextSnippet) String() string { return proto.CompactTextString(m) }
|
||||
func (*TextSnippet) ProtoMessage() {}
|
||||
func (*TextSnippet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_data_items_6a949c451484ad28, []int{1}
|
||||
}
|
||||
func (m *TextSnippet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TextSnippet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TextSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TextSnippet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TextSnippet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TextSnippet.Merge(dst, src)
|
||||
}
|
||||
func (m *TextSnippet) XXX_Size() int {
|
||||
return xxx_messageInfo_TextSnippet.Size(m)
|
||||
}
|
||||
func (m *TextSnippet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TextSnippet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TextSnippet proto.InternalMessageInfo
|
||||
|
||||
func (m *TextSnippet) GetContent() string {
|
||||
if m != nil {
|
||||
return m.Content
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TextSnippet) GetMimeType() string {
|
||||
if m != nil {
|
||||
return m.MimeType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TextSnippet) GetContentUri() string {
|
||||
if m != nil {
|
||||
return m.ContentUri
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Example data used for training or prediction.
|
||||
type ExamplePayload struct {
|
||||
// Required. Input only. The example data.
|
||||
//
|
||||
// Types that are valid to be assigned to Payload:
|
||||
// *ExamplePayload_Image
|
||||
// *ExamplePayload_TextSnippet
|
||||
Payload isExamplePayload_Payload `protobuf_oneof:"payload"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ExamplePayload) Reset() { *m = ExamplePayload{} }
|
||||
func (m *ExamplePayload) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExamplePayload) ProtoMessage() {}
|
||||
func (*ExamplePayload) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_data_items_6a949c451484ad28, []int{2}
|
||||
}
|
||||
func (m *ExamplePayload) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ExamplePayload.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ExamplePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ExamplePayload.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ExamplePayload) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ExamplePayload.Merge(dst, src)
|
||||
}
|
||||
func (m *ExamplePayload) XXX_Size() int {
|
||||
return xxx_messageInfo_ExamplePayload.Size(m)
|
||||
}
|
||||
func (m *ExamplePayload) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ExamplePayload.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ExamplePayload proto.InternalMessageInfo
|
||||
|
||||
type isExamplePayload_Payload interface {
|
||||
isExamplePayload_Payload()
|
||||
}
|
||||
|
||||
type ExamplePayload_Image struct {
|
||||
Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExamplePayload_TextSnippet struct {
|
||||
TextSnippet *TextSnippet `protobuf:"bytes,2,opt,name=text_snippet,json=textSnippet,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ExamplePayload_Image) isExamplePayload_Payload() {}
|
||||
|
||||
func (*ExamplePayload_TextSnippet) isExamplePayload_Payload() {}
|
||||
|
||||
func (m *ExamplePayload) GetPayload() isExamplePayload_Payload {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExamplePayload) GetImage() *Image {
|
||||
if x, ok := m.GetPayload().(*ExamplePayload_Image); ok {
|
||||
return x.Image
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExamplePayload) GetTextSnippet() *TextSnippet {
|
||||
if x, ok := m.GetPayload().(*ExamplePayload_TextSnippet); ok {
|
||||
return x.TextSnippet
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*ExamplePayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _ExamplePayload_OneofMarshaler, _ExamplePayload_OneofUnmarshaler, _ExamplePayload_OneofSizer, []interface{}{
|
||||
(*ExamplePayload_Image)(nil),
|
||||
(*ExamplePayload_TextSnippet)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _ExamplePayload_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*ExamplePayload)
|
||||
// payload
|
||||
switch x := m.Payload.(type) {
|
||||
case *ExamplePayload_Image:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Image); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExamplePayload_TextSnippet:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.TextSnippet); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("ExamplePayload.Payload has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _ExamplePayload_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*ExamplePayload)
|
||||
switch tag {
|
||||
case 1: // payload.image
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Image)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Payload = &ExamplePayload_Image{msg}
|
||||
return true, err
|
||||
case 2: // payload.text_snippet
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(TextSnippet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Payload = &ExamplePayload_TextSnippet{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _ExamplePayload_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*ExamplePayload)
|
||||
// payload
|
||||
switch x := m.Payload.(type) {
|
||||
case *ExamplePayload_Image:
|
||||
s := proto.Size(x.Image)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExamplePayload_TextSnippet:
|
||||
s := proto.Size(x.TextSnippet)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Image)(nil), "google.cloud.automl.v1beta1.Image")
|
||||
proto.RegisterType((*TextSnippet)(nil), "google.cloud.automl.v1beta1.TextSnippet")
|
||||
proto.RegisterType((*ExamplePayload)(nil), "google.cloud.automl.v1beta1.ExamplePayload")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/data_items.proto", fileDescriptor_data_items_6a949c451484ad28)
|
||||
}
|
||||
|
||||
var fileDescriptor_data_items_6a949c451484ad28 = []byte{
|
||||
// 381 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x3d, 0xcf, 0xd3, 0x30,
|
||||
0x14, 0x85, 0x1b, 0xd4, 0x0f, 0xe2, 0x14, 0x06, 0x4f, 0x51, 0x8b, 0xd4, 0x52, 0x18, 0x32, 0xa0,
|
||||
0x44, 0x2d, 0x1b, 0x4c, 0x04, 0x21, 0xb5, 0x03, 0x52, 0x15, 0xda, 0x85, 0x25, 0x72, 0x52, 0xd7,
|
||||
0x58, 0x8a, 0x3f, 0x94, 0xdc, 0xa0, 0xe6, 0x0f, 0xf1, 0x3b, 0x91, 0xed, 0x40, 0x3b, 0xbc, 0xca,
|
||||
0xbb, 0xe5, 0x9e, 0xfb, 0x5c, 0xdf, 0xe3, 0x13, 0xa3, 0x0f, 0x4c, 0x29, 0x56, 0xd1, 0xa4, 0xac,
|
||||
0x54, 0x7b, 0x49, 0x48, 0x0b, 0x4a, 0x54, 0xc9, 0xef, 0x6d, 0x41, 0x81, 0x6c, 0x93, 0x0b, 0x01,
|
||||
0x92, 0x73, 0xa0, 0xa2, 0x89, 0x75, 0xad, 0x40, 0xe1, 0xa5, 0xa3, 0x63, 0x4b, 0xc7, 0x8e, 0x8e,
|
||||
0x7b, 0x7a, 0xf1, 0xa6, 0x3f, 0x8a, 0x68, 0x9e, 0x10, 0x29, 0x15, 0x10, 0xe0, 0x4a, 0xf6, 0xa3,
|
||||
0x8b, 0xf7, 0x43, 0x8b, 0xb8, 0x72, 0xd4, 0xe6, 0x8f, 0x87, 0x26, 0x07, 0x41, 0x18, 0xc5, 0x6f,
|
||||
0x51, 0xc0, 0xcd, 0x47, 0x5e, 0x74, 0x40, 0x9b, 0xd0, 0x5b, 0x7b, 0xd1, 0x7c, 0x3f, 0xca, 0x90,
|
||||
0x15, 0x53, 0xa3, 0xe1, 0xef, 0x68, 0xce, 0xa5, 0x6e, 0x21, 0x2f, 0x95, 0xbc, 0x72, 0x16, 0x4e,
|
||||
0xd7, 0x5e, 0x14, 0xec, 0xa2, 0x78, 0xc0, 0x64, 0x7c, 0x30, 0x03, 0x5f, 0x2d, 0xbf, 0x1f, 0x65,
|
||||
0x01, 0xbf, 0x97, 0xf8, 0x1d, 0x7a, 0x05, 0xbf, 0x5a, 0x51, 0x48, 0xc2, 0xab, 0xbc, 0xad, 0x79,
|
||||
0x38, 0x5e, 0x7b, 0x91, 0x9f, 0xcd, 0xff, 0x8b, 0xe7, 0x9a, 0xa7, 0x53, 0x34, 0x36, 0xa9, 0x6c,
|
||||
0x28, 0x0a, 0x4e, 0xf4, 0x06, 0x3f, 0x24, 0xd7, 0x9a, 0x02, 0x0e, 0xd1, 0xac, 0x54, 0x12, 0xa8,
|
||||
0x04, 0xeb, 0xd4, 0xcf, 0xfe, 0x95, 0x78, 0x89, 0x7c, 0xc1, 0x05, 0xcd, 0xa1, 0xd3, 0x34, 0x7c,
|
||||
0x61, 0x7b, 0x2f, 0x8d, 0x70, 0xea, 0x34, 0xc5, 0x2b, 0x14, 0xf4, 0xdc, 0xc3, 0x42, 0xd4, 0x4b,
|
||||
0xe7, 0x9a, 0x9b, 0x3c, 0x5e, 0x7f, 0xbb, 0x11, 0xa1, 0x2b, 0x7a, 0x24, 0x5d, 0xa5, 0xc8, 0x05,
|
||||
0x7f, 0x42, 0x13, 0x9b, 0x81, 0x5d, 0x14, 0xec, 0x36, 0xc3, 0xd7, 0x35, 0xe4, 0x7e, 0x94, 0xb9,
|
||||
0x11, 0x93, 0x18, 0xd0, 0x1b, 0xe4, 0x8d, 0xb3, 0x6d, 0xfd, 0x3c, 0x97, 0xd8, 0xc3, 0x35, 0x4d,
|
||||
0x62, 0x70, 0x2f, 0x53, 0x1f, 0xcd, 0xb4, 0x73, 0x95, 0x5e, 0xd1, 0xaa, 0x54, 0x62, 0xe8, 0xa0,
|
||||
0xa3, 0xf7, 0xf3, 0x4b, 0xdf, 0x66, 0xaa, 0x22, 0x92, 0xc5, 0xaa, 0x66, 0x09, 0xa3, 0xd2, 0xfe,
|
||||
0xf9, 0xc4, 0xb5, 0x88, 0xe6, 0xcd, 0x93, 0x4f, 0xe4, 0xb3, 0x2b, 0x8b, 0xa9, 0xa5, 0x3f, 0xfe,
|
||||
0x0d, 0x00, 0x00, 0xff, 0xff, 0xbe, 0xa5, 0xac, 0xba, 0xb8, 0x02, 0x00, 0x00,
|
||||
}
|
283
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go
generated
vendored
Normal file
283
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go
generated
vendored
Normal file
@ -0,0 +1,283 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/dataset.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
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"
|
||||
|
||||
// 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 workspace for solving a single, particular machine learning (ML) problem.
|
||||
// A workspace contains examples that may be annotated.
|
||||
type Dataset struct {
|
||||
// Required.
|
||||
// The dataset metadata that is specific to the problem type.
|
||||
//
|
||||
// Types that are valid to be assigned to DatasetMetadata:
|
||||
// *Dataset_TranslationDatasetMetadata
|
||||
// *Dataset_ImageClassificationDatasetMetadata
|
||||
// *Dataset_TextClassificationDatasetMetadata
|
||||
DatasetMetadata isDataset_DatasetMetadata `protobuf_oneof:"dataset_metadata"`
|
||||
// Output only. The resource name of the dataset.
|
||||
// Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Required. The name of the dataset to show in the interface. The name can be
|
||||
// up to 32 characters
|
||||
// long and can consist only of ASCII Latin letters A-Z and a-z, underscores
|
||||
// (_), and ASCII digits 0-9.
|
||||
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
// Output only. The number of examples in the dataset.
|
||||
ExampleCount int32 `protobuf:"varint,21,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"`
|
||||
// Output only. Timestamp when this dataset was created.
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Dataset) Reset() { *m = Dataset{} }
|
||||
func (m *Dataset) String() string { return proto.CompactTextString(m) }
|
||||
func (*Dataset) ProtoMessage() {}
|
||||
func (*Dataset) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_dataset_a8678ffeb33098d6, []int{0}
|
||||
}
|
||||
func (m *Dataset) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Dataset.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Dataset.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Dataset) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Dataset.Merge(dst, src)
|
||||
}
|
||||
func (m *Dataset) XXX_Size() int {
|
||||
return xxx_messageInfo_Dataset.Size(m)
|
||||
}
|
||||
func (m *Dataset) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Dataset.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Dataset proto.InternalMessageInfo
|
||||
|
||||
type isDataset_DatasetMetadata interface {
|
||||
isDataset_DatasetMetadata()
|
||||
}
|
||||
|
||||
type Dataset_TranslationDatasetMetadata struct {
|
||||
TranslationDatasetMetadata *TranslationDatasetMetadata `protobuf:"bytes,23,opt,name=translation_dataset_metadata,json=translationDatasetMetadata,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Dataset_ImageClassificationDatasetMetadata struct {
|
||||
ImageClassificationDatasetMetadata *ImageClassificationDatasetMetadata `protobuf:"bytes,24,opt,name=image_classification_dataset_metadata,json=imageClassificationDatasetMetadata,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Dataset_TextClassificationDatasetMetadata struct {
|
||||
TextClassificationDatasetMetadata *TextClassificationDatasetMetadata `protobuf:"bytes,25,opt,name=text_classification_dataset_metadata,json=textClassificationDatasetMetadata,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Dataset_TranslationDatasetMetadata) isDataset_DatasetMetadata() {}
|
||||
|
||||
func (*Dataset_ImageClassificationDatasetMetadata) isDataset_DatasetMetadata() {}
|
||||
|
||||
func (*Dataset_TextClassificationDatasetMetadata) isDataset_DatasetMetadata() {}
|
||||
|
||||
func (m *Dataset) GetDatasetMetadata() isDataset_DatasetMetadata {
|
||||
if m != nil {
|
||||
return m.DatasetMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Dataset) GetTranslationDatasetMetadata() *TranslationDatasetMetadata {
|
||||
if x, ok := m.GetDatasetMetadata().(*Dataset_TranslationDatasetMetadata); ok {
|
||||
return x.TranslationDatasetMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Dataset) GetImageClassificationDatasetMetadata() *ImageClassificationDatasetMetadata {
|
||||
if x, ok := m.GetDatasetMetadata().(*Dataset_ImageClassificationDatasetMetadata); ok {
|
||||
return x.ImageClassificationDatasetMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Dataset) GetTextClassificationDatasetMetadata() *TextClassificationDatasetMetadata {
|
||||
if x, ok := m.GetDatasetMetadata().(*Dataset_TextClassificationDatasetMetadata); ok {
|
||||
return x.TextClassificationDatasetMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Dataset) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Dataset) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Dataset) GetExampleCount() int32 {
|
||||
if m != nil {
|
||||
return m.ExampleCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Dataset) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Dataset) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Dataset_OneofMarshaler, _Dataset_OneofUnmarshaler, _Dataset_OneofSizer, []interface{}{
|
||||
(*Dataset_TranslationDatasetMetadata)(nil),
|
||||
(*Dataset_ImageClassificationDatasetMetadata)(nil),
|
||||
(*Dataset_TextClassificationDatasetMetadata)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Dataset_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Dataset)
|
||||
// dataset_metadata
|
||||
switch x := m.DatasetMetadata.(type) {
|
||||
case *Dataset_TranslationDatasetMetadata:
|
||||
b.EncodeVarint(23<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.TranslationDatasetMetadata); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Dataset_ImageClassificationDatasetMetadata:
|
||||
b.EncodeVarint(24<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ImageClassificationDatasetMetadata); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Dataset_TextClassificationDatasetMetadata:
|
||||
b.EncodeVarint(25<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.TextClassificationDatasetMetadata); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Dataset.DatasetMetadata has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Dataset_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Dataset)
|
||||
switch tag {
|
||||
case 23: // dataset_metadata.translation_dataset_metadata
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(TranslationDatasetMetadata)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.DatasetMetadata = &Dataset_TranslationDatasetMetadata{msg}
|
||||
return true, err
|
||||
case 24: // dataset_metadata.image_classification_dataset_metadata
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ImageClassificationDatasetMetadata)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.DatasetMetadata = &Dataset_ImageClassificationDatasetMetadata{msg}
|
||||
return true, err
|
||||
case 25: // dataset_metadata.text_classification_dataset_metadata
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(TextClassificationDatasetMetadata)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.DatasetMetadata = &Dataset_TextClassificationDatasetMetadata{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Dataset_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Dataset)
|
||||
// dataset_metadata
|
||||
switch x := m.DatasetMetadata.(type) {
|
||||
case *Dataset_TranslationDatasetMetadata:
|
||||
s := proto.Size(x.TranslationDatasetMetadata)
|
||||
n += 2 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Dataset_ImageClassificationDatasetMetadata:
|
||||
s := proto.Size(x.ImageClassificationDatasetMetadata)
|
||||
n += 2 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Dataset_TextClassificationDatasetMetadata:
|
||||
s := proto.Size(x.TextClassificationDatasetMetadata)
|
||||
n += 2 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Dataset)(nil), "google.cloud.automl.v1beta1.Dataset")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/dataset.proto", fileDescriptor_dataset_a8678ffeb33098d6)
|
||||
}
|
||||
|
||||
var fileDescriptor_dataset_a8678ffeb33098d6 = []byte{
|
||||
// 428 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5d, 0x6b, 0x14, 0x31,
|
||||
0x14, 0x86, 0x1d, 0xa9, 0x8a, 0xd9, 0x2a, 0x12, 0x10, 0xc7, 0xb1, 0xd0, 0x6d, 0xfd, 0x5a, 0x41,
|
||||
0x13, 0xaa, 0x82, 0x17, 0x05, 0xc5, 0xd6, 0x0b, 0xbd, 0x50, 0x64, 0xe9, 0x95, 0x37, 0xe1, 0xec,
|
||||
0x6c, 0x76, 0x08, 0xe4, 0x63, 0xd8, 0x9c, 0x91, 0x2d, 0xfe, 0x0a, 0xc1, 0xdf, 0xe7, 0x6f, 0x91,
|
||||
0x49, 0x32, 0xd4, 0xaf, 0xcd, 0xdc, 0x25, 0xe7, 0x3c, 0x79, 0xf3, 0x9e, 0x97, 0x43, 0x9e, 0x34,
|
||||
0xce, 0x35, 0x5a, 0xf2, 0x5a, 0xbb, 0x6e, 0xc9, 0xa1, 0x43, 0x67, 0x34, 0xff, 0x7a, 0xb4, 0x90,
|
||||
0x08, 0x47, 0x7c, 0x09, 0x08, 0x5e, 0x22, 0x6b, 0xd7, 0x0e, 0x1d, 0xbd, 0x17, 0x51, 0x16, 0x50,
|
||||
0x16, 0x51, 0x96, 0xd0, 0x6a, 0x2f, 0xe9, 0x40, 0xab, 0x38, 0x58, 0xeb, 0x10, 0x50, 0x39, 0xeb,
|
||||
0xe3, 0xd3, 0xea, 0x65, 0xee, 0x97, 0x0b, 0x5c, 0xb4, 0x70, 0xae, 0x1d, 0x2c, 0xd3, 0xab, 0xa7,
|
||||
0x63, 0xde, 0x84, 0x42, 0x69, 0x86, 0x3f, 0x1e, 0xe7, 0x68, 0x65, 0xa0, 0x91, 0x09, 0x7c, 0x94,
|
||||
0x03, 0x51, 0x6e, 0xd2, 0xbc, 0xd5, 0xb3, 0x2c, 0xb7, 0x06, 0xeb, 0x75, 0x70, 0x9d, 0xf0, 0xfd,
|
||||
0x84, 0x87, 0xdb, 0xa2, 0x5b, 0x71, 0x54, 0x46, 0x7a, 0x04, 0xd3, 0x46, 0xe0, 0xf0, 0xe7, 0x0e,
|
||||
0xb9, 0xf6, 0x2e, 0x26, 0x4a, 0xbf, 0x91, 0xbd, 0xdf, 0x14, 0x44, 0x0a, 0x5a, 0x18, 0x89, 0xd0,
|
||||
0x9f, 0xcb, 0x3b, 0xd3, 0x62, 0x36, 0x79, 0xfe, 0x8a, 0x65, 0x22, 0x67, 0x67, 0x17, 0x02, 0x49,
|
||||
0xf6, 0x63, 0x7a, 0xfe, 0xfe, 0xd2, 0xbc, 0xc2, 0xad, 0x5d, 0xfa, 0xa3, 0x20, 0x0f, 0x43, 0x20,
|
||||
0xa2, 0xd6, 0xe0, 0xbd, 0x5a, 0xa9, 0x7a, 0x8b, 0x8d, 0x32, 0xd8, 0x78, 0x93, 0xb5, 0xf1, 0xa1,
|
||||
0x57, 0x3a, 0xfd, 0x43, 0xe8, 0x5f, 0x3b, 0x87, 0x6a, 0x94, 0xa2, 0xdf, 0x0b, 0xf2, 0xa0, 0x8f,
|
||||
0x7f, 0xd4, 0xd5, 0xdd, 0xe0, 0xea, 0x75, 0x3e, 0x1c, 0xb9, 0xc1, 0x31, 0x53, 0x07, 0x38, 0x06,
|
||||
0x51, 0x4a, 0x76, 0x2c, 0x18, 0x59, 0x16, 0xd3, 0x62, 0x76, 0x7d, 0x1e, 0xce, 0xf4, 0x80, 0xec,
|
||||
0x2e, 0x95, 0x6f, 0x35, 0x9c, 0x8b, 0xd0, 0xbb, 0x1c, 0x7a, 0x93, 0x54, 0xfb, 0xd4, 0x23, 0xf7,
|
||||
0xc9, 0x0d, 0xb9, 0x01, 0xd3, 0x6a, 0x29, 0x6a, 0xd7, 0x59, 0x2c, 0x6f, 0x4f, 0x8b, 0xd9, 0x95,
|
||||
0xf9, 0x6e, 0x2a, 0x9e, 0xf6, 0x35, 0x7a, 0x4c, 0x26, 0xf5, 0x5a, 0x02, 0x4a, 0xd1, 0x6f, 0x4a,
|
||||
0x79, 0x33, 0x4c, 0x55, 0x0d, 0x53, 0x0d, 0x6b, 0xc4, 0xce, 0x86, 0x35, 0x9a, 0x93, 0x88, 0xf7,
|
||||
0x85, 0x13, 0x4a, 0x6e, 0xfd, 0x9d, 0xcb, 0xc9, 0x8a, 0xec, 0xd7, 0xce, 0xe4, 0x62, 0xf9, 0x5c,
|
||||
0x7c, 0x79, 0x9b, 0xda, 0x8d, 0xd3, 0x60, 0x1b, 0xe6, 0xd6, 0x0d, 0x6f, 0xa4, 0x0d, 0xbf, 0xf1,
|
||||
0xd8, 0x82, 0x56, 0xf9, 0xff, 0x2e, 0xfd, 0x71, 0xbc, 0x2e, 0xae, 0x06, 0xfa, 0xc5, 0xaf, 0x00,
|
||||
0x00, 0x00, 0xff, 0xff, 0x84, 0x83, 0x13, 0xa3, 0x3c, 0x04, 0x00, 0x00,
|
||||
}
|
171
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go
generated
vendored
Normal file
171
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go
generated
vendored
Normal file
@ -0,0 +1,171 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/image.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// Dataset metadata that is specific to image classification.
|
||||
type ImageClassificationDatasetMetadata struct {
|
||||
// Required.
|
||||
// Type of the classification problem.
|
||||
ClassificationType ClassificationType `protobuf:"varint,1,opt,name=classification_type,json=classificationType,proto3,enum=google.cloud.automl.v1beta1.ClassificationType" json:"classification_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ImageClassificationDatasetMetadata) Reset() { *m = ImageClassificationDatasetMetadata{} }
|
||||
func (m *ImageClassificationDatasetMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*ImageClassificationDatasetMetadata) ProtoMessage() {}
|
||||
func (*ImageClassificationDatasetMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_image_154474385dd5e971, []int{0}
|
||||
}
|
||||
func (m *ImageClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ImageClassificationDatasetMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ImageClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ImageClassificationDatasetMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ImageClassificationDatasetMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ImageClassificationDatasetMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *ImageClassificationDatasetMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_ImageClassificationDatasetMetadata.Size(m)
|
||||
}
|
||||
func (m *ImageClassificationDatasetMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ImageClassificationDatasetMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ImageClassificationDatasetMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *ImageClassificationDatasetMetadata) GetClassificationType() ClassificationType {
|
||||
if m != nil {
|
||||
return m.ClassificationType
|
||||
}
|
||||
return ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// Model metadata for image classification.
|
||||
type ImageClassificationModelMetadata struct {
|
||||
// Optional. The ID of the `base` model. If it is specified, the new model
|
||||
// will be created based on the `base` model. Otherwise, the new model will be
|
||||
// created from scratch. The `base` model is expected to be in the same
|
||||
// `project` and `location` as the new model to create.
|
||||
BaseModelId string `protobuf:"bytes,1,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"`
|
||||
// Required. The train budget of creating this model. The actual
|
||||
// `train_cost` will be equal or less than this value.
|
||||
TrainBudget int64 `protobuf:"varint,2,opt,name=train_budget,json=trainBudget,proto3" json:"train_budget,omitempty"`
|
||||
// Output only. The actual train cost of creating this model. If this
|
||||
// model is created from a `base` model, the train cost used to create the
|
||||
// `base` model are not included.
|
||||
TrainCost int64 `protobuf:"varint,3,opt,name=train_cost,json=trainCost,proto3" json:"train_cost,omitempty"`
|
||||
// Output only. The reason that this create model operation stopped,
|
||||
// e.g. BUDGET_REACHED, CONVERGED.
|
||||
StopReason string `protobuf:"bytes,5,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ImageClassificationModelMetadata) Reset() { *m = ImageClassificationModelMetadata{} }
|
||||
func (m *ImageClassificationModelMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*ImageClassificationModelMetadata) ProtoMessage() {}
|
||||
func (*ImageClassificationModelMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_image_154474385dd5e971, []int{1}
|
||||
}
|
||||
func (m *ImageClassificationModelMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ImageClassificationModelMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ImageClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ImageClassificationModelMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ImageClassificationModelMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ImageClassificationModelMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *ImageClassificationModelMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_ImageClassificationModelMetadata.Size(m)
|
||||
}
|
||||
func (m *ImageClassificationModelMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ImageClassificationModelMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ImageClassificationModelMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *ImageClassificationModelMetadata) GetBaseModelId() string {
|
||||
if m != nil {
|
||||
return m.BaseModelId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ImageClassificationModelMetadata) GetTrainBudget() int64 {
|
||||
if m != nil {
|
||||
return m.TrainBudget
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ImageClassificationModelMetadata) GetTrainCost() int64 {
|
||||
if m != nil {
|
||||
return m.TrainCost
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ImageClassificationModelMetadata) GetStopReason() string {
|
||||
if m != nil {
|
||||
return m.StopReason
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ImageClassificationDatasetMetadata)(nil), "google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata")
|
||||
proto.RegisterType((*ImageClassificationModelMetadata)(nil), "google.cloud.automl.v1beta1.ImageClassificationModelMetadata")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/image.proto", fileDescriptor_image_154474385dd5e971)
|
||||
}
|
||||
|
||||
var fileDescriptor_image_154474385dd5e971 = []byte{
|
||||
// 338 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x6a, 0xe3, 0x40,
|
||||
0x10, 0x86, 0xd1, 0x99, 0x3b, 0xf0, 0xfa, 0xee, 0x0a, 0xa5, 0x11, 0x4e, 0x82, 0x1d, 0x35, 0x71,
|
||||
0xa5, 0x8d, 0x93, 0x32, 0x55, 0xec, 0x34, 0x2e, 0x0c, 0x46, 0xa4, 0x4a, 0xa3, 0x8c, 0xa4, 0xf5,
|
||||
0xb2, 0x20, 0x69, 0x16, 0xed, 0x28, 0xe0, 0x17, 0xc8, 0xbb, 0xe4, 0x2d, 0x83, 0x66, 0x45, 0xc0,
|
||||
0xc4, 0xb8, 0xdc, 0x4f, 0xdf, 0x3f, 0xfb, 0x8f, 0x56, 0xdc, 0x6a, 0x44, 0x5d, 0x29, 0x59, 0x54,
|
||||
0xd8, 0x95, 0x12, 0x3a, 0xc2, 0xba, 0x92, 0xef, 0xcb, 0x5c, 0x11, 0x2c, 0xa5, 0xa9, 0x41, 0xab,
|
||||
0xc4, 0xb6, 0x48, 0x18, 0x5e, 0x7a, 0x31, 0x61, 0x31, 0xf1, 0x62, 0x32, 0x88, 0xd3, 0xab, 0x61,
|
||||
0x0a, 0x58, 0x23, 0xa1, 0x69, 0x90, 0x80, 0x0c, 0x36, 0xce, 0x47, 0xa7, 0x77, 0xe7, 0xee, 0x28,
|
||||
0x2a, 0x70, 0xce, 0xec, 0x4d, 0xc1, 0x91, 0x21, 0x31, 0x1b, 0x12, 0x7c, 0xca, 0xbb, 0xbd, 0x24,
|
||||
0x53, 0x2b, 0x47, 0x50, 0x5b, 0x2f, 0xc4, 0x1f, 0x81, 0x88, 0x37, 0x7d, 0xbb, 0xf5, 0x51, 0xfc,
|
||||
0x19, 0x08, 0x9c, 0xa2, 0xad, 0x22, 0x28, 0x81, 0x20, 0x7c, 0x13, 0x17, 0xc7, 0xf3, 0x33, 0x3a,
|
||||
0x58, 0x15, 0x05, 0xf3, 0x60, 0xf1, 0xff, 0x5e, 0x26, 0x67, 0x56, 0x4a, 0x8e, 0x07, 0xbf, 0x1c,
|
||||
0xac, 0x4a, 0xc3, 0xe2, 0x07, 0x8b, 0x3f, 0x03, 0x31, 0x3f, 0x51, 0x64, 0x8b, 0xa5, 0xaa, 0xbe,
|
||||
0x6b, 0xc4, 0xe2, 0x5f, 0x0e, 0x4e, 0x65, 0x75, 0x4f, 0x33, 0x53, 0x72, 0x81, 0x71, 0x3a, 0xe9,
|
||||
0x21, 0x9b, 0x9b, 0x32, 0xbc, 0x11, 0x7f, 0xa9, 0x05, 0xd3, 0x64, 0x79, 0x57, 0x6a, 0x45, 0xd1,
|
||||
0xaf, 0x79, 0xb0, 0x18, 0xa5, 0x13, 0x66, 0x2b, 0x46, 0xe1, 0xb5, 0x10, 0x5e, 0x29, 0xd0, 0x51,
|
||||
0x34, 0x62, 0x61, 0xcc, 0x64, 0x8d, 0x8e, 0xc2, 0x99, 0x98, 0x38, 0x42, 0x9b, 0xb5, 0x0a, 0x1c,
|
||||
0x36, 0xd1, 0x6f, 0xbe, 0x43, 0xf4, 0x28, 0x65, 0xb2, 0x6a, 0xc5, 0xac, 0xc0, 0xfa, 0xdc, 0xd6,
|
||||
0x2b, 0xc1, 0xbb, 0xec, 0xfa, 0x7f, 0xbc, 0x0b, 0x5e, 0x9f, 0x06, 0x55, 0x63, 0x05, 0x8d, 0x4e,
|
||||
0xb0, 0xd5, 0x52, 0xab, 0x86, 0x5f, 0x40, 0xfa, 0x4f, 0x60, 0x8d, 0x3b, 0xf9, 0xae, 0x8f, 0xfe,
|
||||
0x98, 0xff, 0x61, 0xfb, 0xe1, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xde, 0x9b, 0x5b, 0x1e, 0x68, 0x02,
|
||||
0x00, 0x00,
|
||||
}
|
371
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go
generated
vendored
Normal file
371
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go
generated
vendored
Normal file
@ -0,0 +1,371 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/io.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// Input configuration.
|
||||
type InputConfig struct {
|
||||
// Required. The source of the input.
|
||||
//
|
||||
// Types that are valid to be assigned to Source:
|
||||
// *InputConfig_GcsSource
|
||||
Source isInputConfig_Source `protobuf_oneof:"source"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *InputConfig) Reset() { *m = InputConfig{} }
|
||||
func (m *InputConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*InputConfig) ProtoMessage() {}
|
||||
func (*InputConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_io_30049c92fb799bce, []int{0}
|
||||
}
|
||||
func (m *InputConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_InputConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *InputConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_InputConfig.Merge(dst, src)
|
||||
}
|
||||
func (m *InputConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_InputConfig.Size(m)
|
||||
}
|
||||
func (m *InputConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_InputConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_InputConfig proto.InternalMessageInfo
|
||||
|
||||
type isInputConfig_Source interface {
|
||||
isInputConfig_Source()
|
||||
}
|
||||
|
||||
type InputConfig_GcsSource struct {
|
||||
GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*InputConfig_GcsSource) isInputConfig_Source() {}
|
||||
|
||||
func (m *InputConfig) GetSource() isInputConfig_Source {
|
||||
if m != nil {
|
||||
return m.Source
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *InputConfig) GetGcsSource() *GcsSource {
|
||||
if x, ok := m.GetSource().(*InputConfig_GcsSource); ok {
|
||||
return x.GcsSource
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*InputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _InputConfig_OneofMarshaler, _InputConfig_OneofUnmarshaler, _InputConfig_OneofSizer, []interface{}{
|
||||
(*InputConfig_GcsSource)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _InputConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*InputConfig)
|
||||
// source
|
||||
switch x := m.Source.(type) {
|
||||
case *InputConfig_GcsSource:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.GcsSource); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("InputConfig.Source has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _InputConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*InputConfig)
|
||||
switch tag {
|
||||
case 1: // source.gcs_source
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GcsSource)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Source = &InputConfig_GcsSource{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _InputConfig_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*InputConfig)
|
||||
// source
|
||||
switch x := m.Source.(type) {
|
||||
case *InputConfig_GcsSource:
|
||||
s := proto.Size(x.GcsSource)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Output configuration.
|
||||
type OutputConfig struct {
|
||||
// Required. The destination of the output.
|
||||
//
|
||||
// Types that are valid to be assigned to Destination:
|
||||
// *OutputConfig_GcsDestination
|
||||
Destination isOutputConfig_Destination `protobuf_oneof:"destination"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OutputConfig) Reset() { *m = OutputConfig{} }
|
||||
func (m *OutputConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*OutputConfig) ProtoMessage() {}
|
||||
func (*OutputConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_io_30049c92fb799bce, []int{1}
|
||||
}
|
||||
func (m *OutputConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OutputConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OutputConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *OutputConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OutputConfig.Merge(dst, src)
|
||||
}
|
||||
func (m *OutputConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_OutputConfig.Size(m)
|
||||
}
|
||||
func (m *OutputConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OutputConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OutputConfig proto.InternalMessageInfo
|
||||
|
||||
type isOutputConfig_Destination interface {
|
||||
isOutputConfig_Destination()
|
||||
}
|
||||
|
||||
type OutputConfig_GcsDestination struct {
|
||||
GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {}
|
||||
|
||||
func (m *OutputConfig) GetDestination() isOutputConfig_Destination {
|
||||
if m != nil {
|
||||
return m.Destination
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OutputConfig) GetGcsDestination() *GcsDestination {
|
||||
if x, ok := m.GetDestination().(*OutputConfig_GcsDestination); ok {
|
||||
return x.GcsDestination
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*OutputConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _OutputConfig_OneofMarshaler, _OutputConfig_OneofUnmarshaler, _OutputConfig_OneofSizer, []interface{}{
|
||||
(*OutputConfig_GcsDestination)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _OutputConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*OutputConfig)
|
||||
// destination
|
||||
switch x := m.Destination.(type) {
|
||||
case *OutputConfig_GcsDestination:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.GcsDestination); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("OutputConfig.Destination has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _OutputConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*OutputConfig)
|
||||
switch tag {
|
||||
case 1: // destination.gcs_destination
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GcsDestination)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Destination = &OutputConfig_GcsDestination{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _OutputConfig_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*OutputConfig)
|
||||
// destination
|
||||
switch x := m.Destination.(type) {
|
||||
case *OutputConfig_GcsDestination:
|
||||
s := proto.Size(x.GcsDestination)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// The GCS location for the input content.
|
||||
type GcsSource struct {
|
||||
// Required. Google Cloud Storage URIs to input files, up to 2000 characters
|
||||
// long. Accepted forms:
|
||||
// * Full object path: gs://bucket/directory/object.csv
|
||||
InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcsSource) Reset() { *m = GcsSource{} }
|
||||
func (m *GcsSource) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcsSource) ProtoMessage() {}
|
||||
func (*GcsSource) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_io_30049c92fb799bce, []int{2}
|
||||
}
|
||||
func (m *GcsSource) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcsSource.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcsSource) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcsSource.Merge(dst, src)
|
||||
}
|
||||
func (m *GcsSource) XXX_Size() int {
|
||||
return xxx_messageInfo_GcsSource.Size(m)
|
||||
}
|
||||
func (m *GcsSource) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcsSource.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcsSource proto.InternalMessageInfo
|
||||
|
||||
func (m *GcsSource) GetInputUris() []string {
|
||||
if m != nil {
|
||||
return m.InputUris
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The GCS location where the output must be written to
|
||||
type GcsDestination struct {
|
||||
// Required. Google Cloud Storage URI to output directory, up to 2000
|
||||
// characters long.
|
||||
// Accepted forms:
|
||||
// * Prefix path: gs://bucket/directory
|
||||
// The requesting user must have write permission to the bucket.
|
||||
// The directory is created if it doesn't exist.
|
||||
OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GcsDestination) Reset() { *m = GcsDestination{} }
|
||||
func (m *GcsDestination) String() string { return proto.CompactTextString(m) }
|
||||
func (*GcsDestination) ProtoMessage() {}
|
||||
func (*GcsDestination) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_io_30049c92fb799bce, []int{3}
|
||||
}
|
||||
func (m *GcsDestination) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GcsDestination.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GcsDestination.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GcsDestination) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GcsDestination.Merge(dst, src)
|
||||
}
|
||||
func (m *GcsDestination) XXX_Size() int {
|
||||
return xxx_messageInfo_GcsDestination.Size(m)
|
||||
}
|
||||
func (m *GcsDestination) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GcsDestination.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GcsDestination proto.InternalMessageInfo
|
||||
|
||||
func (m *GcsDestination) GetOutputUriPrefix() string {
|
||||
if m != nil {
|
||||
return m.OutputUriPrefix
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*InputConfig)(nil), "google.cloud.automl.v1beta1.InputConfig")
|
||||
proto.RegisterType((*OutputConfig)(nil), "google.cloud.automl.v1beta1.OutputConfig")
|
||||
proto.RegisterType((*GcsSource)(nil), "google.cloud.automl.v1beta1.GcsSource")
|
||||
proto.RegisterType((*GcsDestination)(nil), "google.cloud.automl.v1beta1.GcsDestination")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/io.proto", fileDescriptor_io_30049c92fb799bce)
|
||||
}
|
||||
|
||||
var fileDescriptor_io_30049c92fb799bce = []byte{
|
||||
// 300 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x4b, 0x4b, 0x03, 0x31,
|
||||
0x10, 0xc7, 0xbb, 0x08, 0xc5, 0x9d, 0x6a, 0x8b, 0x7b, 0x2a, 0x3e, 0xb0, 0x2c, 0x22, 0xa5, 0x42,
|
||||
0x42, 0xf5, 0xa8, 0x17, 0xab, 0xd0, 0x7a, 0xb2, 0xac, 0xd4, 0x83, 0x97, 0x9a, 0x6e, 0xd3, 0x10,
|
||||
0xd8, 0x66, 0x96, 0x3c, 0xc4, 0x8f, 0x2f, 0x9b, 0xac, 0xd6, 0x82, 0xd4, 0x63, 0x66, 0x7e, 0xff,
|
||||
0x47, 0x18, 0xb8, 0x10, 0x88, 0xa2, 0xe0, 0x34, 0x2f, 0xd0, 0x2d, 0x29, 0x73, 0x16, 0xd7, 0x05,
|
||||
0xfd, 0x18, 0x2e, 0xb8, 0x65, 0x43, 0x2a, 0x91, 0x94, 0x1a, 0x2d, 0x26, 0x27, 0x81, 0x22, 0x9e,
|
||||
0x22, 0x81, 0x22, 0x35, 0x75, 0x7c, 0x5a, 0x5b, 0xb0, 0x52, 0x52, 0xa6, 0x14, 0x5a, 0x66, 0x25,
|
||||
0x2a, 0x13, 0xa4, 0xe9, 0x3b, 0xb4, 0x9e, 0x54, 0xe9, 0xec, 0x03, 0xaa, 0x95, 0x14, 0xc9, 0x18,
|
||||
0x40, 0xe4, 0x66, 0x6e, 0xd0, 0xe9, 0x9c, 0x77, 0xa3, 0x5e, 0xd4, 0x6f, 0x5d, 0x5f, 0x92, 0x1d,
|
||||
0xf6, 0x64, 0x9c, 0x9b, 0x17, 0x4f, 0x4f, 0x1a, 0x59, 0x2c, 0xbe, 0x1f, 0xa3, 0x7d, 0x68, 0x06,
|
||||
0x93, 0xd4, 0xc1, 0xc1, 0xb3, 0xb3, 0x9b, 0x88, 0x57, 0xe8, 0x54, 0x11, 0x4b, 0x6e, 0xac, 0x54,
|
||||
0xbe, 0x4b, 0x9d, 0x73, 0xf5, 0x5f, 0xce, 0xe3, 0x46, 0x32, 0x69, 0x64, 0x6d, 0xb1, 0x35, 0x19,
|
||||
0x1d, 0x42, 0xeb, 0x97, 0x67, 0x3a, 0x80, 0xf8, 0xa7, 0x5a, 0x72, 0x06, 0x20, 0xab, 0x5f, 0xce,
|
||||
0x9d, 0x96, 0xa6, 0x1b, 0xf5, 0xf6, 0xfa, 0x71, 0x16, 0xfb, 0xc9, 0x4c, 0x4b, 0x93, 0xde, 0x41,
|
||||
0x7b, 0xdb, 0x3e, 0x19, 0xc0, 0x11, 0xfa, 0xd2, 0x95, 0x62, 0x5e, 0x6a, 0xbe, 0x92, 0x9f, 0xbe,
|
||||
0x66, 0x9c, 0x75, 0xc2, 0x62, 0xa6, 0xe5, 0xd4, 0x8f, 0x47, 0x2b, 0x38, 0xcf, 0x71, 0xbd, 0xab,
|
||||
0xfc, 0x34, 0x7a, 0xbb, 0xaf, 0xd7, 0x02, 0x0b, 0xa6, 0x04, 0x41, 0x2d, 0xa8, 0xe0, 0xca, 0xdf,
|
||||
0x80, 0x86, 0x15, 0x2b, 0xa5, 0xf9, 0xf3, 0xce, 0xb7, 0xe1, 0xb9, 0x68, 0x7a, 0xfa, 0xe6, 0x2b,
|
||||
0x00, 0x00, 0xff, 0xff, 0xe3, 0x87, 0x4d, 0x64, 0x14, 0x02, 0x00, 0x00,
|
||||
}
|
343
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go
generated
vendored
Normal file
343
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go
generated
vendored
Normal file
@ -0,0 +1,343 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/model.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
// Deployment state of the model.
|
||||
type Model_DeploymentState int32
|
||||
|
||||
const (
|
||||
// Should not be used, an un-set enum has this value by default.
|
||||
Model_DEPLOYMENT_STATE_UNSPECIFIED Model_DeploymentState = 0
|
||||
// Model is deployed.
|
||||
Model_DEPLOYED Model_DeploymentState = 1
|
||||
// Model is not deployed.
|
||||
Model_UNDEPLOYED Model_DeploymentState = 2
|
||||
)
|
||||
|
||||
var Model_DeploymentState_name = map[int32]string{
|
||||
0: "DEPLOYMENT_STATE_UNSPECIFIED",
|
||||
1: "DEPLOYED",
|
||||
2: "UNDEPLOYED",
|
||||
}
|
||||
var Model_DeploymentState_value = map[string]int32{
|
||||
"DEPLOYMENT_STATE_UNSPECIFIED": 0,
|
||||
"DEPLOYED": 1,
|
||||
"UNDEPLOYED": 2,
|
||||
}
|
||||
|
||||
func (x Model_DeploymentState) String() string {
|
||||
return proto.EnumName(Model_DeploymentState_name, int32(x))
|
||||
}
|
||||
func (Model_DeploymentState) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_model_2836c0ea5c1ddbd5, []int{0, 0}
|
||||
}
|
||||
|
||||
// API proto representing a trained machine learning model.
|
||||
type Model struct {
|
||||
// Required.
|
||||
// The model metadata that is specific to the problem type.
|
||||
// Must match the metadata type of the dataset used to train the model.
|
||||
//
|
||||
// Types that are valid to be assigned to ModelMetadata:
|
||||
// *Model_ImageClassificationModelMetadata
|
||||
// *Model_TextClassificationModelMetadata
|
||||
// *Model_TranslationModelMetadata
|
||||
ModelMetadata isModel_ModelMetadata `protobuf_oneof:"model_metadata"`
|
||||
// Output only.
|
||||
// Resource name of the model.
|
||||
// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Required. The name of the model to show in the interface. The name can be
|
||||
// up to 32 characters
|
||||
// long and can consist only of ASCII Latin letters A-Z and a-z, underscores
|
||||
// (_), and ASCII digits 0-9.
|
||||
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
// Required.
|
||||
// The resource ID of the dataset used to create the model. The dataset must
|
||||
// come from the
|
||||
// same ancestor project and location.
|
||||
DatasetId string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
|
||||
// Output only.
|
||||
// Timestamp when this model was created.
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// Output only.
|
||||
// Timestamp when this model was last updated.
|
||||
UpdateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
||||
// Output only. Deployment state of the model.
|
||||
DeploymentState Model_DeploymentState `protobuf:"varint,8,opt,name=deployment_state,json=deploymentState,proto3,enum=google.cloud.automl.v1beta1.Model_DeploymentState" json:"deployment_state,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Model) Reset() { *m = Model{} }
|
||||
func (m *Model) String() string { return proto.CompactTextString(m) }
|
||||
func (*Model) ProtoMessage() {}
|
||||
func (*Model) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_model_2836c0ea5c1ddbd5, []int{0}
|
||||
}
|
||||
func (m *Model) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Model.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Model.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Model) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Model.Merge(dst, src)
|
||||
}
|
||||
func (m *Model) XXX_Size() int {
|
||||
return xxx_messageInfo_Model.Size(m)
|
||||
}
|
||||
func (m *Model) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Model.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Model proto.InternalMessageInfo
|
||||
|
||||
type isModel_ModelMetadata interface {
|
||||
isModel_ModelMetadata()
|
||||
}
|
||||
|
||||
type Model_ImageClassificationModelMetadata struct {
|
||||
ImageClassificationModelMetadata *ImageClassificationModelMetadata `protobuf:"bytes,13,opt,name=image_classification_model_metadata,json=imageClassificationModelMetadata,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Model_TextClassificationModelMetadata struct {
|
||||
TextClassificationModelMetadata *TextClassificationModelMetadata `protobuf:"bytes,14,opt,name=text_classification_model_metadata,json=textClassificationModelMetadata,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Model_TranslationModelMetadata struct {
|
||||
TranslationModelMetadata *TranslationModelMetadata `protobuf:"bytes,15,opt,name=translation_model_metadata,json=translationModelMetadata,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Model_ImageClassificationModelMetadata) isModel_ModelMetadata() {}
|
||||
|
||||
func (*Model_TextClassificationModelMetadata) isModel_ModelMetadata() {}
|
||||
|
||||
func (*Model_TranslationModelMetadata) isModel_ModelMetadata() {}
|
||||
|
||||
func (m *Model) GetModelMetadata() isModel_ModelMetadata {
|
||||
if m != nil {
|
||||
return m.ModelMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Model) GetImageClassificationModelMetadata() *ImageClassificationModelMetadata {
|
||||
if x, ok := m.GetModelMetadata().(*Model_ImageClassificationModelMetadata); ok {
|
||||
return x.ImageClassificationModelMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Model) GetTextClassificationModelMetadata() *TextClassificationModelMetadata {
|
||||
if x, ok := m.GetModelMetadata().(*Model_TextClassificationModelMetadata); ok {
|
||||
return x.TextClassificationModelMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Model) GetTranslationModelMetadata() *TranslationModelMetadata {
|
||||
if x, ok := m.GetModelMetadata().(*Model_TranslationModelMetadata); ok {
|
||||
return x.TranslationModelMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Model) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Model) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Model) GetDatasetId() string {
|
||||
if m != nil {
|
||||
return m.DatasetId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Model) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Model) GetUpdateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.UpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Model) GetDeploymentState() Model_DeploymentState {
|
||||
if m != nil {
|
||||
return m.DeploymentState
|
||||
}
|
||||
return Model_DEPLOYMENT_STATE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Model) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Model_OneofMarshaler, _Model_OneofUnmarshaler, _Model_OneofSizer, []interface{}{
|
||||
(*Model_ImageClassificationModelMetadata)(nil),
|
||||
(*Model_TextClassificationModelMetadata)(nil),
|
||||
(*Model_TranslationModelMetadata)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Model_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Model)
|
||||
// model_metadata
|
||||
switch x := m.ModelMetadata.(type) {
|
||||
case *Model_ImageClassificationModelMetadata:
|
||||
b.EncodeVarint(13<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ImageClassificationModelMetadata); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Model_TextClassificationModelMetadata:
|
||||
b.EncodeVarint(14<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.TextClassificationModelMetadata); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Model_TranslationModelMetadata:
|
||||
b.EncodeVarint(15<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.TranslationModelMetadata); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Model.ModelMetadata has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Model_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Model)
|
||||
switch tag {
|
||||
case 13: // model_metadata.image_classification_model_metadata
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ImageClassificationModelMetadata)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ModelMetadata = &Model_ImageClassificationModelMetadata{msg}
|
||||
return true, err
|
||||
case 14: // model_metadata.text_classification_model_metadata
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(TextClassificationModelMetadata)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ModelMetadata = &Model_TextClassificationModelMetadata{msg}
|
||||
return true, err
|
||||
case 15: // model_metadata.translation_model_metadata
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(TranslationModelMetadata)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ModelMetadata = &Model_TranslationModelMetadata{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Model_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Model)
|
||||
// model_metadata
|
||||
switch x := m.ModelMetadata.(type) {
|
||||
case *Model_ImageClassificationModelMetadata:
|
||||
s := proto.Size(x.ImageClassificationModelMetadata)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Model_TextClassificationModelMetadata:
|
||||
s := proto.Size(x.TextClassificationModelMetadata)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Model_TranslationModelMetadata:
|
||||
s := proto.Size(x.TranslationModelMetadata)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Model)(nil), "google.cloud.automl.v1beta1.Model")
|
||||
proto.RegisterEnum("google.cloud.automl.v1beta1.Model_DeploymentState", Model_DeploymentState_name, Model_DeploymentState_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/model.proto", fileDescriptor_model_2836c0ea5c1ddbd5)
|
||||
}
|
||||
|
||||
var fileDescriptor_model_2836c0ea5c1ddbd5 = []byte{
|
||||
// 501 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xd1, 0x6e, 0xd3, 0x30,
|
||||
0x14, 0x86, 0x97, 0x01, 0x63, 0x3b, 0x1d, 0x6d, 0xe5, 0xab, 0xa8, 0x0c, 0x35, 0x14, 0x09, 0x7a,
|
||||
0x43, 0xa2, 0x15, 0x71, 0x35, 0xb8, 0xd8, 0xd6, 0x20, 0x2a, 0xd1, 0x52, 0xda, 0xec, 0x02, 0x24,
|
||||
0x14, 0xb9, 0x89, 0x1b, 0x59, 0x4a, 0xe2, 0xa8, 0x39, 0x41, 0xdb, 0x33, 0x20, 0xf1, 0x2e, 0xbc,
|
||||
0x21, 0x8a, 0xed, 0x16, 0x5a, 0x31, 0xf7, 0xae, 0x3e, 0xe7, 0xfb, 0x8f, 0x7f, 0xff, 0x3d, 0x81,
|
||||
0x57, 0x89, 0x10, 0x49, 0xca, 0xbc, 0x28, 0x15, 0x55, 0xec, 0xd1, 0x0a, 0x45, 0x96, 0x7a, 0x3f,
|
||||
0xce, 0x17, 0x0c, 0xe9, 0xb9, 0x97, 0x89, 0x98, 0xa5, 0x6e, 0xb1, 0x12, 0x28, 0xc8, 0x53, 0x05,
|
||||
0xba, 0x12, 0x74, 0x15, 0xe8, 0x6a, 0xb0, 0x73, 0xa6, 0xa7, 0xd0, 0x82, 0x7b, 0x34, 0xcf, 0x05,
|
||||
0x52, 0xe4, 0x22, 0x2f, 0x95, 0xb4, 0x63, 0xbc, 0x83, 0x67, 0x34, 0x61, 0x1a, 0x7c, 0x69, 0x02,
|
||||
0x91, 0xdd, 0xa2, 0xe6, 0x5e, 0x1b, 0xb9, 0x15, 0xcd, 0xcb, 0x54, 0x1a, 0xd0, 0x78, 0x57, 0xe3,
|
||||
0xf2, 0xb4, 0xa8, 0x96, 0x1e, 0xf2, 0x8c, 0x95, 0x48, 0xb3, 0x42, 0x01, 0xbd, 0xdf, 0x47, 0xf0,
|
||||
0x68, 0x5c, 0xbf, 0x95, 0xfc, 0xb2, 0xe0, 0x85, 0x74, 0x14, 0x46, 0x29, 0x2d, 0x4b, 0xbe, 0xe4,
|
||||
0x91, 0x9c, 0x14, 0xca, 0x28, 0xc2, 0x8c, 0x21, 0x8d, 0x29, 0x52, 0xfb, 0x89, 0x63, 0xf5, 0x1b,
|
||||
0x83, 0xf7, 0xae, 0x21, 0x14, 0x77, 0x54, 0xcf, 0xb9, 0xde, 0x1a, 0x23, 0x2f, 0x19, 0xeb, 0x21,
|
||||
0x1f, 0x0f, 0x66, 0x0e, 0xdf, 0xc3, 0x90, 0x9f, 0x16, 0xf4, 0xea, 0x97, 0xef, 0xf1, 0xd3, 0x94,
|
||||
0x7e, 0xde, 0x19, 0xfd, 0x04, 0xec, 0x16, 0xcd, 0x76, 0xba, 0x68, 0x46, 0x48, 0x05, 0x9d, 0x7f,
|
||||
0xe2, 0xdd, 0x35, 0xd1, 0x92, 0x26, 0xde, 0x9a, 0x4d, 0xfc, 0x95, 0xef, 0xde, 0x6e, 0xe3, 0x3d,
|
||||
0x3d, 0x42, 0xe0, 0x61, 0x4e, 0x33, 0x66, 0x5b, 0x8e, 0xd5, 0x3f, 0x99, 0xc9, 0xdf, 0xe4, 0x39,
|
||||
0x9c, 0xc6, 0xbc, 0x2c, 0x52, 0x7a, 0x17, 0xca, 0xde, 0xa1, 0xec, 0x35, 0x74, 0x6d, 0x52, 0x23,
|
||||
0xcf, 0x00, 0x6a, 0x79, 0xc9, 0x30, 0xe4, 0xb1, 0xfd, 0x40, 0x02, 0x27, 0xba, 0x32, 0x8a, 0xc9,
|
||||
0x05, 0x34, 0xa2, 0x15, 0xa3, 0xc8, 0xc2, 0x7a, 0x1f, 0xec, 0xc7, 0xd2, 0x7d, 0x67, 0xed, 0x7e,
|
||||
0xbd, 0x2c, 0x6e, 0xb0, 0x5e, 0x96, 0x19, 0x28, 0xbc, 0x2e, 0xd4, 0xe2, 0xaa, 0x88, 0x37, 0xe2,
|
||||
0xc6, 0x7e, 0xb1, 0xc2, 0xa5, 0xf8, 0x3b, 0xb4, 0x63, 0x56, 0xa4, 0xe2, 0x2e, 0x63, 0x39, 0x86,
|
||||
0x25, 0x52, 0x64, 0xf6, 0xb1, 0x63, 0xf5, 0x9b, 0x83, 0x81, 0x31, 0x3c, 0x99, 0x8a, 0x3b, 0xdc,
|
||||
0x48, 0xe7, 0xb5, 0x72, 0xd6, 0x8a, 0xb7, 0x0b, 0xbd, 0x2f, 0xd0, 0xda, 0x61, 0x88, 0x03, 0x67,
|
||||
0x43, 0x7f, 0xfa, 0xe9, 0xf3, 0xd7, 0xb1, 0x3f, 0x09, 0xc2, 0x79, 0x70, 0x19, 0xf8, 0xe1, 0xcd,
|
||||
0x64, 0x3e, 0xf5, 0xaf, 0x47, 0x1f, 0x46, 0xfe, 0xb0, 0x7d, 0x40, 0x4e, 0xe1, 0x58, 0x11, 0xfe,
|
||||
0xb0, 0x6d, 0x91, 0x26, 0xc0, 0xcd, 0x64, 0x73, 0x3e, 0xbc, 0x6a, 0x43, 0x73, 0xfb, 0xcf, 0xbe,
|
||||
0x5a, 0x42, 0x37, 0x12, 0x99, 0xc9, 0xee, 0xd4, 0xfa, 0x76, 0xa9, 0xdb, 0x89, 0x48, 0x69, 0x9e,
|
||||
0xb8, 0x62, 0x95, 0x78, 0x09, 0xcb, 0x65, 0x3a, 0x9e, 0x6a, 0xd1, 0x82, 0x97, 0xff, 0xfd, 0x8e,
|
||||
0x2f, 0xd4, 0x71, 0x71, 0x24, 0xe9, 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x10, 0xe2,
|
||||
0xaa, 0xa9, 0x04, 0x00, 0x00,
|
||||
}
|
252
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go
generated
vendored
Normal file
252
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go
generated
vendored
Normal file
@ -0,0 +1,252 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/model_evaluation.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
// Evaluation results of a model.
|
||||
type ModelEvaluation struct {
|
||||
// Output only. Problem type specific evaluation metrics.
|
||||
//
|
||||
// Types that are valid to be assigned to Metrics:
|
||||
// *ModelEvaluation_ClassificationEvaluationMetrics
|
||||
// *ModelEvaluation_TranslationEvaluationMetrics
|
||||
Metrics isModelEvaluation_Metrics `protobuf_oneof:"metrics"`
|
||||
// Output only.
|
||||
// Resource name of the model evaluation.
|
||||
// Format:
|
||||
//
|
||||
// `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Output only.
|
||||
// The ID of the annotation spec that the model evaluation applies to. The
|
||||
// ID is empty for overall model evaluation.
|
||||
// NOTE: Currently there is no way to obtain the display_name of the
|
||||
// annotation spec from its ID. To see the display_names, review the model
|
||||
// evaluations in the UI.
|
||||
AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
|
||||
// Output only.
|
||||
// Timestamp when this model evaluation was created.
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// Output only. The number of examples used for model evaluation.
|
||||
EvaluatedExampleCount int32 `protobuf:"varint,6,opt,name=evaluated_example_count,json=evaluatedExampleCount,proto3" json:"evaluated_example_count,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ModelEvaluation) Reset() { *m = ModelEvaluation{} }
|
||||
func (m *ModelEvaluation) String() string { return proto.CompactTextString(m) }
|
||||
func (*ModelEvaluation) ProtoMessage() {}
|
||||
func (*ModelEvaluation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_model_evaluation_77eb85cbfb723c98, []int{0}
|
||||
}
|
||||
func (m *ModelEvaluation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ModelEvaluation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ModelEvaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ModelEvaluation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ModelEvaluation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ModelEvaluation.Merge(dst, src)
|
||||
}
|
||||
func (m *ModelEvaluation) XXX_Size() int {
|
||||
return xxx_messageInfo_ModelEvaluation.Size(m)
|
||||
}
|
||||
func (m *ModelEvaluation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ModelEvaluation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ModelEvaluation proto.InternalMessageInfo
|
||||
|
||||
type isModelEvaluation_Metrics interface {
|
||||
isModelEvaluation_Metrics()
|
||||
}
|
||||
|
||||
type ModelEvaluation_ClassificationEvaluationMetrics struct {
|
||||
ClassificationEvaluationMetrics *ClassificationEvaluationMetrics `protobuf:"bytes,8,opt,name=classification_evaluation_metrics,json=classificationEvaluationMetrics,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ModelEvaluation_TranslationEvaluationMetrics struct {
|
||||
TranslationEvaluationMetrics *TranslationEvaluationMetrics `protobuf:"bytes,9,opt,name=translation_evaluation_metrics,json=translationEvaluationMetrics,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ModelEvaluation_ClassificationEvaluationMetrics) isModelEvaluation_Metrics() {}
|
||||
|
||||
func (*ModelEvaluation_TranslationEvaluationMetrics) isModelEvaluation_Metrics() {}
|
||||
|
||||
func (m *ModelEvaluation) GetMetrics() isModelEvaluation_Metrics {
|
||||
if m != nil {
|
||||
return m.Metrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ModelEvaluation) GetClassificationEvaluationMetrics() *ClassificationEvaluationMetrics {
|
||||
if x, ok := m.GetMetrics().(*ModelEvaluation_ClassificationEvaluationMetrics); ok {
|
||||
return x.ClassificationEvaluationMetrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ModelEvaluation) GetTranslationEvaluationMetrics() *TranslationEvaluationMetrics {
|
||||
if x, ok := m.GetMetrics().(*ModelEvaluation_TranslationEvaluationMetrics); ok {
|
||||
return x.TranslationEvaluationMetrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ModelEvaluation) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ModelEvaluation) GetAnnotationSpecId() string {
|
||||
if m != nil {
|
||||
return m.AnnotationSpecId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ModelEvaluation) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ModelEvaluation) GetEvaluatedExampleCount() int32 {
|
||||
if m != nil {
|
||||
return m.EvaluatedExampleCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*ModelEvaluation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _ModelEvaluation_OneofMarshaler, _ModelEvaluation_OneofUnmarshaler, _ModelEvaluation_OneofSizer, []interface{}{
|
||||
(*ModelEvaluation_ClassificationEvaluationMetrics)(nil),
|
||||
(*ModelEvaluation_TranslationEvaluationMetrics)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _ModelEvaluation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*ModelEvaluation)
|
||||
// metrics
|
||||
switch x := m.Metrics.(type) {
|
||||
case *ModelEvaluation_ClassificationEvaluationMetrics:
|
||||
b.EncodeVarint(8<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ClassificationEvaluationMetrics); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ModelEvaluation_TranslationEvaluationMetrics:
|
||||
b.EncodeVarint(9<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.TranslationEvaluationMetrics); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("ModelEvaluation.Metrics has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _ModelEvaluation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*ModelEvaluation)
|
||||
switch tag {
|
||||
case 8: // metrics.classification_evaluation_metrics
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ClassificationEvaluationMetrics)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Metrics = &ModelEvaluation_ClassificationEvaluationMetrics{msg}
|
||||
return true, err
|
||||
case 9: // metrics.translation_evaluation_metrics
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(TranslationEvaluationMetrics)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Metrics = &ModelEvaluation_TranslationEvaluationMetrics{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _ModelEvaluation_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*ModelEvaluation)
|
||||
// metrics
|
||||
switch x := m.Metrics.(type) {
|
||||
case *ModelEvaluation_ClassificationEvaluationMetrics:
|
||||
s := proto.Size(x.ClassificationEvaluationMetrics)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ModelEvaluation_TranslationEvaluationMetrics:
|
||||
s := proto.Size(x.TranslationEvaluationMetrics)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ModelEvaluation)(nil), "google.cloud.automl.v1beta1.ModelEvaluation")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/model_evaluation.proto", fileDescriptor_model_evaluation_77eb85cbfb723c98)
|
||||
}
|
||||
|
||||
var fileDescriptor_model_evaluation_77eb85cbfb723c98 = []byte{
|
||||
// 388 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4f, 0x6b, 0xdb, 0x30,
|
||||
0x1c, 0x9d, 0xb7, 0x25, 0x5b, 0x94, 0xc3, 0x86, 0x60, 0xcc, 0x78, 0x61, 0xc9, 0x76, 0xca, 0x61,
|
||||
0x93, 0x96, 0x0c, 0x06, 0x23, 0xbd, 0x34, 0x21, 0xd0, 0x1e, 0x02, 0xc5, 0xcd, 0xa9, 0x17, 0xa3,
|
||||
0xc8, 0x8a, 0x11, 0xe8, 0x8f, 0xb1, 0xe4, 0xd0, 0x6b, 0xaf, 0xfd, 0x9c, 0xfd, 0x20, 0xc5, 0x92,
|
||||
0x13, 0x3b, 0x10, 0x7c, 0xb3, 0xfc, 0xde, 0xfb, 0xfd, 0xde, 0xd3, 0x13, 0x98, 0x67, 0x5a, 0x67,
|
||||
0x82, 0x61, 0x2a, 0x74, 0x99, 0x62, 0x52, 0x5a, 0x2d, 0x05, 0x3e, 0xcc, 0x76, 0xcc, 0x92, 0x19,
|
||||
0x96, 0x3a, 0x65, 0x22, 0x61, 0x07, 0x22, 0x4a, 0x62, 0xb9, 0x56, 0x28, 0x2f, 0xb4, 0xd5, 0xf0,
|
||||
0x9b, 0xd7, 0x20, 0xa7, 0x41, 0x5e, 0x83, 0x6a, 0x4d, 0x34, 0xaa, 0x07, 0x92, 0x9c, 0x63, 0xa2,
|
||||
0x94, 0xb6, 0x4e, 0x69, 0xbc, 0x34, 0xfa, 0xd3, 0xb5, 0x8e, 0x0a, 0x62, 0x0c, 0xdf, 0x73, 0xda,
|
||||
0x5a, 0x16, 0xfd, 0xee, 0x52, 0xd8, 0x82, 0x28, 0x23, 0xda, 0xf4, 0x71, 0x4d, 0x77, 0xa7, 0x5d,
|
||||
0xb9, 0xc7, 0x96, 0x4b, 0x66, 0x2c, 0x91, 0xb9, 0x27, 0xfc, 0x7c, 0x79, 0x07, 0x3e, 0x6d, 0xaa,
|
||||
0x5c, 0xeb, 0x53, 0x2c, 0xf8, 0x1c, 0x80, 0x1f, 0xe7, 0xcb, 0x5b, 0xa1, 0x13, 0xc9, 0x6c, 0xc1,
|
||||
0xa9, 0x09, 0x3f, 0x4e, 0x82, 0xe9, 0x70, 0x7e, 0x85, 0x3a, 0xd2, 0xa3, 0xd5, 0xd9, 0x94, 0x66,
|
||||
0xc5, 0xc6, 0xcf, 0xb8, 0x79, 0x13, 0x8f, 0x69, 0x37, 0x05, 0x3e, 0x05, 0xe0, 0x7b, 0x2b, 0xd7,
|
||||
0x25, 0x27, 0x03, 0xe7, 0xe4, 0x7f, 0xa7, 0x93, 0x6d, 0x33, 0xe2, 0x92, 0x8d, 0x91, 0xed, 0xc0,
|
||||
0x21, 0x04, 0xef, 0x15, 0x91, 0x2c, 0x0c, 0x26, 0xc1, 0x74, 0x10, 0xbb, 0x6f, 0xf8, 0x0b, 0xc0,
|
||||
0xa6, 0xcf, 0xc4, 0xe4, 0x8c, 0x26, 0x3c, 0x0d, 0xdf, 0x3a, 0xc6, 0xe7, 0x06, 0xb9, 0xcf, 0x19,
|
||||
0xbd, 0x4d, 0xe1, 0x02, 0x0c, 0x69, 0xc1, 0x88, 0x65, 0x49, 0x55, 0x40, 0xd8, 0x73, 0x8e, 0xa3,
|
||||
0xa3, 0xe3, 0x63, 0x3b, 0x68, 0x7b, 0x6c, 0x27, 0x06, 0x9e, 0x5e, 0xfd, 0x80, 0xff, 0xc0, 0xd7,
|
||||
0x3a, 0x35, 0x4b, 0x13, 0xf6, 0x48, 0x64, 0x2e, 0x58, 0x42, 0x75, 0xa9, 0x6c, 0xd8, 0x9f, 0x04,
|
||||
0xd3, 0x5e, 0xfc, 0xe5, 0x04, 0xaf, 0x3d, 0xba, 0xaa, 0xc0, 0xe5, 0x00, 0x7c, 0xa8, 0xaf, 0x68,
|
||||
0xb9, 0x07, 0x63, 0xaa, 0x65, 0xd7, 0x0d, 0xdd, 0x05, 0x0f, 0xd7, 0x35, 0x9c, 0x69, 0x41, 0x54,
|
||||
0x86, 0x74, 0x91, 0xe1, 0x8c, 0x29, 0x67, 0x0e, 0x7b, 0x88, 0xe4, 0xdc, 0x5c, 0x7c, 0x7a, 0x0b,
|
||||
0x7f, 0xdc, 0xf5, 0x1d, 0xfb, 0xef, 0x6b, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x78, 0x76, 0xc2,
|
||||
0x48, 0x03, 0x00, 0x00,
|
||||
}
|
246
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go
generated
vendored
Normal file
246
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go
generated
vendored
Normal file
@ -0,0 +1,246 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/operations.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/golang/protobuf/ptypes/empty"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// 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
|
||||
|
||||
// Metadata used across all long running operations returned by AutoML API.
|
||||
type OperationMetadata struct {
|
||||
// Ouptut only. Details of specific operation. Even if this field is empty,
|
||||
// the presence allows to distinguish different types of operations.
|
||||
//
|
||||
// Types that are valid to be assigned to Details:
|
||||
// *OperationMetadata_CreateModelDetails
|
||||
Details isOperationMetadata_Details `protobuf_oneof:"details"`
|
||||
// Output only. Progress of operation. Range: [0, 100].
|
||||
ProgressPercent int32 `protobuf:"varint,13,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
|
||||
// Output only. Partial failures encountered.
|
||||
// E.g. single files that couldn't be read.
|
||||
// This field should never exceed 20 entries.
|
||||
// Status details field will contain standard GCP error details.
|
||||
PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"`
|
||||
// Output only. Time when the operation was created.
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
// Output only. Time when the operation was updated for the last time.
|
||||
UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_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 fileDescriptor_operations_8f7a4667c678e484, []int{0}
|
||||
}
|
||||
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
|
||||
|
||||
type isOperationMetadata_Details interface {
|
||||
isOperationMetadata_Details()
|
||||
}
|
||||
|
||||
type OperationMetadata_CreateModelDetails struct {
|
||||
CreateModelDetails *CreateModelOperationMetadata `protobuf:"bytes,10,opt,name=create_model_details,json=createModelDetails,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*OperationMetadata_CreateModelDetails) isOperationMetadata_Details() {}
|
||||
|
||||
func (m *OperationMetadata) GetDetails() isOperationMetadata_Details {
|
||||
if m != nil {
|
||||
return m.Details
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetCreateModelDetails() *CreateModelOperationMetadata {
|
||||
if x, ok := m.GetDetails().(*OperationMetadata_CreateModelDetails); ok {
|
||||
return x.CreateModelDetails
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetProgressPercent() int32 {
|
||||
if m != nil {
|
||||
return m.ProgressPercent
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetPartialFailures() []*status.Status {
|
||||
if m != nil {
|
||||
return m.PartialFailures
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.UpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*OperationMetadata) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _OperationMetadata_OneofMarshaler, _OperationMetadata_OneofUnmarshaler, _OperationMetadata_OneofSizer, []interface{}{
|
||||
(*OperationMetadata_CreateModelDetails)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _OperationMetadata_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*OperationMetadata)
|
||||
// details
|
||||
switch x := m.Details.(type) {
|
||||
case *OperationMetadata_CreateModelDetails:
|
||||
b.EncodeVarint(10<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.CreateModelDetails); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("OperationMetadata.Details has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _OperationMetadata_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*OperationMetadata)
|
||||
switch tag {
|
||||
case 10: // details.create_model_details
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(CreateModelOperationMetadata)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Details = &OperationMetadata_CreateModelDetails{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _OperationMetadata_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*OperationMetadata)
|
||||
// details
|
||||
switch x := m.Details.(type) {
|
||||
case *OperationMetadata_CreateModelDetails:
|
||||
s := proto.Size(x.CreateModelDetails)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Details of CreateModel operation.
|
||||
type CreateModelOperationMetadata struct {
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateModelOperationMetadata) Reset() { *m = CreateModelOperationMetadata{} }
|
||||
func (m *CreateModelOperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateModelOperationMetadata) ProtoMessage() {}
|
||||
func (*CreateModelOperationMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_operations_8f7a4667c678e484, []int{1}
|
||||
}
|
||||
func (m *CreateModelOperationMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateModelOperationMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateModelOperationMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateModelOperationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateModelOperationMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateModelOperationMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateModelOperationMetadata.Size(m)
|
||||
}
|
||||
func (m *CreateModelOperationMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateModelOperationMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateModelOperationMetadata proto.InternalMessageInfo
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*OperationMetadata)(nil), "google.cloud.automl.v1beta1.OperationMetadata")
|
||||
proto.RegisterType((*CreateModelOperationMetadata)(nil), "google.cloud.automl.v1beta1.CreateModelOperationMetadata")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/operations.proto", fileDescriptor_operations_8f7a4667c678e484)
|
||||
}
|
||||
|
||||
var fileDescriptor_operations_8f7a4667c678e484 = []byte{
|
||||
// 383 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0xab, 0xd3, 0x40,
|
||||
0x14, 0xc5, 0x6d, 0xeb, 0x1f, 0x9c, 0x22, 0xad, 0x41, 0x30, 0xd4, 0x62, 0x4b, 0x37, 0x56, 0x90,
|
||||
0x19, 0x5a, 0x57, 0x52, 0x5c, 0x58, 0x45, 0xdc, 0x14, 0x4b, 0x74, 0xe5, 0x26, 0xdc, 0x26, 0xb7,
|
||||
0x21, 0x30, 0xc9, 0x0c, 0x33, 0x37, 0x05, 0x3f, 0xb6, 0xdf, 0x40, 0x32, 0x33, 0xd1, 0xc7, 0x7b,
|
||||
0x8f, 0x74, 0x39, 0xf7, 0xfc, 0xce, 0xcd, 0xb9, 0x87, 0xb0, 0x77, 0x85, 0x52, 0x85, 0x44, 0x91,
|
||||
0x49, 0xd5, 0xe4, 0x02, 0x1a, 0x52, 0x95, 0x14, 0x97, 0xcd, 0x09, 0x09, 0x36, 0x42, 0x69, 0x34,
|
||||
0x40, 0xa5, 0xaa, 0x2d, 0xd7, 0x46, 0x91, 0x8a, 0x5e, 0x79, 0x9a, 0x3b, 0x9a, 0x7b, 0x9a, 0x07,
|
||||
0x7a, 0x36, 0x0f, 0xab, 0x40, 0x97, 0x02, 0xea, 0x5a, 0xd1, 0x4d, 0xeb, 0xec, 0x4d, 0xdf, 0x87,
|
||||
0x2a, 0x95, 0xa3, 0x0c, 0xe0, 0xf6, 0x2a, 0x98, 0xe2, 0x05, 0x64, 0xe3, 0xb6, 0x07, 0x4f, 0xc8,
|
||||
0x25, 0xdc, 0xeb, 0xd4, 0x9c, 0x05, 0x56, 0x9a, 0x7e, 0x07, 0x71, 0x71, 0x5b, 0xa4, 0xb2, 0x42,
|
||||
0x4b, 0x50, 0xe9, 0x00, 0xbc, 0x0c, 0x80, 0xd1, 0x99, 0xb0, 0x04, 0xd4, 0x84, 0xcc, 0xab, 0x3f,
|
||||
0x43, 0xf6, 0xfc, 0x7b, 0xd7, 0xc1, 0x01, 0x09, 0x72, 0x20, 0x88, 0x2a, 0xf6, 0x22, 0x33, 0x08,
|
||||
0x84, 0xa9, 0x4f, 0x93, 0x23, 0x41, 0x29, 0x6d, 0xcc, 0x96, 0x83, 0xf5, 0x78, 0xfb, 0x81, 0xf7,
|
||||
0x74, 0xc4, 0x3f, 0x3b, 0xe3, 0xa1, 0xf5, 0xdd, 0x59, 0xfc, 0xed, 0x41, 0x12, 0x65, 0xff, 0xf5,
|
||||
0x2f, 0x7e, 0x6d, 0xf4, 0x96, 0x4d, 0xb5, 0x51, 0x85, 0x41, 0x6b, 0x53, 0x8d, 0x26, 0xc3, 0x9a,
|
||||
0xe2, 0x67, 0xcb, 0xc1, 0xfa, 0x51, 0x32, 0xe9, 0xe6, 0x47, 0x3f, 0x8e, 0x3e, 0xb2, 0xa9, 0x06,
|
||||
0x43, 0x25, 0xc8, 0xf4, 0x0c, 0xa5, 0x6c, 0x0c, 0xda, 0x78, 0xb8, 0x1c, 0xad, 0xc7, 0xdb, 0xa8,
|
||||
0x4b, 0x65, 0x74, 0xc6, 0x7f, 0xb8, 0x1b, 0x93, 0x49, 0x60, 0xbf, 0x06, 0x34, 0xda, 0xb1, 0x71,
|
||||
0x38, 0xac, 0x6d, 0x28, 0x1e, 0xb9, 0x7b, 0x66, 0x9d, 0xb3, 0xab, 0x8f, 0xff, 0xec, 0xea, 0x4b,
|
||||
0x98, 0xc7, 0xdb, 0x41, 0x6b, 0x6e, 0x74, 0xfe, 0xcf, 0xfc, 0xf0, 0xba, 0xd9, 0xe3, 0xed, 0x60,
|
||||
0xff, 0x94, 0x3d, 0x09, 0x2d, 0xae, 0x5e, 0xb3, 0x79, 0x5f, 0x49, 0xfb, 0x33, 0x5b, 0x64, 0xaa,
|
||||
0xea, 0x2b, 0xf9, 0x38, 0xf8, 0xf5, 0x29, 0xc8, 0x85, 0x92, 0x50, 0x17, 0x5c, 0x99, 0x42, 0x14,
|
||||
0x58, 0xbb, 0x10, 0xc2, 0x4b, 0xa0, 0x4b, 0x7b, 0xef, 0x2f, 0xb6, 0xf3, 0xcf, 0xd3, 0x63, 0x47,
|
||||
0xbf, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x7b, 0xa7, 0x51, 0x21, 0x03, 0x00, 0x00,
|
||||
}
|
264
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go
generated
vendored
Normal file
264
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go
generated
vendored
Normal file
@ -0,0 +1,264 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/prediction_service.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// Request message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
|
||||
type PredictRequest struct {
|
||||
// Name of the model requested to serve the prediction.
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Required.
|
||||
// Payload to perform a prediction on. The payload must match the
|
||||
// problem type that the model was trained to solve.
|
||||
Payload *ExamplePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||
// Additional domain-specific parameters, any string must be up to 25000
|
||||
// characters long.
|
||||
//
|
||||
// * For Image Classification:
|
||||
//
|
||||
// `score_threshold` - (float) A value from 0.0 to 1.0. When the model
|
||||
// makes predictions for an
|
||||
// image, it will only produce results that have at least this confidence
|
||||
// score threshold. The default is 0.5.
|
||||
Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,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 *PredictRequest) Reset() { *m = PredictRequest{} }
|
||||
func (m *PredictRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PredictRequest) ProtoMessage() {}
|
||||
func (*PredictRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_prediction_service_1b71b7f556fd7159, []int{0}
|
||||
}
|
||||
func (m *PredictRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PredictRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PredictRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *PredictRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PredictRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *PredictRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_PredictRequest.Size(m)
|
||||
}
|
||||
func (m *PredictRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_PredictRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_PredictRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *PredictRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *PredictRequest) GetPayload() *ExamplePayload {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *PredictRequest) GetParams() map[string]string {
|
||||
if m != nil {
|
||||
return m.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Response message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
|
||||
//
|
||||
// Currently, this is only
|
||||
// used to return an image recognition prediction result. More prediction
|
||||
// output metadata might be introduced in the future.
|
||||
type PredictResponse struct {
|
||||
// Prediction result.
|
||||
Payload []*AnnotationPayload `protobuf:"bytes,1,rep,name=payload,proto3" json:"payload,omitempty"`
|
||||
// Additional domain-specific prediction response metadata.
|
||||
Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,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 *PredictResponse) Reset() { *m = PredictResponse{} }
|
||||
func (m *PredictResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*PredictResponse) ProtoMessage() {}
|
||||
func (*PredictResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_prediction_service_1b71b7f556fd7159, []int{1}
|
||||
}
|
||||
func (m *PredictResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PredictResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PredictResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PredictResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *PredictResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PredictResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *PredictResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_PredictResponse.Size(m)
|
||||
}
|
||||
func (m *PredictResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_PredictResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_PredictResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *PredictResponse) GetPayload() []*AnnotationPayload {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *PredictResponse) GetMetadata() map[string]string {
|
||||
if m != nil {
|
||||
return m.Metadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*PredictRequest)(nil), "google.cloud.automl.v1beta1.PredictRequest")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.PredictRequest.ParamsEntry")
|
||||
proto.RegisterType((*PredictResponse)(nil), "google.cloud.automl.v1beta1.PredictResponse")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.PredictResponse.MetadataEntry")
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// PredictionServiceClient is the client API for PredictionService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type PredictionServiceClient interface {
|
||||
// Perform a prediction.
|
||||
Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error)
|
||||
}
|
||||
|
||||
type predictionServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewPredictionServiceClient(cc *grpc.ClientConn) PredictionServiceClient {
|
||||
return &predictionServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *predictionServiceClient) Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error) {
|
||||
out := new(PredictResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.PredictionService/Predict", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// PredictionServiceServer is the server API for PredictionService service.
|
||||
type PredictionServiceServer interface {
|
||||
// Perform a prediction.
|
||||
Predict(context.Context, *PredictRequest) (*PredictResponse, error)
|
||||
}
|
||||
|
||||
func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer) {
|
||||
s.RegisterService(&_PredictionService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _PredictionService_Predict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(PredictRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PredictionServiceServer).Predict(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.automl.v1beta1.PredictionService/Predict",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PredictionServiceServer).Predict(ctx, req.(*PredictRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _PredictionService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.automl.v1beta1.PredictionService",
|
||||
HandlerType: (*PredictionServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "Predict",
|
||||
Handler: _PredictionService_Predict_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/automl/v1beta1/prediction_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/prediction_service.proto", fileDescriptor_prediction_service_1b71b7f556fd7159)
|
||||
}
|
||||
|
||||
var fileDescriptor_prediction_service_1b71b7f556fd7159 = []byte{
|
||||
// 462 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xdf, 0x8a, 0xd3, 0x40,
|
||||
0x14, 0xc6, 0x99, 0x56, 0x77, 0xdd, 0x29, 0xfe, 0x1b, 0x44, 0x4a, 0x14, 0x2c, 0xbd, 0x2a, 0xdd,
|
||||
0x65, 0x86, 0xad, 0xc2, 0x6a, 0x57, 0x2f, 0xb6, 0x50, 0xf0, 0x46, 0x0c, 0x11, 0xbc, 0xf0, 0xa6,
|
||||
0x9c, 0x4d, 0x0e, 0x21, 0x3a, 0xc9, 0x8c, 0x99, 0x49, 0xb1, 0x88, 0x5e, 0xf8, 0x0a, 0xbe, 0x84,
|
||||
0x4f, 0xe1, 0x4b, 0xf8, 0x0a, 0x3e, 0x80, 0x77, 0xde, 0x4a, 0x32, 0x63, 0xd6, 0x65, 0x25, 0x6c,
|
||||
0xef, 0x32, 0x7f, 0x7e, 0xdf, 0xf9, 0xbe, 0xcc, 0x39, 0xf4, 0x51, 0xaa, 0x54, 0x2a, 0x51, 0xc4,
|
||||
0x52, 0x55, 0x89, 0x80, 0xca, 0xaa, 0x5c, 0x8a, 0xf5, 0xe1, 0x29, 0x5a, 0x38, 0x14, 0xba, 0xc4,
|
||||
0x24, 0x8b, 0x6d, 0xa6, 0x8a, 0x95, 0xc1, 0x72, 0x9d, 0xc5, 0xc8, 0x75, 0xa9, 0xac, 0x62, 0xf7,
|
||||
0x1c, 0xc5, 0x1b, 0x8a, 0x3b, 0x8a, 0x7b, 0x2a, 0xb8, 0xef, 0x25, 0x41, 0x67, 0x02, 0x8a, 0x42,
|
||||
0x59, 0xa8, 0x15, 0x8c, 0x43, 0x83, 0xce, 0x82, 0x67, 0xd7, 0x57, 0x1a, 0x36, 0x52, 0x41, 0xe2,
|
||||
0xa9, 0x83, 0x2e, 0x2a, 0x01, 0x0b, 0xab, 0xcc, 0x62, 0xee, 0x6b, 0x8c, 0x7f, 0x13, 0x7a, 0x23,
|
||||
0x74, 0xde, 0x23, 0x7c, 0x5f, 0xa1, 0xb1, 0x8c, 0xd1, 0x2b, 0x05, 0xe4, 0x38, 0x24, 0x23, 0x32,
|
||||
0xd9, 0x8b, 0x9a, 0x6f, 0xb6, 0xa4, 0xbb, 0xbe, 0xca, 0xb0, 0x37, 0x22, 0x93, 0xc1, 0x6c, 0x9f,
|
||||
0x77, 0xe4, 0xe2, 0xcb, 0x0f, 0x90, 0x6b, 0x89, 0xa1, 0x43, 0xa2, 0xbf, 0x2c, 0x7b, 0x49, 0x77,
|
||||
0x34, 0x94, 0x90, 0x9b, 0x61, 0x7f, 0xd4, 0x9f, 0x0c, 0x66, 0x47, 0x9d, 0x2a, 0xe7, 0x7d, 0xf1,
|
||||
0xb0, 0x21, 0x97, 0x85, 0x2d, 0x37, 0x91, 0x97, 0x09, 0x9e, 0xd0, 0xc1, 0x3f, 0xdb, 0xec, 0x16,
|
||||
0xed, 0xbf, 0xc3, 0x8d, 0x77, 0x5e, 0x7f, 0xb2, 0x3b, 0xf4, 0xea, 0x1a, 0x64, 0x85, 0x8d, 0xed,
|
||||
0xbd, 0xc8, 0x2d, 0xe6, 0xbd, 0xc7, 0x64, 0xfc, 0x8b, 0xd0, 0x9b, 0x6d, 0x05, 0xa3, 0x55, 0x61,
|
||||
0x90, 0x3d, 0x3f, 0x8b, 0x49, 0x1a, 0x83, 0xbc, 0xd3, 0xe0, 0x49, 0xfb, 0x06, 0x17, 0x92, 0xbe,
|
||||
0xa6, 0xd7, 0x72, 0xb4, 0x50, 0xff, 0xef, 0x61, 0xaf, 0x91, 0x9a, 0x5f, 0x2e, 0xab, 0x73, 0xc2,
|
||||
0x5f, 0x78, 0xd8, 0xc5, 0x6d, 0xb5, 0x82, 0x63, 0x7a, 0xfd, 0xdc, 0xd1, 0x36, 0x91, 0x67, 0xdf,
|
||||
0x09, 0xbd, 0x1d, 0xb6, 0x8d, 0xfa, 0xca, 0xf5, 0x29, 0xfb, 0x46, 0xe8, 0xae, 0xdf, 0x65, 0xfb,
|
||||
0x5b, 0x3c, 0x48, 0x70, 0xb0, 0x4d, 0xa2, 0xf1, 0xe2, 0xcb, 0x8f, 0x9f, 0x5f, 0x7b, 0x4f, 0xc7,
|
||||
0x47, 0x6d, 0x33, 0x7e, 0xac, 0x5b, 0xeb, 0x99, 0x2e, 0xd5, 0x5b, 0x8c, 0xad, 0x11, 0x53, 0x21,
|
||||
0x55, 0xec, 0x06, 0x40, 0x4c, 0x45, 0xae, 0x12, 0x94, 0x46, 0x4c, 0x3f, 0xcd, 0xfd, 0x68, 0xcd,
|
||||
0xc9, 0x74, 0xf1, 0x99, 0x3e, 0x88, 0x55, 0xde, 0x55, 0x76, 0x71, 0xf7, 0x42, 0xc0, 0xb0, 0x6e,
|
||||
0xf4, 0x90, 0xbc, 0x39, 0xf1, 0x58, 0xaa, 0x24, 0x14, 0x29, 0x57, 0x65, 0x2a, 0x52, 0x2c, 0x9a,
|
||||
0x31, 0x10, 0xee, 0x08, 0x74, 0x66, 0xfe, 0x3b, 0x37, 0xc7, 0x6e, 0x79, 0xba, 0xd3, 0xdc, 0x7e,
|
||||
0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0xb5, 0xb3, 0x24, 0x52, 0x0b, 0x04, 0x00, 0x00,
|
||||
}
|
1565
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go
generated
vendored
Normal file
1565
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
120
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go
generated
vendored
Normal file
120
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go
generated
vendored
Normal file
@ -0,0 +1,120 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/text.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// Dataset metadata for classification.
|
||||
type TextClassificationDatasetMetadata struct {
|
||||
// Required.
|
||||
// Type of the classification problem.
|
||||
ClassificationType ClassificationType `protobuf:"varint,1,opt,name=classification_type,json=classificationType,proto3,enum=google.cloud.automl.v1beta1.ClassificationType" json:"classification_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TextClassificationDatasetMetadata) Reset() { *m = TextClassificationDatasetMetadata{} }
|
||||
func (m *TextClassificationDatasetMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*TextClassificationDatasetMetadata) ProtoMessage() {}
|
||||
func (*TextClassificationDatasetMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_text_1fb9d74955be1951, []int{0}
|
||||
}
|
||||
func (m *TextClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TextClassificationDatasetMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TextClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TextClassificationDatasetMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TextClassificationDatasetMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TextClassificationDatasetMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *TextClassificationDatasetMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_TextClassificationDatasetMetadata.Size(m)
|
||||
}
|
||||
func (m *TextClassificationDatasetMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TextClassificationDatasetMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TextClassificationDatasetMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *TextClassificationDatasetMetadata) GetClassificationType() ClassificationType {
|
||||
if m != nil {
|
||||
return m.ClassificationType
|
||||
}
|
||||
return ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// Model metadata that is specific to text classification.
|
||||
type TextClassificationModelMetadata struct {
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TextClassificationModelMetadata) Reset() { *m = TextClassificationModelMetadata{} }
|
||||
func (m *TextClassificationModelMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*TextClassificationModelMetadata) ProtoMessage() {}
|
||||
func (*TextClassificationModelMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_text_1fb9d74955be1951, []int{1}
|
||||
}
|
||||
func (m *TextClassificationModelMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TextClassificationModelMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TextClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TextClassificationModelMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TextClassificationModelMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TextClassificationModelMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *TextClassificationModelMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_TextClassificationModelMetadata.Size(m)
|
||||
}
|
||||
func (m *TextClassificationModelMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TextClassificationModelMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TextClassificationModelMetadata proto.InternalMessageInfo
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*TextClassificationDatasetMetadata)(nil), "google.cloud.automl.v1beta1.TextClassificationDatasetMetadata")
|
||||
proto.RegisterType((*TextClassificationModelMetadata)(nil), "google.cloud.automl.v1beta1.TextClassificationModelMetadata")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/text.proto", fileDescriptor_text_1fb9d74955be1951)
|
||||
}
|
||||
|
||||
var fileDescriptor_text_1fb9d74955be1951 = []byte{
|
||||
// 240 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x31, 0x4f, 0x03, 0x31,
|
||||
0x0c, 0x85, 0x75, 0x0b, 0x12, 0x19, 0x18, 0x8e, 0x05, 0x15, 0xa4, 0xd2, 0x0e, 0x88, 0x29, 0xa6,
|
||||
0x30, 0x32, 0x51, 0x58, 0x2b, 0x55, 0xa8, 0x13, 0x0b, 0xb8, 0x39, 0x13, 0x45, 0x4a, 0xe3, 0xd0,
|
||||
0xb8, 0xa8, 0xfd, 0x01, 0xfc, 0x6f, 0xd4, 0xe4, 0x18, 0x4e, 0x87, 0x6e, 0x4c, 0xfc, 0xbd, 0xe7,
|
||||
0xf7, 0xac, 0x6e, 0x2c, 0xb3, 0xf5, 0x04, 0xc6, 0xf3, 0xae, 0x01, 0xdc, 0x09, 0x6f, 0x3c, 0x7c,
|
||||
0xcf, 0xd6, 0x24, 0x38, 0x03, 0xa1, 0xbd, 0xe8, 0xb8, 0x65, 0xe1, 0xfa, 0xb2, 0x70, 0x3a, 0x73,
|
||||
0xba, 0x70, 0xba, 0xe5, 0x46, 0x57, 0xad, 0x09, 0x46, 0x07, 0x18, 0x02, 0x0b, 0x8a, 0xe3, 0x90,
|
||||
0x8a, 0x74, 0x74, 0x37, 0xb4, 0xc2, 0x78, 0x4c, 0xc9, 0x7d, 0x3a, 0x93, 0x25, 0x45, 0x31, 0xfd,
|
||||
0xa9, 0xd4, 0x64, 0x45, 0x7b, 0x79, 0xee, 0x0c, 0x5f, 0x50, 0x30, 0x91, 0x2c, 0x48, 0xb0, 0x41,
|
||||
0xc1, 0xfa, 0x43, 0x9d, 0x77, 0xd5, 0xef, 0x72, 0x88, 0x74, 0x51, 0x5d, 0x57, 0xb7, 0x67, 0xf7,
|
||||
0xa0, 0x07, 0x02, 0xeb, 0xae, 0xf1, 0xea, 0x10, 0xe9, 0xb5, 0x36, 0xbd, 0xbf, 0xe9, 0x44, 0x8d,
|
||||
0xfb, 0x31, 0x16, 0xdc, 0x90, 0xff, 0x0b, 0x31, 0xff, 0x52, 0x63, 0xc3, 0x9b, 0xa1, 0x65, 0xf3,
|
||||
0xd3, 0xa3, 0xc7, 0xf2, 0x58, 0x6c, 0x59, 0xbd, 0x3d, 0xb5, 0xa4, 0x65, 0x8f, 0xc1, 0x6a, 0xde,
|
||||
0x5a, 0xb0, 0x14, 0x72, 0x6d, 0x28, 0x23, 0x8c, 0x2e, 0xfd, 0x7b, 0xab, 0xc7, 0xf2, 0x5c, 0x9f,
|
||||
0x64, 0xfa, 0xe1, 0x37, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x8d, 0x0f, 0x20, 0xbb, 0x01, 0x00, 0x00,
|
||||
}
|
260
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go
generated
vendored
Normal file
260
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go
generated
vendored
Normal file
@ -0,0 +1,260 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/automl/v1beta1/translation.proto
|
||||
|
||||
package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// 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
|
||||
|
||||
// Dataset metadata that is specific to translation.
|
||||
type TranslationDatasetMetadata struct {
|
||||
// Required. The BCP-47 language code of the source language.
|
||||
SourceLanguageCode string `protobuf:"bytes,1,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"`
|
||||
// Required. The BCP-47 language code of the target language.
|
||||
TargetLanguageCode string `protobuf:"bytes,2,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TranslationDatasetMetadata) Reset() { *m = TranslationDatasetMetadata{} }
|
||||
func (m *TranslationDatasetMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*TranslationDatasetMetadata) ProtoMessage() {}
|
||||
func (*TranslationDatasetMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_translation_23667d09236b8210, []int{0}
|
||||
}
|
||||
func (m *TranslationDatasetMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TranslationDatasetMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TranslationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TranslationDatasetMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TranslationDatasetMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TranslationDatasetMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *TranslationDatasetMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_TranslationDatasetMetadata.Size(m)
|
||||
}
|
||||
func (m *TranslationDatasetMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TranslationDatasetMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TranslationDatasetMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *TranslationDatasetMetadata) GetSourceLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.SourceLanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TranslationDatasetMetadata) GetTargetLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.TargetLanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Evaluation metrics for the dataset.
|
||||
type TranslationEvaluationMetrics struct {
|
||||
// Output only. BLEU score.
|
||||
BleuScore float64 `protobuf:"fixed64,1,opt,name=bleu_score,json=bleuScore,proto3" json:"bleu_score,omitempty"`
|
||||
// Output only. BLEU score for base model.
|
||||
BaseBleuScore float64 `protobuf:"fixed64,2,opt,name=base_bleu_score,json=baseBleuScore,proto3" json:"base_bleu_score,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TranslationEvaluationMetrics) Reset() { *m = TranslationEvaluationMetrics{} }
|
||||
func (m *TranslationEvaluationMetrics) String() string { return proto.CompactTextString(m) }
|
||||
func (*TranslationEvaluationMetrics) ProtoMessage() {}
|
||||
func (*TranslationEvaluationMetrics) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_translation_23667d09236b8210, []int{1}
|
||||
}
|
||||
func (m *TranslationEvaluationMetrics) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TranslationEvaluationMetrics.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TranslationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TranslationEvaluationMetrics.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TranslationEvaluationMetrics) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TranslationEvaluationMetrics.Merge(dst, src)
|
||||
}
|
||||
func (m *TranslationEvaluationMetrics) XXX_Size() int {
|
||||
return xxx_messageInfo_TranslationEvaluationMetrics.Size(m)
|
||||
}
|
||||
func (m *TranslationEvaluationMetrics) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TranslationEvaluationMetrics.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TranslationEvaluationMetrics proto.InternalMessageInfo
|
||||
|
||||
func (m *TranslationEvaluationMetrics) GetBleuScore() float64 {
|
||||
if m != nil {
|
||||
return m.BleuScore
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TranslationEvaluationMetrics) GetBaseBleuScore() float64 {
|
||||
if m != nil {
|
||||
return m.BaseBleuScore
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Model metadata that is specific to translation.
|
||||
type TranslationModelMetadata struct {
|
||||
// The resource name of the model to use as a baseline to train the custom
|
||||
// model. If unset, we use the default base model provided by Google
|
||||
// Translate. Format:
|
||||
// `projects/{project_id}/locations/{location_id}/models/{model_id}`
|
||||
BaseModel string `protobuf:"bytes,1,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"`
|
||||
// Output only. Inferred from the dataset.
|
||||
// The source languge (The BCP-47 language code) that is used for training.
|
||||
SourceLanguageCode string `protobuf:"bytes,2,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"`
|
||||
// Output only. The target languge (The BCP-47 language code) that is used for
|
||||
// training.
|
||||
TargetLanguageCode string `protobuf:"bytes,3,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TranslationModelMetadata) Reset() { *m = TranslationModelMetadata{} }
|
||||
func (m *TranslationModelMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*TranslationModelMetadata) ProtoMessage() {}
|
||||
func (*TranslationModelMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_translation_23667d09236b8210, []int{2}
|
||||
}
|
||||
func (m *TranslationModelMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TranslationModelMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TranslationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TranslationModelMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TranslationModelMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TranslationModelMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *TranslationModelMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_TranslationModelMetadata.Size(m)
|
||||
}
|
||||
func (m *TranslationModelMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TranslationModelMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TranslationModelMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *TranslationModelMetadata) GetBaseModel() string {
|
||||
if m != nil {
|
||||
return m.BaseModel
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TranslationModelMetadata) GetSourceLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.SourceLanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TranslationModelMetadata) GetTargetLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.TargetLanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Annotation details specific to translation.
|
||||
type TranslationAnnotation struct {
|
||||
// Output only . The translated content.
|
||||
TranslatedContent *TextSnippet `protobuf:"bytes,1,opt,name=translated_content,json=translatedContent,proto3" json:"translated_content,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TranslationAnnotation) Reset() { *m = TranslationAnnotation{} }
|
||||
func (m *TranslationAnnotation) String() string { return proto.CompactTextString(m) }
|
||||
func (*TranslationAnnotation) ProtoMessage() {}
|
||||
func (*TranslationAnnotation) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_translation_23667d09236b8210, []int{3}
|
||||
}
|
||||
func (m *TranslationAnnotation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TranslationAnnotation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TranslationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TranslationAnnotation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TranslationAnnotation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TranslationAnnotation.Merge(dst, src)
|
||||
}
|
||||
func (m *TranslationAnnotation) XXX_Size() int {
|
||||
return xxx_messageInfo_TranslationAnnotation.Size(m)
|
||||
}
|
||||
func (m *TranslationAnnotation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TranslationAnnotation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TranslationAnnotation proto.InternalMessageInfo
|
||||
|
||||
func (m *TranslationAnnotation) GetTranslatedContent() *TextSnippet {
|
||||
if m != nil {
|
||||
return m.TranslatedContent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*TranslationDatasetMetadata)(nil), "google.cloud.automl.v1beta1.TranslationDatasetMetadata")
|
||||
proto.RegisterType((*TranslationEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.TranslationEvaluationMetrics")
|
||||
proto.RegisterType((*TranslationModelMetadata)(nil), "google.cloud.automl.v1beta1.TranslationModelMetadata")
|
||||
proto.RegisterType((*TranslationAnnotation)(nil), "google.cloud.automl.v1beta1.TranslationAnnotation")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/automl/v1beta1/translation.proto", fileDescriptor_translation_23667d09236b8210)
|
||||
}
|
||||
|
||||
var fileDescriptor_translation_23667d09236b8210 = []byte{
|
||||
// 377 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcf, 0x6a, 0xdb, 0x40,
|
||||
0x10, 0xc6, 0x91, 0x0b, 0x05, 0x6f, 0x29, 0x6d, 0x45, 0x0b, 0xc6, 0x75, 0x69, 0xf1, 0xa1, 0xf8,
|
||||
0xd0, 0x4a, 0x75, 0x73, 0xcc, 0xc9, 0x76, 0x72, 0x8b, 0xc1, 0xd8, 0x86, 0x40, 0x2e, 0x62, 0x24,
|
||||
0x0d, 0x8b, 0x60, 0xb5, 0x23, 0xb4, 0x23, 0xe3, 0x63, 0x5e, 0x24, 0xef, 0x1a, 0x76, 0x57, 0xb6,
|
||||
0x45, 0x88, 0x0d, 0xb9, 0x49, 0x33, 0xbf, 0x6f, 0xfe, 0xed, 0x27, 0xfe, 0x4a, 0x22, 0xa9, 0x30,
|
||||
0xce, 0x14, 0x35, 0x79, 0x0c, 0x0d, 0x53, 0xa9, 0xe2, 0xdd, 0x34, 0x45, 0x86, 0x69, 0xcc, 0x35,
|
||||
0x68, 0xa3, 0x80, 0x0b, 0xd2, 0x51, 0x55, 0x13, 0x53, 0xf8, 0xdd, 0xe3, 0x91, 0xc3, 0x23, 0x8f,
|
||||
0x47, 0x2d, 0x3e, 0x1c, 0xb5, 0xb5, 0xa0, 0x2a, 0x62, 0xd0, 0x9a, 0xd8, 0x29, 0x8d, 0x97, 0x0e,
|
||||
0xff, 0x5c, 0xea, 0x94, 0x03, 0x43, 0x52, 0x30, 0x96, 0x2d, 0x3d, 0x7e, 0x0c, 0xc4, 0x70, 0x7b,
|
||||
0x6a, 0x7f, 0x03, 0x0c, 0x06, 0x79, 0x89, 0x0c, 0x16, 0x0d, 0xff, 0x89, 0xaf, 0x86, 0x9a, 0x3a,
|
||||
0xc3, 0x44, 0x81, 0x96, 0x0d, 0x48, 0x4c, 0x32, 0xca, 0x71, 0x10, 0xfc, 0x0a, 0x26, 0xfd, 0x75,
|
||||
0xe8, 0x73, 0x77, 0x6d, 0x6a, 0x41, 0x39, 0x5a, 0x05, 0x43, 0x2d, 0x91, 0x5f, 0x28, 0x7a, 0x5e,
|
||||
0xe1, 0x73, 0x5d, 0xc5, 0x18, 0xc5, 0xa8, 0x33, 0xc1, 0xed, 0x0e, 0x54, 0xe3, 0xbe, 0x96, 0xc8,
|
||||
0x75, 0x91, 0x99, 0xf0, 0x87, 0x10, 0xa9, 0xc2, 0x26, 0x31, 0x19, 0xd5, 0xbe, 0x73, 0xb0, 0xee,
|
||||
0xdb, 0xc8, 0xc6, 0x06, 0xc2, 0xdf, 0xe2, 0x53, 0x0a, 0x06, 0x93, 0x0e, 0xd3, 0x73, 0xcc, 0x47,
|
||||
0x1b, 0x9e, 0x1f, 0xb8, 0xf1, 0x53, 0x20, 0x06, 0x9d, 0x3e, 0x4b, 0xca, 0x51, 0x1d, 0xf7, 0xb4,
|
||||
0x3d, 0x6c, 0x91, 0xd2, 0x46, 0xdb, 0xed, 0xfa, 0x36, 0xe2, 0xb0, 0xb3, 0x67, 0xe8, 0xbd, 0xf9,
|
||||
0x0c, 0xef, 0xce, 0x9e, 0xa1, 0x12, 0xdf, 0x3a, 0xe3, 0xcd, 0x8e, 0xef, 0x1a, 0xde, 0x8b, 0xf0,
|
||||
0x60, 0x10, 0xcc, 0x93, 0x8c, 0x34, 0xa3, 0x66, 0x37, 0xe3, 0x87, 0xff, 0x93, 0xe8, 0x82, 0x51,
|
||||
0xa2, 0x2d, 0xee, 0x79, 0xa3, 0x8b, 0xaa, 0x42, 0x5e, 0x7f, 0x39, 0xd5, 0x58, 0xf8, 0x12, 0xf3,
|
||||
0xbd, 0xf8, 0x99, 0x51, 0x79, 0xa9, 0xc2, 0xfc, 0x73, 0x67, 0xa4, 0x95, 0x35, 0xcc, 0x2a, 0x78,
|
||||
0x98, 0xb5, 0x02, 0x49, 0x76, 0xb5, 0x88, 0x6a, 0x19, 0x4b, 0xd4, 0xce, 0x4e, 0xb1, 0x4f, 0x41,
|
||||
0x55, 0x98, 0x57, 0xfd, 0x77, 0xed, 0x7f, 0xd3, 0xf7, 0x8e, 0xbe, 0x7a, 0x0e, 0x00, 0x00, 0xff,
|
||||
0xff, 0xfb, 0xc7, 0xb3, 0x37, 0x16, 0x03, 0x00, 0x00,
|
||||
}
|
1194
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go
generated
vendored
1194
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
208
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go
generated
vendored
208
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go
generated
vendored
@ -1,22 +1,28 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/bigquery/datatransfer/v1/transfer.proto
|
||||
|
||||
package datatransfer
|
||||
package datatransfer // import "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
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_protobuf1 "github.com/golang/protobuf/ptypes/struct"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
import status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// Represents data transfer type.
|
||||
// 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
|
||||
|
||||
// DEPRECATED. Represents data transfer type.
|
||||
type TransferType int32
|
||||
|
||||
const (
|
||||
@ -43,7 +49,9 @@ var TransferType_value = map[string]int32{
|
||||
func (x TransferType) String() string {
|
||||
return proto.EnumName(TransferType_name, int32(x))
|
||||
}
|
||||
func (TransferType) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (TransferType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{0}
|
||||
}
|
||||
|
||||
// Represents data transfer run state.
|
||||
type TransferState int32
|
||||
@ -84,7 +92,9 @@ var TransferState_value = map[string]int32{
|
||||
func (x TransferState) String() string {
|
||||
return proto.EnumName(TransferState_name, int32(x))
|
||||
}
|
||||
func (TransferState) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
func (TransferState) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{1}
|
||||
}
|
||||
|
||||
// Represents data transfer user facing message severity.
|
||||
type TransferMessage_MessageSeverity int32
|
||||
@ -108,16 +118,16 @@ var TransferMessage_MessageSeverity_name = map[int32]string{
|
||||
}
|
||||
var TransferMessage_MessageSeverity_value = map[string]int32{
|
||||
"MESSAGE_SEVERITY_UNSPECIFIED": 0,
|
||||
"INFO": 1,
|
||||
"WARNING": 2,
|
||||
"ERROR": 3,
|
||||
"INFO": 1,
|
||||
"WARNING": 2,
|
||||
"ERROR": 3,
|
||||
}
|
||||
|
||||
func (x TransferMessage_MessageSeverity) String() string {
|
||||
return proto.EnumName(TransferMessage_MessageSeverity_name, int32(x))
|
||||
}
|
||||
func (TransferMessage_MessageSeverity) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor1, []int{2, 0}
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{2, 0}
|
||||
}
|
||||
|
||||
// Represents a data transfer configuration. A transfer configuration
|
||||
@ -126,7 +136,6 @@ func (TransferMessage_MessageSeverity) EnumDescriptor() ([]byte, []int) {
|
||||
// When a new transfer configuration is created, the specified
|
||||
// `destination_dataset_id` is created when needed and shared with the
|
||||
// appropriate data source service account.
|
||||
// Next id: 20
|
||||
type TransferConfig struct {
|
||||
// The resource name of the transfer config.
|
||||
// Transfer config names have the form
|
||||
@ -134,15 +143,15 @@ type TransferConfig struct {
|
||||
// Where `config_id` is usually a uuid, even though it is not
|
||||
// guaranteed or required. The name is ignored when creating a transfer
|
||||
// config.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The BigQuery target dataset id.
|
||||
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId" json:"destination_dataset_id,omitempty"`
|
||||
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3" json:"destination_dataset_id,omitempty"`
|
||||
// User specified display name for the data transfer.
|
||||
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
|
||||
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||||
// Data source id. Cannot be changed once data transfer is created.
|
||||
DataSourceId string `protobuf:"bytes,5,opt,name=data_source_id,json=dataSourceId" json:"data_source_id,omitempty"`
|
||||
DataSourceId string `protobuf:"bytes,5,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
|
||||
// Data transfer specific parameters.
|
||||
Params *google_protobuf1.Struct `protobuf:"bytes,9,opt,name=params" json:"params,omitempty"`
|
||||
Params *_struct.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
|
||||
// Data transfer schedule.
|
||||
// If the data source does not support a custom schedule, this should be
|
||||
// empty. If it is empty, the default value for the data source will be
|
||||
@ -155,37 +164,59 @@ type TransferConfig struct {
|
||||
// See more explanation about the format here:
|
||||
// https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
|
||||
// NOTE: the granularity should be at least 8 hours, or less frequent.
|
||||
Schedule string `protobuf:"bytes,7,opt,name=schedule" json:"schedule,omitempty"`
|
||||
Schedule string `protobuf:"bytes,7,opt,name=schedule,proto3" json:"schedule,omitempty"`
|
||||
// The number of days to look back to automatically refresh the data.
|
||||
// For example, if `data_refresh_window_days = 10`, then every day
|
||||
// BigQuery reingests data for [today-10, today-1], rather than ingesting data
|
||||
// for just [today-1].
|
||||
// Only valid if the data source supports the feature. Set the value to 0
|
||||
// to use the default value.
|
||||
DataRefreshWindowDays int32 `protobuf:"varint,12,opt,name=data_refresh_window_days,json=dataRefreshWindowDays" json:"data_refresh_window_days,omitempty"`
|
||||
DataRefreshWindowDays int32 `protobuf:"varint,12,opt,name=data_refresh_window_days,json=dataRefreshWindowDays,proto3" json:"data_refresh_window_days,omitempty"`
|
||||
// Is this config disabled. When set to true, no runs are scheduled
|
||||
// for a given transfer.
|
||||
Disabled bool `protobuf:"varint,13,opt,name=disabled" json:"disabled,omitempty"`
|
||||
Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
||||
// Output only. Data transfer modification time. Ignored by server on input.
|
||||
UpdateTime *google_protobuf2.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
|
||||
UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
||||
// Output only. Next time when data transfer will run.
|
||||
NextRunTime *google_protobuf2.Timestamp `protobuf:"bytes,8,opt,name=next_run_time,json=nextRunTime" json:"next_run_time,omitempty"`
|
||||
NextRunTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=next_run_time,json=nextRunTime,proto3" json:"next_run_time,omitempty"`
|
||||
// Output only. State of the most recently updated transfer run.
|
||||
State TransferState `protobuf:"varint,10,opt,name=state,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
|
||||
State TransferState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
|
||||
// Output only. Unique ID of the user on whose behalf transfer is done.
|
||||
// Applicable only to data sources that do not support service accounts.
|
||||
// When set to 0, the data source service account credentials are used.
|
||||
// May be negative. Note, that this identifier is not stable.
|
||||
// It may change over time even for the same user.
|
||||
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId" json:"user_id,omitempty"`
|
||||
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
// Output only. Region in which BigQuery dataset is located.
|
||||
DatasetRegion string `protobuf:"bytes,14,opt,name=dataset_region,json=datasetRegion" json:"dataset_region,omitempty"`
|
||||
DatasetRegion string `protobuf:"bytes,14,opt,name=dataset_region,json=datasetRegion,proto3" json:"dataset_region,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TransferConfig) Reset() { *m = TransferConfig{} }
|
||||
func (m *TransferConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*TransferConfig) ProtoMessage() {}
|
||||
func (*TransferConfig) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (m *TransferConfig) Reset() { *m = TransferConfig{} }
|
||||
func (m *TransferConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*TransferConfig) ProtoMessage() {}
|
||||
func (*TransferConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{0}
|
||||
}
|
||||
func (m *TransferConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TransferConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TransferConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TransferConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TransferConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TransferConfig.Merge(dst, src)
|
||||
}
|
||||
func (m *TransferConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_TransferConfig.Size(m)
|
||||
}
|
||||
func (m *TransferConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TransferConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TransferConfig proto.InternalMessageInfo
|
||||
|
||||
func (m *TransferConfig) GetName() string {
|
||||
if m != nil {
|
||||
@ -215,7 +246,7 @@ func (m *TransferConfig) GetDataSourceId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetParams() *google_protobuf1.Struct {
|
||||
func (m *TransferConfig) GetParams() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Params
|
||||
}
|
||||
@ -243,14 +274,14 @@ func (m *TransferConfig) GetDisabled() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetUpdateTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferConfig) GetUpdateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.UpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetNextRunTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferConfig) GetNextRunTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.NextRunTime
|
||||
}
|
||||
@ -279,54 +310,75 @@ func (m *TransferConfig) GetDatasetRegion() string {
|
||||
}
|
||||
|
||||
// Represents a data transfer run.
|
||||
// Next id: 27
|
||||
type TransferRun struct {
|
||||
// The resource name of the transfer run.
|
||||
// Transfer run names have the form
|
||||
// `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
|
||||
// The name is ignored when creating a transfer run.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Minimum time after which a transfer run can be started.
|
||||
ScheduleTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime" json:"schedule_time,omitempty"`
|
||||
ScheduleTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
|
||||
// For batch transfer runs, specifies the date and time that
|
||||
// data should be ingested.
|
||||
RunTime *google_protobuf2.Timestamp `protobuf:"bytes,10,opt,name=run_time,json=runTime" json:"run_time,omitempty"`
|
||||
RunTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
|
||||
// Status of the transfer run.
|
||||
ErrorStatus *google_rpc.Status `protobuf:"bytes,21,opt,name=error_status,json=errorStatus" json:"error_status,omitempty"`
|
||||
ErrorStatus *status.Status `protobuf:"bytes,21,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty"`
|
||||
// Output only. Time when transfer run was started.
|
||||
// Parameter ignored by server for input requests.
|
||||
StartTime *google_protobuf2.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"`
|
||||
// Output only. Time when transfer run ended.
|
||||
// Parameter ignored by server for input requests.
|
||||
EndTime *google_protobuf2.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"`
|
||||
// Output only. Last time the data transfer run state was updated.
|
||||
UpdateTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
|
||||
UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
||||
// Output only. Data transfer specific parameters.
|
||||
Params *google_protobuf1.Struct `protobuf:"bytes,9,opt,name=params" json:"params,omitempty"`
|
||||
Params *_struct.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
|
||||
// Output only. The BigQuery target dataset id.
|
||||
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId" json:"destination_dataset_id,omitempty"`
|
||||
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3" json:"destination_dataset_id,omitempty"`
|
||||
// Output only. Data source id.
|
||||
DataSourceId string `protobuf:"bytes,7,opt,name=data_source_id,json=dataSourceId" json:"data_source_id,omitempty"`
|
||||
DataSourceId string `protobuf:"bytes,7,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
|
||||
// Data transfer run state. Ignored for input requests.
|
||||
State TransferState `protobuf:"varint,8,opt,name=state,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
|
||||
State TransferState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
|
||||
// Output only. Unique ID of the user on whose behalf transfer is done.
|
||||
// Applicable only to data sources that do not support service accounts.
|
||||
// When set to 0, the data source service account credentials are used.
|
||||
// May be negative. Note, that this identifier is not stable.
|
||||
// It may change over time even for the same user.
|
||||
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId" json:"user_id,omitempty"`
|
||||
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
// Output only. Describes the schedule of this transfer run if it was
|
||||
// created as part of a regular schedule. For batch transfer runs that are
|
||||
// scheduled manually, this is empty.
|
||||
// NOTE: the system might choose to delay the schedule depending on the
|
||||
// current load, so `schedule_time` doesn't always matches this.
|
||||
Schedule string `protobuf:"bytes,12,opt,name=schedule" json:"schedule,omitempty"`
|
||||
Schedule string `protobuf:"bytes,12,opt,name=schedule,proto3" json:"schedule,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TransferRun) Reset() { *m = TransferRun{} }
|
||||
func (m *TransferRun) String() string { return proto.CompactTextString(m) }
|
||||
func (*TransferRun) ProtoMessage() {}
|
||||
func (*TransferRun) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
func (m *TransferRun) Reset() { *m = TransferRun{} }
|
||||
func (m *TransferRun) String() string { return proto.CompactTextString(m) }
|
||||
func (*TransferRun) ProtoMessage() {}
|
||||
func (*TransferRun) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{1}
|
||||
}
|
||||
func (m *TransferRun) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TransferRun.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TransferRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TransferRun.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TransferRun) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TransferRun.Merge(dst, src)
|
||||
}
|
||||
func (m *TransferRun) XXX_Size() int {
|
||||
return xxx_messageInfo_TransferRun.Size(m)
|
||||
}
|
||||
func (m *TransferRun) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TransferRun.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TransferRun proto.InternalMessageInfo
|
||||
|
||||
func (m *TransferRun) GetName() string {
|
||||
if m != nil {
|
||||
@ -335,49 +387,49 @@ func (m *TransferRun) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetScheduleTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferRun) GetScheduleTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.ScheduleTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetRunTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferRun) GetRunTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RunTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetErrorStatus() *google_rpc.Status {
|
||||
func (m *TransferRun) GetErrorStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.ErrorStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetStartTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferRun) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetEndTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferRun) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetUpdateTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferRun) GetUpdateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.UpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetParams() *google_protobuf1.Struct {
|
||||
func (m *TransferRun) GetParams() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Params
|
||||
}
|
||||
@ -422,19 +474,41 @@ func (m *TransferRun) GetSchedule() string {
|
||||
// Represents a user facing message for a particular data transfer run.
|
||||
type TransferMessage struct {
|
||||
// Time when message was logged.
|
||||
MessageTime *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=message_time,json=messageTime" json:"message_time,omitempty"`
|
||||
MessageTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=message_time,json=messageTime,proto3" json:"message_time,omitempty"`
|
||||
// Message severity.
|
||||
Severity TransferMessage_MessageSeverity `protobuf:"varint,2,opt,name=severity,enum=google.cloud.bigquery.datatransfer.v1.TransferMessage_MessageSeverity" json:"severity,omitempty"`
|
||||
Severity TransferMessage_MessageSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferMessage_MessageSeverity" json:"severity,omitempty"`
|
||||
// Message text.
|
||||
MessageText string `protobuf:"bytes,3,opt,name=message_text,json=messageText" json:"message_text,omitempty"`
|
||||
MessageText string `protobuf:"bytes,3,opt,name=message_text,json=messageText,proto3" json:"message_text,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TransferMessage) Reset() { *m = TransferMessage{} }
|
||||
func (m *TransferMessage) String() string { return proto.CompactTextString(m) }
|
||||
func (*TransferMessage) ProtoMessage() {}
|
||||
func (*TransferMessage) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
|
||||
func (m *TransferMessage) Reset() { *m = TransferMessage{} }
|
||||
func (m *TransferMessage) String() string { return proto.CompactTextString(m) }
|
||||
func (*TransferMessage) ProtoMessage() {}
|
||||
func (*TransferMessage) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{2}
|
||||
}
|
||||
func (m *TransferMessage) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TransferMessage.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TransferMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TransferMessage.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TransferMessage) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TransferMessage.Merge(dst, src)
|
||||
}
|
||||
func (m *TransferMessage) XXX_Size() int {
|
||||
return xxx_messageInfo_TransferMessage.Size(m)
|
||||
}
|
||||
func (m *TransferMessage) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TransferMessage.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
func (m *TransferMessage) GetMessageTime() *google_protobuf2.Timestamp {
|
||||
var xxx_messageInfo_TransferMessage proto.InternalMessageInfo
|
||||
|
||||
func (m *TransferMessage) GetMessageTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.MessageTime
|
||||
}
|
||||
@ -465,10 +539,10 @@ func init() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/transfer.proto", fileDescriptor1)
|
||||
proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/transfer.proto", fileDescriptor_transfer_b655bdd8f06d7255)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_transfer_b655bdd8f06d7255 = []byte{
|
||||
// 922 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x6e, 0xe3, 0x44,
|
||||
0x14, 0xc6, 0xf9, 0xcf, 0x71, 0x92, 0x8d, 0x46, 0x2c, 0x35, 0xd5, 0x02, 0xa1, 0xa2, 0x52, 0xd8,
|
||||
|
1657
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go
generated
vendored
1657
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
353
vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go
generated
vendored
353
vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go
generated
vendored
@ -1,24 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/billing/v1/cloud_billing.proto
|
||||
|
||||
/*
|
||||
Package billing is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/cloud/billing/v1/cloud_billing.proto
|
||||
|
||||
It has these top-level messages:
|
||||
BillingAccount
|
||||
ProjectBillingInfo
|
||||
GetBillingAccountRequest
|
||||
ListBillingAccountsRequest
|
||||
ListBillingAccountsResponse
|
||||
ListProjectBillingInfoRequest
|
||||
ListProjectBillingInfoResponse
|
||||
GetProjectBillingInfoRequest
|
||||
UpdateProjectBillingInfoRequest
|
||||
*/
|
||||
package billing
|
||||
package billing // import "google.golang.org/genproto/googleapis/cloud/billing/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@ -49,20 +32,42 @@ type BillingAccount struct {
|
||||
// `billingAccounts/{billing_account_id}`. For example,
|
||||
// `billingAccounts/012345-567890-ABCDEF` would be the resource name for
|
||||
// billing account `012345-567890-ABCDEF`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// True if the billing account is open, and will therefore be charged for any
|
||||
// usage on associated projects. False if the billing account is closed, and
|
||||
// therefore projects associated with it will be unable to use paid services.
|
||||
Open bool `protobuf:"varint,2,opt,name=open" json:"open,omitempty"`
|
||||
Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"`
|
||||
// The display name given to the billing account, such as `My Billing
|
||||
// Account`. This name is displayed in the Google Cloud Console.
|
||||
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
|
||||
DisplayName string `protobuf:"bytes,3,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 *BillingAccount) Reset() { *m = BillingAccount{} }
|
||||
func (m *BillingAccount) String() string { return proto.CompactTextString(m) }
|
||||
func (*BillingAccount) ProtoMessage() {}
|
||||
func (*BillingAccount) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *BillingAccount) Reset() { *m = BillingAccount{} }
|
||||
func (m *BillingAccount) String() string { return proto.CompactTextString(m) }
|
||||
func (*BillingAccount) ProtoMessage() {}
|
||||
func (*BillingAccount) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{0}
|
||||
}
|
||||
func (m *BillingAccount) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BillingAccount.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BillingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BillingAccount.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *BillingAccount) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BillingAccount.Merge(dst, src)
|
||||
}
|
||||
func (m *BillingAccount) XXX_Size() int {
|
||||
return xxx_messageInfo_BillingAccount.Size(m)
|
||||
}
|
||||
func (m *BillingAccount) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BillingAccount.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BillingAccount proto.InternalMessageInfo
|
||||
|
||||
func (m *BillingAccount) GetName() string {
|
||||
if m != nil {
|
||||
@ -93,25 +98,47 @@ type ProjectBillingInfo struct {
|
||||
// `projects/{project_id}/billingInfo`. For example, the resource name for the
|
||||
// billing information for project `tokyo-rain-123` would be
|
||||
// `projects/tokyo-rain-123/billingInfo`. This field is read-only.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The ID of the project that this `ProjectBillingInfo` represents, such as
|
||||
// `tokyo-rain-123`. This is a convenience field so that you don't need to
|
||||
// parse the `name` field to obtain a project ID. This field is read-only.
|
||||
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||||
// The resource name of the billing account associated with the project, if
|
||||
// any. For example, `billingAccounts/012345-567890-ABCDEF`.
|
||||
BillingAccountName string `protobuf:"bytes,3,opt,name=billing_account_name,json=billingAccountName" json:"billing_account_name,omitempty"`
|
||||
BillingAccountName string `protobuf:"bytes,3,opt,name=billing_account_name,json=billingAccountName,proto3" json:"billing_account_name,omitempty"`
|
||||
// True if the project is associated with an open billing account, to which
|
||||
// usage on the project is charged. False if the project is associated with a
|
||||
// closed billing account, or no billing account at all, and therefore cannot
|
||||
// use paid services. This field is read-only.
|
||||
BillingEnabled bool `protobuf:"varint,4,opt,name=billing_enabled,json=billingEnabled" json:"billing_enabled,omitempty"`
|
||||
BillingEnabled bool `protobuf:"varint,4,opt,name=billing_enabled,json=billingEnabled,proto3" json:"billing_enabled,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ProjectBillingInfo) Reset() { *m = ProjectBillingInfo{} }
|
||||
func (m *ProjectBillingInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ProjectBillingInfo) ProtoMessage() {}
|
||||
func (*ProjectBillingInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *ProjectBillingInfo) Reset() { *m = ProjectBillingInfo{} }
|
||||
func (m *ProjectBillingInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ProjectBillingInfo) ProtoMessage() {}
|
||||
func (*ProjectBillingInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{1}
|
||||
}
|
||||
func (m *ProjectBillingInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ProjectBillingInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ProjectBillingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ProjectBillingInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ProjectBillingInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ProjectBillingInfo.Merge(dst, src)
|
||||
}
|
||||
func (m *ProjectBillingInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_ProjectBillingInfo.Size(m)
|
||||
}
|
||||
func (m *ProjectBillingInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ProjectBillingInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ProjectBillingInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *ProjectBillingInfo) GetName() string {
|
||||
if m != nil {
|
||||
@ -145,13 +172,35 @@ func (m *ProjectBillingInfo) GetBillingEnabled() bool {
|
||||
type GetBillingAccountRequest struct {
|
||||
// The resource name of the billing account to retrieve. For example,
|
||||
// `billingAccounts/012345-567890-ABCDEF`.
|
||||
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 *GetBillingAccountRequest) Reset() { *m = GetBillingAccountRequest{} }
|
||||
func (m *GetBillingAccountRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetBillingAccountRequest) ProtoMessage() {}
|
||||
func (*GetBillingAccountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *GetBillingAccountRequest) Reset() { *m = GetBillingAccountRequest{} }
|
||||
func (m *GetBillingAccountRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetBillingAccountRequest) ProtoMessage() {}
|
||||
func (*GetBillingAccountRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{2}
|
||||
}
|
||||
func (m *GetBillingAccountRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetBillingAccountRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetBillingAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetBillingAccountRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetBillingAccountRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetBillingAccountRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *GetBillingAccountRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetBillingAccountRequest.Size(m)
|
||||
}
|
||||
func (m *GetBillingAccountRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetBillingAccountRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetBillingAccountRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetBillingAccountRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -164,17 +213,39 @@ func (m *GetBillingAccountRequest) GetName() string {
|
||||
type ListBillingAccountsRequest struct {
|
||||
// Requested page size. The maximum page size is 100; this is also the
|
||||
// default.
|
||||
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||||
// A token identifying a page of results to return. This should be a
|
||||
// `next_page_token` value returned from a previous `ListBillingAccounts`
|
||||
// call. If unspecified, the first page of results is returned.
|
||||
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListBillingAccountsRequest) Reset() { *m = ListBillingAccountsRequest{} }
|
||||
func (m *ListBillingAccountsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListBillingAccountsRequest) ProtoMessage() {}
|
||||
func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *ListBillingAccountsRequest) Reset() { *m = ListBillingAccountsRequest{} }
|
||||
func (m *ListBillingAccountsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListBillingAccountsRequest) ProtoMessage() {}
|
||||
func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{3}
|
||||
}
|
||||
func (m *ListBillingAccountsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListBillingAccountsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListBillingAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListBillingAccountsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListBillingAccountsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListBillingAccountsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListBillingAccountsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListBillingAccountsRequest.Size(m)
|
||||
}
|
||||
func (m *ListBillingAccountsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListBillingAccountsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListBillingAccountsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListBillingAccountsRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
@ -193,17 +264,39 @@ func (m *ListBillingAccountsRequest) GetPageToken() string {
|
||||
// Response message for `ListBillingAccounts`.
|
||||
type ListBillingAccountsResponse struct {
|
||||
// A list of billing accounts.
|
||||
BillingAccounts []*BillingAccount `protobuf:"bytes,1,rep,name=billing_accounts,json=billingAccounts" json:"billing_accounts,omitempty"`
|
||||
BillingAccounts []*BillingAccount `protobuf:"bytes,1,rep,name=billing_accounts,json=billingAccounts,proto3" json:"billing_accounts,omitempty"`
|
||||
// A token to retrieve the next page of results. To retrieve the next page,
|
||||
// call `ListBillingAccounts` again with the `page_token` field set to this
|
||||
// value. This field is empty if there are no more results to retrieve.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListBillingAccountsResponse) Reset() { *m = ListBillingAccountsResponse{} }
|
||||
func (m *ListBillingAccountsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListBillingAccountsResponse) ProtoMessage() {}
|
||||
func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *ListBillingAccountsResponse) Reset() { *m = ListBillingAccountsResponse{} }
|
||||
func (m *ListBillingAccountsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListBillingAccountsResponse) ProtoMessage() {}
|
||||
func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{4}
|
||||
}
|
||||
func (m *ListBillingAccountsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListBillingAccountsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListBillingAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListBillingAccountsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListBillingAccountsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListBillingAccountsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListBillingAccountsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListBillingAccountsResponse.Size(m)
|
||||
}
|
||||
func (m *ListBillingAccountsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListBillingAccountsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListBillingAccountsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListBillingAccountsResponse) GetBillingAccounts() []*BillingAccount {
|
||||
if m != nil {
|
||||
@ -223,20 +316,42 @@ func (m *ListBillingAccountsResponse) GetNextPageToken() string {
|
||||
type ListProjectBillingInfoRequest struct {
|
||||
// The resource name of the billing account associated with the projects that
|
||||
// you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Requested page size. The maximum page size is 100; this is also the
|
||||
// default.
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||||
// A token identifying a page of results to be returned. This should be a
|
||||
// `next_page_token` value returned from a previous `ListProjectBillingInfo`
|
||||
// call. If unspecified, the first page of results is returned.
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListProjectBillingInfoRequest) Reset() { *m = ListProjectBillingInfoRequest{} }
|
||||
func (m *ListProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListProjectBillingInfoRequest) ProtoMessage() {}
|
||||
func (*ListProjectBillingInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *ListProjectBillingInfoRequest) Reset() { *m = ListProjectBillingInfoRequest{} }
|
||||
func (m *ListProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListProjectBillingInfoRequest) ProtoMessage() {}
|
||||
func (*ListProjectBillingInfoRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{5}
|
||||
}
|
||||
func (m *ListProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListProjectBillingInfoRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListProjectBillingInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListProjectBillingInfoRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListProjectBillingInfoRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListProjectBillingInfoRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListProjectBillingInfoRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListProjectBillingInfoRequest.Size(m)
|
||||
}
|
||||
func (m *ListProjectBillingInfoRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListProjectBillingInfoRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListProjectBillingInfoRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListProjectBillingInfoRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -263,17 +378,39 @@ func (m *ListProjectBillingInfoRequest) GetPageToken() string {
|
||||
type ListProjectBillingInfoResponse struct {
|
||||
// A list of `ProjectBillingInfo` resources representing the projects
|
||||
// associated with the billing account.
|
||||
ProjectBillingInfo []*ProjectBillingInfo `protobuf:"bytes,1,rep,name=project_billing_info,json=projectBillingInfo" json:"project_billing_info,omitempty"`
|
||||
ProjectBillingInfo []*ProjectBillingInfo `protobuf:"bytes,1,rep,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"`
|
||||
// A token to retrieve the next page of results. To retrieve the next page,
|
||||
// call `ListProjectBillingInfo` again with the `page_token` field set to this
|
||||
// value. This field is empty if there are no more results to retrieve.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListProjectBillingInfoResponse) Reset() { *m = ListProjectBillingInfoResponse{} }
|
||||
func (m *ListProjectBillingInfoResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListProjectBillingInfoResponse) ProtoMessage() {}
|
||||
func (*ListProjectBillingInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *ListProjectBillingInfoResponse) Reset() { *m = ListProjectBillingInfoResponse{} }
|
||||
func (m *ListProjectBillingInfoResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListProjectBillingInfoResponse) ProtoMessage() {}
|
||||
func (*ListProjectBillingInfoResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{6}
|
||||
}
|
||||
func (m *ListProjectBillingInfoResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListProjectBillingInfoResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListProjectBillingInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListProjectBillingInfoResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListProjectBillingInfoResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListProjectBillingInfoResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListProjectBillingInfoResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListProjectBillingInfoResponse.Size(m)
|
||||
}
|
||||
func (m *ListProjectBillingInfoResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListProjectBillingInfoResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListProjectBillingInfoResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListProjectBillingInfoResponse) GetProjectBillingInfo() []*ProjectBillingInfo {
|
||||
if m != nil {
|
||||
@ -293,13 +430,35 @@ func (m *ListProjectBillingInfoResponse) GetNextPageToken() string {
|
||||
type GetProjectBillingInfoRequest struct {
|
||||
// The resource name of the project for which billing information is
|
||||
// retrieved. For example, `projects/tokyo-rain-123`.
|
||||
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 *GetProjectBillingInfoRequest) Reset() { *m = GetProjectBillingInfoRequest{} }
|
||||
func (m *GetProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetProjectBillingInfoRequest) ProtoMessage() {}
|
||||
func (*GetProjectBillingInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *GetProjectBillingInfoRequest) Reset() { *m = GetProjectBillingInfoRequest{} }
|
||||
func (m *GetProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetProjectBillingInfoRequest) ProtoMessage() {}
|
||||
func (*GetProjectBillingInfoRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{7}
|
||||
}
|
||||
func (m *GetProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetProjectBillingInfoRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetProjectBillingInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetProjectBillingInfoRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetProjectBillingInfoRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetProjectBillingInfoRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *GetProjectBillingInfoRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetProjectBillingInfoRequest.Size(m)
|
||||
}
|
||||
func (m *GetProjectBillingInfoRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetProjectBillingInfoRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetProjectBillingInfoRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetProjectBillingInfoRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -312,16 +471,38 @@ func (m *GetProjectBillingInfoRequest) GetName() string {
|
||||
type UpdateProjectBillingInfoRequest struct {
|
||||
// The resource name of the project associated with the billing information
|
||||
// that you want to update. For example, `projects/tokyo-rain-123`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The new billing information for the project. Read-only fields are ignored;
|
||||
// thus, you may leave empty all fields except `billing_account_name`.
|
||||
ProjectBillingInfo *ProjectBillingInfo `protobuf:"bytes,2,opt,name=project_billing_info,json=projectBillingInfo" json:"project_billing_info,omitempty"`
|
||||
ProjectBillingInfo *ProjectBillingInfo `protobuf:"bytes,2,opt,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UpdateProjectBillingInfoRequest) Reset() { *m = UpdateProjectBillingInfoRequest{} }
|
||||
func (m *UpdateProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateProjectBillingInfoRequest) ProtoMessage() {}
|
||||
func (*UpdateProjectBillingInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
func (m *UpdateProjectBillingInfoRequest) Reset() { *m = UpdateProjectBillingInfoRequest{} }
|
||||
func (m *UpdateProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateProjectBillingInfoRequest) ProtoMessage() {}
|
||||
func (*UpdateProjectBillingInfoRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_cloud_billing_868724f2532f6f7f, []int{8}
|
||||
}
|
||||
func (m *UpdateProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UpdateProjectBillingInfoRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UpdateProjectBillingInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UpdateProjectBillingInfoRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UpdateProjectBillingInfoRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UpdateProjectBillingInfoRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *UpdateProjectBillingInfoRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_UpdateProjectBillingInfoRequest.Size(m)
|
||||
}
|
||||
func (m *UpdateProjectBillingInfoRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UpdateProjectBillingInfoRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UpdateProjectBillingInfoRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *UpdateProjectBillingInfoRequest) GetName() string {
|
||||
if m != nil {
|
||||
@ -357,8 +538,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for CloudBilling service
|
||||
|
||||
// CloudBillingClient is the client API for CloudBilling service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type CloudBillingClient interface {
|
||||
// Gets information about a billing account. The current authenticated user
|
||||
// must be an [owner of the billing
|
||||
@ -420,7 +602,7 @@ func NewCloudBillingClient(cc *grpc.ClientConn) CloudBillingClient {
|
||||
|
||||
func (c *cloudBillingClient) GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) {
|
||||
out := new(BillingAccount)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetBillingAccount", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetBillingAccount", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -429,7 +611,7 @@ func (c *cloudBillingClient) GetBillingAccount(ctx context.Context, in *GetBilli
|
||||
|
||||
func (c *cloudBillingClient) ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error) {
|
||||
out := new(ListBillingAccountsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -438,7 +620,7 @@ func (c *cloudBillingClient) ListBillingAccounts(ctx context.Context, in *ListBi
|
||||
|
||||
func (c *cloudBillingClient) ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error) {
|
||||
out := new(ListProjectBillingInfoResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -447,7 +629,7 @@ func (c *cloudBillingClient) ListProjectBillingInfo(ctx context.Context, in *Lis
|
||||
|
||||
func (c *cloudBillingClient) GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) {
|
||||
out := new(ProjectBillingInfo)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -456,15 +638,14 @@ func (c *cloudBillingClient) GetProjectBillingInfo(ctx context.Context, in *GetP
|
||||
|
||||
func (c *cloudBillingClient) UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) {
|
||||
out := new(ProjectBillingInfo)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for CloudBilling service
|
||||
|
||||
// CloudBillingServer is the server API for CloudBilling service.
|
||||
type CloudBillingServer interface {
|
||||
// Gets information about a billing account. The current authenticated user
|
||||
// must be an [owner of the billing
|
||||
@ -639,9 +820,11 @@ var _CloudBilling_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "google/cloud/billing/v1/cloud_billing.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/billing/v1/cloud_billing.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/billing/v1/cloud_billing.proto", fileDescriptor_cloud_billing_868724f2532f6f7f)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_cloud_billing_868724f2532f6f7f = []byte{
|
||||
// 667 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x4e, 0xd4, 0x40,
|
||||
0x14, 0xce, 0x00, 0x12, 0xf6, 0x80, 0x20, 0x03, 0xe8, 0x66, 0x17, 0x10, 0xea, 0x0f, 0x28, 0xb1,
|
||||
|
853
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go
generated
vendored
853
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1029
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go
generated
vendored
1029
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
107
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go
generated
vendored
107
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go
generated
vendored
@ -1,21 +1,27 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dataproc/v1/operations.proto
|
||||
|
||||
package dataproc
|
||||
package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/golang/protobuf/ptypes/empty"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "google.golang.org/genproto/googleapis/longrunning"
|
||||
import _ "github.com/golang/protobuf/ptypes/empty"
|
||||
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
|
||||
|
||||
// The operation state.
|
||||
type ClusterOperationStatus_State int32
|
||||
|
||||
@ -47,25 +53,47 @@ func (x ClusterOperationStatus_State) String() string {
|
||||
return proto.EnumName(ClusterOperationStatus_State_name, int32(x))
|
||||
}
|
||||
func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor2, []int{0, 0}
|
||||
return fileDescriptor_operations_7be03f6a43d7bf8b, []int{0, 0}
|
||||
}
|
||||
|
||||
// The status of the operation.
|
||||
type ClusterOperationStatus struct {
|
||||
// Output-only. A message containing the operation state.
|
||||
State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,enum=google.cloud.dataproc.v1.ClusterOperationStatus_State" json:"state,omitempty"`
|
||||
State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1.ClusterOperationStatus_State" json:"state,omitempty"`
|
||||
// Output-only. A message containing the detailed operation state.
|
||||
InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState" json:"inner_state,omitempty"`
|
||||
InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState,proto3" json:"inner_state,omitempty"`
|
||||
// Output-only.A message containing any operation metadata details.
|
||||
Details string `protobuf:"bytes,3,opt,name=details" json:"details,omitempty"`
|
||||
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
|
||||
// Output-only. The time this state was entered.
|
||||
StateStartTime *google_protobuf3.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime" json:"state_start_time,omitempty"`
|
||||
StateStartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} }
|
||||
func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationStatus) ProtoMessage() {}
|
||||
func (*ClusterOperationStatus) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} }
|
||||
func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationStatus) ProtoMessage() {}
|
||||
func (*ClusterOperationStatus) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_operations_7be03f6a43d7bf8b, []int{0}
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClusterOperationStatus.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClusterOperationStatus) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClusterOperationStatus.Merge(dst, src)
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_Size() int {
|
||||
return xxx_messageInfo_ClusterOperationStatus.Size(m)
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClusterOperationStatus.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClusterOperationStatus proto.InternalMessageInfo
|
||||
|
||||
func (m *ClusterOperationStatus) GetState() ClusterOperationStatus_State {
|
||||
if m != nil {
|
||||
@ -88,7 +116,7 @@ func (m *ClusterOperationStatus) GetDetails() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetStateStartTime() *google_protobuf3.Timestamp {
|
||||
func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StateStartTime
|
||||
}
|
||||
@ -98,27 +126,49 @@ func (m *ClusterOperationStatus) GetStateStartTime() *google_protobuf3.Timestamp
|
||||
// Metadata describing the operation.
|
||||
type ClusterOperationMetadata struct {
|
||||
// Output-only. Name of the cluster for the operation.
|
||||
ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName" json:"cluster_name,omitempty"`
|
||||
ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
|
||||
// Output-only. Cluster UUID for the operation.
|
||||
ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid" json:"cluster_uuid,omitempty"`
|
||||
ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"`
|
||||
// Output-only. Current operation status.
|
||||
Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status" json:"status,omitempty"`
|
||||
Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
|
||||
// Output-only. The previous operation status.
|
||||
StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory" json:"status_history,omitempty"`
|
||||
StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"`
|
||||
// Output-only. The operation type.
|
||||
OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType" json:"operation_type,omitempty"`
|
||||
OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
|
||||
// Output-only. Short description of operation.
|
||||
Description string `protobuf:"bytes,12,opt,name=description" json:"description,omitempty"`
|
||||
Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// Output-only. Labels associated with the operation
|
||||
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"`
|
||||
// Output-only. Errors encountered during operation execution.
|
||||
Warnings []string `protobuf:"bytes,14,rep,name=warnings" json:"warnings,omitempty"`
|
||||
Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} }
|
||||
func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationMetadata) ProtoMessage() {}
|
||||
func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} }
|
||||
func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationMetadata) ProtoMessage() {}
|
||||
func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_operations_7be03f6a43d7bf8b, []int{1}
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClusterOperationMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClusterOperationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClusterOperationMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_ClusterOperationMetadata.Size(m)
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClusterOperationMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClusterOperationMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *ClusterOperationMetadata) GetClusterName() string {
|
||||
if m != nil {
|
||||
@ -179,12 +229,15 @@ func (m *ClusterOperationMetadata) GetWarnings() []string {
|
||||
func init() {
|
||||
proto.RegisterType((*ClusterOperationStatus)(nil), "google.cloud.dataproc.v1.ClusterOperationStatus")
|
||||
proto.RegisterType((*ClusterOperationMetadata)(nil), "google.cloud.dataproc.v1.ClusterOperationMetadata")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.ClusterOperationMetadata.LabelsEntry")
|
||||
proto.RegisterEnum("google.cloud.dataproc.v1.ClusterOperationStatus_State", ClusterOperationStatus_State_name, ClusterOperationStatus_State_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/dataproc/v1/operations.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/dataproc/v1/operations.proto", fileDescriptor_operations_7be03f6a43d7bf8b)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_operations_7be03f6a43d7bf8b = []byte{
|
||||
// 553 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x61, 0x6b, 0xd3, 0x40,
|
||||
0x18, 0x36, 0xcd, 0xb6, 0xb6, 0x97, 0xb5, 0x96, 0x43, 0xe4, 0x88, 0x83, 0xc5, 0x8a, 0x50, 0xbf,
|
||||
|
1438
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go
generated
vendored
1438
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1368
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go
generated
vendored
1368
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
129
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go
generated
vendored
129
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go
generated
vendored
@ -1,19 +1,25 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dataproc/v1beta2/operations.proto
|
||||
|
||||
package dataproc
|
||||
package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2"
|
||||
|
||||
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_protobuf5 "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
|
||||
|
||||
// The operation state.
|
||||
type ClusterOperationStatus_State int32
|
||||
|
||||
@ -45,25 +51,47 @@ func (x ClusterOperationStatus_State) String() string {
|
||||
return proto.EnumName(ClusterOperationStatus_State_name, int32(x))
|
||||
}
|
||||
func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor2, []int{0, 0}
|
||||
return fileDescriptor_operations_c7679a03af3a5604, []int{0, 0}
|
||||
}
|
||||
|
||||
// The status of the operation.
|
||||
type ClusterOperationStatus struct {
|
||||
// Output-only. A message containing the operation state.
|
||||
State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,enum=google.cloud.dataproc.v1beta2.ClusterOperationStatus_State" json:"state,omitempty"`
|
||||
// Output-only. A message containing the detailed operation state.
|
||||
InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState" json:"inner_state,omitempty"`
|
||||
// Output-only.A message containing any operation metadata details.
|
||||
Details string `protobuf:"bytes,3,opt,name=details" json:"details,omitempty"`
|
||||
// Output-only. The time this state was entered.
|
||||
StateStartTime *google_protobuf5.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime" json:"state_start_time,omitempty"`
|
||||
// Output only. A message containing the operation state.
|
||||
State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.ClusterOperationStatus_State" json:"state,omitempty"`
|
||||
// Output only. A message containing the detailed operation state.
|
||||
InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState,proto3" json:"inner_state,omitempty"`
|
||||
// Output only. A message containing any operation metadata details.
|
||||
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
|
||||
// Output only. The time this state was entered.
|
||||
StateStartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} }
|
||||
func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationStatus) ProtoMessage() {}
|
||||
func (*ClusterOperationStatus) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} }
|
||||
func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationStatus) ProtoMessage() {}
|
||||
func (*ClusterOperationStatus) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_operations_c7679a03af3a5604, []int{0}
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClusterOperationStatus.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClusterOperationStatus) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClusterOperationStatus.Merge(dst, src)
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_Size() int {
|
||||
return xxx_messageInfo_ClusterOperationStatus.Size(m)
|
||||
}
|
||||
func (m *ClusterOperationStatus) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClusterOperationStatus.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClusterOperationStatus proto.InternalMessageInfo
|
||||
|
||||
func (m *ClusterOperationStatus) GetState() ClusterOperationStatus_State {
|
||||
if m != nil {
|
||||
@ -86,7 +114,7 @@ func (m *ClusterOperationStatus) GetDetails() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetStateStartTime() *google_protobuf5.Timestamp {
|
||||
func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StateStartTime
|
||||
}
|
||||
@ -95,28 +123,50 @@ func (m *ClusterOperationStatus) GetStateStartTime() *google_protobuf5.Timestamp
|
||||
|
||||
// Metadata describing the operation.
|
||||
type ClusterOperationMetadata struct {
|
||||
// Output-only. Name of the cluster for the operation.
|
||||
ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName" json:"cluster_name,omitempty"`
|
||||
// Output-only. Cluster UUID for the operation.
|
||||
ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid" json:"cluster_uuid,omitempty"`
|
||||
// Output-only. Current operation status.
|
||||
Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status" json:"status,omitempty"`
|
||||
// Output-only. The previous operation status.
|
||||
StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory" json:"status_history,omitempty"`
|
||||
// Output-only. The operation type.
|
||||
OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType" json:"operation_type,omitempty"`
|
||||
// Output-only. Short description of operation.
|
||||
Description string `protobuf:"bytes,12,opt,name=description" json:"description,omitempty"`
|
||||
// Output-only. Labels associated with the operation
|
||||
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"`
|
||||
// Output-only. Errors encountered during operation execution.
|
||||
Warnings []string `protobuf:"bytes,14,rep,name=warnings" json:"warnings,omitempty"`
|
||||
// Output only. Name of the cluster for the operation.
|
||||
ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
|
||||
// Output only. Cluster UUID for the operation.
|
||||
ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"`
|
||||
// Output only. Current operation status.
|
||||
Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
|
||||
// Output only. The previous operation status.
|
||||
StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"`
|
||||
// Output only. The operation type.
|
||||
OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
|
||||
// Output only. Short description of operation.
|
||||
Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// Output only. Labels associated with the operation
|
||||
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"`
|
||||
// Output only. Errors encountered during operation execution.
|
||||
Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} }
|
||||
func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationMetadata) ProtoMessage() {}
|
||||
func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} }
|
||||
func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClusterOperationMetadata) ProtoMessage() {}
|
||||
func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_operations_c7679a03af3a5604, []int{1}
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClusterOperationMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ClusterOperationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClusterOperationMetadata.Merge(dst, src)
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_ClusterOperationMetadata.Size(m)
|
||||
}
|
||||
func (m *ClusterOperationMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClusterOperationMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClusterOperationMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *ClusterOperationMetadata) GetClusterName() string {
|
||||
if m != nil {
|
||||
@ -177,12 +227,15 @@ func (m *ClusterOperationMetadata) GetWarnings() []string {
|
||||
func init() {
|
||||
proto.RegisterType((*ClusterOperationStatus)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationStatus")
|
||||
proto.RegisterType((*ClusterOperationMetadata)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationMetadata")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry")
|
||||
proto.RegisterEnum("google.cloud.dataproc.v1beta2.ClusterOperationStatus_State", ClusterOperationStatus_State_name, ClusterOperationStatus_State_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/dataproc/v1beta2/operations.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/dataproc/v1beta2/operations.proto", fileDescriptor_operations_c7679a03af3a5604)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_operations_c7679a03af3a5604 = []byte{
|
||||
// 537 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x5f, 0x8b, 0xd3, 0x4e,
|
||||
0x14, 0xfd, 0xa5, 0xff, 0x7b, 0xb3, 0xed, 0xaf, 0x0c, 0x22, 0x43, 0x51, 0x36, 0x5b, 0x10, 0xfa,
|
||||
|
38
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go
generated
vendored
Normal file
38
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dataproc/v1beta2/shared.proto
|
||||
|
||||
package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/dataproc/v1beta2/shared.proto", fileDescriptor_shared_1a90796f4cca9aae)
|
||||
}
|
||||
|
||||
var fileDescriptor_shared_1a90796f4cca9aae = []byte{
|
||||
// 157 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8e, 0xa1, 0x0e, 0x02, 0x31,
|
||||
0x0c, 0x40, 0x83, 0x41, 0x1c, 0x0e, 0x49, 0x40, 0x60, 0x11, 0x6d, 0x00, 0x89, 0xbb, 0x04, 0x7f,
|
||||
0x09, 0x0e, 0xd7, 0xdb, 0x96, 0xb2, 0x64, 0xac, 0xcb, 0x36, 0x48, 0xf8, 0x7b, 0xc2, 0xb6, 0x93,
|
||||
0x9c, 0x6d, 0xdf, 0x7b, 0x6d, 0x77, 0x60, 0x11, 0x76, 0x06, 0x95, 0x93, 0x97, 0x46, 0x4d, 0x99,
|
||||
0x42, 0x14, 0x85, 0xef, 0xe3, 0x68, 0x32, 0x9d, 0x30, 0x3d, 0x28, 0x1a, 0x0d, 0x21, 0x4a, 0x96,
|
||||
0xf5, 0xae, 0xb2, 0x50, 0x58, 0x98, 0x58, 0x68, 0xec, 0x66, 0xdb, 0x52, 0x14, 0x2c, 0x92, 0xf7,
|
||||
0x92, 0x29, 0x5b, 0xf1, 0xa9, 0xca, 0xfd, 0xa7, 0xdb, 0x2b, 0x79, 0xc2, 0x6c, 0xa2, 0x5f, 0xdd,
|
||||
0xca, 0xbd, 0xe1, 0x67, 0x0c, 0x8b, 0xfb, 0xb5, 0xd1, 0x2c, 0x8e, 0x3c, 0x83, 0x44, 0x46, 0x36,
|
||||
0xbe, 0xf4, 0xb0, 0xae, 0x28, 0xd8, 0xf4, 0xe7, 0xf7, 0xcb, 0x34, 0x18, 0x97, 0xc5, 0x38, 0x7f,
|
||||
0x03, 0x00, 0x00, 0xff, 0xff, 0x63, 0xea, 0xb3, 0xa5, 0xec, 0x00, 0x00, 0x00,
|
||||
}
|
1179
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go
generated
vendored
1179
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1264
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go
generated
vendored
Normal file
1264
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
738
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go
generated
vendored
Normal file
738
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go
generated
vendored
Normal file
@ -0,0 +1,738 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dialogflow/v2/context.proto
|
||||
|
||||
package dialogflow // import "google.golang.org/genproto/googleapis/cloud/dialogflow/v2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import _struct "github.com/golang/protobuf/ptypes/struct"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Represents a context.
|
||||
type Context struct {
|
||||
// Required. The unique identifier of the context. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Optional. The number of conversational query requests after which the
|
||||
// context expires. If set to `0` (the default) the context expires
|
||||
// immediately. Contexts expire automatically after 10 minutes even if there
|
||||
// are no matching queries.
|
||||
LifespanCount int32 `protobuf:"varint,2,opt,name=lifespan_count,json=lifespanCount,proto3" json:"lifespan_count,omitempty"`
|
||||
// Optional. The collection of parameters associated with this context.
|
||||
// Refer to [this doc](https://dialogflow.com/docs/actions-and-parameters) for
|
||||
// syntax.
|
||||
Parameters *_struct.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,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 fileDescriptor_context_81c56ca1e96cd61f, []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) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Context) GetLifespanCount() int32 {
|
||||
if m != nil {
|
||||
return m.LifespanCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Context) GetParameters() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Parameters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
|
||||
type ListContextsRequest struct {
|
||||
// Required. The session to list all contexts from.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
// Optional. The maximum number of items to return in a single page. By
|
||||
// default 100 and at most 1000.
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||||
// Optional. The next_page_token value returned from a previous list request.
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListContextsRequest) Reset() { *m = ListContextsRequest{} }
|
||||
func (m *ListContextsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListContextsRequest) ProtoMessage() {}
|
||||
func (*ListContextsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_context_81c56ca1e96cd61f, []int{1}
|
||||
}
|
||||
func (m *ListContextsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListContextsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListContextsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListContextsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListContextsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListContextsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListContextsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListContextsRequest.Size(m)
|
||||
}
|
||||
func (m *ListContextsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListContextsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListContextsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListContextsRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListContextsRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListContextsRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
|
||||
type ListContextsResponse struct {
|
||||
// The list of contexts. There will be a maximum number of items
|
||||
// returned based on the page_size field in the request.
|
||||
Contexts []*Context `protobuf:"bytes,1,rep,name=contexts,proto3" json:"contexts,omitempty"`
|
||||
// Token to retrieve the next page of results, or empty if there are no
|
||||
// more results in the list.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListContextsResponse) Reset() { *m = ListContextsResponse{} }
|
||||
func (m *ListContextsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListContextsResponse) ProtoMessage() {}
|
||||
func (*ListContextsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_context_81c56ca1e96cd61f, []int{2}
|
||||
}
|
||||
func (m *ListContextsResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListContextsResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListContextsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListContextsResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListContextsResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListContextsResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListContextsResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListContextsResponse.Size(m)
|
||||
}
|
||||
func (m *ListContextsResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListContextsResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListContextsResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListContextsResponse) GetContexts() []*Context {
|
||||
if m != nil {
|
||||
return m.Contexts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListContextsResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [Contexts.GetContext][google.cloud.dialogflow.v2.Contexts.GetContext].
|
||||
type GetContextRequest struct {
|
||||
// Required. The name of the context. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
|
||||
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 *GetContextRequest) Reset() { *m = GetContextRequest{} }
|
||||
func (m *GetContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetContextRequest) ProtoMessage() {}
|
||||
func (*GetContextRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_context_81c56ca1e96cd61f, []int{3}
|
||||
}
|
||||
func (m *GetContextRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetContextRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetContextRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetContextRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetContextRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *GetContextRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetContextRequest.Size(m)
|
||||
}
|
||||
func (m *GetContextRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetContextRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetContextRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetContextRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2.Contexts.CreateContext].
|
||||
type CreateContextRequest struct {
|
||||
// Required. The session to create a context for.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
// Required. The context to create.
|
||||
Context *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateContextRequest) Reset() { *m = CreateContextRequest{} }
|
||||
func (m *CreateContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateContextRequest) ProtoMessage() {}
|
||||
func (*CreateContextRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_context_81c56ca1e96cd61f, []int{4}
|
||||
}
|
||||
func (m *CreateContextRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateContextRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateContextRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateContextRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateContextRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateContextRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateContextRequest.Size(m)
|
||||
}
|
||||
func (m *CreateContextRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateContextRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateContextRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateContextRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateContextRequest) GetContext() *Context {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2.Contexts.UpdateContext].
|
||||
type UpdateContextRequest struct {
|
||||
// Required. The context to update.
|
||||
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
|
||||
// Optional. The mask to control which fields get updated.
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UpdateContextRequest) Reset() { *m = UpdateContextRequest{} }
|
||||
func (m *UpdateContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateContextRequest) ProtoMessage() {}
|
||||
func (*UpdateContextRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_context_81c56ca1e96cd61f, []int{5}
|
||||
}
|
||||
func (m *UpdateContextRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UpdateContextRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UpdateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UpdateContextRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UpdateContextRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UpdateContextRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *UpdateContextRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_UpdateContextRequest.Size(m)
|
||||
}
|
||||
func (m *UpdateContextRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UpdateContextRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UpdateContextRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *UpdateContextRequest) GetContext() *Context {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateContextRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
if m != nil {
|
||||
return m.UpdateMask
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2.Contexts.DeleteContext].
|
||||
type DeleteContextRequest struct {
|
||||
// Required. The name of the context to delete. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
|
||||
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 *DeleteContextRequest) Reset() { *m = DeleteContextRequest{} }
|
||||
func (m *DeleteContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteContextRequest) ProtoMessage() {}
|
||||
func (*DeleteContextRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_context_81c56ca1e96cd61f, []int{6}
|
||||
}
|
||||
func (m *DeleteContextRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteContextRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeleteContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeleteContextRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DeleteContextRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeleteContextRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *DeleteContextRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_DeleteContextRequest.Size(m)
|
||||
}
|
||||
func (m *DeleteContextRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeleteContextRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeleteContextRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *DeleteContextRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2.Contexts.DeleteAllContexts].
|
||||
type DeleteAllContextsRequest struct {
|
||||
// Required. The name of the session to delete all contexts from. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DeleteAllContextsRequest) Reset() { *m = DeleteAllContextsRequest{} }
|
||||
func (m *DeleteAllContextsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteAllContextsRequest) ProtoMessage() {}
|
||||
func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_context_81c56ca1e96cd61f, []int{7}
|
||||
}
|
||||
func (m *DeleteAllContextsRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteAllContextsRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeleteAllContextsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeleteAllContextsRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DeleteAllContextsRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeleteAllContextsRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *DeleteAllContextsRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_DeleteAllContextsRequest.Size(m)
|
||||
}
|
||||
func (m *DeleteAllContextsRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeleteAllContextsRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeleteAllContextsRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *DeleteAllContextsRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Context)(nil), "google.cloud.dialogflow.v2.Context")
|
||||
proto.RegisterType((*ListContextsRequest)(nil), "google.cloud.dialogflow.v2.ListContextsRequest")
|
||||
proto.RegisterType((*ListContextsResponse)(nil), "google.cloud.dialogflow.v2.ListContextsResponse")
|
||||
proto.RegisterType((*GetContextRequest)(nil), "google.cloud.dialogflow.v2.GetContextRequest")
|
||||
proto.RegisterType((*CreateContextRequest)(nil), "google.cloud.dialogflow.v2.CreateContextRequest")
|
||||
proto.RegisterType((*UpdateContextRequest)(nil), "google.cloud.dialogflow.v2.UpdateContextRequest")
|
||||
proto.RegisterType((*DeleteContextRequest)(nil), "google.cloud.dialogflow.v2.DeleteContextRequest")
|
||||
proto.RegisterType((*DeleteAllContextsRequest)(nil), "google.cloud.dialogflow.v2.DeleteAllContextsRequest")
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// ContextsClient is the client API for Contexts service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type ContextsClient interface {
|
||||
// Returns the list of all contexts in the specified session.
|
||||
ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error)
|
||||
// Retrieves the specified context.
|
||||
GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error)
|
||||
// Creates a context.
|
||||
CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error)
|
||||
// Updates the specified context.
|
||||
UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error)
|
||||
// Deletes the specified context.
|
||||
DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Deletes all active contexts in the specified session.
|
||||
DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
type contextsClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewContextsClient(cc *grpc.ClientConn) ContextsClient {
|
||||
return &contextsClient{cc}
|
||||
}
|
||||
|
||||
func (c *contextsClient) ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error) {
|
||||
out := new(ListContextsResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/ListContexts", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) {
|
||||
out := new(Context)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/GetContext", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error) {
|
||||
out := new(Context)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/CreateContext", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error) {
|
||||
out := new(Context)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/UpdateContext", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/DeleteContext", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/DeleteAllContexts", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// ContextsServer is the server API for Contexts service.
|
||||
type ContextsServer interface {
|
||||
// Returns the list of all contexts in the specified session.
|
||||
ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error)
|
||||
// Retrieves the specified context.
|
||||
GetContext(context.Context, *GetContextRequest) (*Context, error)
|
||||
// Creates a context.
|
||||
CreateContext(context.Context, *CreateContextRequest) (*Context, error)
|
||||
// Updates the specified context.
|
||||
UpdateContext(context.Context, *UpdateContextRequest) (*Context, error)
|
||||
// Deletes the specified context.
|
||||
DeleteContext(context.Context, *DeleteContextRequest) (*empty.Empty, error)
|
||||
// Deletes all active contexts in the specified session.
|
||||
DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterContextsServer(s *grpc.Server, srv ContextsServer) {
|
||||
s.RegisterService(&_Contexts_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _Contexts_ListContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListContextsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).ListContexts(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.Contexts/ListContexts",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).ListContexts(ctx, req.(*ListContextsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_GetContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).GetContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.Contexts/GetContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).GetContext(ctx, req.(*GetContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_CreateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).CreateContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.Contexts/CreateContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).CreateContext(ctx, req.(*CreateContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_UpdateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).UpdateContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.Contexts/UpdateContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).UpdateContext(ctx, req.(*UpdateContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_DeleteContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).DeleteContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.Contexts/DeleteContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).DeleteContext(ctx, req.(*DeleteContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_DeleteAllContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteAllContextsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).DeleteAllContexts(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.Contexts/DeleteAllContexts",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).DeleteAllContexts(ctx, req.(*DeleteAllContextsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _Contexts_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.dialogflow.v2.Contexts",
|
||||
HandlerType: (*ContextsServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListContexts",
|
||||
Handler: _Contexts_ListContexts_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetContext",
|
||||
Handler: _Contexts_GetContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateContext",
|
||||
Handler: _Contexts_CreateContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateContext",
|
||||
Handler: _Contexts_UpdateContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteContext",
|
||||
Handler: _Contexts_DeleteContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteAllContexts",
|
||||
Handler: _Contexts_DeleteAllContexts_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/dialogflow/v2/context.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/dialogflow/v2/context.proto", fileDescriptor_context_81c56ca1e96cd61f)
|
||||
}
|
||||
|
||||
var fileDescriptor_context_81c56ca1e96cd61f = []byte{
|
||||
// 715 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x4f, 0x6f, 0xd3, 0x30,
|
||||
0x18, 0xc6, 0xe5, 0x0e, 0xf6, 0xe7, 0xdd, 0x0a, 0x9a, 0xa9, 0x46, 0x95, 0x0d, 0x54, 0x05, 0x01,
|
||||
0x55, 0x25, 0x62, 0xc8, 0x90, 0xd0, 0x18, 0x13, 0x62, 0x2d, 0x9b, 0x84, 0x40, 0x9a, 0x3a, 0xe0,
|
||||
0xc0, 0xa5, 0xf2, 0x5a, 0x37, 0x0a, 0x4b, 0xe3, 0x10, 0xbb, 0x63, 0x0c, 0x4d, 0x48, 0x7c, 0x04,
|
||||
0xe0, 0x36, 0x4e, 0x1c, 0x27, 0x4e, 0x7c, 0x15, 0xbe, 0x02, 0x77, 0xae, 0x1c, 0x51, 0x1c, 0xa7,
|
||||
0xff, 0x57, 0x52, 0x6e, 0x89, 0xfd, 0xd8, 0xcf, 0xcf, 0xaf, 0x9f, 0x37, 0x81, 0xa2, 0xc3, 0xb9,
|
||||
0xe3, 0x31, 0x52, 0xf7, 0x78, 0xbb, 0x41, 0x1a, 0x2e, 0xf5, 0xb8, 0xd3, 0xf4, 0xf8, 0x5b, 0x72,
|
||||
0x60, 0x93, 0x3a, 0xf7, 0x25, 0x3b, 0x94, 0x56, 0x10, 0x72, 0xc9, 0xb1, 0x11, 0x2b, 0x2d, 0xa5,
|
||||
0xb4, 0xba, 0x4a, 0xeb, 0xc0, 0x36, 0x56, 0xf4, 0x2e, 0x34, 0x70, 0x09, 0xf5, 0x7d, 0x2e, 0xa9,
|
||||
0x74, 0xb9, 0x2f, 0xe2, 0x95, 0xc6, 0xb2, 0x9e, 0x55, 0x6f, 0x7b, 0xed, 0x26, 0x61, 0xad, 0x40,
|
||||
0xbe, 0xd3, 0x93, 0x85, 0xc1, 0xc9, 0xa6, 0xcb, 0xbc, 0x46, 0xad, 0x45, 0xc5, 0xbe, 0x56, 0xac,
|
||||
0x0c, 0x2a, 0x84, 0x0c, 0xdb, 0x75, 0x8d, 0x65, 0x1e, 0xc3, 0x4c, 0x39, 0xe6, 0xc4, 0x18, 0xce,
|
||||
0xf9, 0xb4, 0xc5, 0xf2, 0xa8, 0x80, 0x8a, 0x73, 0x55, 0xf5, 0x8c, 0xaf, 0xc3, 0x05, 0xcf, 0x6d,
|
||||
0x32, 0x11, 0x50, 0xbf, 0x56, 0xe7, 0x6d, 0x5f, 0xe6, 0x33, 0x05, 0x54, 0x3c, 0x5f, 0xcd, 0x26,
|
||||
0xa3, 0xe5, 0x68, 0x10, 0xdf, 0x03, 0x08, 0x68, 0x48, 0x5b, 0x4c, 0xb2, 0x50, 0xe4, 0xa7, 0x0a,
|
||||
0xa8, 0x38, 0x6f, 0x5f, 0xb6, 0xf4, 0x89, 0x13, 0x63, 0x6b, 0x57, 0x19, 0x57, 0x7b, 0xa4, 0xa6,
|
||||
0x0b, 0x97, 0x9e, 0xba, 0x42, 0x6a, 0x04, 0x51, 0x65, 0x6f, 0xda, 0x4c, 0x48, 0xbc, 0x04, 0xd3,
|
||||
0x01, 0x0d, 0x99, 0x2f, 0x35, 0x8c, 0x7e, 0xc3, 0xcb, 0x30, 0x17, 0x50, 0x87, 0xd5, 0x84, 0x7b,
|
||||
0xc4, 0x34, 0xc9, 0x6c, 0x34, 0xb0, 0xeb, 0x1e, 0x31, 0x7c, 0x25, 0x82, 0x70, 0x58, 0x4d, 0xf2,
|
||||
0x7d, 0xe6, 0x2b, 0x88, 0xb9, 0xaa, 0x92, 0x3f, 0x8f, 0x06, 0xcc, 0x0f, 0x90, 0xeb, 0xb7, 0x12,
|
||||
0x01, 0xf7, 0x05, 0xc3, 0x0f, 0x61, 0x56, 0xdf, 0x94, 0xc8, 0xa3, 0xc2, 0x54, 0x71, 0xde, 0xbe,
|
||||
0x66, 0x9d, 0x7d, 0x57, 0x96, 0x5e, 0x5f, 0xed, 0x2c, 0xc2, 0x37, 0xe0, 0xa2, 0xcf, 0x0e, 0x65,
|
||||
0xad, 0xc7, 0x3c, 0xa3, 0xcc, 0xb3, 0xd1, 0xf0, 0x4e, 0x07, 0xe0, 0x26, 0x2c, 0x6e, 0xb3, 0xc4,
|
||||
0x3f, 0x39, 0xe9, 0x88, 0xa2, 0x9b, 0x2d, 0xc8, 0x95, 0x43, 0x46, 0x25, 0x1b, 0xd0, 0x9e, 0x55,
|
||||
0x95, 0x0d, 0x98, 0xd1, 0x30, 0xca, 0x38, 0xe5, 0x01, 0x92, 0x35, 0xe6, 0x27, 0x04, 0xb9, 0x17,
|
||||
0x41, 0x63, 0xd8, 0xaf, 0x67, 0x5f, 0x34, 0xf9, 0xbe, 0x78, 0x1d, 0xe6, 0xdb, 0x6a, 0x5b, 0x95,
|
||||
0x46, 0x8d, 0x66, 0x0c, 0xa5, 0x62, 0x2b, 0x0a, 0xec, 0x33, 0x2a, 0xf6, 0xab, 0x10, 0xcb, 0xa3,
|
||||
0x67, 0xb3, 0x04, 0xb9, 0x0a, 0xf3, 0xd8, 0x10, 0xd3, 0xa8, 0x7a, 0xd9, 0x90, 0x8f, 0xb5, 0x8f,
|
||||
0x3c, 0x2f, 0x65, 0x92, 0xec, 0xdf, 0x33, 0x30, 0x9b, 0x68, 0xf1, 0x77, 0x04, 0x0b, 0xbd, 0xd9,
|
||||
0xc0, 0x64, 0xdc, 0x41, 0x47, 0x04, 0xd6, 0xb8, 0x9d, 0x7e, 0x41, 0x1c, 0x3b, 0x73, 0xed, 0xe3,
|
||||
0xcf, 0x5f, 0x9f, 0x33, 0xab, 0xf8, 0x4e, 0xf4, 0xa9, 0x78, 0x1f, 0x53, 0x6d, 0x04, 0x21, 0x7f,
|
||||
0xcd, 0xea, 0x52, 0x90, 0x12, 0xa1, 0x0e, 0xf3, 0x25, 0x11, 0x4c, 0x88, 0xe8, 0x53, 0x40, 0x4a,
|
||||
0xc7, 0xa4, 0x13, 0xb8, 0x13, 0x04, 0xd0, 0x4d, 0x12, 0xbe, 0x35, 0xce, 0x7b, 0x28, 0x71, 0x46,
|
||||
0x9a, 0x4b, 0x1c, 0xa0, 0x8b, 0xaa, 0x3c, 0x8e, 0xad, 0x83, 0x46, 0x4a, 0xc7, 0xf8, 0x14, 0x41,
|
||||
0xb6, 0x2f, 0xbe, 0x78, 0x6c, 0x71, 0x46, 0x25, 0x3d, 0x1d, 0xe3, 0xa6, 0x62, 0x7c, 0x60, 0x4e,
|
||||
0x5e, 0xc1, 0xfb, 0x9d, 0x8c, 0xfe, 0x40, 0x90, 0xed, 0xcb, 0xfe, 0x78, 0xd8, 0x51, 0x6d, 0x92,
|
||||
0x0e, 0xf6, 0x89, 0x82, 0xad, 0xd8, 0x6b, 0x0a, 0x36, 0xf9, 0x35, 0x4c, 0x52, 0xd8, 0x2e, 0xf4,
|
||||
0x17, 0x04, 0xd9, 0xbe, 0xe6, 0x18, 0x0f, 0x3d, 0xaa, 0x8f, 0x8c, 0xa5, 0xa1, 0x3e, 0x7c, 0x1c,
|
||||
0xfd, 0x55, 0x92, 0x8b, 0x2f, 0xfd, 0xc7, 0xc5, 0x7f, 0x45, 0xb0, 0x38, 0xd4, 0x87, 0xf8, 0xee,
|
||||
0xbf, 0xd1, 0x86, 0xdb, 0x36, 0x25, 0xde, 0x24, 0x77, 0xbe, 0x79, 0x82, 0xe0, 0x6a, 0x9d, 0xb7,
|
||||
0xc6, 0xe0, 0x6c, 0x2e, 0x68, 0x8c, 0x9d, 0xc8, 0x74, 0x07, 0xbd, 0xaa, 0x68, 0xad, 0xc3, 0x3d,
|
||||
0xea, 0x3b, 0x16, 0x0f, 0x1d, 0xe2, 0x30, 0x5f, 0x21, 0x91, 0x78, 0x8a, 0x06, 0xae, 0x18, 0xf5,
|
||||
0xf3, 0x5f, 0xef, 0xbe, 0xfd, 0x41, 0xe8, 0x5b, 0x26, 0x53, 0xd9, 0x3a, 0xcd, 0x18, 0xdb, 0xf1,
|
||||
0x76, 0x65, 0x65, 0x5d, 0xe9, 0x5a, 0xbf, 0xb4, 0xf7, 0xa6, 0xd5, 0xae, 0xab, 0x7f, 0x03, 0x00,
|
||||
0x00, 0xff, 0xff, 0xb8, 0xb1, 0x2f, 0xbf, 0x51, 0x08, 0x00, 0x00,
|
||||
}
|
1613
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go
generated
vendored
Normal file
1613
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3354
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go
generated
vendored
Normal file
3354
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1506
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go
generated
vendored
Normal file
1506
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
710
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go
generated
vendored
Normal file
710
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go
generated
vendored
Normal file
@ -0,0 +1,710 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dialogflow/v2/session_entity_type.proto
|
||||
|
||||
package dialogflow // import "google.golang.org/genproto/googleapis/cloud/dialogflow/v2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import field_mask "google.golang.org/genproto/protobuf/field_mask"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The types of modifications for a session entity type.
|
||||
type SessionEntityType_EntityOverrideMode int32
|
||||
|
||||
const (
|
||||
// Not specified. This value should be never used.
|
||||
SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0
|
||||
// The collection of session entities overrides the collection of entities
|
||||
// in the corresponding developer entity type.
|
||||
SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1
|
||||
// The collection of session entities extends the collection of entities in
|
||||
// the corresponding developer entity type.
|
||||
// Calls to `ListSessionEntityTypes`, `GetSessionEntityType`,
|
||||
// `CreateSessionEntityType` and `UpdateSessionEntityType` return the full
|
||||
// collection of entities from the developer entity type in the agent's
|
||||
// default language and the session entity type.
|
||||
SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2
|
||||
)
|
||||
|
||||
var SessionEntityType_EntityOverrideMode_name = map[int32]string{
|
||||
0: "ENTITY_OVERRIDE_MODE_UNSPECIFIED",
|
||||
1: "ENTITY_OVERRIDE_MODE_OVERRIDE",
|
||||
2: "ENTITY_OVERRIDE_MODE_SUPPLEMENT",
|
||||
}
|
||||
var SessionEntityType_EntityOverrideMode_value = map[string]int32{
|
||||
"ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0,
|
||||
"ENTITY_OVERRIDE_MODE_OVERRIDE": 1,
|
||||
"ENTITY_OVERRIDE_MODE_SUPPLEMENT": 2,
|
||||
}
|
||||
|
||||
func (x SessionEntityType_EntityOverrideMode) String() string {
|
||||
return proto.EnumName(SessionEntityType_EntityOverrideMode_name, int32(x))
|
||||
}
|
||||
func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{0, 0}
|
||||
}
|
||||
|
||||
// Represents a session entity type.
|
||||
//
|
||||
// Extends or replaces a developer entity type at the user session level (we
|
||||
// refer to the entity types defined at the agent level as "developer entity
|
||||
// types").
|
||||
//
|
||||
// Note: session entity types apply to all queries, regardless of the language.
|
||||
type SessionEntityType struct {
|
||||
// Required. The unique identifier of this session entity type. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Required. Indicates whether the additional data should override or
|
||||
// supplement the developer entity type definition.
|
||||
EntityOverrideMode SessionEntityType_EntityOverrideMode `protobuf:"varint,2,opt,name=entity_override_mode,json=entityOverrideMode,proto3,enum=google.cloud.dialogflow.v2.SessionEntityType_EntityOverrideMode" json:"entity_override_mode,omitempty"`
|
||||
// Required. The collection of entities associated with this session entity
|
||||
// type.
|
||||
Entities []*EntityType_Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SessionEntityType) Reset() { *m = SessionEntityType{} }
|
||||
func (m *SessionEntityType) String() string { return proto.CompactTextString(m) }
|
||||
func (*SessionEntityType) ProtoMessage() {}
|
||||
func (*SessionEntityType) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{0}
|
||||
}
|
||||
func (m *SessionEntityType) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SessionEntityType.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SessionEntityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SessionEntityType.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *SessionEntityType) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SessionEntityType.Merge(dst, src)
|
||||
}
|
||||
func (m *SessionEntityType) XXX_Size() int {
|
||||
return xxx_messageInfo_SessionEntityType.Size(m)
|
||||
}
|
||||
func (m *SessionEntityType) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SessionEntityType.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SessionEntityType proto.InternalMessageInfo
|
||||
|
||||
func (m *SessionEntityType) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode {
|
||||
if m != nil {
|
||||
return m.EntityOverrideMode
|
||||
}
|
||||
return SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *SessionEntityType) GetEntities() []*EntityType_Entity {
|
||||
if m != nil {
|
||||
return m.Entities
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes].
|
||||
type ListSessionEntityTypesRequest struct {
|
||||
// Required. The session to list all session entity types from.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
// Optional. The maximum number of items to return in a single page. By
|
||||
// default 100 and at most 1000.
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||||
// Optional. The next_page_token value returned from a previous list request.
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) Reset() { *m = ListSessionEntityTypesRequest{} }
|
||||
func (m *ListSessionEntityTypesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListSessionEntityTypesRequest) ProtoMessage() {}
|
||||
func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{1}
|
||||
}
|
||||
func (m *ListSessionEntityTypesRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListSessionEntityTypesRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListSessionEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListSessionEntityTypesRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListSessionEntityTypesRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListSessionEntityTypesRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListSessionEntityTypesRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListSessionEntityTypesRequest.Size(m)
|
||||
}
|
||||
func (m *ListSessionEntityTypesRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListSessionEntityTypesRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListSessionEntityTypesRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes].
|
||||
type ListSessionEntityTypesResponse struct {
|
||||
// The list of session entity types. There will be a maximum number of items
|
||||
// returned based on the page_size field in the request.
|
||||
SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"`
|
||||
// Token to retrieve the next page of results, or empty if there are no
|
||||
// more results in the list.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesResponse) Reset() { *m = ListSessionEntityTypesResponse{} }
|
||||
func (m *ListSessionEntityTypesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListSessionEntityTypesResponse) ProtoMessage() {}
|
||||
func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{2}
|
||||
}
|
||||
func (m *ListSessionEntityTypesResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListSessionEntityTypesResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListSessionEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListSessionEntityTypesResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListSessionEntityTypesResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListSessionEntityTypesResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListSessionEntityTypesResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListSessionEntityTypesResponse.Size(m)
|
||||
}
|
||||
func (m *ListSessionEntityTypesResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListSessionEntityTypesResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListSessionEntityTypesResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType {
|
||||
if m != nil {
|
||||
return m.SessionEntityTypes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType].
|
||||
type GetSessionEntityTypeRequest struct {
|
||||
// Required. The name of the session entity type. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>`.
|
||||
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 *GetSessionEntityTypeRequest) Reset() { *m = GetSessionEntityTypeRequest{} }
|
||||
func (m *GetSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{3}
|
||||
}
|
||||
func (m *GetSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetSessionEntityTypeRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetSessionEntityTypeRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetSessionEntityTypeRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetSessionEntityTypeRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *GetSessionEntityTypeRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetSessionEntityTypeRequest.Size(m)
|
||||
}
|
||||
func (m *GetSessionEntityTypeRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetSessionEntityTypeRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetSessionEntityTypeRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetSessionEntityTypeRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType].
|
||||
type CreateSessionEntityTypeRequest struct {
|
||||
// Required. The session to create a session entity type for.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
// Required. The session entity type to create.
|
||||
SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateSessionEntityTypeRequest) Reset() { *m = CreateSessionEntityTypeRequest{} }
|
||||
func (m *CreateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{4}
|
||||
}
|
||||
func (m *CreateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateSessionEntityTypeRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateSessionEntityTypeRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *CreateSessionEntityTypeRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateSessionEntityTypeRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *CreateSessionEntityTypeRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateSessionEntityTypeRequest.Size(m)
|
||||
}
|
||||
func (m *CreateSessionEntityTypeRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateSessionEntityTypeRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateSessionEntityTypeRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateSessionEntityTypeRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType {
|
||||
if m != nil {
|
||||
return m.SessionEntityType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType].
|
||||
type UpdateSessionEntityTypeRequest struct {
|
||||
// Required. The entity type to update. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>`.
|
||||
SessionEntityType *SessionEntityType `protobuf:"bytes,1,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"`
|
||||
// Optional. The mask to control which fields get updated.
|
||||
UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UpdateSessionEntityTypeRequest) Reset() { *m = UpdateSessionEntityTypeRequest{} }
|
||||
func (m *UpdateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{5}
|
||||
}
|
||||
func (m *UpdateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UpdateSessionEntityTypeRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UpdateSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UpdateSessionEntityTypeRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *UpdateSessionEntityTypeRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UpdateSessionEntityTypeRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *UpdateSessionEntityTypeRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_UpdateSessionEntityTypeRequest.Size(m)
|
||||
}
|
||||
func (m *UpdateSessionEntityTypeRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UpdateSessionEntityTypeRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UpdateSessionEntityTypeRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType {
|
||||
if m != nil {
|
||||
return m.SessionEntityType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateSessionEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask {
|
||||
if m != nil {
|
||||
return m.UpdateMask
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType].
|
||||
type DeleteSessionEntityTypeRequest struct {
|
||||
// Required. The name of the entity type to delete. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>`.
|
||||
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 *DeleteSessionEntityTypeRequest) Reset() { *m = DeleteSessionEntityTypeRequest{} }
|
||||
func (m *DeleteSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_session_entity_type_f014f04ccf41506d, []int{6}
|
||||
}
|
||||
func (m *DeleteSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteSessionEntityTypeRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeleteSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeleteSessionEntityTypeRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *DeleteSessionEntityTypeRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeleteSessionEntityTypeRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *DeleteSessionEntityTypeRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_DeleteSessionEntityTypeRequest.Size(m)
|
||||
}
|
||||
func (m *DeleteSessionEntityTypeRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeleteSessionEntityTypeRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeleteSessionEntityTypeRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *DeleteSessionEntityTypeRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SessionEntityType)(nil), "google.cloud.dialogflow.v2.SessionEntityType")
|
||||
proto.RegisterType((*ListSessionEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.ListSessionEntityTypesRequest")
|
||||
proto.RegisterType((*ListSessionEntityTypesResponse)(nil), "google.cloud.dialogflow.v2.ListSessionEntityTypesResponse")
|
||||
proto.RegisterType((*GetSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.GetSessionEntityTypeRequest")
|
||||
proto.RegisterType((*CreateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest")
|
||||
proto.RegisterType((*UpdateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest")
|
||||
proto.RegisterType((*DeleteSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest")
|
||||
proto.RegisterEnum("google.cloud.dialogflow.v2.SessionEntityType_EntityOverrideMode", SessionEntityType_EntityOverrideMode_name, SessionEntityType_EntityOverrideMode_value)
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// SessionEntityTypesClient is the client API for SessionEntityTypes service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type SessionEntityTypesClient interface {
|
||||
// Returns the list of all session entity types in the specified session.
|
||||
ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error)
|
||||
// Retrieves the specified session entity type.
|
||||
GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
|
||||
// Creates a session entity type.
|
||||
CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
|
||||
// Updates the specified session entity type.
|
||||
UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
|
||||
// Deletes the specified session entity type.
|
||||
DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
type sessionEntityTypesClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewSessionEntityTypesClient(cc *grpc.ClientConn) SessionEntityTypesClient {
|
||||
return &sessionEntityTypesClient{cc}
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) {
|
||||
out := new(ListSessionEntityTypesResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/ListSessionEntityTypes", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) {
|
||||
out := new(SessionEntityType)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/GetSessionEntityType", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) {
|
||||
out := new(SessionEntityType)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/CreateSessionEntityType", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) {
|
||||
out := new(SessionEntityType)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/UpdateSessionEntityType", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/DeleteSessionEntityType", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// SessionEntityTypesServer is the server API for SessionEntityTypes service.
|
||||
type SessionEntityTypesServer interface {
|
||||
// Returns the list of all session entity types in the specified session.
|
||||
ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
|
||||
// Retrieves the specified session entity type.
|
||||
GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
|
||||
// Creates a session entity type.
|
||||
CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
|
||||
// Updates the specified session entity type.
|
||||
UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
|
||||
// Deletes the specified session entity type.
|
||||
DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer) {
|
||||
s.RegisterService(&_SessionEntityTypes_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_ListSessionEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListSessionEntityTypesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/ListSessionEntityTypes",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, req.(*ListSessionEntityTypesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_GetSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/GetSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, req.(*GetSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_CreateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/CreateSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, req.(*CreateSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_UpdateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/UpdateSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, req.(*UpdateSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_DeleteSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/DeleteSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, req.(*DeleteSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _SessionEntityTypes_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.dialogflow.v2.SessionEntityTypes",
|
||||
HandlerType: (*SessionEntityTypesServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListSessionEntityTypes",
|
||||
Handler: _SessionEntityTypes_ListSessionEntityTypes_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetSessionEntityType",
|
||||
Handler: _SessionEntityTypes_GetSessionEntityType_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateSessionEntityType",
|
||||
Handler: _SessionEntityTypes_CreateSessionEntityType_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateSessionEntityType",
|
||||
Handler: _SessionEntityTypes_UpdateSessionEntityType_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteSessionEntityType",
|
||||
Handler: _SessionEntityTypes_DeleteSessionEntityType_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/dialogflow/v2/session_entity_type.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/dialogflow/v2/session_entity_type.proto", fileDescriptor_session_entity_type_f014f04ccf41506d)
|
||||
}
|
||||
|
||||
var fileDescriptor_session_entity_type_f014f04ccf41506d = []byte{
|
||||
// 793 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdf, 0x4e, 0xd4, 0x4a,
|
||||
0x18, 0x3f, 0x53, 0xce, 0x21, 0x30, 0xe4, 0x9c, 0x03, 0x73, 0xc8, 0xb2, 0x29, 0x87, 0x75, 0xad,
|
||||
0xc6, 0x90, 0x8d, 0xb6, 0x71, 0x25, 0x1a, 0x41, 0x13, 0x03, 0x5b, 0x70, 0x23, 0x0b, 0x6b, 0x77,
|
||||
0x21, 0xd1, 0xc4, 0x34, 0x85, 0xfd, 0x68, 0x2a, 0xbb, 0x9d, 0xda, 0xe9, 0xa2, 0x8b, 0xe1, 0x86,
|
||||
0x57, 0xf0, 0xc2, 0x78, 0x6b, 0xe2, 0x85, 0xfa, 0x0a, 0xbc, 0x82, 0x57, 0x5e, 0xf8, 0x02, 0xde,
|
||||
0xf1, 0x02, 0x5e, 0x9a, 0x4e, 0xbb, 0x40, 0x68, 0x3b, 0x66, 0x89, 0x77, 0xf3, 0xe7, 0xfb, 0xf3,
|
||||
0xfb, 0x7d, 0xf3, 0xfb, 0xbe, 0x0c, 0x9e, 0xb3, 0x29, 0xb5, 0xdb, 0xa0, 0x6d, 0xb7, 0x69, 0xb7,
|
||||
0xa5, 0xb5, 0x1c, 0xab, 0x4d, 0xed, 0x9d, 0x36, 0x7d, 0xa9, 0xed, 0x95, 0x35, 0x06, 0x8c, 0x39,
|
||||
0xd4, 0x35, 0xc1, 0x0d, 0x9c, 0xa0, 0x67, 0x06, 0x3d, 0x0f, 0x54, 0xcf, 0xa7, 0x01, 0x25, 0x72,
|
||||
0xe4, 0xa5, 0x72, 0x2f, 0xf5, 0xd4, 0x4b, 0xdd, 0x2b, 0xcb, 0xff, 0xc7, 0x11, 0x2d, 0xcf, 0xd1,
|
||||
0x2c, 0xd7, 0xa5, 0x81, 0x15, 0x38, 0xd4, 0x65, 0x91, 0xa7, 0x7c, 0x5d, 0x90, 0x2f, 0x91, 0x47,
|
||||
0x9e, 0x8e, 0xad, 0xf9, 0x6e, 0xab, 0xbb, 0xa3, 0x41, 0xc7, 0x0b, 0x7a, 0xf1, 0x65, 0xf1, 0xfc,
|
||||
0xe5, 0x8e, 0x03, 0xed, 0x96, 0xd9, 0xb1, 0xd8, 0x6e, 0x64, 0xa1, 0x1c, 0x4b, 0x78, 0xa2, 0x11,
|
||||
0x91, 0xd0, 0x79, 0xec, 0x66, 0xcf, 0x03, 0x42, 0xf0, 0x9f, 0xae, 0xd5, 0x81, 0x3c, 0x2a, 0xa2,
|
||||
0xd9, 0x51, 0x83, 0xaf, 0x89, 0x8f, 0x27, 0xe3, 0xec, 0x74, 0x0f, 0x7c, 0xdf, 0x69, 0x81, 0xd9,
|
||||
0xa1, 0x2d, 0xc8, 0x4b, 0x45, 0x34, 0xfb, 0x4f, 0xf9, 0x81, 0x9a, 0xcd, 0x57, 0x4d, 0x24, 0x50,
|
||||
0xa3, 0xe5, 0x7a, 0x1c, 0xa8, 0x46, 0x5b, 0x60, 0x10, 0x48, 0x9c, 0x91, 0x2a, 0x1e, 0xe1, 0xa7,
|
||||
0x0e, 0xb0, 0xfc, 0x50, 0x71, 0x68, 0x76, 0xac, 0x7c, 0x43, 0x94, 0x27, 0x91, 0xc0, 0x38, 0x71,
|
||||
0x57, 0x0e, 0x11, 0x26, 0xc9, 0xac, 0xe4, 0x2a, 0x2e, 0xea, 0x6b, 0xcd, 0x6a, 0xf3, 0x89, 0xb9,
|
||||
0xbe, 0xa9, 0x1b, 0x46, 0xb5, 0xa2, 0x9b, 0xb5, 0xf5, 0x8a, 0x6e, 0x6e, 0xac, 0x35, 0xea, 0xfa,
|
||||
0x52, 0x75, 0xb9, 0xaa, 0x57, 0xc6, 0xff, 0x20, 0x97, 0xf1, 0x4c, 0xaa, 0x55, 0x7f, 0x37, 0x8e,
|
||||
0xc8, 0x15, 0x7c, 0x29, 0xd5, 0xa4, 0xb1, 0x51, 0xaf, 0xaf, 0xea, 0x35, 0x7d, 0xad, 0x39, 0x2e,
|
||||
0x29, 0x0c, 0xcf, 0xac, 0x3a, 0x2c, 0x48, 0xd4, 0x83, 0x19, 0xf0, 0xa2, 0x0b, 0x2c, 0x20, 0x39,
|
||||
0x3c, 0xec, 0x59, 0x3e, 0xb8, 0x41, 0x5c, 0xfa, 0x78, 0x47, 0xa6, 0xf1, 0xa8, 0x67, 0xd9, 0x60,
|
||||
0x32, 0x67, 0x3f, 0xaa, 0xf8, 0x5f, 0xc6, 0x48, 0x78, 0xd0, 0x70, 0xf6, 0x81, 0xcc, 0x60, 0xcc,
|
||||
0x2f, 0x03, 0xba, 0x0b, 0x6e, 0x7e, 0x88, 0x3b, 0x72, 0xf3, 0x66, 0x78, 0xa0, 0x7c, 0x44, 0xb8,
|
||||
0x90, 0x95, 0x95, 0x79, 0xd4, 0x65, 0x40, 0x4c, 0x3c, 0x99, 0xa2, 0x64, 0x96, 0x47, 0xbf, 0xae,
|
||||
0x79, 0x22, 0xaa, 0x41, 0x58, 0x22, 0x11, 0xb9, 0x86, 0xff, 0x75, 0xe1, 0x55, 0x60, 0x9e, 0xc1,
|
||||
0x29, 0x71, 0x9c, 0x7f, 0x87, 0xc7, 0xf5, 0x13, 0xac, 0x37, 0xf1, 0xf4, 0x0a, 0x24, 0x91, 0xf6,
|
||||
0xcb, 0x93, 0xa2, 0x4b, 0xe5, 0x2d, 0xc2, 0x85, 0x25, 0x1f, 0xac, 0x00, 0x32, 0xdd, 0xb2, 0xaa,
|
||||
0xfa, 0x0c, 0xff, 0x97, 0x42, 0x9b, 0x23, 0x1b, 0x98, 0xf5, 0x44, 0x82, 0xb5, 0x72, 0x84, 0x70,
|
||||
0x61, 0xc3, 0x6b, 0x89, 0x90, 0x65, 0x20, 0x40, 0xbf, 0x07, 0x01, 0x59, 0xc0, 0x63, 0x5d, 0x0e,
|
||||
0x80, 0xb7, 0x7c, 0x4c, 0x4c, 0xee, 0x87, 0xed, 0x4f, 0x05, 0x75, 0x39, 0x9c, 0x0a, 0x35, 0x8b,
|
||||
0xed, 0x1a, 0x38, 0x32, 0x0f, 0xd7, 0xca, 0x1c, 0x2e, 0x54, 0xa0, 0x0d, 0x02, 0xf4, 0x29, 0xcf,
|
||||
0x51, 0x7e, 0x37, 0x82, 0x49, 0x52, 0x69, 0xe4, 0x0b, 0xc2, 0xb9, 0x74, 0x11, 0x92, 0xbb, 0x22,
|
||||
0x9a, 0xc2, 0x76, 0x91, 0xe7, 0x2f, 0xe2, 0x1a, 0x69, 0x5e, 0xb9, 0x77, 0xf8, 0xf5, 0xfb, 0x1b,
|
||||
0xe9, 0x36, 0x99, 0x0b, 0xe7, 0xea, 0xeb, 0x48, 0x11, 0xf7, 0x3d, 0x9f, 0x3e, 0x87, 0xed, 0x80,
|
||||
0x69, 0x25, 0xcd, 0xb2, 0xc1, 0x0d, 0xfa, 0x03, 0x9e, 0x69, 0xa5, 0x83, 0x78, 0xf8, 0x46, 0xa0,
|
||||
0x8f, 0x10, 0x9e, 0x4c, 0x53, 0x2a, 0xb9, 0x23, 0x82, 0x24, 0xd0, 0xb6, 0x3c, 0xd8, 0x6b, 0x9f,
|
||||
0x83, 0x1f, 0x96, 0x5e, 0x04, 0xfe, 0x2c, 0x76, 0xad, 0x74, 0x40, 0xbe, 0x21, 0x3c, 0x95, 0xd1,
|
||||
0x34, 0x44, 0x58, 0x54, 0x71, 0xa7, 0x0d, 0x4a, 0xe2, 0x31, 0x27, 0xf1, 0x48, 0xb9, 0xd0, 0x1b,
|
||||
0xcc, 0xa7, 0xb5, 0x0e, 0x39, 0x46, 0x78, 0x2a, 0xa3, 0xe9, 0xc4, 0xcc, 0xc4, 0x9d, 0x3a, 0x28,
|
||||
0x33, 0xe0, 0xcc, 0xcc, 0xf2, 0x43, 0xce, 0x2c, 0xed, 0x9b, 0x30, 0xe0, 0x93, 0xa5, 0xb3, 0xfd,
|
||||
0x8c, 0xf0, 0x54, 0x46, 0x93, 0x8a, 0xd9, 0x8a, 0x3b, 0x5b, 0xce, 0x25, 0x66, 0x84, 0x1e, 0x7e,
|
||||
0x2b, 0xfa, 0xaa, 0x2b, 0x5d, 0x48, 0x75, 0x8b, 0x1f, 0x10, 0x2e, 0x6c, 0xd3, 0x8e, 0x00, 0xd7,
|
||||
0x62, 0x2e, 0x01, 0xa9, 0x1e, 0x22, 0xa8, 0xa3, 0xa7, 0x95, 0xd8, 0xcb, 0xa6, 0x6d, 0xcb, 0xb5,
|
||||
0x55, 0xea, 0xdb, 0x9a, 0x0d, 0x2e, 0xc7, 0xa7, 0x45, 0x57, 0x96, 0xe7, 0xb0, 0xb4, 0x5f, 0xd3,
|
||||
0xc2, 0xe9, 0xee, 0x07, 0x42, 0xef, 0x25, 0xa9, 0xb2, 0xfc, 0x49, 0x92, 0x57, 0xa2, 0x70, 0x4b,
|
||||
0x1c, 0x44, 0xe5, 0x14, 0xc4, 0x66, 0x79, 0x6b, 0x98, 0x47, 0xbd, 0xf5, 0x33, 0x00, 0x00, 0xff,
|
||||
0xff, 0x3d, 0x82, 0x36, 0x5e, 0xfa, 0x09, 0x00, 0x00,
|
||||
}
|
304
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go
generated
vendored
Normal file
304
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go
generated
vendored
Normal file
@ -0,0 +1,304 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dialogflow/v2/webhook.proto
|
||||
|
||||
package dialogflow // import "google.golang.org/genproto/googleapis/cloud/dialogflow/v2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _struct "github.com/golang/protobuf/ptypes/struct"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The request message for a webhook call.
|
||||
type WebhookRequest struct {
|
||||
// The unique identifier of detectIntent request session.
|
||||
// Can be used to identify end-user inside webhook implementation.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
||||
Session string `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"`
|
||||
// The unique identifier of the response. Contains the same value as
|
||||
// `[Streaming]DetectIntentResponse.response_id`.
|
||||
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
|
||||
// The result of the conversational query or event processing. Contains the
|
||||
// same value as `[Streaming]DetectIntentResponse.query_result`.
|
||||
QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
|
||||
// Optional. The contents of the original request that was passed to
|
||||
// `[Streaming]DetectIntent` call.
|
||||
OriginalDetectIntentRequest *OriginalDetectIntentRequest `protobuf:"bytes,3,opt,name=original_detect_intent_request,json=originalDetectIntentRequest,proto3" json:"original_detect_intent_request,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) Reset() { *m = WebhookRequest{} }
|
||||
func (m *WebhookRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebhookRequest) ProtoMessage() {}
|
||||
func (*WebhookRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_webhook_d01678681840ffff, []int{0}
|
||||
}
|
||||
func (m *WebhookRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_WebhookRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *WebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_WebhookRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *WebhookRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_WebhookRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *WebhookRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_WebhookRequest.Size(m)
|
||||
}
|
||||
func (m *WebhookRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_WebhookRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_WebhookRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *WebhookRequest) GetSession() string {
|
||||
if m != nil {
|
||||
return m.Session
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) GetResponseId() string {
|
||||
if m != nil {
|
||||
return m.ResponseId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) GetQueryResult() *QueryResult {
|
||||
if m != nil {
|
||||
return m.QueryResult
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) GetOriginalDetectIntentRequest() *OriginalDetectIntentRequest {
|
||||
if m != nil {
|
||||
return m.OriginalDetectIntentRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The response message for a webhook call.
|
||||
type WebhookResponse struct {
|
||||
// Optional. The text to be shown on the screen. This value is passed directly
|
||||
// to `QueryResult.fulfillment_text`.
|
||||
FulfillmentText string `protobuf:"bytes,1,opt,name=fulfillment_text,json=fulfillmentText,proto3" json:"fulfillment_text,omitempty"`
|
||||
// Optional. The collection of rich messages to present to the user. This
|
||||
// value is passed directly to `QueryResult.fulfillment_messages`.
|
||||
FulfillmentMessages []*Intent_Message `protobuf:"bytes,2,rep,name=fulfillment_messages,json=fulfillmentMessages,proto3" json:"fulfillment_messages,omitempty"`
|
||||
// Optional. This value is passed directly to `QueryResult.webhook_source`.
|
||||
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
|
||||
// Optional. This value is passed directly to `QueryResult.webhook_payload`.
|
||||
// See the related `fulfillment_messages[i].payload field`, which may be used
|
||||
// as an alternative to this field.
|
||||
//
|
||||
// This field can be used for Actions on Google responses.
|
||||
// It should have a structure similar to the JSON message shown here. For more
|
||||
// information, see
|
||||
// [Actions on Google Webhook
|
||||
// Format](https://developers.google.com/actions/dialogflow/webhook)
|
||||
// <pre>{
|
||||
// "google": {
|
||||
// "expectUserResponse": true,
|
||||
// "richResponse": {
|
||||
// "items": [
|
||||
// {
|
||||
// "simpleResponse": {
|
||||
// "textToSpeech": "this is a simple response"
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
// }
|
||||
// }</pre>
|
||||
Payload *_struct.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||
// Optional. The collection of output contexts. This value is passed directly
|
||||
// to `QueryResult.output_contexts`.
|
||||
OutputContexts []*Context `protobuf:"bytes,5,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"`
|
||||
// Optional. Makes the platform immediately invoke another `DetectIntent` call
|
||||
// internally with the specified event as input.
|
||||
FollowupEventInput *EventInput `protobuf:"bytes,6,opt,name=followup_event_input,json=followupEventInput,proto3" json:"followup_event_input,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) Reset() { *m = WebhookResponse{} }
|
||||
func (m *WebhookResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebhookResponse) ProtoMessage() {}
|
||||
func (*WebhookResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_webhook_d01678681840ffff, []int{1}
|
||||
}
|
||||
func (m *WebhookResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_WebhookResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *WebhookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_WebhookResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *WebhookResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_WebhookResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *WebhookResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_WebhookResponse.Size(m)
|
||||
}
|
||||
func (m *WebhookResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_WebhookResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_WebhookResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *WebhookResponse) GetFulfillmentText() string {
|
||||
if m != nil {
|
||||
return m.FulfillmentText
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetFulfillmentMessages() []*Intent_Message {
|
||||
if m != nil {
|
||||
return m.FulfillmentMessages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetSource() string {
|
||||
if m != nil {
|
||||
return m.Source
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetPayload() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetOutputContexts() []*Context {
|
||||
if m != nil {
|
||||
return m.OutputContexts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetFollowupEventInput() *EventInput {
|
||||
if m != nil {
|
||||
return m.FollowupEventInput
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents the contents of the original request that was passed to
|
||||
// the `[Streaming]DetectIntent` call.
|
||||
type OriginalDetectIntentRequest struct {
|
||||
// The source of this request, e.g., `google`, `facebook`, `slack`. It is set
|
||||
// by Dialogflow-owned servers.
|
||||
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
|
||||
// Optional. This field is set to the value of `QueryParameters.payload` field
|
||||
// passed in the request.
|
||||
Payload *_struct.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *OriginalDetectIntentRequest) Reset() { *m = OriginalDetectIntentRequest{} }
|
||||
func (m *OriginalDetectIntentRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*OriginalDetectIntentRequest) ProtoMessage() {}
|
||||
func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_webhook_d01678681840ffff, []int{2}
|
||||
}
|
||||
func (m *OriginalDetectIntentRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OriginalDetectIntentRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OriginalDetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OriginalDetectIntentRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *OriginalDetectIntentRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OriginalDetectIntentRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *OriginalDetectIntentRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_OriginalDetectIntentRequest.Size(m)
|
||||
}
|
||||
func (m *OriginalDetectIntentRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OriginalDetectIntentRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OriginalDetectIntentRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *OriginalDetectIntentRequest) GetSource() string {
|
||||
if m != nil {
|
||||
return m.Source
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OriginalDetectIntentRequest) GetPayload() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*WebhookRequest)(nil), "google.cloud.dialogflow.v2.WebhookRequest")
|
||||
proto.RegisterType((*WebhookResponse)(nil), "google.cloud.dialogflow.v2.WebhookResponse")
|
||||
proto.RegisterType((*OriginalDetectIntentRequest)(nil), "google.cloud.dialogflow.v2.OriginalDetectIntentRequest")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/dialogflow/v2/webhook.proto", fileDescriptor_webhook_d01678681840ffff)
|
||||
}
|
||||
|
||||
var fileDescriptor_webhook_d01678681840ffff = []byte{
|
||||
// 536 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xc1, 0x6f, 0xd3, 0x30,
|
||||
0x14, 0xc6, 0x95, 0x14, 0x3a, 0xcd, 0x9d, 0x56, 0x64, 0x26, 0x88, 0x3a, 0x34, 0xaa, 0x22, 0xb1,
|
||||
0xc2, 0x21, 0x11, 0xe1, 0xc0, 0x81, 0xdb, 0x56, 0x40, 0x45, 0x20, 0x46, 0x40, 0x80, 0x90, 0x50,
|
||||
0x94, 0x26, 0x6e, 0x66, 0xe1, 0xfa, 0xa5, 0xb1, 0xdd, 0x6e, 0x12, 0x7f, 0x03, 0x37, 0x4e, 0xdc,
|
||||
0x38, 0xf2, 0x17, 0x72, 0x44, 0xb1, 0x1d, 0xd2, 0x03, 0x8d, 0x76, 0x7c, 0xf6, 0xe7, 0xdf, 0xfb,
|
||||
0xde, 0xf7, 0x12, 0x34, 0xce, 0x01, 0x72, 0x46, 0x82, 0x94, 0x81, 0xca, 0x82, 0x8c, 0x26, 0x0c,
|
||||
0xf2, 0x39, 0x83, 0x75, 0xb0, 0x0a, 0x83, 0x35, 0x99, 0x9d, 0x03, 0x7c, 0xf5, 0x8b, 0x12, 0x24,
|
||||
0xe0, 0x81, 0x51, 0xfa, 0x5a, 0xe9, 0x37, 0x4a, 0x7f, 0x15, 0x0e, 0xee, 0x58, 0x4a, 0x52, 0xd0,
|
||||
0x20, 0xe1, 0x1c, 0x64, 0x22, 0x29, 0x70, 0x61, 0x5e, 0x0e, 0xda, 0x7a, 0xa4, 0xc0, 0x25, 0xb9,
|
||||
0x90, 0x56, 0x79, 0xdc, 0xa2, 0xa4, 0x5c, 0x12, 0x2e, 0xaf, 0x80, 0x14, 0x44, 0x08, 0x0a, 0xdc,
|
||||
0x2a, 0x6b, 0x6b, 0xba, 0x9a, 0xa9, 0x79, 0x20, 0x64, 0xa9, 0x52, 0xcb, 0x19, 0xfd, 0x70, 0xd1,
|
||||
0xfe, 0x47, 0x33, 0x66, 0x44, 0x96, 0x8a, 0x08, 0x89, 0x3d, 0xb4, 0x63, 0x09, 0xde, 0xb5, 0xa1,
|
||||
0x33, 0xde, 0x8d, 0xea, 0x12, 0xdf, 0x45, 0xbd, 0x92, 0x88, 0x02, 0xb8, 0x20, 0x31, 0xcd, 0x3c,
|
||||
0x47, 0xdf, 0xa2, 0xfa, 0x68, 0x9a, 0xe1, 0x97, 0x68, 0x6f, 0xa9, 0x48, 0x79, 0x19, 0x97, 0x44,
|
||||
0x28, 0x26, 0x3d, 0x77, 0xe8, 0x8c, 0x7b, 0xe1, 0xb1, 0xbf, 0x3d, 0x39, 0xff, 0x6d, 0xa5, 0x8f,
|
||||
0xb4, 0x3c, 0xea, 0x2d, 0x9b, 0x02, 0x7f, 0x43, 0x47, 0x50, 0xd2, 0x9c, 0xf2, 0x84, 0xc5, 0x19,
|
||||
0x91, 0x24, 0x95, 0xb1, 0x49, 0x20, 0x2e, 0x8d, 0x51, 0xaf, 0xa3, 0xe9, 0x4f, 0xda, 0xe8, 0x6f,
|
||||
0x2c, 0x61, 0xa2, 0x01, 0x53, 0xfd, 0xde, 0xce, 0x19, 0x1d, 0xc2, 0xf6, 0xcb, 0xd1, 0xf7, 0x0e,
|
||||
0xea, 0xff, 0xcb, 0xc5, 0xcc, 0x87, 0x1f, 0xa0, 0x1b, 0x73, 0xc5, 0xe6, 0x94, 0xb1, 0x45, 0x65,
|
||||
0xa3, 0x5a, 0x9b, 0xcd, 0xa0, 0xbf, 0x71, 0xfe, 0x9e, 0x5c, 0x48, 0xfc, 0x05, 0x1d, 0x6c, 0x4a,
|
||||
0x17, 0x44, 0x88, 0x24, 0x27, 0xc2, 0x73, 0x87, 0x9d, 0x71, 0x2f, 0x7c, 0xd8, 0x66, 0xd9, 0xf8,
|
||||
0xf0, 0x5f, 0x9b, 0x27, 0xd1, 0xcd, 0x0d, 0x8e, 0x3d, 0x13, 0xf8, 0x16, 0xea, 0x0a, 0x50, 0x65,
|
||||
0x4a, 0x74, 0x06, 0xbb, 0x91, 0xad, 0xf0, 0x23, 0xb4, 0x53, 0x24, 0x97, 0x0c, 0x92, 0x4c, 0xaf,
|
||||
0xae, 0x17, 0xde, 0xae, 0x3b, 0xd5, 0xdb, 0xf7, 0xdf, 0xe9, 0xed, 0x47, 0xb5, 0x0e, 0xbf, 0x42,
|
||||
0x7d, 0x50, 0xb2, 0x50, 0x32, 0xb6, 0x5f, 0xa2, 0xf0, 0xae, 0x6b, 0x93, 0xf7, 0xda, 0x4c, 0x9e,
|
||||
0x1a, 0x6d, 0xb4, 0x6f, 0xde, 0xda, 0x52, 0xe0, 0x4f, 0xe8, 0x60, 0x0e, 0x8c, 0xc1, 0x5a, 0x15,
|
||||
0x31, 0x59, 0x55, 0xa3, 0x53, 0x5e, 0x28, 0xe9, 0x75, 0xb5, 0x9b, 0xfb, 0x6d, 0xc8, 0x67, 0x95,
|
||||
0x7c, 0x5a, 0xa9, 0x23, 0x5c, 0x33, 0x9a, 0xb3, 0xd1, 0x39, 0x3a, 0x6c, 0x59, 0xe6, 0x46, 0x22,
|
||||
0xce, 0xb6, 0x44, 0x3a, 0x57, 0x4b, 0xe4, 0xe4, 0xa7, 0x83, 0x8e, 0x52, 0x58, 0xb4, 0x78, 0x3d,
|
||||
0xd9, 0xb3, 0x9f, 0xc6, 0x59, 0xc5, 0x38, 0x73, 0x3e, 0x4f, 0xac, 0x36, 0x07, 0x96, 0xf0, 0xdc,
|
||||
0x87, 0x32, 0x0f, 0x72, 0xc2, 0x75, 0x87, 0xc0, 0x5c, 0x25, 0x05, 0x15, 0xff, 0xfb, 0x59, 0x9f,
|
||||
0x36, 0xd5, 0x1f, 0xc7, 0xf9, 0xe5, 0xba, 0x93, 0xe7, 0xbf, 0xdd, 0xc1, 0x0b, 0x83, 0x3b, 0xd5,
|
||||
0xad, 0x27, 0x4d, 0xeb, 0x0f, 0xe1, 0xac, 0xab, 0xa9, 0x8f, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff,
|
||||
0x75, 0x98, 0x13, 0x07, 0xb8, 0x04, 0x00, 0x00,
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user