mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
vendor cleanup: remove unused,non-go and test files
This commit is contained in:
54
vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go
generated
vendored
54
vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go
generated
vendored
@ -1,54 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/annotations.proto
|
||||
|
||||
package annotations // import "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
var E_Http = &proto.ExtensionDesc{
|
||||
ExtendedType: (*descriptor.MethodOptions)(nil),
|
||||
ExtensionType: (*HttpRule)(nil),
|
||||
Field: 72295728,
|
||||
Name: "google.api.http",
|
||||
Tag: "bytes,72295728,opt,name=http",
|
||||
Filename: "google/api/annotations.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterExtension(E_Http)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/annotations.proto", fileDescriptor_annotations_55609bb51d80951d)
|
||||
}
|
||||
|
||||
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,
|
||||
0xcf, 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0xc8, 0xea, 0x25, 0x16, 0x64,
|
||||
0x4a, 0x89, 0x22, 0xa9, 0xcc, 0x28, 0x29, 0x29, 0x80, 0x28, 0x91, 0x52, 0x80, 0x0a, 0x83, 0x79,
|
||||
0x49, 0xa5, 0x69, 0xfa, 0x29, 0xa9, 0xc5, 0xc9, 0x45, 0x99, 0x05, 0x25, 0xf9, 0x45, 0x10, 0x15,
|
||||
0x56, 0xde, 0x5c, 0x2c, 0x20, 0xf5, 0x42, 0x72, 0x7a, 0x50, 0xd3, 0x60, 0x4a, 0xf5, 0x7c, 0x53,
|
||||
0x4b, 0x32, 0xf2, 0x53, 0xfc, 0x0b, 0xc0, 0x56, 0x4a, 0x6c, 0x38, 0xb5, 0x47, 0x49, 0x81, 0x51,
|
||||
0x83, 0xdb, 0x48, 0x44, 0x0f, 0x61, 0xad, 0x9e, 0x47, 0x49, 0x49, 0x41, 0x50, 0x69, 0x4e, 0x6a,
|
||||
0x10, 0xd8, 0x10, 0xa7, 0x3c, 0x2e, 0xbe, 0xe4, 0xfc, 0x5c, 0x24, 0x05, 0x4e, 0x02, 0x8e, 0x08,
|
||||
0x67, 0x07, 0x80, 0x4c, 0x0e, 0x60, 0x8c, 0x72, 0x84, 0xca, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5,
|
||||
0xeb, 0xe5, 0x17, 0xa5, 0xeb, 0xa7, 0xa7, 0xe6, 0x81, 0xed, 0xd5, 0x87, 0x48, 0x25, 0x16, 0x64,
|
||||
0x16, 0xa3, 0x7b, 0xda, 0x1a, 0x89, 0xbd, 0x88, 0x89, 0xc5, 0xdd, 0x31, 0xc0, 0x33, 0x89, 0x0d,
|
||||
0xac, 0xc9, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x29, 0x19, 0x62, 0x28, 0x01, 0x00, 0x00,
|
||||
}
|
676
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go
generated
vendored
676
vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go
generated
vendored
@ -1,676 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/http.proto
|
||||
|
||||
package annotations // import "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Defines the HTTP configuration for an API service. It contains a list of
|
||||
// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
|
||||
// to one or more HTTP REST API methods.
|
||||
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,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,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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Http) GetFullyDecodeReservedExpansion() bool {
|
||||
if m != nil {
|
||||
return m.FullyDecodeReservedExpansion
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// `HttpRule` defines the mapping of an RPC method to one or more HTTP
|
||||
// REST API methods. The mapping specifies how different portions of the RPC
|
||||
// request message are mapped to URL path, URL query parameters, and
|
||||
// HTTP request body. The mapping is typically specified as an
|
||||
// `google.api.http` annotation on the RPC method,
|
||||
// see "google/api/annotations.proto" for details.
|
||||
//
|
||||
// The mapping consists of a field specifying the path template and
|
||||
// method kind. The path template can refer to fields in the request
|
||||
// message, as in the example below which describes a REST GET
|
||||
// operation on a resource collection of messages:
|
||||
//
|
||||
//
|
||||
// service Messaging {
|
||||
// rpc GetMessage(GetMessageRequest) returns (Message) {
|
||||
// option (google.api.http).get = "/v1/messages/{message_id}/{sub.subfield}";
|
||||
// }
|
||||
// }
|
||||
// message GetMessageRequest {
|
||||
// message SubMessage {
|
||||
// string subfield = 1;
|
||||
// }
|
||||
// string message_id = 1; // mapped to the URL
|
||||
// SubMessage sub = 2; // `sub.subfield` is url-mapped
|
||||
// }
|
||||
// message Message {
|
||||
// string text = 1; // content of the resource
|
||||
// }
|
||||
//
|
||||
// The same http annotation can alternatively be expressed inside the
|
||||
// `GRPC API Configuration` YAML file.
|
||||
//
|
||||
// http:
|
||||
// rules:
|
||||
// - selector: <proto_package_name>.Messaging.GetMessage
|
||||
// get: /v1/messages/{message_id}/{sub.subfield}
|
||||
//
|
||||
// This definition enables an automatic, bidrectional mapping of HTTP
|
||||
// JSON to RPC. Example:
|
||||
//
|
||||
// HTTP | RPC
|
||||
// -----|-----
|
||||
// `GET /v1/messages/123456/foo` | `GetMessage(message_id: "123456" sub: SubMessage(subfield: "foo"))`
|
||||
//
|
||||
// In general, not only fields but also field paths can be referenced
|
||||
// from a path pattern. Fields mapped to the path pattern cannot be
|
||||
// repeated and must have a primitive (non-message) type.
|
||||
//
|
||||
// Any fields in the request message which are not bound by the path
|
||||
// pattern automatically become (optional) HTTP query
|
||||
// parameters. Assume the following definition of the request message:
|
||||
//
|
||||
//
|
||||
// service Messaging {
|
||||
// rpc GetMessage(GetMessageRequest) returns (Message) {
|
||||
// option (google.api.http).get = "/v1/messages/{message_id}";
|
||||
// }
|
||||
// }
|
||||
// message GetMessageRequest {
|
||||
// message SubMessage {
|
||||
// string subfield = 1;
|
||||
// }
|
||||
// string message_id = 1; // mapped to the URL
|
||||
// int64 revision = 2; // becomes a parameter
|
||||
// SubMessage sub = 3; // `sub.subfield` becomes a parameter
|
||||
// }
|
||||
//
|
||||
//
|
||||
// This enables a HTTP JSON to RPC mapping as below:
|
||||
//
|
||||
// HTTP | RPC
|
||||
// -----|-----
|
||||
// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
|
||||
//
|
||||
// Note that fields which are mapped to HTTP parameters must have a
|
||||
// primitive type or a repeated primitive type. Message types are not
|
||||
// allowed. In the case of a repeated type, the parameter can be
|
||||
// repeated in the URL, as in `...?param=A¶m=B`.
|
||||
//
|
||||
// For HTTP method kinds which allow a request body, the `body` field
|
||||
// specifies the mapping. Consider a REST update method on the
|
||||
// message resource collection:
|
||||
//
|
||||
//
|
||||
// service Messaging {
|
||||
// rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
|
||||
// option (google.api.http) = {
|
||||
// put: "/v1/messages/{message_id}"
|
||||
// body: "message"
|
||||
// };
|
||||
// }
|
||||
// }
|
||||
// message UpdateMessageRequest {
|
||||
// string message_id = 1; // mapped to the URL
|
||||
// Message message = 2; // mapped to the body
|
||||
// }
|
||||
//
|
||||
//
|
||||
// The following HTTP JSON to RPC mapping is enabled, where the
|
||||
// representation of the JSON in the request body is determined by
|
||||
// protos JSON encoding:
|
||||
//
|
||||
// HTTP | RPC
|
||||
// -----|-----
|
||||
// `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
|
||||
//
|
||||
// The special name `*` can be used in the body mapping to define that
|
||||
// every field not bound by the path template should be mapped to the
|
||||
// request body. This enables the following alternative definition of
|
||||
// the update method:
|
||||
//
|
||||
// service Messaging {
|
||||
// rpc UpdateMessage(Message) returns (Message) {
|
||||
// option (google.api.http) = {
|
||||
// put: "/v1/messages/{message_id}"
|
||||
// body: "*"
|
||||
// };
|
||||
// }
|
||||
// }
|
||||
// message Message {
|
||||
// string message_id = 1;
|
||||
// string text = 2;
|
||||
// }
|
||||
//
|
||||
//
|
||||
// The following HTTP JSON to RPC mapping is enabled:
|
||||
//
|
||||
// HTTP | RPC
|
||||
// -----|-----
|
||||
// `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")`
|
||||
//
|
||||
// Note that when using `*` in the body mapping, it is not possible to
|
||||
// have HTTP parameters, as all fields not bound by the path end in
|
||||
// the body. This makes this option more rarely used in practice of
|
||||
// defining REST APIs. The common usage of `*` is in custom methods
|
||||
// which don't use the URL at all for transferring data.
|
||||
//
|
||||
// It is possible to define multiple HTTP methods for one RPC by using
|
||||
// the `additional_bindings` option. Example:
|
||||
//
|
||||
// service Messaging {
|
||||
// rpc GetMessage(GetMessageRequest) returns (Message) {
|
||||
// option (google.api.http) = {
|
||||
// get: "/v1/messages/{message_id}"
|
||||
// additional_bindings {
|
||||
// get: "/v1/users/{user_id}/messages/{message_id}"
|
||||
// }
|
||||
// };
|
||||
// }
|
||||
// }
|
||||
// message GetMessageRequest {
|
||||
// string message_id = 1;
|
||||
// string user_id = 2;
|
||||
// }
|
||||
//
|
||||
//
|
||||
// This enables the following two alternative HTTP JSON to RPC
|
||||
// mappings:
|
||||
//
|
||||
// HTTP | RPC
|
||||
// -----|-----
|
||||
// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
|
||||
// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")`
|
||||
//
|
||||
// # Rules for HTTP mapping
|
||||
//
|
||||
// The rules for mapping HTTP path, query parameters, and body fields
|
||||
// to the request message are as follows:
|
||||
//
|
||||
// 1. The `body` field specifies either `*` or a field path, or is
|
||||
// omitted. If omitted, it indicates there is no HTTP request body.
|
||||
// 2. Leaf fields (recursive expansion of nested messages in the
|
||||
// request) can be classified into three types:
|
||||
// (a) Matched in the URL template.
|
||||
// (b) Covered by body (if body is `*`, everything except (a) fields;
|
||||
// else everything under the body field)
|
||||
// (c) All other fields.
|
||||
// 3. URL query parameters found in the HTTP request are mapped to (c) fields.
|
||||
// 4. Any body sent with an HTTP request can contain only (b) fields.
|
||||
//
|
||||
// The syntax of the path template is as follows:
|
||||
//
|
||||
// Template = "/" Segments [ Verb ] ;
|
||||
// Segments = Segment { "/" Segment } ;
|
||||
// Segment = "*" | "**" | LITERAL | Variable ;
|
||||
// Variable = "{" FieldPath [ "=" Segments ] "}" ;
|
||||
// FieldPath = IDENT { "." IDENT } ;
|
||||
// Verb = ":" LITERAL ;
|
||||
//
|
||||
// The syntax `*` matches a single path segment. The syntax `**` matches zero
|
||||
// or more path segments, which must be the last part of the path except the
|
||||
// `Verb`. The syntax `LITERAL` matches literal text in the path.
|
||||
//
|
||||
// The syntax `Variable` matches part of the URL path as specified by its
|
||||
// template. A variable template must not contain other variables. If a variable
|
||||
// matches a single path segment, its template may be omitted, e.g. `{var}`
|
||||
// is equivalent to `{var=*}`.
|
||||
//
|
||||
// If a variable contains exactly one path segment, such as `"{var}"` or
|
||||
// `"{var=*}"`, when such a variable is expanded into a URL path, all characters
|
||||
// except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up in the
|
||||
// Discovery Document as `{var}`.
|
||||
//
|
||||
// If a variable contains one or more path segments, such as `"{var=foo/*}"`
|
||||
// or `"{var=**}"`, when such a variable is expanded into a URL path, all
|
||||
// characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables
|
||||
// show up in the Discovery Document as `{+var}`.
|
||||
//
|
||||
// NOTE: While the single segment variable matches the semantics of
|
||||
// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
|
||||
// Simple String Expansion, the multi segment variable **does not** match
|
||||
// RFC 6570 Reserved Expansion. The reason is that the Reserved Expansion
|
||||
// does not expand special characters like `?` and `#`, which would lead
|
||||
// to invalid URLs.
|
||||
//
|
||||
// NOTE: the field paths in variables and in the `body` must not refer to
|
||||
// repeated fields or map fields.
|
||||
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,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.
|
||||
//
|
||||
// Types that are valid to be assigned to Pattern:
|
||||
// *HttpRule_Get
|
||||
// *HttpRule_Put
|
||||
// *HttpRule_Post
|
||||
// *HttpRule_Delete
|
||||
// *HttpRule_Patch
|
||||
// *HttpRule_Custom
|
||||
Pattern isHttpRule_Pattern `protobuf_oneof:"pattern"`
|
||||
// The name of the request field whose value is mapped to the HTTP body, or
|
||||
// `*` 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,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,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 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,proto3,oneof"`
|
||||
}
|
||||
|
||||
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_Custom) isHttpRule_Pattern() {}
|
||||
|
||||
func (m *HttpRule) GetPattern() isHttpRule_Pattern {
|
||||
if m != nil {
|
||||
return m.Pattern
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetGet() string {
|
||||
if x, ok := m.GetPattern().(*HttpRule_Get); ok {
|
||||
return x.Get
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetPut() string {
|
||||
if x, ok := m.GetPattern().(*HttpRule_Put); ok {
|
||||
return x.Put
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetPost() string {
|
||||
if x, ok := m.GetPattern().(*HttpRule_Post); ok {
|
||||
return x.Post
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetDelete() string {
|
||||
if x, ok := m.GetPattern().(*HttpRule_Delete); ok {
|
||||
return x.Delete
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetPatch() string {
|
||||
if x, ok := m.GetPattern().(*HttpRule_Patch); ok {
|
||||
return x.Patch
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetCustom() *CustomHttpPattern {
|
||||
if x, ok := m.GetPattern().(*HttpRule_Custom); ok {
|
||||
return x.Custom
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetBody() string {
|
||||
if m != nil {
|
||||
return m.Body
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpRule) GetAdditionalBindings() []*HttpRule {
|
||||
if m != nil {
|
||||
return m.AdditionalBindings
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*HttpRule) 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 _HttpRule_OneofMarshaler, _HttpRule_OneofUnmarshaler, _HttpRule_OneofSizer, []interface{}{
|
||||
(*HttpRule_Get)(nil),
|
||||
(*HttpRule_Put)(nil),
|
||||
(*HttpRule_Post)(nil),
|
||||
(*HttpRule_Delete)(nil),
|
||||
(*HttpRule_Patch)(nil),
|
||||
(*HttpRule_Custom)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _HttpRule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*HttpRule)
|
||||
// pattern
|
||||
switch x := m.Pattern.(type) {
|
||||
case *HttpRule_Get:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Get)
|
||||
case *HttpRule_Put:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Put)
|
||||
case *HttpRule_Post:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Post)
|
||||
case *HttpRule_Delete:
|
||||
b.EncodeVarint(5<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Delete)
|
||||
case *HttpRule_Patch:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Patch)
|
||||
case *HttpRule_Custom:
|
||||
b.EncodeVarint(8<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Custom); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("HttpRule.Pattern has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _HttpRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*HttpRule)
|
||||
switch tag {
|
||||
case 2: // pattern.get
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Pattern = &HttpRule_Get{x}
|
||||
return true, err
|
||||
case 3: // pattern.put
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Pattern = &HttpRule_Put{x}
|
||||
return true, err
|
||||
case 4: // pattern.post
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Pattern = &HttpRule_Post{x}
|
||||
return true, err
|
||||
case 5: // pattern.delete
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Pattern = &HttpRule_Delete{x}
|
||||
return true, err
|
||||
case 6: // pattern.patch
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Pattern = &HttpRule_Patch{x}
|
||||
return true, err
|
||||
case 8: // pattern.custom
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(CustomHttpPattern)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Pattern = &HttpRule_Custom{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _HttpRule_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*HttpRule)
|
||||
// pattern
|
||||
switch x := m.Pattern.(type) {
|
||||
case *HttpRule_Get:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Get)))
|
||||
n += len(x.Get)
|
||||
case *HttpRule_Put:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Put)))
|
||||
n += len(x.Put)
|
||||
case *HttpRule_Post:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Post)))
|
||||
n += len(x.Post)
|
||||
case *HttpRule_Delete:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.Delete)))
|
||||
n += len(x.Delete)
|
||||
case *HttpRule_Patch:
|
||||
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 += 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 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,proto3" json:"kind,omitempty"`
|
||||
// The path matched by this custom verb.
|
||||
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 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 {
|
||||
return m.Kind
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CustomHttpPattern) GetPath() string {
|
||||
if m != nil {
|
||||
return m.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Http)(nil), "google.api.Http")
|
||||
proto.RegisterType((*HttpRule)(nil), "google.api.HttpRule")
|
||||
proto.RegisterType((*CustomHttpPattern)(nil), "google.api.CustomHttpPattern")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/http.proto", fileDescriptor_http_98c2ff955ca74b42) }
|
||||
|
||||
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,
|
||||
0xd8, 0xc2, 0xf3, 0xe0, 0xe1, 0x9d, 0x5e, 0xb5, 0xf8, 0xbc, 0x95, 0x3d, 0x7a, 0x29, 0xe9, 0x66,
|
||||
0x4c, 0xa3, 0x79, 0x49, 0xd8, 0xcc, 0x8a, 0xfd, 0x3a, 0x7e, 0x07, 0xbf, 0x9b, 0x47, 0x49, 0x36,
|
||||
0xb5, 0x05, 0xc1, 0xdb, 0xfc, 0xff, 0xf3, 0xcb, 0xcc, 0x64, 0x18, 0x78, 0xa6, 0x9c, 0x53, 0x06,
|
||||
0x57, 0xc2, 0xeb, 0xd5, 0x81, 0xc8, 0x57, 0xbe, 0x75, 0xe4, 0x18, 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0xca, 0xbd, 0x93, 0x47, 0x7e, 0x95, 0x3e,
|
||||
0x90, 0x62, 0xb6, 0x81, 0xa7, 0x42, 0x4a, 0x4d, 0xda, 0x59, 0x61, 0x76, 0x7b, 0x6d, 0xa5, 0xb6,
|
||||
0x2a, 0xf0, 0xd9, 0x7f, 0xd6, 0xcc, 0xce, 0x0f, 0xd6, 0x99, 0x5f, 0x4f, 0xe1, 0xca, 0xf7, 0xfd,
|
||||
0x16, 0xb7, 0xf0, 0xe4, 0x9f, 0x21, 0x62, 0xeb, 0x6f, 0xda, 0xca, 0xbc, 0xbb, 0x14, 0x47, 0xcf,
|
||||
0x0b, 0x3a, 0xf4, 0x8b, 0xab, 0x53, 0xbc, 0xfe, 0x0a, 0x8f, 0x1b, 0xf7, 0x70, 0xd1, 0x76, 0x3d,
|
||||
0x4d, 0x65, 0xe2, 0x61, 0x6c, 0x8b, 0xcf, 0x77, 0x39, 0xa1, 0x9c, 0x11, 0x56, 0x55, 0xae, 0x55,
|
||||
0x2b, 0x85, 0x36, 0x9d, 0xcd, 0xaa, 0x4f, 0x09, 0xaf, 0x43, 0x3a, 0x28, 0x61, 0xad, 0x23, 0x11,
|
||||
0xc7, 0x0c, 0xb7, 0x17, 0xf1, 0xef, 0xa2, 0xf8, 0x39, 0x28, 0x3f, 0xde, 0x6d, 0x3f, 0xed, 0xc7,
|
||||
0xe9, 0xdd, 0xdb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x73, 0x2c, 0xed, 0xfb, 0x87, 0x02, 0x00,
|
||||
0x00,
|
||||
}
|
93
vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go
generated
vendored
93
vendor/google.golang.org/genproto/googleapis/api/authorization_config.pb.go
generated
vendored
@ -1,93 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/experimental/authorization_config.proto
|
||||
|
||||
package api // import "google.golang.org/genproto/googleapis/api"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Configuration of authorization.
|
||||
//
|
||||
// This section determines the authorization provider, if unspecified, then no
|
||||
// authorization check will be done.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// experimental:
|
||||
// authorization:
|
||||
// provider: firebaserules.googleapis.com
|
||||
type AuthorizationConfig struct {
|
||||
// The name of the authorization provider, such as
|
||||
// firebaserules.googleapis.com.
|
||||
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 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 {
|
||||
return m.Provider
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*AuthorizationConfig)(nil), "google.api.AuthorizationConfig")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/experimental/authorization_config.proto", fileDescriptor_authorization_config_87a128931232bc39)
|
||||
}
|
||||
|
||||
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,
|
||||
0x2b, 0x49, 0xcc, 0xd1, 0x4f, 0x2c, 0x2d, 0xc9, 0xc8, 0x2f, 0xca, 0xac, 0x4a, 0x2c, 0xc9, 0xcc,
|
||||
0xcf, 0x8b, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2,
|
||||
0x82, 0xe8, 0xd1, 0x4b, 0x2c, 0xc8, 0x54, 0x32, 0xe4, 0x12, 0x76, 0x44, 0x56, 0xe9, 0x0c, 0x56,
|
||||
0x28, 0x24, 0xc5, 0xc5, 0x51, 0x50, 0x94, 0x5f, 0x96, 0x99, 0x92, 0x5a, 0x24, 0xc1, 0xa8, 0xc0,
|
||||
0xa8, 0xc1, 0x19, 0x04, 0xe7, 0x3b, 0x25, 0x71, 0xf1, 0x25, 0xe7, 0xe7, 0xea, 0x21, 0x0c, 0x71,
|
||||
0x92, 0xc0, 0x62, 0x44, 0x00, 0xc8, 0xaa, 0x00, 0xc6, 0x28, 0x5d, 0xa8, 0xba, 0xf4, 0xfc, 0x9c,
|
||||
0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x43, 0xf4, 0x21, 0x52,
|
||||
0x89, 0x05, 0x99, 0xc5, 0x20, 0xf7, 0x5b, 0x27, 0x16, 0x64, 0x2e, 0x62, 0x62, 0x71, 0x77, 0x0c,
|
||||
0xf0, 0x4c, 0x62, 0x03, 0x2b, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x52, 0x27, 0x0c, 0xba,
|
||||
0xdf, 0x00, 0x00, 0x00,
|
||||
}
|
227
vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go
generated
vendored
227
vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go
generated
vendored
@ -1,227 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/config_change.proto
|
||||
|
||||
package configchange // import "google.golang.org/genproto/googleapis/api/configchange"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Classifies set of possible modifications to an object in the service
|
||||
// configuration.
|
||||
type ChangeType int32
|
||||
|
||||
const (
|
||||
// No value was provided.
|
||||
ChangeType_CHANGE_TYPE_UNSPECIFIED ChangeType = 0
|
||||
// The changed object exists in the 'new' service configuration, but not
|
||||
// in the 'old' service configuration.
|
||||
ChangeType_ADDED ChangeType = 1
|
||||
// The changed object exists in the 'old' service configuration, but not
|
||||
// in the 'new' service configuration.
|
||||
ChangeType_REMOVED ChangeType = 2
|
||||
// The changed object exists in both service configurations, but its value
|
||||
// is different.
|
||||
ChangeType_MODIFIED ChangeType = 3
|
||||
)
|
||||
|
||||
var ChangeType_name = map[int32]string{
|
||||
0: "CHANGE_TYPE_UNSPECIFIED",
|
||||
1: "ADDED",
|
||||
2: "REMOVED",
|
||||
3: "MODIFIED",
|
||||
}
|
||||
var ChangeType_value = map[string]int32{
|
||||
"CHANGE_TYPE_UNSPECIFIED": 0,
|
||||
"ADDED": 1,
|
||||
"REMOVED": 2,
|
||||
"MODIFIED": 3,
|
||||
}
|
||||
|
||||
func (x ChangeType) String() string {
|
||||
return proto.EnumName(ChangeType_name, int32(x))
|
||||
}
|
||||
func (ChangeType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_change_575fa64fb42e14af, []int{0}
|
||||
}
|
||||
|
||||
// Output generated from semantically comparing two versions of a service
|
||||
// configuration.
|
||||
//
|
||||
// Includes detailed information about a field that have changed with
|
||||
// applicable advice about potential consequences for the change, such as
|
||||
// backwards-incompatibility.
|
||||
type ConfigChange struct {
|
||||
// Object hierarchy path to the change, with levels separated by a '.'
|
||||
// character. For repeated fields, an applicable unique identifier field is
|
||||
// used for the index (usually selector, name, or id). For maps, the term
|
||||
// 'key' is used. If the field has no unique identifier, the numeric index
|
||||
// is used.
|
||||
// Examples:
|
||||
// - 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,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,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,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,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,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 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 {
|
||||
return m.Element
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ConfigChange) GetOldValue() string {
|
||||
if m != nil {
|
||||
return m.OldValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ConfigChange) GetNewValue() string {
|
||||
if m != nil {
|
||||
return m.NewValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ConfigChange) GetChangeType() ChangeType {
|
||||
if m != nil {
|
||||
return m.ChangeType
|
||||
}
|
||||
return ChangeType_CHANGE_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ConfigChange) GetAdvices() []*Advice {
|
||||
if m != nil {
|
||||
return m.Advices
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Generated advice about this change, used for providing more
|
||||
// information about how a change will affect the existing service.
|
||||
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,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 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 {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ConfigChange)(nil), "google.api.ConfigChange")
|
||||
proto.RegisterType((*Advice)(nil), "google.api.Advice")
|
||||
proto.RegisterEnum("google.api.ChangeType", ChangeType_name, ChangeType_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/config_change.proto", fileDescriptor_config_change_575fa64fb42e14af)
|
||||
}
|
||||
|
||||
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,
|
||||
0x13, 0x5c, 0xb8, 0x70, 0x55, 0xda, 0x8a, 0x2c, 0x80, 0xa6, 0x22, 0x89, 0x6e, 0x9a, 0xb1, 0x1d,
|
||||
0xc7, 0x49, 0xca, 0xcc, 0x08, 0x15, 0xc2, 0xeb, 0xf8, 0x36, 0xbe, 0x95, 0xa1, 0x03, 0xd2, 0xdd,
|
||||
0x9c, 0xf9, 0xce, 0xcd, 0x3d, 0x39,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c, 0xa0, 0x26, 0x54, 0x1d, 0xcf, 0xf3, 0xbd, 0x8e, 0x86, 0x74, 0xa8,
|
||||
0x87, 0xfe, 0x74, 0xbe, 0xf4, 0xbd, 0x4e, 0x09, 0xb5, 0xa0, 0x31, 0x9d, 0x7b, 0xca, 0x55, 0x1e,
|
||||
0x7d, 0x41, 0x3b, 0x16, 0xab, 0x42, 0xbc, 0xd1, 0x65, 0xb1, 0xd7, 0xe0, 0xd0, 0x7c, 0xa0, 0xbd,
|
||||
0xb9, 0x47, 0x03, 0x15, 0x29, 0xe6, 0xd4, 0x12, 0x6b, 0x6a, 0x53, 0xc2, 0xf3, 0xbb, 0xd8, 0x0a,
|
||||
0x61, 0xc9, 0x36, 0x85, 0xd3, 0xa9, 0x36, 0x1e, 0x8a, 0xe2, 0xa7, 0x54, 0x19, 0x3b, 0xc1, 0xe4,
|
||||
0xbd, 0x96, 0x8f, 0xdd, 0xfd, 0x05, 0x00, 0x00, 0xff, 0xff, 0x46, 0x8b, 0xd3, 0xf5, 0xf0, 0x01,
|
||||
0x00, 0x00,
|
||||
}
|
626
vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go
generated
vendored
626
vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go
generated
vendored
@ -1,626 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/distribution.proto
|
||||
|
||||
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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Distribution contains summary statistics for a population of values and,
|
||||
// optionally, a histogram representing the distribution of those values across
|
||||
// a specified set of histogram buckets.
|
||||
//
|
||||
// The summary statistics are the count, mean, sum of the squared deviation from
|
||||
// the mean, the minimum, and the maximum of the set of population of values.
|
||||
//
|
||||
// The histogram is based on a sequence of buckets and gives a count of values
|
||||
// that fall into each bucket. The boundaries of the buckets are given either
|
||||
// explicitly or by specifying parameters for a method of computing them
|
||||
// (buckets of fixed width or buckets of exponentially increasing width).
|
||||
//
|
||||
// Although it is not forbidden, it is generally a bad idea to include
|
||||
// non-finite values (infinities or NaNs) in the population of values, as this
|
||||
// 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,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,proto3" json:"mean,omitempty"`
|
||||
// The sum of squared deviations from the mean of the values in the
|
||||
// population. For values x_i this is:
|
||||
//
|
||||
// Sum[i=1..n]((x_i - mean)^2)
|
||||
//
|
||||
// Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
|
||||
// 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,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,proto3" json:"range,omitempty"`
|
||||
// Defines the histogram bucket boundaries.
|
||||
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.
|
||||
//
|
||||
// Bucket counts are given in order under the numbering scheme described
|
||||
// above (the underflow bucket has number 0; the finite buckets, if any,
|
||||
// have numbers 1 through N-2; the overflow bucket has number N-1).
|
||||
//
|
||||
// The size of `bucket_counts` must be no greater than N as defined in
|
||||
// `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,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 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 {
|
||||
return m.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetMean() float64 {
|
||||
if m != nil {
|
||||
return m.Mean
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetSumOfSquaredDeviation() float64 {
|
||||
if m != nil {
|
||||
return m.SumOfSquaredDeviation
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetRange() *Distribution_Range {
|
||||
if m != nil {
|
||||
return m.Range
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution) GetBucketOptions() *Distribution_BucketOptions {
|
||||
if m != nil {
|
||||
return m.BucketOptions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution) GetBucketCounts() []int64 {
|
||||
if m != nil {
|
||||
return m.BucketCounts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The range of the population values.
|
||||
type Distribution_Range struct {
|
||||
// The minimum of the population values.
|
||||
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,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 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 {
|
||||
return m.Min
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_Range) GetMax() float64 {
|
||||
if m != nil {
|
||||
return m.Max
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A Distribution may optionally contain a histogram of the values in the
|
||||
// population. The histogram is given in `bucket_counts` as counts of values
|
||||
// that fall into one of a sequence of non-overlapping buckets. The sequence
|
||||
// of buckets is described by `bucket_options`.
|
||||
//
|
||||
// A bucket specifies an inclusive lower bound and exclusive upper bound for
|
||||
// the values that are counted for that bucket. The upper bound of a bucket
|
||||
// is strictly greater than the lower bound.
|
||||
//
|
||||
// The sequence of N buckets for a Distribution consists of an underflow
|
||||
// bucket (number 0), zero or more finite buckets (number 1 through N - 2) and
|
||||
// an overflow bucket (number N - 1). The buckets are contiguous: the lower
|
||||
// bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1.
|
||||
// The buckets span the whole range of finite values: lower bound of the
|
||||
// underflow bucket is -infinity and the upper bound of the overflow bucket is
|
||||
// +infinity. The finite buckets are so-called because both bounds are
|
||||
// finite.
|
||||
//
|
||||
// `BucketOptions` describes bucket boundaries in one of three ways. Two
|
||||
// describe the boundaries by giving parameters for a formula to generate
|
||||
// boundaries and one gives the bucket boundaries explicitly.
|
||||
//
|
||||
// If `bucket_boundaries` is not given, then no `bucket_counts` may be given.
|
||||
type Distribution_BucketOptions struct {
|
||||
// Exactly one of these three fields must be set.
|
||||
//
|
||||
// Types that are valid to be assigned to Options:
|
||||
// *Distribution_BucketOptions_LinearBuckets
|
||||
// *Distribution_BucketOptions_ExponentialBuckets
|
||||
// *Distribution_BucketOptions_ExplicitBuckets
|
||||
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 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,proto3,oneof"`
|
||||
}
|
||||
|
||||
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 (m *Distribution_BucketOptions) GetOptions() isDistribution_BucketOptions_Options {
|
||||
if m != nil {
|
||||
return m.Options
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions) GetLinearBuckets() *Distribution_BucketOptions_Linear {
|
||||
if x, ok := m.GetOptions().(*Distribution_BucketOptions_LinearBuckets); ok {
|
||||
return x.LinearBuckets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions) GetExponentialBuckets() *Distribution_BucketOptions_Exponential {
|
||||
if x, ok := m.GetOptions().(*Distribution_BucketOptions_ExponentialBuckets); ok {
|
||||
return x.ExponentialBuckets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions) GetExplicitBuckets() *Distribution_BucketOptions_Explicit {
|
||||
if x, ok := m.GetOptions().(*Distribution_BucketOptions_ExplicitBuckets); ok {
|
||||
return x.ExplicitBuckets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Distribution_BucketOptions) 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 _Distribution_BucketOptions_OneofMarshaler, _Distribution_BucketOptions_OneofUnmarshaler, _Distribution_BucketOptions_OneofSizer, []interface{}{
|
||||
(*Distribution_BucketOptions_LinearBuckets)(nil),
|
||||
(*Distribution_BucketOptions_ExponentialBuckets)(nil),
|
||||
(*Distribution_BucketOptions_ExplicitBuckets)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Distribution_BucketOptions_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Distribution_BucketOptions)
|
||||
// options
|
||||
switch x := m.Options.(type) {
|
||||
case *Distribution_BucketOptions_LinearBuckets:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.LinearBuckets); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Distribution_BucketOptions_ExponentialBuckets:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ExponentialBuckets); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Distribution_BucketOptions_ExplicitBuckets:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ExplicitBuckets); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Distribution_BucketOptions.Options has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Distribution_BucketOptions_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Distribution_BucketOptions)
|
||||
switch tag {
|
||||
case 1: // options.linear_buckets
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Distribution_BucketOptions_Linear)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Options = &Distribution_BucketOptions_LinearBuckets{msg}
|
||||
return true, err
|
||||
case 2: // options.exponential_buckets
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Distribution_BucketOptions_Exponential)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Options = &Distribution_BucketOptions_ExponentialBuckets{msg}
|
||||
return true, err
|
||||
case 3: // options.explicit_buckets
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Distribution_BucketOptions_Explicit)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Options = &Distribution_BucketOptions_ExplicitBuckets{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Distribution_BucketOptions_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Distribution_BucketOptions)
|
||||
// options
|
||||
switch x := m.Options.(type) {
|
||||
case *Distribution_BucketOptions_LinearBuckets:
|
||||
s := proto.Size(x.LinearBuckets)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_BucketOptions_ExponentialBuckets:
|
||||
s := proto.Size(x.ExponentialBuckets)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_BucketOptions_ExplicitBuckets:
|
||||
s := proto.Size(x.ExplicitBuckets)
|
||||
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
|
||||
}
|
||||
|
||||
// Specify a sequence of buckets that all have the same width (except
|
||||
// overflow and underflow). Each bucket represents a constant absolute
|
||||
// uncertainty on the specific value in the bucket.
|
||||
//
|
||||
// Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
|
||||
// bucket `i`:
|
||||
//
|
||||
// Upper bound (0 <= i < N-1): offset + (width * i).
|
||||
// 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,proto3" json:"num_finite_buckets,omitempty"`
|
||||
// Must be greater than 0.
|
||||
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,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 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 {
|
||||
return m.NumFiniteBuckets
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Linear) GetWidth() float64 {
|
||||
if m != nil {
|
||||
return m.Width
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Linear) GetOffset() float64 {
|
||||
if m != nil {
|
||||
return m.Offset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Specify a sequence of buckets that have a width that is proportional to
|
||||
// the value of the lower bound. Each bucket represents a constant relative
|
||||
// uncertainty on a specific value in the bucket.
|
||||
//
|
||||
// Defines `num_finite_buckets + 2` (= N) buckets with these boundaries for
|
||||
// bucket i:
|
||||
//
|
||||
// Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
||||
// 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,proto3" json:"num_finite_buckets,omitempty"`
|
||||
// Must be greater than 1.
|
||||
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,proto3" json:"scale,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Exponential) Reset() {
|
||||
*m = Distribution_BucketOptions_Exponential{}
|
||||
}
|
||||
func (m *Distribution_BucketOptions_Exponential) String() string { return proto.CompactTextString(m) }
|
||||
func (*Distribution_BucketOptions_Exponential) ProtoMessage() {}
|
||||
func (*Distribution_BucketOptions_Exponential) Descriptor() ([]byte, []int) {
|
||||
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 {
|
||||
return m.NumFiniteBuckets
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Exponential) GetGrowthFactor() float64 {
|
||||
if m != nil {
|
||||
return m.GrowthFactor
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_BucketOptions_Exponential) GetScale() float64 {
|
||||
if m != nil {
|
||||
return m.Scale
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A set of buckets with arbitrary widths.
|
||||
//
|
||||
// Defines `size(bounds) + 1` (= N) buckets with these boundaries for
|
||||
// bucket i:
|
||||
//
|
||||
// Upper bound (0 <= i < N-1): bounds[i]
|
||||
// Lower bound (1 <= i < N); bounds[i - 1]
|
||||
//
|
||||
// There must be at least one element in `bounds`. If `bounds` has only one
|
||||
// element, there are no finite buckets, and that single element is the
|
||||
// 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,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 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 {
|
||||
return m.Bounds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Distribution)(nil), "google.api.Distribution")
|
||||
proto.RegisterType((*Distribution_Range)(nil), "google.api.Distribution.Range")
|
||||
proto.RegisterType((*Distribution_BucketOptions)(nil), "google.api.Distribution.BucketOptions")
|
||||
proto.RegisterType((*Distribution_BucketOptions_Linear)(nil), "google.api.Distribution.BucketOptions.Linear")
|
||||
proto.RegisterType((*Distribution_BucketOptions_Exponential)(nil), "google.api.Distribution.BucketOptions.Exponential")
|
||||
proto.RegisterType((*Distribution_BucketOptions_Explicit)(nil), "google.api.Distribution.BucketOptions.Explicit")
|
||||
}
|
||||
|
||||
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,
|
||||
0x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, 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,
|
||||
}
|
86
vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go
generated
vendored
86
vendor/google.golang.org/genproto/googleapis/api/experimental.pb.go
generated
vendored
@ -1,86 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/experimental/experimental.proto
|
||||
|
||||
package api // import "google.golang.org/genproto/googleapis/api"
|
||||
|
||||
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
|
||||
|
||||
// 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,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 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 {
|
||||
return m.Authorization
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Experimental)(nil), "google.api.Experimental")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/experimental/experimental.proto", fileDescriptor_experimental_8ffd851a3879187f)
|
||||
}
|
||||
|
||||
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,
|
||||
0x2b, 0x49, 0xcc, 0x41, 0xe1, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x71, 0x41, 0xd4, 0xea,
|
||||
0x25, 0x16, 0x64, 0x4a, 0xc9, 0x20, 0xe9, 0x4b, 0xcc, 0xcb, 0xcb, 0x2f, 0x49, 0x2c, 0xc9, 0xcc,
|
||||
0xcf, 0x2b, 0x86, 0xa8, 0x94, 0x32, 0xc2, 0x65, 0x6a, 0x62, 0x69, 0x49, 0x46, 0x7e, 0x51, 0x66,
|
||||
0x15, 0x58, 0x75, 0x7c, 0x72, 0x7e, 0x5e, 0x5a, 0x66, 0x3a, 0x44, 0x8f, 0x52, 0x28, 0x17, 0x8f,
|
||||
0x2b, 0x92, 0x52, 0x21, 0x57, 0x2e, 0x5e, 0x14, 0xd5, 0x12, 0x1c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46,
|
||||
0xf2, 0x7a, 0x08, 0x57, 0xe8, 0x39, 0x22, 0x2b, 0x70, 0x06, 0x9b, 0x16, 0x84, 0xaa, 0xcb, 0x29,
|
||||
0x9a, 0x8b, 0x2f, 0x39, 0x3f, 0x17, 0x49, 0x93, 0x93, 0x20, 0xb2, 0x35, 0x01, 0x20, 0xbb, 0x03,
|
||||
0x18, 0xa3, 0x74, 0xa1, 0x0a, 0xd2, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5,
|
||||
0xd3, 0x53, 0xf3, 0xc0, 0x2e, 0xd3, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16, 0x83, 0x3c, 0x64, 0x9d,
|
||||
0x58, 0x90, 0xb9, 0x88, 0x89, 0xc5, 0xdd, 0x31, 0xc0, 0x33, 0x89, 0x0d, 0xac, 0xc0, 0x18, 0x10,
|
||||
0x00, 0x00, 0xff, 0xff, 0xa0, 0x95, 0x20, 0xe5, 0x46, 0x01, 0x00, 0x00,
|
||||
}
|
141
vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
generated
vendored
141
vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
generated
vendored
@ -1,141 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/httpbody.proto
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
// Message that represents an arbitrary HTTP body. It should only be used for
|
||||
// payload formats that can't be represented as JSON, such as raw binary or
|
||||
// an HTML page.
|
||||
//
|
||||
//
|
||||
// This message can be used both in streaming and non-streaming API methods in
|
||||
// the request as well as the response.
|
||||
//
|
||||
// It can be used as a top-level request field, which is convenient if one
|
||||
// wants to extract parameters from either the URL or HTTP template into the
|
||||
// request fields and also want access to the raw HTTP body.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// message GetResourceRequest {
|
||||
// // A unique request id.
|
||||
// string request_id = 1;
|
||||
//
|
||||
// // The raw HTTP body is bound to this field.
|
||||
// google.api.HttpBody http_body = 2;
|
||||
// }
|
||||
//
|
||||
// service ResourceService {
|
||||
// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
||||
// rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);
|
||||
// }
|
||||
//
|
||||
// Example with streaming methods:
|
||||
//
|
||||
// service CaldavService {
|
||||
// rpc GetCalendar(stream google.api.HttpBody)
|
||||
// returns (stream google.api.HttpBody);
|
||||
// rpc UpdateCalendar(stream google.api.HttpBody)
|
||||
// returns (stream google.api.HttpBody);
|
||||
// }
|
||||
//
|
||||
// Use of this type only changes how the request and response bodies are
|
||||
// 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,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 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 {
|
||||
return m.ContentType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HttpBody) GetData() []byte {
|
||||
if m != nil {
|
||||
return m.Data
|
||||
}
|
||||
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", fileDescriptor_httpbody_d3ca4c70025a4501) }
|
||||
|
||||
var fileDescriptor_httpbody_d3ca4c70025a4501 = []byte{
|
||||
// 226 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x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xbc, 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,
|
||||
}
|
134
vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go
generated
vendored
134
vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go
generated
vendored
@ -1,134 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/label.proto
|
||||
|
||||
package label // import "google.golang.org/genproto/googleapis/api/label"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Value types that can be used as label values.
|
||||
type LabelDescriptor_ValueType int32
|
||||
|
||||
const (
|
||||
// A variable-length string. This is the default.
|
||||
LabelDescriptor_STRING LabelDescriptor_ValueType = 0
|
||||
// Boolean; true or false.
|
||||
LabelDescriptor_BOOL LabelDescriptor_ValueType = 1
|
||||
// A 64-bit signed integer.
|
||||
LabelDescriptor_INT64 LabelDescriptor_ValueType = 2
|
||||
)
|
||||
|
||||
var LabelDescriptor_ValueType_name = map[int32]string{
|
||||
0: "STRING",
|
||||
1: "BOOL",
|
||||
2: "INT64",
|
||||
}
|
||||
var LabelDescriptor_ValueType_value = map[string]int32{
|
||||
"STRING": 0,
|
||||
"BOOL": 1,
|
||||
"INT64": 2,
|
||||
}
|
||||
|
||||
func (x LabelDescriptor_ValueType) String() string {
|
||||
return proto.EnumName(LabelDescriptor_ValueType_name, int32(x))
|
||||
}
|
||||
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,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,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,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 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 {
|
||||
return m.Key
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LabelDescriptor) GetValueType() LabelDescriptor_ValueType {
|
||||
if m != nil {
|
||||
return m.ValueType
|
||||
}
|
||||
return LabelDescriptor_STRING
|
||||
}
|
||||
|
||||
func (m *LabelDescriptor) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*LabelDescriptor)(nil), "google.api.LabelDescriptor")
|
||||
proto.RegisterEnum("google.api.LabelDescriptor_ValueType", LabelDescriptor_ValueType_name, LabelDescriptor_ValueType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor_label_7ab1ab74ef036f1c) }
|
||||
|
||||
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,
|
||||
0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x88, 0xeb, 0x25, 0x16, 0x64, 0x2a, 0xed, 0x64, 0xe4, 0xe2, 0xf7,
|
||||
0x01, 0xc9, 0xb9, 0xa4, 0x16, 0x27, 0x17, 0x65, 0x16, 0x94, 0xe4, 0x17, 0x09, 0x09, 0x70, 0x31,
|
||||
0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x2e, 0x5c, 0x5c,
|
||||
0x65, 0x89, 0x39, 0xa5, 0xa9, 0xf1, 0x25, 0x95, 0x05, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x7c,
|
||||
0x46, 0xaa, 0x7a, 0x08, 0x63, 0xf4, 0xd0, 0x8c, 0xd0, 0x0b, 0x03, 0xa9, 0x0e, 0xa9, 0x2c, 0x48,
|
||||
0x0d, 0xe2, 0x2c, 0x83, 0x31, 0x85, 0x14, 0xb8, 0xb8, 0x53, 0xa0, 0x4a, 0x32, 0xf3, 0xf3, 0x24,
|
||||
0x98, 0xc1, 0xe6, 0x23, 0x0b, 0x29, 0xe9, 0x70, 0x71, 0xc2, 0x75, 0x0a, 0x71, 0x71, 0xb1, 0x05,
|
||||
0x87, 0x04, 0x79, 0xfa, 0xb9, 0x0b, 0x30, 0x08, 0x71, 0x70, 0xb1, 0x38, 0xf9, 0xfb, 0xfb, 0x08,
|
||||
0x30, 0x0a, 0x71, 0x72, 0xb1, 0x7a, 0xfa, 0x85, 0x98, 0x99, 0x08, 0x30, 0x39, 0xc5, 0x73, 0xf1,
|
||||
0x25, 0xe7, 0xe7, 0x22, 0x39, 0xc3, 0x89, 0x0b, 0xec, 0x8e, 0x00, 0x90, 0x2f, 0x03, 0x18, 0xa3,
|
||||
0x4c, 0xa1, 0x32, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9,
|
||||
0x79, 0xe0, 0x30, 0xd0, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16, 0x23, 0x82, 0xc7, 0x1a, 0x4c, 0xfe,
|
||||
0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xe2, 0xee, 0x18, 0xe0, 0x99, 0xc4, 0x06, 0x56, 0x6b, 0x0c, 0x08,
|
||||
0x00, 0x00, 0xff, 0xff, 0x57, 0x04, 0xaa, 0x1f, 0x49, 0x01, 0x00, 0x00,
|
||||
}
|
389
vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go
generated
vendored
389
vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go
generated
vendored
@ -1,389 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/metric.proto
|
||||
|
||||
package metric // import "google.golang.org/genproto/googleapis/api/metric"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
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
|
||||
|
||||
// The kind of measurement. It describes how the data is reported.
|
||||
type MetricDescriptor_MetricKind int32
|
||||
|
||||
const (
|
||||
// Do not use this default value.
|
||||
MetricDescriptor_METRIC_KIND_UNSPECIFIED MetricDescriptor_MetricKind = 0
|
||||
// An instantaneous measurement of a value.
|
||||
MetricDescriptor_GAUGE MetricDescriptor_MetricKind = 1
|
||||
// The change in a value during a time interval.
|
||||
MetricDescriptor_DELTA MetricDescriptor_MetricKind = 2
|
||||
// A value accumulated over a time interval. Cumulative
|
||||
// measurements in a time series should have the same start time
|
||||
// and increasing end times, until an event resets the cumulative
|
||||
// value to zero and sets a new start time for the following
|
||||
// points.
|
||||
MetricDescriptor_CUMULATIVE MetricDescriptor_MetricKind = 3
|
||||
)
|
||||
|
||||
var MetricDescriptor_MetricKind_name = map[int32]string{
|
||||
0: "METRIC_KIND_UNSPECIFIED",
|
||||
1: "GAUGE",
|
||||
2: "DELTA",
|
||||
3: "CUMULATIVE",
|
||||
}
|
||||
var MetricDescriptor_MetricKind_value = map[string]int32{
|
||||
"METRIC_KIND_UNSPECIFIED": 0,
|
||||
"GAUGE": 1,
|
||||
"DELTA": 2,
|
||||
"CUMULATIVE": 3,
|
||||
}
|
||||
|
||||
func (x MetricDescriptor_MetricKind) String() string {
|
||||
return proto.EnumName(MetricDescriptor_MetricKind_name, int32(x))
|
||||
}
|
||||
func (MetricDescriptor_MetricKind) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_metric_18b95065d4b7f9c0, []int{0, 0}
|
||||
}
|
||||
|
||||
// The value type of a metric.
|
||||
type MetricDescriptor_ValueType int32
|
||||
|
||||
const (
|
||||
// Do not use this default value.
|
||||
MetricDescriptor_VALUE_TYPE_UNSPECIFIED MetricDescriptor_ValueType = 0
|
||||
// The value is a boolean.
|
||||
// This value type can be used only if the metric kind is `GAUGE`.
|
||||
MetricDescriptor_BOOL MetricDescriptor_ValueType = 1
|
||||
// The value is a signed 64-bit integer.
|
||||
MetricDescriptor_INT64 MetricDescriptor_ValueType = 2
|
||||
// The value is a double precision floating point number.
|
||||
MetricDescriptor_DOUBLE MetricDescriptor_ValueType = 3
|
||||
// The value is a text string.
|
||||
// This value type can be used only if the metric kind is `GAUGE`.
|
||||
MetricDescriptor_STRING MetricDescriptor_ValueType = 4
|
||||
// The value is a [`Distribution`][google.api.Distribution].
|
||||
MetricDescriptor_DISTRIBUTION MetricDescriptor_ValueType = 5
|
||||
// The value is money.
|
||||
MetricDescriptor_MONEY MetricDescriptor_ValueType = 6
|
||||
)
|
||||
|
||||
var MetricDescriptor_ValueType_name = map[int32]string{
|
||||
0: "VALUE_TYPE_UNSPECIFIED",
|
||||
1: "BOOL",
|
||||
2: "INT64",
|
||||
3: "DOUBLE",
|
||||
4: "STRING",
|
||||
5: "DISTRIBUTION",
|
||||
6: "MONEY",
|
||||
}
|
||||
var MetricDescriptor_ValueType_value = map[string]int32{
|
||||
"VALUE_TYPE_UNSPECIFIED": 0,
|
||||
"BOOL": 1,
|
||||
"INT64": 2,
|
||||
"DOUBLE": 3,
|
||||
"STRING": 4,
|
||||
"DISTRIBUTION": 5,
|
||||
"MONEY": 6,
|
||||
}
|
||||
|
||||
func (x MetricDescriptor_ValueType) String() string {
|
||||
return proto.EnumName(MetricDescriptor_ValueType_name, int32(x))
|
||||
}
|
||||
func (MetricDescriptor_ValueType) EnumDescriptor() ([]byte, []int) {
|
||||
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.
|
||||
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
|
||||
// grouping. For example:
|
||||
//
|
||||
// "custom.googleapis.com/invoice/paid/amount"
|
||||
// "appengine.googleapis.com/http/server/response_latencies"
|
||||
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 []*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,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,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
|
||||
// Measure](http://unitsofmeasure.org/ucum.html) standard:
|
||||
//
|
||||
// **Basic units (UNIT)**
|
||||
//
|
||||
// * `bit` bit
|
||||
// * `By` byte
|
||||
// * `s` second
|
||||
// * `min` minute
|
||||
// * `h` hour
|
||||
// * `d` day
|
||||
//
|
||||
// **Prefixes (PREFIX)**
|
||||
//
|
||||
// * `k` kilo (10**3)
|
||||
// * `M` mega (10**6)
|
||||
// * `G` giga (10**9)
|
||||
// * `T` tera (10**12)
|
||||
// * `P` peta (10**15)
|
||||
// * `E` exa (10**18)
|
||||
// * `Z` zetta (10**21)
|
||||
// * `Y` yotta (10**24)
|
||||
// * `m` milli (10**-3)
|
||||
// * `u` micro (10**-6)
|
||||
// * `n` nano (10**-9)
|
||||
// * `p` pico (10**-12)
|
||||
// * `f` femto (10**-15)
|
||||
// * `a` atto (10**-18)
|
||||
// * `z` zepto (10**-21)
|
||||
// * `y` yocto (10**-24)
|
||||
// * `Ki` kibi (2**10)
|
||||
// * `Mi` mebi (2**20)
|
||||
// * `Gi` gibi (2**30)
|
||||
// * `Ti` tebi (2**40)
|
||||
//
|
||||
// **Grammar**
|
||||
//
|
||||
// The grammar also includes these connectors:
|
||||
//
|
||||
// * `/` division (as an infix operator, e.g. `1/s`).
|
||||
// * `.` multiplication (as an infix operator, e.g. `GBy.d`)
|
||||
//
|
||||
// The grammar for a unit is as follows:
|
||||
//
|
||||
// Expression = Component { "." Component } { "/" Component } ;
|
||||
//
|
||||
// Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
||||
// | Annotation
|
||||
// | "1"
|
||||
// ;
|
||||
//
|
||||
// Annotation = "{" NAME "}" ;
|
||||
//
|
||||
// Notes:
|
||||
//
|
||||
// * `Annotation` is just a comment if it follows a `UNIT` and is
|
||||
// equivalent to `1` if it is used alone. For examples,
|
||||
// `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.
|
||||
// * `NAME` is a sequence of non-blank printable ASCII characters not
|
||||
// containing '{' or '}'.
|
||||
// * `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,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".
|
||||
// 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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetLabels() []*label.LabelDescriptor {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetMetricKind() MetricDescriptor_MetricKind {
|
||||
if m != nil {
|
||||
return m.MetricKind
|
||||
}
|
||||
return MetricDescriptor_METRIC_KIND_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetValueType() MetricDescriptor_ValueType {
|
||||
if m != nil {
|
||||
return m.ValueType
|
||||
}
|
||||
return MetricDescriptor_VALUE_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetUnit() string {
|
||||
if m != nil {
|
||||
return m.Unit
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricDescriptor) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A specific metric, identified by specifying values for all of the
|
||||
// labels of a [`MetricDescriptor`][google.api.MetricDescriptor].
|
||||
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,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,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 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 {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Metric) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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", fileDescriptor_metric_18b95065d4b7f9c0) }
|
||||
|
||||
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,
|
||||
0x09, 0xa4, 0xa4, 0x4a, 0xbf, 0x4e, 0x80, 0xb7, 0xd4, 0x8a, 0xb1, 0x91, 0x63, 0x23, 0xa5, 0x17,
|
||||
0xcb, 0x81, 0x95, 0x65, 0xc5, 0xd8, 0xae, 0x71, 0x22, 0xf9, 0x57, 0xf4, 0x17, 0xf4, 0xd2, 0x5f,
|
||||
0x5a, 0xed, 0xae, 0x03, 0x16, 0x95, 0x72, 0xe2, 0xed, 0x9b, 0x37, 0x6f, 0x67, 0x96, 0x67, 0x38,
|
||||
0x8f, 0xb2, 0x2c, 0x4a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0x65,
|
||||
0xce, 0x89, 0xc3, 0x57, 0xf9, 0xb3, 0x34, 0x0d, 0xa0, 0xbb, 0xce, 0xb6, 0x8d, 0x7b, 0xa6, 0x1d,
|
||||
0x71, 0xd1, 0x92, 0x05, 0x7a, 0x29, 0xfd, 0xfc, 0x54, 0x97, 0xa2, 0x2c, 0x09, 0xd3, 0x68, 0x94,
|
||||
0x15, 0xd1, 0x38, 0xa2, 0x29, 0x8f, 0xfb, 0x58, 0x94, 0xc2, 0x3c, 0xde, 0x35, 0x3e, 0x97, 0x6f,
|
||||
0xe2, 0xe7, 0xaf, 0xac, 0xce, 0x27, 0x4b, 0xf3, 0x5e, 0xe3, 0xd2, 0xab, 0x7f, 0x01, 0x00, 0x00,
|
||||
0xff, 0xff, 0x18, 0x04, 0x05, 0x82, 0x58, 0x03, 0x00, 0x00,
|
||||
}
|
289
vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go
generated
vendored
289
vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go
generated
vendored
@ -1,289 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/monitored_resource.proto
|
||||
|
||||
package monitoredres // import "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
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
|
||||
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 object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a
|
||||
// type name and a set of labels. For example, the monitored resource
|
||||
// descriptor for Google Compute Engine VM instances has a type of
|
||||
// `"gce_instance"` and specifies the use of the labels `"instance_id"` and
|
||||
// `"zone"` to identify particular VM instances.
|
||||
//
|
||||
// Different APIs can support different monitored resource types. APIs generally
|
||||
// provide a `list` method that returns the monitored resource descriptors used
|
||||
// by the API.
|
||||
type MonitoredResourceDescriptor struct {
|
||||
// Optional. The resource name of the monitored resource descriptor:
|
||||
// `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
|
||||
// {type} is the value of the `type` field in this object and
|
||||
// {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,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,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,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,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 []*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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceDescriptor) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceDescriptor) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceDescriptor) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MonitoredResourceDescriptor) GetLabels() []*label.LabelDescriptor {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An object representing a resource that can be used for monitoring, logging,
|
||||
// billing, or other purposes. Examples include virtual machine instances,
|
||||
// databases, and storage devices such as disks. The `type` field identifies a
|
||||
// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's
|
||||
// schema. Information in the `labels` field identifies the actual resource and
|
||||
// its attributes according to the schema. For example, a particular Compute
|
||||
// Engine VM instance could be represented by the following object, because the
|
||||
// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels
|
||||
// `"instance_id"` and `"zone"`:
|
||||
//
|
||||
// { "type": "gce_instance",
|
||||
// "labels": { "instance_id": "12345678901234",
|
||||
// "zone": "us-central1-a" }}
|
||||
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 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, 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 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 {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MonitoredResource) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
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", 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, 0x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, 0x47, 0x03, 0x00, 0x00,
|
||||
}
|
443
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go
generated
vendored
443
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go
generated
vendored
@ -1,443 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/auth.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
// `Authentication` defines the authentication configuration for an API.
|
||||
//
|
||||
// Example for an API targeted for external use:
|
||||
//
|
||||
// name: calendar.googleapis.com
|
||||
// authentication:
|
||||
// providers:
|
||||
// - id: google_calendar_auth
|
||||
// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
||||
// issuer: https://securetoken.google.com
|
||||
// rules:
|
||||
// - selector: "*"
|
||||
// requirements:
|
||||
// provider_id: google_calendar_auth
|
||||
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,proto3" json:"rules,omitempty"`
|
||||
// Defines a set of authentication providers that a service supports.
|
||||
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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Authentication) GetProviders() []*AuthProvider {
|
||||
if m != nil {
|
||||
return m.Providers
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Authentication rules for the service.
|
||||
//
|
||||
// By default, if a method has any authentication requirements, every request
|
||||
// must include a valid credential matching one of the requirements.
|
||||
// It's an error to include more than one kind of credential in a single
|
||||
// request.
|
||||
//
|
||||
// If a method doesn't have any auth requirements, request credentials will be
|
||||
// ignored.
|
||||
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,proto3" json:"selector,omitempty"`
|
||||
// The requirements for OAuth credentials.
|
||||
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,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 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 {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthenticationRule) GetOauth() *OAuthRequirements {
|
||||
if m != nil {
|
||||
return m.Oauth
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuthenticationRule) GetAllowWithoutCredential() bool {
|
||||
if m != nil {
|
||||
return m.AllowWithoutCredential
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *AuthenticationRule) GetRequirements() []*AuthRequirement {
|
||||
if m != nil {
|
||||
return m.Requirements
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Configuration for an anthentication provider, including support for
|
||||
// [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
||||
type AuthProvider struct {
|
||||
// The unique identifier of the auth provider. It will be referred to by
|
||||
// `AuthRequirement.provider_id`.
|
||||
//
|
||||
// Example: "bookstore_auth".
|
||||
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,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:
|
||||
// - can be retrieved from
|
||||
// [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html
|
||||
// of the issuer.
|
||||
// - 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,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
|
||||
// be accepted. When this setting is absent, only JWTs with audience
|
||||
// "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]"
|
||||
// will be accepted. For example, if no audiences are in the setting,
|
||||
// LibraryService API will only accept JWTs with the following audience
|
||||
// "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// audiences: bookstore_android.apps.googleusercontent.com,
|
||||
// bookstore_web.apps.googleusercontent.com
|
||||
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,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 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 {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthProvider) GetIssuer() string {
|
||||
if m != nil {
|
||||
return m.Issuer
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthProvider) GetJwksUri() string {
|
||||
if m != nil {
|
||||
return m.JwksUri
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthProvider) GetAudiences() string {
|
||||
if m != nil {
|
||||
return m.Audiences
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthProvider) GetAuthorizationUrl() string {
|
||||
if m != nil {
|
||||
return m.AuthorizationUrl
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// OAuth scopes are a way to define data and permissions on data. For example,
|
||||
// there are scopes defined for "Read-only access to Google Calendar" and
|
||||
// "Access to Cloud Platform". Users can consent to a scope for an application,
|
||||
// giving it permission to access that data on their behalf.
|
||||
//
|
||||
// OAuth scope specifications should be fairly coarse grained; a user will need
|
||||
// to see and understand the text description of what your scope means.
|
||||
//
|
||||
// In most cases: use one or at most two OAuth scopes for an entire family of
|
||||
// products. If your product has multiple APIs, you should probably be sharing
|
||||
// the OAuth scope across all of those APIs.
|
||||
//
|
||||
// When you need finer grained OAuth consent screens: talk with your product
|
||||
// management about how developers will use them in practice.
|
||||
//
|
||||
// Please note that even though each of the canonical scopes is enough for a
|
||||
// request to be accepted and passed to the backend, a request can still fail
|
||||
// due to the backend requiring additional scopes or permissions.
|
||||
type OAuthRequirements struct {
|
||||
// The list of publicly documented OAuth scopes that are allowed access. An
|
||||
// OAuth token containing any of these scopes will be accepted.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// 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,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 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 {
|
||||
return m.CanonicalScopes
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// User-defined authentication requirements, including support for
|
||||
// [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
||||
type AuthRequirement struct {
|
||||
// [id][google.api.AuthProvider.id] from authentication provider.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// provider_id: bookstore_auth
|
||||
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.
|
||||
//
|
||||
// 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
|
||||
// be accepted. When this setting is absent, only JWTs with audience
|
||||
// "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]"
|
||||
// will be accepted. For example, if no audiences are in the setting,
|
||||
// LibraryService API will only accept JWTs with the following audience
|
||||
// "https://library-example.googleapis.com/google.example.library.v1.LibraryService".
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// audiences: bookstore_android.apps.googleusercontent.com,
|
||||
// bookstore_web.apps.googleusercontent.com
|
||||
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 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 {
|
||||
return m.ProviderId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthRequirement) GetAudiences() string {
|
||||
if m != nil {
|
||||
return m.Audiences
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Authentication)(nil), "google.api.Authentication")
|
||||
proto.RegisterType((*AuthenticationRule)(nil), "google.api.AuthenticationRule")
|
||||
proto.RegisterType((*AuthProvider)(nil), "google.api.AuthProvider")
|
||||
proto.RegisterType((*OAuthRequirements)(nil), "google.api.OAuthRequirements")
|
||||
proto.RegisterType((*AuthRequirement)(nil), "google.api.AuthRequirement")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/auth.proto", fileDescriptor_auth_88c4f5ae0863ae9c) }
|
||||
|
||||
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,
|
||||
0x11, 0x61, 0x03, 0xad, 0x88, 0x20, 0x28, 0xad, 0x88, 0xf4, 0xc9, 0x30, 0x52, 0x04, 0x5f, 0x96,
|
||||
0x71, 0x76, 0xdc, 0x8c, 0x9d, 0xce, 0x5d, 0xe7, 0x4f, 0x03, 0x3e, 0xf8, 0x49, 0x7c, 0xf2, 0x93,
|
||||
0xf9, 0x51, 0x64, 0x67, 0xb7, 0xc9, 0x6e, 0xfa, 0x78, 0xef, 0x39, 0xe7, 0xde, 0x7b, 0xce, 0x0c,
|
||||
0xfc, 0x57, 0x20, 0x16, 0x4a, 0xcc, 0x59, 0x29, 0xe7, 0xcc, 0xbb, 0x65, 0x5a, 0x1a, 0x74, 0x48,
|
||||
0xa0, 0x6e, 0xa7, 0xac, 0x94, 0x27, 0xa7, 0x6d, 0x8a, 0xd6, 0xe8, 0x98, 0x93, 0xa8, 0x6d, 0xcd,
|
||||
0x9c, 0xfe, 0x82, 0xf1, 0x85, 0x77, 0x4b, 0xa1, 0x9d, 0xe4, 0x01, 0x20, 0x2f, 0x60, 0x60, 0xbc,
|
||||
0x12, 0x36, 0xe9, 0x4f, 0xfa, 0xb3, 0xd1, 0xd9, 0x93, 0x74, 0x33, 0x2b, 0xed, 0x52, 0xa9, 0x57,
|
||||
0x82, 0xd6, 0x64, 0xf2, 0x12, 0xe2, 0xd2, 0xe0, 0x9d, 0xcc, 0x85, 0xb1, 0xc9, 0x4e, 0x50, 0x26,
|
||||
0xdb, 0xca, 0x45, 0x43, 0xa0, 0x1b, 0xea, 0xf4, 0x6f, 0x04, 0xe4, 0xe1, 0x54, 0x72, 0x02, 0x43,
|
||||
0x2b, 0x94, 0xe0, 0x0e, 0x4d, 0x12, 0x4d, 0xa2, 0x59, 0x4c, 0xd7, 0x35, 0x39, 0x87, 0x01, 0x56,
|
||||
0x5e, 0x93, 0xde, 0x24, 0x9a, 0x8d, 0xce, 0x1e, 0xb7, 0xd7, 0x7c, 0xac, 0x66, 0x51, 0xf1, 0xc3,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xe1, 0xbe, 0x75,
|
||||
0x95, 0x77, 0xcf, 0xef, 0x6d, 0x9d, 0x7f, 0x79, 0x03, 0x63, 0x8e, 0xb7, 0xad, 0x80, 0x2f, 0xe3,
|
||||
0x26, 0x3f, 0x87, 0x8b, 0xe8, 0xcb, 0xfb, 0x06, 0x28, 0x50, 0x31, 0x5d, 0xa4, 0x68, 0x8a, 0x79,
|
||||
0x21, 0x74, 0xf8, 0xce, 0xf3, 0x1a, 0x62, 0xa5, 0xb4, 0xe1, 0xbf, 0x5b, 0x61, 0xee, 0x24, 0x17,
|
||||
0x1c, 0xf5, 0x37, 0x59, 0xbc, 0xee, 0x54, 0x7f, 0x7a, 0x3b, 0x1f, 0x2e, 0x16, 0x57, 0x5f, 0x77,
|
||||
0x83, 0xf0, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe5, 0xa3, 0x9d, 0xc6, 0x4a, 0x03, 0x00,
|
||||
0x00,
|
||||
}
|
159
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go
generated
vendored
159
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go
generated
vendored
@ -1,159 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/backend.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// `Backend` defines the backend configuration for a service.
|
||||
type Backend struct {
|
||||
// A list of API backend rules that apply to individual API methods.
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
Rules []*BackendRule `protobuf:"bytes,1,rep,name=rules,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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A backend rule provides configuration for an individual API element.
|
||||
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,proto3" json:"selector,omitempty"`
|
||||
// The address of the API backend.
|
||||
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 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 {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *BackendRule) GetAddress() string {
|
||||
if m != nil {
|
||||
return m.Address
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *BackendRule) GetDeadline() float64 {
|
||||
if m != nil {
|
||||
return m.Deadline
|
||||
}
|
||||
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", fileDescriptor_backend_bb737a5d3bcbecd6) }
|
||||
|
||||
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,
|
||||
}
|
163
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go
generated
vendored
163
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go
generated
vendored
@ -1,163 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/billing.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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:
|
||||
// - key: /city
|
||||
// description: The city where the library branch is located in.
|
||||
// - key: /name
|
||||
// description: The name of the branch.
|
||||
// metrics:
|
||||
// - name: library.googleapis.com/book/borrowed_count
|
||||
// metric_kind: DELTA
|
||||
// value_type: INT64
|
||||
// billing:
|
||||
// consumer_destinations:
|
||||
// - monitored_resource: library.googleapis.com/branch
|
||||
// metrics:
|
||||
// - library.googleapis.com/book/borrowed_count
|
||||
type Billing struct {
|
||||
// Billing configurations for sending metrics to the consumer project.
|
||||
// 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,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 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 {
|
||||
return m.ConsumerDestinations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Configuration of a specific billing destination (Currently only support
|
||||
// bill against consumer project).
|
||||
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,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,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 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 {
|
||||
return m.MonitoredResource
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Billing_BillingDestination) GetMetrics() []string {
|
||||
if m != nil {
|
||||
return m.Metrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Billing)(nil), "google.api.Billing")
|
||||
proto.RegisterType((*Billing_BillingDestination)(nil), "google.api.Billing.BillingDestination")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/billing.proto", fileDescriptor_billing_36fc4fe99841ce3d) }
|
||||
|
||||
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,
|
||||
}
|
210
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go
generated
vendored
210
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go
generated
vendored
@ -1,210 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/consumer.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Supported data type of the property values
|
||||
type Property_PropertyType int32
|
||||
|
||||
const (
|
||||
// The type is unspecified, and will result in an error.
|
||||
Property_UNSPECIFIED Property_PropertyType = 0
|
||||
// The type is `int64`.
|
||||
Property_INT64 Property_PropertyType = 1
|
||||
// The type is `bool`.
|
||||
Property_BOOL Property_PropertyType = 2
|
||||
// The type is `string`.
|
||||
Property_STRING Property_PropertyType = 3
|
||||
// The type is 'double'.
|
||||
Property_DOUBLE Property_PropertyType = 4
|
||||
)
|
||||
|
||||
var Property_PropertyType_name = map[int32]string{
|
||||
0: "UNSPECIFIED",
|
||||
1: "INT64",
|
||||
2: "BOOL",
|
||||
3: "STRING",
|
||||
4: "DOUBLE",
|
||||
}
|
||||
var Property_PropertyType_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"INT64": 1,
|
||||
"BOOL": 2,
|
||||
"STRING": 3,
|
||||
"DOUBLE": 4,
|
||||
}
|
||||
|
||||
func (x Property_PropertyType) String() string {
|
||||
return proto.EnumName(Property_PropertyType_name, int32(x))
|
||||
}
|
||||
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
|
||||
// depending on some properties on the project. For example, a project may be
|
||||
// associated with a school, or a business, or a government agency, a business
|
||||
// type property on the project may affect how a service responds to the client.
|
||||
// This descriptor defines which properties are allowed to be set on a project.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// project_properties:
|
||||
// properties:
|
||||
// - name: NO_WATERMARK
|
||||
// type: BOOL
|
||||
// description: Allows usage of the API without watermarks.
|
||||
// - name: EXTENDED_TILE_CACHE_PERIOD
|
||||
// type: INT64
|
||||
type ProjectProperties struct {
|
||||
// List of per consumer project-specific properties.
|
||||
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 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 {
|
||||
return m.Properties
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Defines project properties.
|
||||
//
|
||||
// API services can define properties that can be assigned to consumer projects
|
||||
// so that backends can perform response customization without having to make
|
||||
// additional calls or maintain additional storage. For example, Maps API
|
||||
// defines properties that controls map tile cache period, or whether to embed a
|
||||
// watermark in a result.
|
||||
//
|
||||
// These values can be set via API producer console. Only API providers can
|
||||
// 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,proto3" json:"name,omitempty"`
|
||||
// The type of this property.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Property) GetType() Property_PropertyType {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return Property_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Property) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ProjectProperties)(nil), "google.api.ProjectProperties")
|
||||
proto.RegisterType((*Property)(nil), "google.api.Property")
|
||||
proto.RegisterEnum("google.api.Property_PropertyType", Property_PropertyType_name, Property_PropertyType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/consumer.proto", fileDescriptor_consumer_f6466e3bd2853ce5) }
|
||||
|
||||
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,
|
||||
0x41, 0xf4, 0xe2, 0xad, 0x50, 0x4d, 0x13, 0x02, 0x4d, 0x81, 0x8b, 0xb7, 0x5a, 0xc7, 0x75, 0x0d,
|
||||
0xec, 0x6c, 0xb6, 0xd5, 0x84, 0x0f, 0xe8, 0xf7, 0x32, 0x2c, 0x88, 0x35, 0xf1, 0xf6, 0xcc, 0x3e,
|
||||
0x7f, 0xb2, 0xf9, 0xc1, 0xa5, 0x20, 0x12, 0x6b, 0x0c, 0x73, 0x2d, 0xc3, 0x82, 0x54, 0xf9, 0xbe,
|
||||
0x41, 0x13, 0x68, 0x43, 0x15, 0x71, 0xd8, 0x5b, 0x41, 0xae, 0x65, 0x3f, 0x81, 0xf3, 0xd4, 0xd0,
|
||||
0x1b, 0x16, 0x55, 0x6a, 0x48, 0xa3, 0xa9, 0x24, 0x96, 0x7c, 0x04, 0xa0, 0x8f, 0x97, 0xc7, 0xfc,
|
||||
0xe6, 0xa0, 0x3b, 0xbc, 0x08, 0x7e, 0x5a, 0xc1, 0x21, 0xbb, 0xcd, 0x6a, 0xb9, 0xfe, 0x27, 0x83,
|
||||
0xf6, 0xb7, 0xc1, 0x39, 0x38, 0x2a, 0xdf, 0xa0, 0xc7, 0x7c, 0x36, 0xe8, 0x64, 0x56, 0xf3, 0x1b,
|
||||
0x70, 0xaa, 0xad, 0x46, 0xaf, 0xe1, 0xb3, 0x41, 0x6f, 0x78, 0xf5, 0xd7, 0xe0, 0x51, 0x2c, 0xb7,
|
||||
0x1a, 0x33, 0x1b, 0xe7, 0x3e, 0x74, 0x9f, 0xb1, 0x2c, 0x8c, 0xd4, 0x95, 0x24, 0xe5, 0x35, 0xed,
|
||||
0x62, 0xfd, 0xa9, 0x3f, 0x85, 0x93, 0x7a, 0x8f, 0x9f, 0x41, 0x77, 0x35, 0x5b, 0xa4, 0xf1, 0x38,
|
||||
0xb9, 0x4f, 0xe2, 0x89, 0xfb, 0x8f, 0x77, 0xe0, 0x7f, 0x32, 0x5b, 0xde, 0x8e, 0x5c, 0xc6, 0xdb,
|
||||
0xe0, 0x44, 0xf3, 0xf9, 0xd4, 0x6d, 0x70, 0x80, 0xd6, 0x62, 0x99, 0x25, 0xb3, 0x07, 0xb7, 0xb9,
|
||||
0xd3, 0x93, 0xf9, 0x2a, 0x9a, 0xc6, 0xae, 0x13, 0xbd, 0x42, 0xaf, 0xa0, 0x4d, 0xed, 0x77, 0xd1,
|
||||
0xe9, 0xf8, 0x00, 0x30, 0xdd, 0xf1, 0x4b, 0xd9, 0x63, 0x7c, 0x30, 0x05, 0xad, 0x73, 0x25, 0x02,
|
||||
0x32, 0x22, 0x14, 0xa8, 0x2c, 0xdd, 0x70, 0x6f, 0xe5, 0x5a, 0x96, 0x96, 0x7d, 0x89, 0xe6, 0x43,
|
||||
0x16, 0x58, 0x90, 0x7a, 0x91, 0xe2, 0xee, 0xd7, 0xf5, 0xd4, 0xb2, 0x8d, 0xeb, 0xaf, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0xb7, 0xa4, 0x04, 0x2c, 0xac, 0x01, 0x00, 0x00,
|
||||
}
|
164
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go
generated
vendored
164
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go
generated
vendored
@ -1,164 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/context.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// `Context` defines which contexts an API requests.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// context:
|
||||
// rules:
|
||||
// - selector: "*"
|
||||
// requested:
|
||||
// - google.rpc.context.ProjectContext
|
||||
// - google.rpc.context.OriginContext
|
||||
//
|
||||
// The above specifies that all methods in the API request
|
||||
// `google.rpc.context.ProjectContext` and
|
||||
// `google.rpc.context.OriginContext`.
|
||||
//
|
||||
// Available context types are defined in package
|
||||
// `google.rpc.context`.
|
||||
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,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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A context rule provides information about the context for an individual API
|
||||
// element.
|
||||
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,proto3" json:"selector,omitempty"`
|
||||
// A list of full type names of requested contexts.
|
||||
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,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 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 {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ContextRule) GetRequested() []string {
|
||||
if m != nil {
|
||||
return m.Requested
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ContextRule) GetProvided() []string {
|
||||
if m != nil {
|
||||
return m.Provided
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Context)(nil), "google.api.Context")
|
||||
proto.RegisterType((*ContextRule)(nil), "google.api.ContextRule")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/context.proto", fileDescriptor_context_7f48bb214df6c175) }
|
||||
|
||||
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,
|
||||
0x41, 0x2f, 0x82, 0x27, 0x57, 0x44, 0xbc, 0x95, 0x1e, 0xbd, 0xc5, 0xf4, 0x19, 0x02, 0x31, 0x2f,
|
||||
0x26, 0xe9, 0xe2, 0xe7, 0xf1, 0x93, 0xca, 0x26, 0x65, 0xff, 0x1c, 0x67, 0x7e, 0x33, 0x24, 0xf3,
|
||||
0x80, 0x29, 0x22, 0x65, 0xb0, 0x13, 0x4e, 0x77, 0x92, 0x6c, 0xc4, 0xdf, 0xc8, 0x9d, 0xa7, 0x48,
|
||||
0x35, 0x64, 0xc2, 0x85, 0xd3, 0xab, 0x47, 0x38, 0x7f, 0xc9, 0xb0, 0xbe, 0x83, 0x53, 0x3f, 0x19,
|
||||
0x0c, 0xac, 0x68, 0xca, 0x76, 0x79, 0x7f, 0xcd, 0xf7, 0x31, 0x3e, 0x67, 0x86, 0xc9, 0xe0, 0x90,
|
||||
0x53, 0x2b, 0x09, 0xcb, 0x03, 0xb7, 0xbe, 0x81, 0x8b, 0x80, 0x06, 0x65, 0x24, 0xcf, 0x8a, 0xa6,
|
||||
0x68, 0xab, 0x61, 0xa7, 0xeb, 0x5b, 0xa8, 0x3c, 0xfe, 0x4c, 0x18, 0x22, 0x8e, 0x6c, 0xd1, 0x94,
|
||||
0x6d, 0x35, 0xec, 0x8d, 0x6d, 0xd3, 0x79, 0xda, 0xe8, 0x11, 0x47, 0x56, 0x26, 0xb8, 0xd3, 0x6b,
|
||||
0x0b, 0x57, 0x92, 0xbe, 0x0f, 0x7e, 0xb2, 0xbe, 0x9c, 0x1f, 0xed, 0xb7, 0x53, 0xfa, 0xe2, 0xe3,
|
||||
0x75, 0x66, 0x8a, 0x8c, 0xb0, 0x8a, 0x93, 0x57, 0x9d, 0x42, 0x9b, 0x86, 0x76, 0x19, 0x09, 0xa7,
|
||||
0x43, 0xba, 0x42, 0x40, 0xbf, 0xd1, 0x12, 0x25, 0xd9, 0x2f, 0xad, 0x9e, 0x8e, 0xd4, 0xdf, 0xe2,
|
||||
0xe4, 0xed, 0xb9, 0x7f, 0xff, 0x3c, 0x4b, 0xc5, 0x87, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb5,
|
||||
0x18, 0x98, 0x7a, 0x3d, 0x01, 0x00, 0x00,
|
||||
}
|
83
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go
generated
vendored
83
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go
generated
vendored
@ -1,83 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/control.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Selects and configures the service controller used by the service. The
|
||||
// service controller handles features like abuse, quota, billing, logging,
|
||||
// monitoring, etc.
|
||||
type Control struct {
|
||||
// The service control environment to use. If empty, no control plane
|
||||
// feature (like quota and billing) will be enabled.
|
||||
Environment string `protobuf:"bytes,1,opt,name=environment,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 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 {
|
||||
return m.Environment
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Control)(nil), "google.api.Control")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/control.proto", fileDescriptor_control_f350b83573452faa) }
|
||||
|
||||
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,
|
||||
0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0xc8, 0xe8, 0x25, 0x16, 0x64, 0x2a, 0x69, 0x73, 0xb1,
|
||||
0x3b, 0x43, 0x24, 0x85, 0x14, 0xb8, 0xb8, 0x53, 0xf3, 0xca, 0x32, 0x8b, 0xf2, 0xf3, 0x72, 0x53,
|
||||
0xf3, 0x4a, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x90, 0x85, 0x9c, 0xf2, 0xb8, 0xf8, 0x92,
|
||||
0xf3, 0x73, 0xf5, 0x10, 0xda, 0x9d, 0x78, 0xa0, 0x9a, 0x03, 0x40, 0x06, 0x07, 0x30, 0x46, 0xb9,
|
||||
0x42, 0xe5, 0xd2, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3,
|
||||
0xc0, 0xd6, 0xea, 0x43, 0xa4, 0x12, 0x0b, 0x32, 0x8b, 0xc1, 0x6e, 0x2a, 0x4e, 0x2d, 0x2a, 0xcb,
|
||||
0x4c, 0x4e, 0x4d, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xb7, 0x46, 0xe1, 0x2d, 0x62, 0x62, 0x71, 0x77,
|
||||
0x0c, 0xf0, 0x4c, 0x62, 0x03, 0x6b, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x44, 0x6e, 0x78,
|
||||
0xbd, 0xcb, 0x00, 0x00, 0x00,
|
||||
}
|
339
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go
generated
vendored
339
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go
generated
vendored
@ -1,339 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/documentation.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// `Documentation` provides the information for describing a service.
|
||||
//
|
||||
// Example:
|
||||
// <pre><code>documentation:
|
||||
// summary: >
|
||||
// The Google Calendar API gives access
|
||||
// to most calendar features.
|
||||
// pages:
|
||||
// - name: Overview
|
||||
// content: (== include google/foo/overview.md ==)
|
||||
// - name: Tutorial
|
||||
// content: (== include google/foo/tutorial.md ==)
|
||||
// subpages;
|
||||
// - name: Java
|
||||
// content: (== include google/foo/tutorial_java.md ==)
|
||||
// rules:
|
||||
// - selector: google.calendar.Calendar.Get
|
||||
// description: >
|
||||
// ...
|
||||
// - selector: google.calendar.Calendar.Put
|
||||
// description: >
|
||||
// ...
|
||||
// </code></pre>
|
||||
// Documentation is provided in markdown syntax. In addition to
|
||||
// standard markdown features, definition lists, tables and fenced
|
||||
// code blocks are supported. Section headers can be provided and are
|
||||
// interpreted relative to the section nesting of the context where
|
||||
// a documentation fragment is embedded.
|
||||
//
|
||||
// Documentation from the IDL is merged with documentation defined
|
||||
// via the config at normalization time, where documentation provided
|
||||
// by config rules overrides IDL provided.
|
||||
//
|
||||
// A number of constructs specific to the API platform are supported
|
||||
// in documentation text.
|
||||
//
|
||||
// In order to reference a proto element, the following
|
||||
// notation can be used:
|
||||
// <pre><code>[fully.qualified.proto.name][]</code></pre>
|
||||
// To override the display text used for the link, this can be used:
|
||||
// <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>
|
||||
//
|
||||
// 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
|
||||
// an external source:
|
||||
// <pre><code>(== include path/to/file ==)</code></pre>
|
||||
// The `resource_for` directive marks a message to be the resource of
|
||||
// a collection in REST view. If it is not specified, tools attempt
|
||||
// to infer the resource from the operations in a collection:
|
||||
// <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
||||
// The directive `suppress_warning` does not directly affect documentation
|
||||
// and is documented together with service config validation.
|
||||
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,proto3" json:"summary,omitempty"`
|
||||
// The top level pages for the documentation set.
|
||||
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,proto3" json:"rules,omitempty"`
|
||||
// The URL to the root of documentation.
|
||||
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: ...
|
||||
// overview: (== include overview.md ==)
|
||||
// </code></pre>
|
||||
// This is a shortcut for the following declaration (using pages style):
|
||||
// <pre><code>documentation:
|
||||
// summary: ...
|
||||
// pages:
|
||||
// - name: Overview
|
||||
// content: (== include overview.md ==)
|
||||
// </code></pre>
|
||||
// Note: you cannot specify both `overview` field and `pages` field.
|
||||
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 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 {
|
||||
return m.Summary
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Documentation) GetPages() []*Page {
|
||||
if m != nil {
|
||||
return m.Pages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Documentation) GetRules() []*DocumentationRule {
|
||||
if m != nil {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Documentation) GetDocumentationRootUrl() string {
|
||||
if m != nil {
|
||||
return m.DocumentationRootUrl
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Documentation) GetOverview() string {
|
||||
if m != nil {
|
||||
return m.Overview
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A documentation rule provides information about individual API elements.
|
||||
type DocumentationRule struct {
|
||||
// The selector is a comma-separated list of patterns. Each pattern is a
|
||||
// qualified name of the element which may end in "*", indicating a wildcard.
|
||||
// Wildcards are only allowed at the end and for a whole component of the
|
||||
// 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,proto3" json:"selector,omitempty"`
|
||||
// Description of the selected API(s).
|
||||
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,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 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 {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *DocumentationRule) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *DocumentationRule) GetDeprecationDescription() string {
|
||||
if m != nil {
|
||||
return m.DeprecationDescription
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Represents a documentation page. A page can contain subpages to represent
|
||||
// nested documentation set structure.
|
||||
type Page struct {
|
||||
// The name of the page. It will be used as an identity of the page to
|
||||
// generate URI of the page, text of the link to this page in navigation,
|
||||
// etc. The full page name (start from the root page name to this page
|
||||
// concatenated with `.`) can be used as reference to the page in your
|
||||
// documentation. For example:
|
||||
// <pre><code>pages:
|
||||
// - name: Tutorial
|
||||
// content: (== include tutorial.md ==)
|
||||
// subpages:
|
||||
// - name: Java
|
||||
// content: (== include tutorial_java.md ==)
|
||||
// </code></pre>
|
||||
// You can reference `Java` page using Markdown reference link syntax:
|
||||
// `[Java][Tutorial.Java]`.
|
||||
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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Page) GetContent() string {
|
||||
if m != nil {
|
||||
return m.Content
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Page) GetSubpages() []*Page {
|
||||
if m != nil {
|
||||
return m.Subpages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Documentation)(nil), "google.api.Documentation")
|
||||
proto.RegisterType((*DocumentationRule)(nil), "google.api.DocumentationRule")
|
||||
proto.RegisterType((*Page)(nil), "google.api.Page")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/documentation.proto", fileDescriptor_documentation_ed988d5b3c756a43)
|
||||
}
|
||||
|
||||
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,
|
||||
0x28, 0x59, 0x14, 0x1b, 0x9a, 0x42, 0x17, 0x5d, 0x35, 0xa4, 0x94, 0xee, 0x8c, 0xa1, 0x9b, 0x6e,
|
||||
0x82, 0xa2, 0xbc, 0x0a, 0x83, 0xad, 0x67, 0x24, 0x39, 0xa5, 0xbf, 0xd0, 0xcf, 0xe8, 0x57, 0xf5,
|
||||
0x73, 0x8a, 0x65, 0x27, 0xb1,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, 0x7d, 0x47, 0x4f, 0x3a, 0xf6, 0xea, 0xe8, 0xce, 0x36, 0x10, 0xd4, 0x15, 0x31, 0x06,
|
||||
0x81, 0xe2, 0x05, 0xb6, 0xd1, 0xee, 0xbb, 0x6e, 0x5c, 0x90, 0xb2, 0xa8, 0x6c, 0x1b, 0xb9, 0x97,
|
||||
0xec, 0x1c, 0x46, 0xa6, 0xda, 0x34, 0xa5, 0xfb, 0x5f, 0x94, 0x7e, 0x20, 0x96, 0x16, 0x7e, 0x09,
|
||||
0x2a, 0x3a, 0xc0, 0x92, 0xf5, 0xce, 0x9f, 0xd4, 0xb7, 0x9f, 0x78, 0x8f, 0xb7, 0x2d, 0x21, 0x29,
|
||||
0xe7, 0x4a, 0x46, 0xa4, 0x65, 0x2c, 0x51, 0xb9, 0xb7, 0x11, 0x37, 0x16, 0x2f, 0x33, 0xe3, 0x9e,
|
||||
0x8f, 0xa9, 0xbb, 0x14, 0x28, 0x48, 0x3d, 0x65, 0xf2, 0xba, 0xa7, 0xde, 0x06, 0xc1, 0xdd, 0x4d,
|
||||
0x72, 0xbf, 0xf9, 0xe6, 0x16, 0x2e, 0x3e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x04, 0x32, 0xbf,
|
||||
0x76, 0x02, 0x00, 0x00,
|
||||
}
|
149
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go
generated
vendored
149
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go
generated
vendored
@ -1,149 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/endpoint.proto
|
||||
|
||||
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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// `Endpoint` describes a network endpoint that serves a set of APIs.
|
||||
// A service may expose any number of endpoints, and all endpoints share the
|
||||
// same service configuration, such as quota configuration and monitoring
|
||||
// configuration.
|
||||
//
|
||||
// Example service configuration:
|
||||
//
|
||||
// name: library-example.googleapis.com
|
||||
// endpoints:
|
||||
// # Below entry makes 'google.example.library.v1.Library'
|
||||
// # API be served from endpoint address library-example.googleapis.com.
|
||||
// # It also allows HTTP OPTIONS calls to be passed to the backend, for
|
||||
// # it to decide whether the subsequent cross-origin request is
|
||||
// # allowed to proceed.
|
||||
// - name: library-example.googleapis.com
|
||||
// allow_cors: true
|
||||
type Endpoint struct {
|
||||
// The canonical name of this endpoint.
|
||||
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 intended
|
||||
// aliases.
|
||||
//
|
||||
// Additional names that this endpoint will be hosted on.
|
||||
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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Endpoint) GetAliases() []string {
|
||||
if m != nil {
|
||||
return m.Aliases
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Endpoint) GetFeatures() []string {
|
||||
if m != nil {
|
||||
return m.Features
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Endpoint) GetTarget() string {
|
||||
if m != nil {
|
||||
return m.Target
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Endpoint) GetAllowCors() bool {
|
||||
if m != nil {
|
||||
return m.AllowCors
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Endpoint)(nil), "google.api.Endpoint")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/endpoint.proto", fileDescriptor_endpoint_d87650ae3428bec5) }
|
||||
|
||||
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,
|
||||
}
|
126
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go
generated
vendored
126
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go
generated
vendored
@ -1,126 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/log.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
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
|
||||
// description: The history of borrowing and returning library items.
|
||||
// display_name: Activity
|
||||
// labels:
|
||||
// - key: /customer_id
|
||||
// description: Identifier of a library customer
|
||||
type LogDescriptor struct {
|
||||
// The name of the log. It must be less than 512 characters long and can
|
||||
// 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,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 []*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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogDescriptor) GetLabels() []*label.LabelDescriptor {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogDescriptor) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogDescriptor) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*LogDescriptor)(nil), "google.api.LogDescriptor")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor_log_43ef3b42193db0e6) }
|
||||
|
||||
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,
|
||||
0x7b, 0xf4, 0x64, 0x51, 0x44, 0x08, 0x12, 0x7a, 0xf4, 0x22, 0xd3, 0x74, 0x1c, 0x46, 0x36, 0x3b,
|
||||
0xcb, 0x6e, 0x11, 0x7c, 0x18, 0x2f, 0x3e, 0xa9, 0x74, 0x13, 0x68, 0x7a, 0xdb, 0xfd, 0xe6, 0x9b,
|
||||
0x7f, 0x66, 0xd4, 0x25, 0x89, 0x90, 0xc5, 0x0a, 0x3c, 0x57, 0x56, 0xc8, 0xf8, 0x20, 0x3b, 0xd1,
|
||||
0xaa, 0xa7, 0x06, 0x3c, 0x5f, 0x5f, 0x8d, 0x0d, 0xd8, 0xa0, 0xed, 0x9d, 0xbb, 0xdf, 0x4c, 0x9d,
|
||||
0xd7, 0x42, 0x4f, 0x18, 0xdb, 0xc0, 0x7e, 0x27, 0x41, 0x6b, 0x95, 0x3b, 0xe8, 0xb0, 0xc8, 0xca,
|
||||
0x6c, 0x71, 0xba, 0x4e, 0x6f, 0xbd, 0x54, 0xb3, 0xd4, 0x14, 0x8b, 0x49, 0x39, 0x5d, 0xcc, 0xef,
|
||||
0x6f, 0xcc, 0x21, 0xda, 0xd4, 0xfb, 0xca, 0x21, 0x60, 0x3d, 0xa8, 0xba, 0x54, 0xf3, 0xed, 0x40,
|
||||
0x59, 0x5c, 0x31, 0x4d, 0x79, 0x63, 0xa4, 0x6f, 0xd5, 0xd9, 0x96, 0xa3, 0xb7, 0xf0, 0xf3, 0x91,
|
||||
0x46, 0xe6, 0x83, 0xd2, 0xb3, 0x37, 0xe8, 0x70, 0xf5, 0xa5, 0x2e, 0x5a, 0xe9, 0x46, 0xe3, 0x56,
|
||||
0x27, 0xb5, 0x50, 0xb3, 0xdf, 0xbd, 0xc9, 0xde, 0x9f, 0x07, 0x4e, 0x62, 0xc1, 0x91, 0x91, 0x40,
|
||||
0x15, 0xa1, 0x4b, 0x97, 0x55, 0x7d, 0x09, 0x3c, 0xc7, 0x74, 0x74, 0xc4, 0xf0, 0xcd, 0x2d, 0xb6,
|
||||
0xe2, 0x3e, 0x99, 0x1e, 0x8e, 0x7e, 0x7f, 0x93, 0xfc, 0xe5, 0xb1, 0x79, 0xdd, 0xcc, 0x52, 0xe3,
|
||||
0xf2, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x25, 0x6c, 0x32, 0xff, 0x4e, 0x01, 0x00, 0x00,
|
||||
}
|
185
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go
generated
vendored
185
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go
generated
vendored
@ -1,185 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/logging.proto
|
||||
|
||||
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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Logging configuration of the service.
|
||||
//
|
||||
// The following example shows how to configure logs to be sent to the
|
||||
// producer and consumer projects. In the example, the `activity_history`
|
||||
// log is sent to both the producer and consumer projects, whereas the
|
||||
// `purchase_history` log is only sent to the producer project.
|
||||
//
|
||||
// monitored_resources:
|
||||
// - type: library.googleapis.com/branch
|
||||
// labels:
|
||||
// - key: /city
|
||||
// description: The city where the library branch is located in.
|
||||
// - key: /name
|
||||
// description: The name of the branch.
|
||||
// logs:
|
||||
// - name: activity_history
|
||||
// labels:
|
||||
// - key: /customer_id
|
||||
// - name: purchase_history
|
||||
// logging:
|
||||
// producer_destinations:
|
||||
// - monitored_resource: library.googleapis.com/branch
|
||||
// logs:
|
||||
// - activity_history
|
||||
// - purchase_history
|
||||
// consumer_destinations:
|
||||
// - monitored_resource: library.googleapis.com/branch
|
||||
// logs:
|
||||
// - activity_history
|
||||
type Logging struct {
|
||||
// Logging configurations for sending logs to the producer project.
|
||||
// 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,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,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 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 {
|
||||
return m.ProducerDestinations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Logging) GetConsumerDestinations() []*Logging_LoggingDestination {
|
||||
if m != nil {
|
||||
return m.ConsumerDestinations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Configuration of a specific logging destination (the producer project
|
||||
// or the consumer project).
|
||||
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,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,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 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 {
|
||||
return m.MonitoredResource
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Logging_LoggingDestination) GetLogs() []string {
|
||||
if m != nil {
|
||||
return m.Logs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Logging)(nil), "google.api.Logging")
|
||||
proto.RegisterType((*Logging_LoggingDestination)(nil), "google.api.Logging.LoggingDestination")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/logging.proto", fileDescriptor_logging_d4ad8a3d4a3a3050) }
|
||||
|
||||
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,
|
||||
0x14, 0xf4, 0xe8, 0xc9, 0x45, 0x11, 0xc1, 0x43, 0xe9, 0x45, 0xd0, 0xc3, 0x12, 0xd3, 0x38, 0x04,
|
||||
0xda, 0x99, 0x90, 0xa4, 0x7e, 0x1a, 0x4f, 0x7e, 0x52, 0xd9, 0xa6, 0x75, 0xab, 0x9e, 0xf6, 0x94,
|
||||
0x3f, 0xef, 0xbd, 0x5f, 0x32, 0x8f, 0x65, 0x40, 0x04, 0xb5, 0xce, 0xa5, 0x35, 0x79, 0x4d, 0x00,
|
||||
0x06, 0x41, 0x58, 0x47, 0x81, 0x38, 0x8b, 0x8a, 0x90, 0xd6, 0xcc, 0xcf, 0x46, 0x2e, 0x89, 0x48,
|
||||
0x41, 0x06, 0x43, 0xe8, 0xa3, 0xf3, 0xfc, 0x33, 0x65, 0xfb, 0x4f, 0x31, 0xcb, 0x5f, 0xd9, 0xa9,
|
||||
0x75, 0x54, 0xb5, 0x4a, 0xbb, 0x75, 0xa5, 0x7d, 0x30, 0x18, 0xad, 0x59, 0xb2, 0x98, 0x2c, 0x0f,
|
||||
0xae, 0x2e, 0xc4, 0x96, 0x2a, 0xfa, 0xcc, 0xb0, 0xde, 0x6d, 0xed, 0xe5, 0xc9, 0x00, 0x19, 0x5d,
|
||||
0xfa, 0x0d, 0x5c, 0x11, 0xfa, 0xb6, 0xf9, 0x0b, 0x4f, 0x77, 0x83, 0x0f, 0x90, 0x31, 0x7c, 0xfe,
|
||||
0xcc, 0xf8, 0x7f, 0x2f, 0xbf, 0x64, 0xbc, 0x21, 0x34, 0x81, 0x9c, 0xae, 0xd6, 0x4e, 0x7b, 0x6a,
|
||||
0x9d, 0xd2, 0xd9, 0x64, 0x91, 0x2c, 0x67, 0xe5, 0xf1, 0x8f, 0x52, 0xf6, 0x02, 0xe7, 0x6c, 0x5a,
|
||||
0x13, 0xc4, 0x69, 0x67, 0x65, 0xb7, 0x5f, 0x21, 0x3b, 0x52, 0xd4, 0x8c, 0xfe, 0xb6, 0x3a, 0xec,
|
||||
0x1f, 0x2a, 0x36, 0xf5, 0x15, 0xc9, 0xcb, 0x7d, 0xaf, 0x01, 0xd5, 0x12, 0x41, 0x90, 0x83, 0x1c,
|
||||
0x34, 0x76, 0xe5, 0xe6, 0x51, 0x92, 0xd6, 0xf8, 0xae, 0x7d, 0xaf, 0xdd, 0x87, 0x51, 0x5a, 0x11,
|
||||
0xbe, 0x1b, 0xb8, 0xf9, 0x75, 0xfa, 0x4a, 0xa7, 0x0f, 0xb7, 0xc5, 0xe3, 0xdb, 0x5e, 0x17, 0xbc,
|
||||
0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x73, 0x4f, 0x86, 0x6e, 0xdb, 0x01, 0x00, 0x00,
|
||||
}
|
193
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go
generated
vendored
193
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go
generated
vendored
@ -1,193 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/monitoring.proto
|
||||
|
||||
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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Monitoring configuration of the service.
|
||||
//
|
||||
// The example below shows how to configure monitored resources and metrics
|
||||
// for monitoring. In the example, a monitored resource and two metrics are
|
||||
// defined. The `library.googleapis.com/book/returned_count` metric is sent
|
||||
// to both producer and consumer projects, whereas the
|
||||
// `library.googleapis.com/book/overdue_count` metric is only sent to the
|
||||
// consumer project.
|
||||
//
|
||||
// monitored_resources:
|
||||
// - type: library.googleapis.com/branch
|
||||
// labels:
|
||||
// - key: /city
|
||||
// description: The city where the library branch is located in.
|
||||
// - key: /name
|
||||
// description: The name of the branch.
|
||||
// metrics:
|
||||
// - name: library.googleapis.com/book/returned_count
|
||||
// metric_kind: DELTA
|
||||
// value_type: INT64
|
||||
// labels:
|
||||
// - key: /customer_id
|
||||
// - name: library.googleapis.com/book/overdue_count
|
||||
// metric_kind: GAUGE
|
||||
// value_type: INT64
|
||||
// labels:
|
||||
// - key: /customer_id
|
||||
// monitoring:
|
||||
// producer_destinations:
|
||||
// - monitored_resource: library.googleapis.com/branch
|
||||
// metrics:
|
||||
// - library.googleapis.com/book/returned_count
|
||||
// consumer_destinations:
|
||||
// - monitored_resource: library.googleapis.com/branch
|
||||
// metrics:
|
||||
// - library.googleapis.com/book/returned_count
|
||||
// - library.googleapis.com/book/overdue_count
|
||||
type Monitoring struct {
|
||||
// Monitoring configurations for sending metrics to the producer project.
|
||||
// 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,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,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 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 {
|
||||
return m.ProducerDestinations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Monitoring) GetConsumerDestinations() []*Monitoring_MonitoringDestination {
|
||||
if m != nil {
|
||||
return m.ConsumerDestinations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Configuration of a specific monitoring destination (the producer project
|
||||
// or the consumer project).
|
||||
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,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,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 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 {
|
||||
return m.MonitoredResource
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Monitoring_MonitoringDestination) GetMetrics() []string {
|
||||
if m != nil {
|
||||
return m.Metrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Monitoring)(nil), "google.api.Monitoring")
|
||||
proto.RegisterType((*Monitoring_MonitoringDestination)(nil), "google.api.Monitoring.MonitoringDestination")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/monitoring.proto", fileDescriptor_monitoring_96ebaeded677bc82)
|
||||
}
|
||||
|
||||
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,
|
||||
0x3d, 0x7a, 0x72, 0x51, 0xc4, 0x83, 0x50, 0x7a, 0xf4, 0xb2, 0xc6, 0x74, 0x0c, 0x03, 0xdb, 0x99,
|
||||
0x9a, 0xa4, 0x3e, 0x90, 0xcf, 0xe0, 0x03, 0xca, 0x36, 0xed, 0x36, 0x8a, 0x27, 0x6f, 0x99, 0x7c,
|
||||
0x7f, 0xc3, 0x37, 0xe2, 0x54, 0x33, 0xeb, 0x35, 0xe4, 0xb2, 0xc1, 0xbc, 0x66, 0x42, 0xc7, 0x06,
|
||||
0x49, 0x67, 0x8d, 0x61, 0xc7, 0x89, 0xf0, 0x60, 0x26, 0x1b, 0x9c, 0x9d, 0x05, 0x44, 0x49, 0xc4,
|
||||
0x4e, 0x3a, 0x64, 0xb2, 0x9e, 0x79, 0xfe, 0x15, 0x0b, 0xf1, 0xb4, 0x95, 0x27, 0x52, 0x4c, 0x1b,
|
||||
0xc3, 0x55, 0xab, 0xc0, 0xac, 0x2a, 0xb0, 0x0e, 0xc9, 0xb3, 0xd3, 0x68, 0xbe, 0xb3, 0x38, 0xb8,
|
||||
0xba, 0xc8, 0x46, 0xe3, 0x6c, 0x94, 0x05, 0xcf, 0xbb, 0x51, 0x54, 0x9e, 0x0c, 0x56, 0xc1, 0xa7,
|
||||
0xdd, 0x44, 0x28, 0x26, 0xdb, 0xd6, 0xbf, 0x23, 0xe2, 0xff, 0x44, 0x0c, 0x56, 0x61, 0xc4, 0xec,
|
||||
0x45, 0x4c, 0xff, 0xa4, 0x27, 0x97, 0x22, 0xe9, 0xbb, 0x82, 0x6a, 0x65, 0xc0, 0x72, 0x6b, 0x14,
|
||||
0xa4, 0xd1, 0x3c, 0x5a, 0x4c, 0xca, 0xe3, 0x2d, 0x52, 0xf6, 0x40, 0x92, 0x8a, 0xfd, 0x1a, 0x9c,
|
||||
0x41, 0xe5, 0x97, 0x9b, 0x94, 0xc3, 0xb8, 0x7c, 0x17, 0x87, 0x8a, 0xeb, 0x60, 0xd5, 0xe5, 0xd1,
|
||||
0x98, 0x58, 0x6c, 0x9a, 0x2d, 0xa2, 0xe7, 0xfb, 0x1e, 0xd6, 0xbc, 0x96, 0xa4, 0x33, 0x36, 0x3a,
|
||||
0xd7, 0x40, 0x5d, 0xef, 0xb9, 0x87, 0x64, 0x83, 0xb6, 0x3b, 0x8c, 0x05, 0xf3, 0x81, 0x0a, 0x14,
|
||||
0xd3, 0x1b, 0xea, 0x9b, 0x1f, 0xd3, 0x67, 0xbc, 0xfb, 0x70, 0x5b, 0x3c, 0xbe, 0xee, 0x75, 0xc2,
|
||||
0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x51, 0x35, 0xf3, 0xe2, 0xf9, 0x01, 0x00, 0x00,
|
||||
}
|
465
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go
generated
vendored
465
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go
generated
vendored
@ -1,465 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/quota.proto
|
||||
|
||||
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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Quota configuration helps to achieve fairness and budgeting in service
|
||||
// usage.
|
||||
//
|
||||
// The quota configuration works this way:
|
||||
// - The service configuration defines a set of metrics.
|
||||
// - For API calls, the quota.metric_rules maps methods to metrics with
|
||||
// corresponding costs.
|
||||
// - The quota.limits defines limits on the metrics, which will be used for
|
||||
// quota checks at runtime.
|
||||
//
|
||||
// An example quota configuration in yaml format:
|
||||
//
|
||||
// quota:
|
||||
// limits:
|
||||
//
|
||||
// - name: apiWriteQpsPerProject
|
||||
// metric: library.googleapis.com/write_calls
|
||||
// unit: "1/min/{project}" # rate limit for consumer projects
|
||||
// values:
|
||||
// STANDARD: 10000
|
||||
//
|
||||
// # The metric rules bind all methods to the read_calls metric,
|
||||
// # except for the UpdateBook and DeleteBook methods. These two methods
|
||||
// # are mapped to the write_calls metric, with the UpdateBook method
|
||||
// # consuming at twice rate as the DeleteBook method.
|
||||
// metric_rules:
|
||||
// - selector: "*"
|
||||
// metric_costs:
|
||||
// library.googleapis.com/read_calls: 1
|
||||
// - selector: google.example.library.v1.LibraryService.UpdateBook
|
||||
// metric_costs:
|
||||
// library.googleapis.com/write_calls: 2
|
||||
// - selector: google.example.library.v1.LibraryService.DeleteBook
|
||||
// metric_costs:
|
||||
// library.googleapis.com/write_calls: 1
|
||||
//
|
||||
// Corresponding Metric definition:
|
||||
//
|
||||
// metrics:
|
||||
// - name: library.googleapis.com/read_calls
|
||||
// display_name: Read requests
|
||||
// metric_kind: DELTA
|
||||
// value_type: INT64
|
||||
//
|
||||
// - name: library.googleapis.com/write_calls
|
||||
// display_name: Write requests
|
||||
// metric_kind: DELTA
|
||||
// value_type: INT64
|
||||
//
|
||||
type Quota struct {
|
||||
// List of `QuotaLimit` definitions for the service.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
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,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 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 {
|
||||
return m.Limits
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Quota) GetMetricRules() []*MetricRule {
|
||||
if m != nil {
|
||||
return m.MetricRules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Bind API methods to metrics. Binding a method to a metric causes that
|
||||
// metric's configured quota, billing, and monitoring behaviors to apply to the
|
||||
// method call.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
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,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,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 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 {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricRule) GetMetricCosts() map[string]int64 {
|
||||
if m != nil {
|
||||
return m.MetricCosts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// `QuotaLimit` defines a specific limit that applies over a specified duration
|
||||
// for a limit type. There can be at most one limit for a duration and limit
|
||||
// type combination defined within a `QuotaGroup`.
|
||||
type QuotaLimit struct {
|
||||
// Name of the quota limit. The name is used to refer to the limit when
|
||||
// overriding the default limit on per-consumer basis.
|
||||
//
|
||||
// For group-based quota limits, the name must be unique within the quota
|
||||
// group. If a name is not provided, it will be generated from the limit_by
|
||||
// and duration fields.
|
||||
//
|
||||
// For metric-based quota limits, the name must be provided, and it must be
|
||||
// unique within the service. The name can only include alphanumeric
|
||||
// characters as well as '-'.
|
||||
//
|
||||
// The maximum length of the limit name is 64 characters.
|
||||
//
|
||||
// The name of a limit is used as a unique identifier for this limit.
|
||||
// Therefore, once a limit has been put into use, its name should be
|
||||
// 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,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,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.
|
||||
//
|
||||
// Specifying a value of 0 will block all requests. This can be used if you
|
||||
// are provisioning quota to selected consumers and blocking others.
|
||||
// Similarly, a value of -1 will indicate an unlimited quota. No other
|
||||
// negative values are allowed.
|
||||
//
|
||||
// Used by group-based quotas only.
|
||||
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
|
||||
// than the default limit. If not specified, it is set to the default limit.
|
||||
//
|
||||
// To allow clients to apply overrides with no upper bound, set this to -1,
|
||||
// indicating unlimited maximum quota.
|
||||
//
|
||||
// Used by group-based quotas only.
|
||||
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.
|
||||
// This field can only be set on a limit with duration "1d", in a billable
|
||||
// group; it is invalid on any other limit. If this field is not set, it
|
||||
// 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,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,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,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.
|
||||
//
|
||||
// The [Google Service Control](https://cloud.google.com/service-control)
|
||||
// supports the following unit components:
|
||||
// * One of the time intevals:
|
||||
// * "/min" for quota every minute.
|
||||
// * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
|
||||
// * Otherwise the quota won't be reset by time, such as storage limit.
|
||||
// * One and only one of the granted containers:
|
||||
// * "/{organization}" quota for an organization.
|
||||
// * "/{project}" quota for a project.
|
||||
// * "/{folder}" quota for a folder.
|
||||
// * "/{resource}" quota for a universal resource.
|
||||
// * Zero or more quota segmentation dimension. Not all combos are valid.
|
||||
// * "/{region}" quota for every region. Not to be used with time intervals.
|
||||
// * Otherwise the resources granted on the target is not segmented.
|
||||
// * "/{zone}" quota for every zone. Not to be used with time intervals.
|
||||
// * Otherwise the resources granted on the target is not segmented.
|
||||
// * "/{resource}" quota for a resource associated with a project or org.
|
||||
//
|
||||
// Here are some examples:
|
||||
// * "1/min/{project}" for quota per minute per project.
|
||||
// * "1/min/{user}" for quota per minute per user.
|
||||
// * "1/min/{organization}" for quota per minute per organization.
|
||||
//
|
||||
// Note: the order of unit components is insignificant.
|
||||
// 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,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.
|
||||
//
|
||||
// Currently supported tiers from low to high:
|
||||
// VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
|
||||
//
|
||||
// To apply different limit values for users according to their tiers, specify
|
||||
// the values for the tiers you want to differentiate. For example:
|
||||
// {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
|
||||
//
|
||||
// The limit value for each tier is optional except for the tier STANDARD.
|
||||
// The limit value for an unspecified tier falls to the value of its next
|
||||
// tier towards tier STANDARD. For the above example, the limit value for tier
|
||||
// STANDARD is 500.
|
||||
//
|
||||
// To apply the same limit value for all users, just specify limit value for
|
||||
// tier STANDARD. For example: {STANDARD:500}.
|
||||
//
|
||||
// To apply a regional overide for a tier, add a map entry with key
|
||||
// "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
|
||||
// override, add a map entry with key "<TIER>/{zone}".
|
||||
// Further, a wildcard can be used at the end of a zone name in order to
|
||||
// specify zone level overrides. For example:
|
||||
// LOW: 10, STANDARD: 50, HIGH: 100,
|
||||
// LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
|
||||
// LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
|
||||
//
|
||||
// The regional overrides tier set for each region must be the same as
|
||||
// the tier set for default limit values. Same rule applies for zone overrides
|
||||
// tier as well.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetDefaultLimit() int64 {
|
||||
if m != nil {
|
||||
return m.DefaultLimit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetMaxLimit() int64 {
|
||||
if m != nil {
|
||||
return m.MaxLimit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetFreeTier() int64 {
|
||||
if m != nil {
|
||||
return m.FreeTier
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetDuration() string {
|
||||
if m != nil {
|
||||
return m.Duration
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetMetric() string {
|
||||
if m != nil {
|
||||
return m.Metric
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetUnit() string {
|
||||
if m != nil {
|
||||
return m.Unit
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetValues() map[string]int64 {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *QuotaLimit) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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", fileDescriptor_quota_8acf07194df27b7e) }
|
||||
|
||||
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,
|
||||
0xa5, 0x12, 0x5c, 0xd8, 0x45, 0x42, 0x62, 0xd1, 0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 0x09, 0xec, 0x04, 0xd2, 0xef, 0xb8, 0x8b, 0xb6, 0xbe,
|
||||
0x64, 0xf7, 0xa1, 0x77, 0x29, 0x54, 0x8b, 0xbc, 0x33, 0x4b, 0x16, 0x69, 0x1e, 0x9a, 0xb3, 0xce,
|
||||
0xf3, 0x64, 0xfe, 0x33, 0x05, 0x38, 0x04, 0xc1, 0x18, 0x74, 0x6b, 0x51, 0x21, 0xef, 0x93, 0x96,
|
||||
0x6a, 0x36, 0x83, 0xd1, 0x06, 0x6d, 0x61, 0x64, 0xe3, 0x33, 0xa6, 0x23, 0x86, 0xf9, 0xf1, 0x88,
|
||||
0x3d, 0x86, 0xbb, 0x1b, 0xdc, 0x8a, 0x56, 0xb9, 0x35, 0x05, 0xc9, 0x53, 0xb2, 0x19, 0xc7, 0x61,
|
||||
0x38, 0xfa, 0x01, 0x0c, 0x2b, 0x71, 0x15, 0x09, 0x5d, 0x22, 0x0c, 0x2a, 0x71, 0xb5, 0x07, 0xb7,
|
||||
0x06, 0x71, 0xed, 0x24, 0x1a, 0x7e, 0x27, 0x80, 0x7e, 0xf0, 0x59, 0xa2, 0xf1, 0x59, 0x6e, 0x5a,
|
||||
0x43, 0x2f, 0xcc, 0x7b, 0x21, 0xcb, 0xeb, 0x9e, 0x4d, 0xa0, 0x1f, 0xe2, 0xe0, 0x03, 0x42, 0x62,
|
||||
0xe7, 0x2f, 0xd2, 0xd6, 0xd2, 0xf1, 0x61, 0xb8, 0x88, 0xaf, 0xd9, 0x19, 0xf4, 0xe9, 0xe2, 0x96,
|
||||
0x03, 0x25, 0x3e, 0xbf, 0x79, 0x1b, 0xb2, 0x2f, 0x44, 0x0a, 0x61, 0x47, 0x05, 0x7b, 0x04, 0xe3,
|
||||
0x8d, 0xb4, 0x8d, 0x12, 0xbb, 0x35, 0x05, 0x34, 0x8e, 0x29, 0x84, 0xd9, 0x47, 0x51, 0xe1, 0xf4,
|
||||
0x14, 0x46, 0x47, 0xca, 0xdb, 0xbc, 0xc2, 0xb9, 0x82, 0x7b, 0x85, 0xae, 0x8e, 0x3e, 0xe7, 0x3c,
|
||||
0x3c, 0xca, 0xca, 0xaf, 0xf3, 0x2a, 0xf9, 0x7a, 0x11, 0x91, 0x52, 0x2b, 0x51, 0x97, 0x99, 0x36,
|
||||
0xe5, 0xb2, 0xc4, 0x9a, 0x96, 0x7d, 0x19, 0x20, 0xd1, 0x48, 0x4b, 0x7f, 0x83, 0x45, 0x73, 0x29,
|
||||
0x0b, 0x2c, 0x74, 0xbd, 0x95, 0xe5, 0x8b, 0xbf, 0xba, 0x5f, 0x9d, 0xee, 0x9b, 0x57, 0xab, 0xb7,
|
||||
0xdf, 0xfa, 0x24, 0x7c, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x90, 0x7e, 0xf5, 0xab, 0x69, 0x03,
|
||||
0x00, 0x00,
|
||||
}
|
389
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go
generated
vendored
389
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go
generated
vendored
@ -1,389 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/service.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
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
|
||||
// either a proto message or a repeated proto message that configures a
|
||||
// specific aspect, such as auth. See each proto message definition for details.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// type: google.api.Service
|
||||
// config_version: 3
|
||||
// name: calendar.googleapis.com
|
||||
// title: Google Calendar API
|
||||
// apis:
|
||||
// - name: google.calendar.v3.Calendar
|
||||
// authentication:
|
||||
// providers:
|
||||
// - id: google_calendar_auth
|
||||
// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
||||
// issuer: https://securetoken.google.com
|
||||
// rules:
|
||||
// - selector: "*"
|
||||
// requirements:
|
||||
// provider_id: google_calendar_auth
|
||||
type Service struct {
|
||||
// The semantic version of the service configuration. The config version
|
||||
// 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 *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,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,proto3" json:"id,omitempty"`
|
||||
// The product title for this service.
|
||||
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,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 []*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
|
||||
// shall be included, such as types used by the `google.protobuf.Any` type,
|
||||
// should be listed here by name. Example:
|
||||
//
|
||||
// types:
|
||||
// - name: google.protobuf.Int32
|
||||
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
|
||||
// should be listed here by name. Example:
|
||||
//
|
||||
// enums:
|
||||
// - name: google.someapi.v1.SomeEnum
|
||||
Enums []*ptype.Enum `protobuf:"bytes,5,rep,name=enums,proto3" json:"enums,omitempty"`
|
||||
// Additional API documentation.
|
||||
Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"`
|
||||
// API backend configuration.
|
||||
Backend *Backend `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"`
|
||||
// HTTP configuration.
|
||||
Http *annotations.Http `protobuf:"bytes,9,opt,name=http,proto3" json:"http,omitempty"`
|
||||
// Quota configuration.
|
||||
Quota *Quota `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"`
|
||||
// Auth configuration.
|
||||
Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"`
|
||||
// Context configuration.
|
||||
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,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,proto3" json:"endpoints,omitempty"`
|
||||
// Configuration for the service control plane.
|
||||
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,proto3" json:"logs,omitempty"`
|
||||
// Defines the metrics used by this service.
|
||||
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 []*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,proto3" json:"billing,omitempty"`
|
||||
// Logging configuration.
|
||||
Logging *Logging `protobuf:"bytes,27,opt,name=logging,proto3" json:"logging,omitempty"`
|
||||
// Monitoring configuration.
|
||||
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,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,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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Service proto.InternalMessageInfo
|
||||
|
||||
func (m *Service) GetConfigVersion() *wrappers.UInt32Value {
|
||||
if m != nil {
|
||||
return m.ConfigVersion
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Service) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Service) GetTitle() string {
|
||||
if m != nil {
|
||||
return m.Title
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Service) GetProducerProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProducerProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Service) GetApis() []*api.Api {
|
||||
if m != nil {
|
||||
return m.Apis
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetTypes() []*ptype.Type {
|
||||
if m != nil {
|
||||
return m.Types
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetEnums() []*ptype.Enum {
|
||||
if m != nil {
|
||||
return m.Enums
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetDocumentation() *Documentation {
|
||||
if m != nil {
|
||||
return m.Documentation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetBackend() *Backend {
|
||||
if m != nil {
|
||||
return m.Backend
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetHttp() *annotations.Http {
|
||||
if m != nil {
|
||||
return m.Http
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetQuota() *Quota {
|
||||
if m != nil {
|
||||
return m.Quota
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetAuthentication() *Authentication {
|
||||
if m != nil {
|
||||
return m.Authentication
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetContext() *Context {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetUsage() *Usage {
|
||||
if m != nil {
|
||||
return m.Usage
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetEndpoints() []*Endpoint {
|
||||
if m != nil {
|
||||
return m.Endpoints
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetControl() *Control {
|
||||
if m != nil {
|
||||
return m.Control
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetLogs() []*LogDescriptor {
|
||||
if m != nil {
|
||||
return m.Logs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetMetrics() []*metric.MetricDescriptor {
|
||||
if m != nil {
|
||||
return m.Metrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor {
|
||||
if m != nil {
|
||||
return m.MonitoredResources
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetBilling() *Billing {
|
||||
if m != nil {
|
||||
return m.Billing
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetLogging() *Logging {
|
||||
if m != nil {
|
||||
return m.Logging
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetMonitoring() *Monitoring {
|
||||
if m != nil {
|
||||
return m.Monitoring
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetSystemParameters() *SystemParameters {
|
||||
if m != nil {
|
||||
return m.SystemParameters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Service) GetSourceInfo() *SourceInfo {
|
||||
if m != nil {
|
||||
return m.SourceInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Service)(nil), "google.api.Service")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor_service_e641d3f3e04723a1) }
|
||||
|
||||
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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e2, 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, 0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ab, 0xe5, 0xf5, 0x63, 0x5b, 0xf8, 0xe6, 0x53, 0x00, 0x00, 0x00, 0xff, 0xff, 0x22,
|
||||
0xb3, 0x0f, 0xc7, 0xbe, 0x07, 0x00, 0x00,
|
||||
}
|
85
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go
generated
vendored
85
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go
generated
vendored
@ -1,85 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/source_info.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
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
|
||||
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 []*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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourceInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *SourceInfo) GetSourceFiles() []*any.Any {
|
||||
if m != nil {
|
||||
return m.SourceFiles
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SourceInfo)(nil), "google.api.SourceInfo")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/source_info.proto", fileDescriptor_source_info_65b7b902b6df926b)
|
||||
}
|
||||
|
||||
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,
|
||||
0x4b, 0xcb, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0xc8, 0xea, 0x25, 0x16, 0x64,
|
||||
0x4a, 0x49, 0x42, 0x55, 0x82, 0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94,
|
||||
0x5c, 0xb9, 0xb8, 0x82, 0xc1, 0x7a, 0x3d, 0xf3, 0xd2, 0xf2, 0x85, 0xcc, 0xb9, 0x78, 0xa0, 0x26,
|
||||
0xa5, 0x65, 0xe6, 0xa4, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, 0x89, 0xe8, 0x41, 0xcd,
|
||||
0x82, 0xe9, 0xd7, 0x73, 0xcc, 0xab, 0x0c, 0xe2, 0x86, 0xa8, 0x74, 0x03, 0x29, 0x74, 0x2a, 0xe4,
|
||||
0xe2, 0x4b, 0xce, 0xcf, 0xd5, 0x43, 0xd8, 0xe9, 0xc4, 0x8f, 0x30, 0x36, 0x00, 0xa4, 0x2d, 0x80,
|
||||
0x31, 0xca, 0x15, 0x2a, 0x9d, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f,
|
||||
0x9e, 0x9a, 0x07, 0x36, 0x54, 0x1f, 0x22, 0x95, 0x58, 0x90, 0x59, 0x0c, 0xf1, 0x4f, 0x6a, 0x51,
|
||||
0x59, 0x66, 0x72, 0x6a, 0x72, 0x7e, 0x5e, 0x5a, 0x66, 0xba, 0x35, 0x0a, 0x6f, 0x11, 0x13, 0x8b,
|
||||
0xbb, 0x63, 0x80, 0x67, 0x12, 0x1b, 0x58, 0xa3, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x78,
|
||||
0x5d, 0xab, 0x07, 0x01, 0x00, 0x00,
|
||||
}
|
243
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go
generated
vendored
243
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go
generated
vendored
@ -1,243 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/system_parameter.proto
|
||||
|
||||
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// ### System parameter configuration
|
||||
//
|
||||
// A system parameter is a special kind of parameter defined by the API
|
||||
// system, not by an individual API. It is typically mapped to an HTTP header
|
||||
// and/or a URL query parameter. This configuration specifies which methods
|
||||
// change the names of the system parameters.
|
||||
type SystemParameters struct {
|
||||
// Define system parameters.
|
||||
//
|
||||
// The parameters defined here will override the default parameters
|
||||
// implemented by the system. If this field is missing from the service
|
||||
// config, default system parameters will be used. Default system parameters
|
||||
// and names is implementation-dependent.
|
||||
//
|
||||
// Example: define api key for all methods
|
||||
//
|
||||
// system_parameters
|
||||
// rules:
|
||||
// - selector: "*"
|
||||
// parameters:
|
||||
// - name: api_key
|
||||
// url_query_parameter: api_key
|
||||
//
|
||||
//
|
||||
// Example: define 2 api key names for a specific method.
|
||||
//
|
||||
// system_parameters
|
||||
// rules:
|
||||
// - selector: "/ListShelves"
|
||||
// parameters:
|
||||
// - name: api_key
|
||||
// http_header: Api-Key1
|
||||
// - name: api_key
|
||||
// http_header: Api-Key2
|
||||
//
|
||||
// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Define a system parameter rule mapping system parameter definitions to
|
||||
// methods.
|
||||
type SystemParameterRule struct {
|
||||
// Selects the methods to which this rule applies. Use '*' to indicate all
|
||||
// methods in all APIs.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
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,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 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 {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SystemParameterRule) GetParameters() []*SystemParameter {
|
||||
if m != nil {
|
||||
return m.Parameters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Define a parameter's name and location. The parameter may be passed as either
|
||||
// an HTTP header or a URL query parameter, and if both are passed the behavior
|
||||
// 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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SystemParameter) GetHttpHeader() string {
|
||||
if m != nil {
|
||||
return m.HttpHeader
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SystemParameter) GetUrlQueryParameter() string {
|
||||
if m != nil {
|
||||
return m.UrlQueryParameter
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SystemParameters)(nil), "google.api.SystemParameters")
|
||||
proto.RegisterType((*SystemParameterRule)(nil), "google.api.SystemParameterRule")
|
||||
proto.RegisterType((*SystemParameter)(nil), "google.api.SystemParameter")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor_system_parameter_260dda33a71a8c82)
|
||||
}
|
||||
|
||||
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,
|
||||
0x24, 0x10, 0x53, 0x27, 0x2a, 0x21, 0xe8, 0x16, 0xca, 0xc6, 0x12, 0x99, 0x70, 0xb8, 0x91, 0x9c,
|
||||
0xd8, 0x9c, 0x9d, 0x48, 0x7d, 0x1d, 0x9e, 0x14, 0xc5, 0x29, 0x69, 0x89, 0x10, 0x9b, 0xef, 0xbe,
|
||||
0xcf, 0xfa, 0x9d, 0xee, 0xe0, 0x5a, 0x6a, 0x2d, 0x15, 0x46, 0xc2, 0x64, 0x91, 0xdd, 0x58, 0x87,
|
||||
0x79, 0x62, 0x04, 0x89, 0x1c, 0x1d, 0x12, 0x37, 0xa4, 0x9d, 0x66, 0xd0, 0x28, 0x5c, 0x98, 0x6c,
|
||||
0xba, 0x84, 0xb3, 0x17, 0x6f, 0xc5, 0x3f, 0x92, 0x65, 0x77, 0x70, 0x40, 0xa5, 0x42, 0x1b, 0x06,
|
||||
0x93, 0xfe, 0x6c, 0x78, 0x33, 0xe6, 0x3b, 0x9f, 0x77, 0xe4, 0x55, 0xa9, 0x70, 0xd5, 0xd8, 0xd3,
|
||||
0x02, 0x46, 0x7f, 0x50, 0x76, 0x09, 0x47, 0x16, 0x15, 0xa6, 0x4e, 0x53, 0x18, 0x4c, 0x82, 0xd9,
|
||||
0xf1, 0xaa, 0xad, 0xd9, 0x1c, 0xa0, 0x1d, 0xce, 0x86, 0x3d, 0x1f, 0x77, 0xf5, 0x5f, 0xdc, 0x9e,
|
||||
0x3e, 0xad, 0xe0, 0xb4, 0x83, 0x19, 0x83, 0x41, 0x21, 0x72, 0xdc, 0xe6, 0xf8, 0x37, 0x1b, 0xc3,
|
||||
0x70, 0xed, 0x9c, 0x49, 0xd6, 0x28, 0xde, 0x91, 0xc2, 0x9e, 0x47, 0x50, 0xb7, 0x9e, 0x7c, 0x87,
|
||||
0x71, 0x18, 0x95, 0xa4, 0x92, 0xcf, 0x12, 0x69, 0xb3, 0xdb, 0x55, 0xd8, 0xf7, 0xe2, 0x79, 0x49,
|
||||
0xea, 0xb9, 0x26, 0x6d, 0xc8, 0xa2, 0x82, 0x93, 0x54, 0xe7, 0x7b, 0x53, 0x2e, 0x2e, 0x3a, 0x73,
|
||||
0xc4, 0xf5, 0x9a, 0xe3, 0xe0, 0xf5, 0x61, 0xeb, 0x48, 0xad, 0x44, 0x21, 0xb9, 0x26, 0x19, 0x49,
|
||||
0x2c, 0xfc, 0x11, 0xa2, 0x06, 0x09, 0x93, 0xd9, 0xe6, 0x54, 0x48, 0x55, 0x96, 0x62, 0xaa, 0x8b,
|
||||
0x8f, 0x4c, 0xce, 0x7f, 0x55, 0x5f, 0xbd, 0xc1, 0xe3, 0x7d, 0xbc, 0x7c, 0x3b, 0xf4, 0x1f, 0x6f,
|
||||
0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xdf, 0x2e, 0x09, 0xe2, 0x01, 0x00, 0x00,
|
||||
}
|
210
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go
generated
vendored
210
vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go
generated
vendored
@ -1,210 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/usage.proto
|
||||
|
||||
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"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Configuration controlling usage of a service.
|
||||
type Usage struct {
|
||||
// Requirements that must be satisfied before a consumer project can use the
|
||||
// service. Each requirement is of the form <service.name>/<requirement-id>;
|
||||
// for example 'serviceusage.googleapis.com/billing-enabled'.
|
||||
Requirements []string `protobuf:"bytes,1,rep,name=requirements,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,proto3" json:"rules,omitempty"`
|
||||
// The full resource name of a channel used for sending notifications to the
|
||||
// service producer.
|
||||
//
|
||||
// Google Service Management currently only supports
|
||||
// [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
|
||||
// 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,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 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 {
|
||||
return m.Requirements
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Usage) GetRules() []*UsageRule {
|
||||
if m != nil {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Usage) GetProducerNotificationChannel() string {
|
||||
if m != nil {
|
||||
return m.ProducerNotificationChannel
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Usage configuration rules for the service.
|
||||
//
|
||||
// NOTE: Under development.
|
||||
//
|
||||
//
|
||||
// Use this rule to configure unregistered calls for the service. Unregistered
|
||||
// calls are calls that do not contain consumer project identity.
|
||||
// (Example: calls that do not contain an API key).
|
||||
// By default, API methods do not allow unregistered calls, and each method call
|
||||
// must be identified by a consumer project identity. Use this rule to
|
||||
// allow/disallow unregistered calls.
|
||||
//
|
||||
// Example of an API that wants to allow unregistered calls for entire service.
|
||||
//
|
||||
// usage:
|
||||
// rules:
|
||||
// - selector: "*"
|
||||
// allow_unregistered_calls: true
|
||||
//
|
||||
// Example of a method that wants to allow unregistered calls.
|
||||
//
|
||||
// usage:
|
||||
// rules:
|
||||
// - selector: "google.example.library.v1.LibraryService.CreateBook"
|
||||
// allow_unregistered_calls: true
|
||||
type UsageRule struct {
|
||||
// Selects the methods to which this rule applies. Use '*' to indicate all
|
||||
// methods in all APIs.
|
||||
//
|
||||
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
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 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 {
|
||||
return m.Selector
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UsageRule) GetAllowUnregisteredCalls() bool {
|
||||
if m != nil {
|
||||
return m.AllowUnregisteredCalls
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UsageRule) GetSkipServiceControl() bool {
|
||||
if m != nil {
|
||||
return m.SkipServiceControl
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Usage)(nil), "google.api.Usage")
|
||||
proto.RegisterType((*UsageRule)(nil), "google.api.UsageRule")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor_usage_d93cb687fa4d5498) }
|
||||
|
||||
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,
|
||||
0xd0, 0x8a, 0x5e, 0x04, 0x4f, 0x6e, 0x88, 0x78, 0x91, 0x51, 0xd9, 0xc5, 0x4b, 0x89, 0xd9, 0x5b,
|
||||
0x0c, 0x66, 0x79, 0x35, 0x49, 0xf5, 0x0f, 0xf1, 0xea, 0xc9, 0xbf, 0x54, 0x9a, 0xcc, 0xd9, 0x1d,
|
||||
0xdf, 0xfb, 0x7c, 0xbe, 0xef, 0xb5, 0x2f, 0x64, 0x24, 0x10, 0x85, 0x82, 0x9c, 0x55, 0x32, 0xaf,
|
||||
0x2d, 0x13, 0x90, 0x55, 0x06, 0x1d, 0x52, 0x12, 0xfa, 0x19, 0xab, 0xe4, 0xf8, 0xa4, 0xe5, 0x30,
|
||||
0xad, 0xd1, 0x31, 0x27, 0x51, 0xdb, 0x60, 0x4e, 0xbe, 0x22, 0xd2, 0x5b, 0x34, 0x49, 0x3a, 0x21,
|
||||
0xfb, 0x06, 0xde, 0x6a, 0x69, 0x60, 0x0d, 0xda, 0xd9, 0x38, 0x4a, 0xba, 0xe9, 0xb0, 0xd8, 0xe9,
|
||||
0xd1, 0x33, 0xd2, 0x33, 0xb5, 0x02, 0x1b, 0xf7, 0x93, 0x6e, 0xba, 0x77, 0x71, 0x94, 0xfd, 0xed,
|
||||
0xc9, 0xfc, 0x94, 0xa2, 0x56, 0x50, 0x04, 0x87, 0x4e, 0xc9, 0x69, 0x65, 0x70, 0x59, 0x73, 0x30,
|
||||
0xa5, 0x46, 0x27, 0x57, 0x92, 0xfb, 0xd5, 0x25, 0x7f, 0x61, 0x5a, 0x83, 0x8a, 0xff, 0x27, 0x51,
|
||||
0x3a, 0x2c, 0x8e, 0x7f, 0xa5, 0x87, 0x96, 0x33, 0x0b, 0xca, 0xe4, 0x33, 0x22, 0xc3, 0xed, 0x60,
|
||||
0x3a, 0x26, 0x03, 0x0b, 0x0a, 0xb8, 0x43, 0x13, 0x47, 0x3e, 0xbc, 0xad, 0xe9, 0x15, 0x89, 0x99,
|
||||
0x52, 0xf8, 0x51, 0xd6, 0xda, 0x80, 0x90, 0xd6, 0x81, 0x81, 0x65, 0xc9, 0x99, 0x52, 0x36, 0xee,
|
||||
0x24, 0x51, 0x3a, 0x28, 0x46, 0x9e, 0x2f, 0x5a, 0x78, 0xd6, 0x50, 0x7a, 0x4e, 0x0e, 0xed, 0xab,
|
||||
0xac, 0x4a, 0x0b, 0xe6, 0x5d, 0x72, 0x28, 0x39, 0x6a, 0x67, 0x50, 0xc5, 0x5d, 0x9f, 0xa2, 0x0d,
|
||||
0x7b, 0x0c, 0x68, 0x16, 0xc8, 0x54, 0x91, 0x03, 0x8e, 0xeb, 0xd6, 0xcf, 0x4f, 0x89, 0xff, 0xc8,
|
||||
0x79, 0x73, 0xd2, 0x79, 0xf4, 0x74, 0xbb, 0x21, 0x02, 0x15, 0xd3, 0x22, 0x43, 0x23, 0x72, 0x01,
|
||||
0xda, 0x1f, 0x3c, 0x0f, 0x88, 0x55, 0xd2, 0xfa, 0x17, 0xd9, 0x2c, 0xe5, 0xa8, 0x57, 0x52, 0x5c,
|
||||
0xef, 0x54, 0xdf, 0x9d, 0x7f, 0x77, 0x37, 0xf3, 0xfb, 0xe7, 0xbe, 0x0f, 0x5e, 0xfe, 0x04, 0x00,
|
||||
0x00, 0xff, 0xff, 0x9c, 0x4b, 0x8c, 0x57, 0xed, 0x01, 0x00, 0x00,
|
||||
}
|
205
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go
generated
vendored
205
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go
generated
vendored
@ -1,205 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/check_error.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
// Error codes for Check responses.
|
||||
type CheckError_Code int32
|
||||
|
||||
const (
|
||||
// This is never used in `CheckResponse`.
|
||||
CheckError_ERROR_CODE_UNSPECIFIED CheckError_Code = 0
|
||||
// The consumer's project id was not found.
|
||||
// Same as [google.rpc.Code.NOT_FOUND][].
|
||||
CheckError_NOT_FOUND CheckError_Code = 5
|
||||
// The consumer doesn't have access to the specified resource.
|
||||
// Same as [google.rpc.Code.PERMISSION_DENIED][].
|
||||
CheckError_PERMISSION_DENIED CheckError_Code = 7
|
||||
// Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][].
|
||||
CheckError_RESOURCE_EXHAUSTED CheckError_Code = 8
|
||||
// The consumer hasn't activated the service.
|
||||
CheckError_SERVICE_NOT_ACTIVATED CheckError_Code = 104
|
||||
// The consumer cannot access the service because billing is disabled.
|
||||
CheckError_BILLING_DISABLED CheckError_Code = 107
|
||||
// The consumer's project has been marked as deleted (soft deletion).
|
||||
CheckError_PROJECT_DELETED CheckError_Code = 108
|
||||
// The consumer's project number or id does not represent a valid project.
|
||||
CheckError_PROJECT_INVALID CheckError_Code = 114
|
||||
// The IP address of the consumer is invalid for the specific consumer
|
||||
// project.
|
||||
CheckError_IP_ADDRESS_BLOCKED CheckError_Code = 109
|
||||
// The referer address of the consumer request is invalid for the specific
|
||||
// consumer project.
|
||||
CheckError_REFERER_BLOCKED CheckError_Code = 110
|
||||
// The client application of the consumer request is invalid for the
|
||||
// specific consumer project.
|
||||
CheckError_CLIENT_APP_BLOCKED CheckError_Code = 111
|
||||
// The consumer's API key is invalid.
|
||||
CheckError_API_KEY_INVALID CheckError_Code = 105
|
||||
// The consumer's API Key has expired.
|
||||
CheckError_API_KEY_EXPIRED CheckError_Code = 112
|
||||
// The consumer's API Key was not found in config record.
|
||||
CheckError_API_KEY_NOT_FOUND CheckError_Code = 113
|
||||
// The backend server for looking up project id/number is unavailable.
|
||||
CheckError_NAMESPACE_LOOKUP_UNAVAILABLE CheckError_Code = 300
|
||||
// The backend server for checking service status is unavailable.
|
||||
CheckError_SERVICE_STATUS_UNAVAILABLE CheckError_Code = 301
|
||||
// The backend server for checking billing status is unavailable.
|
||||
CheckError_BILLING_STATUS_UNAVAILABLE CheckError_Code = 302
|
||||
)
|
||||
|
||||
var CheckError_Code_name = map[int32]string{
|
||||
0: "ERROR_CODE_UNSPECIFIED",
|
||||
5: "NOT_FOUND",
|
||||
7: "PERMISSION_DENIED",
|
||||
8: "RESOURCE_EXHAUSTED",
|
||||
104: "SERVICE_NOT_ACTIVATED",
|
||||
107: "BILLING_DISABLED",
|
||||
108: "PROJECT_DELETED",
|
||||
114: "PROJECT_INVALID",
|
||||
109: "IP_ADDRESS_BLOCKED",
|
||||
110: "REFERER_BLOCKED",
|
||||
111: "CLIENT_APP_BLOCKED",
|
||||
105: "API_KEY_INVALID",
|
||||
112: "API_KEY_EXPIRED",
|
||||
113: "API_KEY_NOT_FOUND",
|
||||
300: "NAMESPACE_LOOKUP_UNAVAILABLE",
|
||||
301: "SERVICE_STATUS_UNAVAILABLE",
|
||||
302: "BILLING_STATUS_UNAVAILABLE",
|
||||
}
|
||||
var CheckError_Code_value = map[string]int32{
|
||||
"ERROR_CODE_UNSPECIFIED": 0,
|
||||
"NOT_FOUND": 5,
|
||||
"PERMISSION_DENIED": 7,
|
||||
"RESOURCE_EXHAUSTED": 8,
|
||||
"SERVICE_NOT_ACTIVATED": 104,
|
||||
"BILLING_DISABLED": 107,
|
||||
"PROJECT_DELETED": 108,
|
||||
"PROJECT_INVALID": 114,
|
||||
"IP_ADDRESS_BLOCKED": 109,
|
||||
"REFERER_BLOCKED": 110,
|
||||
"CLIENT_APP_BLOCKED": 111,
|
||||
"API_KEY_INVALID": 105,
|
||||
"API_KEY_EXPIRED": 112,
|
||||
"API_KEY_NOT_FOUND": 113,
|
||||
"NAMESPACE_LOOKUP_UNAVAILABLE": 300,
|
||||
"SERVICE_STATUS_UNAVAILABLE": 301,
|
||||
"BILLING_STATUS_UNAVAILABLE": 302,
|
||||
}
|
||||
|
||||
func (x CheckError_Code) String() string {
|
||||
return proto.EnumName(CheckError_Code_name, int32(x))
|
||||
}
|
||||
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,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,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 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 {
|
||||
return m.Code
|
||||
}
|
||||
return CheckError_ERROR_CODE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *CheckError) GetDetail() string {
|
||||
if m != nil {
|
||||
return m.Detail
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*CheckError)(nil), "google.api.servicecontrol.v1.CheckError")
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.CheckError_Code", CheckError_Code_name, CheckError_Code_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor_check_error_1be1bde99e60d1aa)
|
||||
}
|
||||
|
||||
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,
|
||||
0x9d, 0x90, 0x68, 0x70, 0xc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x09, 0xa0, 0x7c, 0xc8, 0x81, 0xb9, 0xff, 0xe1, 0xa7, 0xe8, 0x30, 0x8c, 0x62, 0x3d, 0x8c,
|
||||
0x92, 0x90, 0xb9, 0x8f, 0xf0, 0x31, 0x7a, 0x2e, 0x40, 0x5e, 0x72, 0xa5, 0x78, 0x14, 0x6a, 0x06,
|
||||
0xa1, 0xa5, 0x1e, 0xe3, 0x0e, 0xc2, 0x12, 0x54, 0x94, 0x48, 0x0a, 0x1a, 0xae, 0x3e, 0x91, 0x44,
|
||||
0xc5, 0xc0, 0xdc, 0x27, 0xf8, 0x15, 0x3a, 0x56, 0x20, 0xc7, 0x9c, 0x82, 0xb6, 0x29, 0x84, 0xc6,
|
||||
0x7c, 0x4c, 0x6c, 0xe9, 0x1a, 0xbf, 0x44, 0xee, 0x80, 0x07, 0x01, 0x0f, 0x3f, 0x6a, 0xc6, 0x15,
|
||||
0x19, 0x04, 0xc0, 0xdc, 0x1b, 0xfc, 0x02, 0x1d, 0x09, 0x19, 0x5d, 0x00, 0x8d, 0x35, 0x83, 0x00,
|
||||
0x2c, 0x3a, 0xdd, 0x15, 0x79, 0x38, 0x26, 0x01, 0x67, 0x6e, 0x6d, 0xbf, 0xe4, 0x42, 0x13, 0xc6,
|
||||
0x24, 0x28, 0xa5, 0x07, 0x41, 0x44, 0x47, 0xc0, 0xdc, 0x5b, 0x0b, 0x4b, 0x18, 0x82, 0x04, 0xb9,
|
||||
0x11, 0x2b, 0x0b, 0xd3, 0x80, 0x43, 0x18, 0x6b, 0x22, 0xc4, 0x46, 0x37, 0x16, 0x26, 0x82, 0xeb,
|
||||
0x11, 0x7c, 0xde, 0x24, 0x97, 0xbb, 0x22, 0x5c, 0x09, 0x2e, 0x81, 0xb9, 0x33, 0xdb, 0xf8, 0x5a,
|
||||
0xdc, 0xce, 0xe3, 0x1b, 0x7e, 0x83, 0x7a, 0x21, 0xb9, 0x04, 0x25, 0x08, 0x05, 0x1d, 0x44, 0xd1,
|
||||
0x28, 0x11, 0x3a, 0x09, 0xc9, 0x98, 0xf0, 0xc0, 0xb6, 0xe4, 0xfe, 0x6a, 0xe1, 0xd7, 0xa8, 0xbb,
|
||||
0x9e, 0x81, 0x8a, 0x49, 0x9c, 0xa8, 0x3d, 0xe0, 0xf7, 0x12, 0x58, 0x4f, 0xe2, 0x1e, 0xe0, 0x4f,
|
||||
0x6b, 0xf0, 0xdd, 0x41, 0xfd, 0xcc, 0xdc, 0x3e, 0xb8, 0xfb, 0xc1, 0xd1, 0x76, 0xf9, 0xc2, 0x1e,
|
||||
0x92, 0x70, 0xbe, 0x5c, 0xdc, 0x19, 0x0a, 0x33, 0x4d, 0xab, 0xc2, 0x33, 0x75, 0xe1, 0x17, 0x79,
|
||||
0xb5, 0x3c, 0x33, 0x7f, 0x55, 0x4a, 0x67, 0xe5, 0xfc, 0xfe, 0xab, 0xfe, 0xb0, 0xaf, 0xfc, 0x75,
|
||||
0x9c, 0xaf, 0x07, 0x4b, 0xe7, 0xfb, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x65, 0x26, 0xbf,
|
||||
0x0e, 0x03, 0x00, 0x00,
|
||||
}
|
528
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go
generated
vendored
528
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go
generated
vendored
@ -1,528 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/distribution.proto
|
||||
|
||||
package servicecontrol // import "google.golang.org/genproto/googleapis/api/servicecontrol/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Distribution represents a frequency distribution of double-valued sample
|
||||
// points. It contains the size of the population of sample points plus
|
||||
// additional optional information:
|
||||
//
|
||||
// - the arithmetic mean of the samples
|
||||
// - the minimum and maximum of the samples
|
||||
// - the sum-squared-deviation of the samples, used to compute variance
|
||||
// - 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,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,proto3" json:"mean,omitempty"`
|
||||
// The minimum of the population of values. Ignored if `count` is zero.
|
||||
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,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,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.
|
||||
//
|
||||
// The buckets are defined below in `bucket_option`. There are N buckets.
|
||||
// `bucket_counts[0]` is the number of samples in the underflow bucket.
|
||||
// `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
|
||||
// in each of the finite buckets. And `bucket_counts[N] is the number
|
||||
// of samples in the overflow bucket. See the comments of `bucket_option`
|
||||
// below for more details.
|
||||
//
|
||||
// Any suffix of trailing zeros may be omitted.
|
||||
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.
|
||||
//
|
||||
// Buckets are numbered in the range of [0, N], with a total of N+1 buckets.
|
||||
// There must be at least two buckets (a single-bucket histogram gives
|
||||
// no information that isn't already provided by `count`).
|
||||
//
|
||||
// The first bucket is the underflow bucket which has a lower bound
|
||||
// of -inf. The last bucket is the overflow bucket which has an
|
||||
// upper bound of +inf. All other buckets (if any) are called "finite"
|
||||
// buckets because they have finite lower and upper bounds. As described
|
||||
// below, there are three ways to define the finite buckets.
|
||||
//
|
||||
// (1) Buckets with constant width.
|
||||
// (2) Buckets with exponentially growing widths.
|
||||
// (3) Buckets with arbitrary user-provided widths.
|
||||
//
|
||||
// In all cases, the buckets cover the entire real number line (-inf,
|
||||
// +inf). Bucket upper bounds are exclusive and lower bounds are
|
||||
// inclusive. The upper bound of the underflow bucket is equal to the
|
||||
// lower bound of the smallest finite bucket; the lower bound of the
|
||||
// overflow bucket is equal to the upper bound of the largest finite
|
||||
// bucket.
|
||||
//
|
||||
// Types that are valid to be assigned to BucketOption:
|
||||
// *Distribution_LinearBuckets_
|
||||
// *Distribution_ExponentialBuckets_
|
||||
// *Distribution_ExplicitBuckets_
|
||||
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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Distribution proto.InternalMessageInfo
|
||||
|
||||
func (m *Distribution) GetCount() int64 {
|
||||
if m != nil {
|
||||
return m.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetMean() float64 {
|
||||
if m != nil {
|
||||
return m.Mean
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetMinimum() float64 {
|
||||
if m != nil {
|
||||
return m.Minimum
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetMaximum() float64 {
|
||||
if m != nil {
|
||||
return m.Maximum
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetSumOfSquaredDeviation() float64 {
|
||||
if m != nil {
|
||||
return m.SumOfSquaredDeviation
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution) GetBucketCounts() []int64 {
|
||||
if m != nil {
|
||||
return m.BucketCounts
|
||||
}
|
||||
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
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution) GetExponentialBuckets() *Distribution_ExponentialBuckets {
|
||||
if x, ok := m.GetBucketOption().(*Distribution_ExponentialBuckets_); ok {
|
||||
return x.ExponentialBuckets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Distribution) GetExplicitBuckets() *Distribution_ExplicitBuckets {
|
||||
if x, ok := m.GetBucketOption().(*Distribution_ExplicitBuckets_); ok {
|
||||
return x.ExplicitBuckets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Distribution) 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 _Distribution_OneofMarshaler, _Distribution_OneofUnmarshaler, _Distribution_OneofSizer, []interface{}{
|
||||
(*Distribution_LinearBuckets_)(nil),
|
||||
(*Distribution_ExponentialBuckets_)(nil),
|
||||
(*Distribution_ExplicitBuckets_)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Distribution_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Distribution)
|
||||
// bucket_option
|
||||
switch x := m.BucketOption.(type) {
|
||||
case *Distribution_LinearBuckets_:
|
||||
b.EncodeVarint(7<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.LinearBuckets); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Distribution_ExponentialBuckets_:
|
||||
b.EncodeVarint(8<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ExponentialBuckets); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Distribution_ExplicitBuckets_:
|
||||
b.EncodeVarint(9<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ExplicitBuckets); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Distribution.BucketOption has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Distribution_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Distribution)
|
||||
switch tag {
|
||||
case 7: // bucket_option.linear_buckets
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Distribution_LinearBuckets)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.BucketOption = &Distribution_LinearBuckets_{msg}
|
||||
return true, err
|
||||
case 8: // bucket_option.exponential_buckets
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Distribution_ExponentialBuckets)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.BucketOption = &Distribution_ExponentialBuckets_{msg}
|
||||
return true, err
|
||||
case 9: // bucket_option.explicit_buckets
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Distribution_ExplicitBuckets)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.BucketOption = &Distribution_ExplicitBuckets_{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Distribution_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Distribution)
|
||||
// bucket_option
|
||||
switch x := m.BucketOption.(type) {
|
||||
case *Distribution_LinearBuckets_:
|
||||
s := proto.Size(x.LinearBuckets)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_ExponentialBuckets_:
|
||||
s := proto.Size(x.ExponentialBuckets)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Distribution_ExplicitBuckets_:
|
||||
s := proto.Size(x.ExplicitBuckets)
|
||||
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
|
||||
}
|
||||
|
||||
// Describing buckets with constant width.
|
||||
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,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,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,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 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 {
|
||||
return m.NumFiniteBuckets
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_LinearBuckets) GetWidth() float64 {
|
||||
if m != nil {
|
||||
return m.Width
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_LinearBuckets) GetOffset() float64 {
|
||||
if m != nil {
|
||||
return m.Offset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Describing buckets with exponentially growing width.
|
||||
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,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,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,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 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 {
|
||||
return m.NumFiniteBuckets
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_ExponentialBuckets) GetGrowthFactor() float64 {
|
||||
if m != nil {
|
||||
return m.GrowthFactor
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Distribution_ExponentialBuckets) GetScale() float64 {
|
||||
if m != nil {
|
||||
return m.Scale
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Describing buckets with arbitrary user-provided width.
|
||||
type Distribution_ExplicitBuckets struct {
|
||||
// 'bound' is a list of strictly increasing boundaries between
|
||||
// buckets. Note that a list of length N-1 defines N buckets because
|
||||
// of fenceposting. See comments on `bucket_options` for details.
|
||||
//
|
||||
// The i'th finite bucket covers the interval
|
||||
// [bound[i-1], bound[i])
|
||||
// where i ranges from 1 to bound_size() - 1. Note that there are no
|
||||
// finite buckets at all if 'bound' only contains a single element; in
|
||||
// that special case the single bound defines the boundary between the
|
||||
// underflow and overflow buckets.
|
||||
//
|
||||
// bucket number lower bound upper bound
|
||||
// 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,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 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 {
|
||||
return m.Bounds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Distribution)(nil), "google.api.servicecontrol.v1.Distribution")
|
||||
proto.RegisterType((*Distribution_LinearBuckets)(nil), "google.api.servicecontrol.v1.Distribution.LinearBuckets")
|
||||
proto.RegisterType((*Distribution_ExponentialBuckets)(nil), "google.api.servicecontrol.v1.Distribution.ExponentialBuckets")
|
||||
proto.RegisterType((*Distribution_ExplicitBuckets)(nil), "google.api.servicecontrol.v1.Distribution.ExplicitBuckets")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/distribution.proto", fileDescriptor_distribution_dac88fdcde0e4047)
|
||||
}
|
||||
|
||||
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,
|
||||
0x42, 0xb6, 0x0a, 0x07, 0x10, 0x88, 0x4b, 0x28, 0x15, 0x42, 0x48, 0x54, 0xe6, 0xc6, 0xc5, 0xda,
|
||||
0xd8, 0x6b, 0x77, 0x55, 0x7b, 0xc7, 0xec, 0x47, 0x9a, 0x0b, 0x57, 0x7e, 0x0f, 0x3f, 0x8f, 0x23,
|
||||
0xf2, 0xae, 0xf3, 0x45, 0xab, 0x48, 0xb9, 0xf9, 0x7d, 0xc7, 0x33, 0xcf, 0xec, 0x68, 0x06, 0xe2,
|
||||
0x12, 0xb1, 0xac, 0x58, 0x4c, 0x1b, 0x1e, 0x2b, 0x26, 0xe7, 0x3c, 0x63, 0x19, 0x0a, 0x2d, 0xb1,
|
||||
0x8a, 0xe7, 0xa7, 0x71, 0xce, 0x95, 0x96, 0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b8, 0x64, 0xc2, 0x9e, 0x69, 0x77, 0xd6, 0xb4, 0xe1, 0xea, 0xf6, 0xd3, 0x7e, 0xbf,
|
||||
0xed, 0xfc, 0xf5, 0xbc, 0x59, 0xdf, 0x66, 0xbe, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x14, 0x52,
|
||||
0xaf, 0xef, 0x13, 0x04, 0x00, 0x00,
|
||||
}
|
293
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go
generated
vendored
293
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go
generated
vendored
@ -1,293 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/log_entry.proto
|
||||
|
||||
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 _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,proto3" json:"name,omitempty"`
|
||||
// The time the event described by the log entry occurred. If
|
||||
// omitted, defaults to operation start time.
|
||||
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 _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,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,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"`
|
||||
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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_LogEntry proto.InternalMessageInfo
|
||||
|
||||
func (m *LogEntry) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetTimestamp() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.Timestamp
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetSeverity() _type.LogSeverity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return _type.LogSeverity_DEFAULT
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetInsertId() string {
|
||||
if m != nil {
|
||||
return m.InsertId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetTextPayload() string {
|
||||
if x, ok := m.GetPayload().(*LogEntry_TextPayload); ok {
|
||||
return x.TextPayload
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogEntry) GetStructPayload() *_struct.Struct {
|
||||
if x, ok := m.GetPayload().(*LogEntry_StructPayload); ok {
|
||||
return x.StructPayload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*LogEntry) 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 _LogEntry_OneofMarshaler, _LogEntry_OneofUnmarshaler, _LogEntry_OneofSizer, []interface{}{
|
||||
(*LogEntry_ProtoPayload)(nil),
|
||||
(*LogEntry_TextPayload)(nil),
|
||||
(*LogEntry_StructPayload)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _LogEntry_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*LogEntry)
|
||||
// payload
|
||||
switch x := m.Payload.(type) {
|
||||
case *LogEntry_ProtoPayload:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ProtoPayload); err != nil {
|
||||
return err
|
||||
}
|
||||
case *LogEntry_TextPayload:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.TextPayload)
|
||||
case *LogEntry_StructPayload:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.StructPayload); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("LogEntry.Payload has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _LogEntry_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*LogEntry)
|
||||
switch tag {
|
||||
case 2: // payload.proto_payload
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(any.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Payload = &LogEntry_ProtoPayload{msg}
|
||||
return true, err
|
||||
case 3: // payload.text_payload
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Payload = &LogEntry_TextPayload{x}
|
||||
return true, err
|
||||
case 6: // payload.struct_payload
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(_struct.Struct)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Payload = &LogEntry_StructPayload{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _LogEntry_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*LogEntry)
|
||||
// payload
|
||||
switch x := m.Payload.(type) {
|
||||
case *LogEntry_ProtoPayload:
|
||||
s := proto.Size(x.ProtoPayload)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *LogEntry_TextPayload:
|
||||
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 += 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((*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", fileDescriptor_log_entry_1cf8a0cea23f865a)
|
||||
}
|
||||
|
||||
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,
|
||||
0xea, 0x01, 0x39, 0xda, 0x72, 0x59, 0x58, 0x0e, 0x50, 0x09, 0xa9, 0xac, 0x7a, 0x58, 0x65, 0x39,
|
||||
0x71, 0xa9, 0xdc, 0xd6, 0x58, 0x16, 0xae, 0x27, 0x4a, 0xdc, 0x88, 0x9c, 0xf8, 0xbc, 0x7c, 0x0b,
|
||||
0x94, 0xb1, 0x53, 0xf6, 0x9f, 0xf6, 0xe6, 0xf1, 0xfb, 0xbd, 0x99, 0x79, 0x8e, 0x42, 0xde, 0x49,
|
||||
0x00, 0xa9, 0x45, 0xc6, 0x0b, 0x95, 0x55, 0xa2, 0xac, 0xd5, 0x46, 0x6c, 0xc0, 0xd8, 0x12, 0x74,
|
||||
0x56, 0x9f, 0x65, 0x1a, 0xe4, 0x4a, 0x18, 0x5b, 0x36, 0xac, 0x28, 0xc1, 0x02, 0x9d, 0x38, 0x9a,
|
||||
0xf1, 0x42, 0xb1, 0xdb, 0x34, 0xab, 0xcf, 0x92, 0xc9, 0x8d, 0x5e, 0xdc, 0x18, 0xb0, 0xdc, 0x2a,
|
||||
0x30, 0x95, 0xf3, 0x26, 0x6f, 0xbd, 0xaa, 0x41, 0x4a, 0x65, 0x64, 0x66, 0x9b, 0x02, 0x8b, 0x55,
|
||||
0x25, 0x6a, 0x51, 0x2a, 0xeb, 0x67, 0x24, 0x2f, 0x3c, 0x87, 0xd5, 0x7a, 0xff, 0x33, 0xe3, 0xa6,
|
||||
0x93, 0x26, 0x77, 0xa5, 0xca, 0x96, 0xfb, 0x8d, 0xf5, 0xea, 0xab, 0xbb, 0xaa, 0x55, 0x3b, 0x51,
|
||||
0x59, 0xbe, 0x2b, 0x1c, 0xf0, 0xfa, 0x6f, 0x9f, 0x0c, 0x97, 0x20, 0xbf, 0xb6, 0x81, 0x28, 0x25,
|
||||
0xc7, 0x86, 0xef, 0x44, 0x4c, 0xd2, 0x60, 0x1a, 0xe6, 0x78, 0xa6, 0xe7, 0x24, 0x3c, 0x78, 0xe2,
|
||||
0x28, 0x0d, 0xa6, 0xd1, 0x2c, 0x61, 0x3e, 0x72, 0xd7, 0x95, 0x7d, 0xef, 0x88, 0xfc, 0x3f, 0x4c,
|
||||
0x3f, 0x91, 0x61, 0x17, 0x23, 0x1e, 0xa5, 0xc1, 0xf4, 0x64, 0x96, 0x76, 0x46, 0x9f, 0x97, 0xb5,
|
||||
0x79, 0xd9, 0x12, 0xe4, 0xb5, 0xe7, 0xf2, 0x83, 0x83, 0xbe, 0x24, 0xa1, 0x32, 0x95, 0x28, 0xed,
|
||||
0x4a, 0x6d, 0xe3, 0x63, 0x5c, 0x68, 0xe8, 0x2e, 0xbe, 0x6d, 0xe9, 0x25, 0x19, 0x68, 0xbe, 0x16,
|
||||
0xba, 0x8a, 0xc7, 0x69, 0x7f, 0x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x13, 0x61, 0x03, 0x00, 0x00,
|
||||
}
|
385
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go
generated
vendored
385
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go
generated
vendored
@ -1,385 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/metric_value.proto
|
||||
|
||||
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.golang.org/genproto/googleapis/type/money"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Represents a single metric value.
|
||||
type MetricValue struct {
|
||||
// The labels describing the metric value.
|
||||
// See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
|
||||
// the overriding relationship.
|
||||
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,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 *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 *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.
|
||||
//
|
||||
// Types that are valid to be assigned to Value:
|
||||
// *MetricValue_BoolValue
|
||||
// *MetricValue_Int64Value
|
||||
// *MetricValue_DoubleValue
|
||||
// *MetricValue_StringValue
|
||||
// *MetricValue_DistributionValue
|
||||
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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MetricValue proto.InternalMessageInfo
|
||||
|
||||
func (m *MetricValue) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetInt64Value() int64 {
|
||||
if x, ok := m.GetValue().(*MetricValue_Int64Value); ok {
|
||||
return x.Int64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetDoubleValue() float64 {
|
||||
if x, ok := m.GetValue().(*MetricValue_DoubleValue); ok {
|
||||
return x.DoubleValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetStringValue() string {
|
||||
if x, ok := m.GetValue().(*MetricValue_StringValue); ok {
|
||||
return x.StringValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricValue) GetDistributionValue() *Distribution {
|
||||
if x, ok := m.GetValue().(*MetricValue_DistributionValue); ok {
|
||||
return x.DistributionValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*MetricValue) 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 _MetricValue_OneofMarshaler, _MetricValue_OneofUnmarshaler, _MetricValue_OneofSizer, []interface{}{
|
||||
(*MetricValue_BoolValue)(nil),
|
||||
(*MetricValue_Int64Value)(nil),
|
||||
(*MetricValue_DoubleValue)(nil),
|
||||
(*MetricValue_StringValue)(nil),
|
||||
(*MetricValue_DistributionValue)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _MetricValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*MetricValue)
|
||||
// value
|
||||
switch x := m.Value.(type) {
|
||||
case *MetricValue_BoolValue:
|
||||
t := uint64(0)
|
||||
if x.BoolValue {
|
||||
t = 1
|
||||
}
|
||||
b.EncodeVarint(4<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(t)
|
||||
case *MetricValue_Int64Value:
|
||||
b.EncodeVarint(5<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Int64Value))
|
||||
case *MetricValue_DoubleValue:
|
||||
b.EncodeVarint(6<<3 | proto.WireFixed64)
|
||||
b.EncodeFixed64(math.Float64bits(x.DoubleValue))
|
||||
case *MetricValue_StringValue:
|
||||
b.EncodeVarint(7<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.StringValue)
|
||||
case *MetricValue_DistributionValue:
|
||||
b.EncodeVarint(8<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.DistributionValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("MetricValue.Value has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _MetricValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*MetricValue)
|
||||
switch tag {
|
||||
case 4: // value.bool_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Value = &MetricValue_BoolValue{x != 0}
|
||||
return true, err
|
||||
case 5: // value.int64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Value = &MetricValue_Int64Value{int64(x)}
|
||||
return true, err
|
||||
case 6: // value.double_value
|
||||
if wire != proto.WireFixed64 {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeFixed64()
|
||||
m.Value = &MetricValue_DoubleValue{math.Float64frombits(x)}
|
||||
return true, err
|
||||
case 7: // value.string_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Value = &MetricValue_StringValue{x}
|
||||
return true, err
|
||||
case 8: // value.distribution_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Distribution)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Value = &MetricValue_DistributionValue{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _MetricValue_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*MetricValue)
|
||||
// value
|
||||
switch x := m.Value.(type) {
|
||||
case *MetricValue_BoolValue:
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *MetricValue_Int64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Int64Value))
|
||||
case *MetricValue_DoubleValue:
|
||||
n += 1 // tag and wire
|
||||
n += 8
|
||||
case *MetricValue_StringValue:
|
||||
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 += 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
|
||||
}
|
||||
|
||||
// Represents a set of metric values in the same metric.
|
||||
// Each metric value in the set should have a unique combination of start time,
|
||||
// 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,proto3" json:"metric_name,omitempty"`
|
||||
// The values in this metric.
|
||||
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 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 {
|
||||
return m.MetricName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MetricValueSet) GetMetricValues() []*MetricValue {
|
||||
if m != nil {
|
||||
return m.MetricValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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", fileDescriptor_metric_value_8054f3e00bcbeeb9)
|
||||
}
|
||||
|
||||
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,
|
||||
0x0f, 0x13, 0x76, 0x75, 0xc5, 0xd5, 0x5b, 0x51, 0x28, 0xe2, 0x2e, 0x4b, 0x14, 0x0f, 0x7a, 0x58,
|
||||
0x26, 0xed, 0x33, 0x0c, 0x26, 0x33, 0x21, 0x33, 0x2d, 0xf4, 0xe8, 0xcd, 0x3f, 0xd9, 0x8b, 0x20,
|
||||
0xf3, 0xa3, 0x9a, 0x82, 0xd4, 0xbd, 0xe5, 0x7d, 0xf3, 0xfd, 0xbc, 0x7c, 0x27, 0xef, 0x0d, 0x64,
|
||||
0xa5, 0x94, 0x65, 0x85, 0x19, 0x6b, 0x78, 0xa6, 0xb0, 0x5d, 0xf3, 0x05, 0x2e, 0xa4, 0xd0, 0xad,
|
||||
0xac, 0xb2, 0xf5, 0x49, 0x56, 0xa3, 0x6e, 0xf9, 0xe2, 0x7a, 0xcd, 0xaa, 0x15, 0xd2, 0xa6, 0x95,
|
||||
0x5a, 0x46, 0x47, 0x0e, 0xa0, 0xac, 0xe1, 0x74, 0x17, 0xa0, 0xeb, 0x93, 0xc9, 0x51, 0xa7, 0x1d,
|
||||
0x13, 0x42, 0x6a, 0xa6, 0xb9, 0x14, 0xca, 0xb1, 0x93, 0xfd, 0x1f, 0x5b, 0x72, 0xa5, 0x5b, 0x5e,
|
||||
0xac, 0x0c, 0xe1, 0x81, 0xa9, 0x07, 0x6c, 0x55, 0xac, 0xbe, 0x66, 0x9a, 0xd7, 0xa8, 0x34, 0xab,
|
||||
0x1b, 0x6f, 0x78, 0xe8, 0x0d, 0x7a, 0xd3, 0x60, 0x56, 0x4b, 0x81, 0x1b, 0xf7, 0xe2, 0xf8, 0x57,
|
||||
0x00, 0xe1, 0x85, 0x4d, 0xff, 0xc9, 0x84, 0x8f, 0x2e, 0x60, 0x50, 0xb1, 0x02, 0x2b, 0x15, 0x93,
|
||||
0x24, 0x48, 0xc3, 0xd3, 0x33, 0xba, 0xef, 0x1c, 0xb4, 0x83, 0xd2, 0xf7, 0x96, 0x7b, 0x2b, 0x74,
|
||||
0xbb, 0xc9, 0x7d, 0x93, 0xe8, 0x1c, 0x40, 0x69, 0xd6, 0xea, 0x6b, 0x13, 0x28, 0xee, 0x27, 0x24,
|
||||
0x0d, 0x4f, 0x27, 0xdb, 0x96, 0xdb, 0xb4, 0xf4, 0xe3, 0x36, 0x6d, 0x3e, 0xb6, 0x6e, 0x53, 0x47,
|
||||
0x67, 0x30, 0x42, 0xb1, 0x74, 0x60, 0xf0, 0x5f, 0x70, 0x88, 0x62, 0x69, 0xb1, 0x29, 0x40, 0x21,
|
||||
0x65, 0xe5, 0x66, 0x11, 0xdf, 0x4a, 0x48, 0x3a, 0x9a, 0xf7, 0xf2, 0xb1, 0xd1, 0xdc, 0x09, 0x1f,
|
||||
0x41, 0xc8, 0x85, 0x7e, 0xf1, 0xdc, 0x3b, 0x0e, 0x12, 0x92, 0x06, 0xf3, 0x5e, 0x0e, 0x56, 0x74,
|
||||
0x96, 0xc7, 0x70, 0xb8, 0x94, 0xab, 0xa2, 0x42, 0xef, 0x19, 0x24, 0x24, 0x25, 0xf3, 0x5e, 0x1e,
|
||||
0x3a, 0xf5, 0x8f, 0xc9, 0xcc, 0x41, 0x94, 0xde, 0x34, 0x4c, 0x48, 0x3a, 0x36, 0x26, 0xa7, 0x3a,
|
||||
0xd3, 0x17, 0x88, 0xba, 0xe3, 0xf2, 0xd6, 0x91, 0x3d, 0xce, 0xd3, 0xfd, 0xbf, 0xf6, 0x4d, 0x87,
|
||||
0x9b, 0xf7, 0xf2, 0x7b, 0xdd, 0x3e, 0xb6, 0xf9, 0xe4, 0x1c, 0xc2, 0xce, 0x3f, 0x8f, 0xee, 0x42,
|
||||
0xf0, 0x0d, 0x37, 0x31, 0x31, 0x39, 0x72, 0xf3, 0x18, 0x3d, 0x80, 0x03, 0xf7, 0xc1, 0xbe, 0xd5,
|
||||
0x5c, 0xf1, 0xaa, 0xff, 0x92, 0xcc, 0x86, 0xfe, 0xcd, 0xf1, 0x77, 0x02, 0x77, 0x3a, 0x43, 0xfc,
|
||||
0x80, 0x3a, 0x9a, 0x42, 0xe8, 0xf7, 0x59, 0xb0, 0x1a, 0x7d, 0x3f, 0x70, 0xd2, 0x25, 0xab, 0x31,
|
||||
0xba, 0x84, 0xdb, 0xdd, 0x85, 0x57, 0x71, 0xdf, 0xae, 0xca, 0x93, 0x1b, 0xaf, 0x4a, 0x7e, 0x58,
|
||||
0xff, 0x2d, 0xd4, 0xec, 0x07, 0x81, 0x64, 0x21, 0xeb, 0xbd, 0xf8, 0xec, 0xfe, 0x6e, 0xca, 0x2b,
|
||||
0xb3, 0x02, 0x57, 0xe4, 0xf3, 0x3b, 0x0f, 0x95, 0xb2, 0x62, 0xa2, 0xa4, 0xb2, 0x2d, 0xb3, 0x12,
|
||||
0x85, 0x5d, 0x10, 0x7f, 0x8b, 0x58, 0xc3, 0xd5, 0xbf, 0x6f, 0xd2, 0xeb, 0x5d, 0xe5, 0x27, 0x21,
|
||||
0xc5, 0xc0, 0x92, 0xcf, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x00, 0x1a, 0xde, 0xef, 0x03,
|
||||
0x00, 0x00,
|
||||
}
|
248
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go
generated
vendored
248
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go
generated
vendored
@ -1,248 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/operation.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
const (
|
||||
// The API implementation may cache and aggregate the data.
|
||||
// The data may be lost when rare and unexpected system failures occur.
|
||||
Operation_LOW Operation_Importance = 0
|
||||
// The API implementation doesn't cache and aggregate the data.
|
||||
// If the method returns successfully, it's guaranteed that the data has
|
||||
// been persisted in durable storage.
|
||||
Operation_HIGH Operation_Importance = 1
|
||||
)
|
||||
|
||||
var Operation_Importance_name = map[int32]string{
|
||||
0: "LOW",
|
||||
1: "HIGH",
|
||||
}
|
||||
var Operation_Importance_value = map[string]int32{
|
||||
"LOW": 0,
|
||||
"HIGH": 1,
|
||||
}
|
||||
|
||||
func (x Operation_Importance) String() string {
|
||||
return proto.EnumName(Operation_Importance_name, int32(x))
|
||||
}
|
||||
func (Operation_Importance) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_operation_b9b924901f6a3776, []int{0, 0}
|
||||
}
|
||||
|
||||
// Represents information regarding an operation.
|
||||
type Operation struct {
|
||||
// Identity of the operation. This must be unique within the scope of the
|
||||
// service that generated the operation. If the service calls
|
||||
// Check() and Report() on the same operation, the two calls should carry
|
||||
// the same id.
|
||||
//
|
||||
// UUID version 4 is recommended, though not required.
|
||||
// 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,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,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
|
||||
// not related to a specific consumer.
|
||||
//
|
||||
// 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,proto3" json:"consumer_id,omitempty"`
|
||||
// Required. Start time of the operation.
|
||||
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 *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
|
||||
// the service configuration.
|
||||
// - Default labels of metric values. When specified, labels defined in the
|
||||
// metric value override these default.
|
||||
// - The following labels defined by Google Cloud Platform:
|
||||
// - `cloud.googleapis.com/location` describing the location where the
|
||||
// operation happened,
|
||||
// - `servicecontrol.googleapis.com/user_agent` describing the user agent
|
||||
// of the API request,
|
||||
// - `servicecontrol.googleapis.com/service_agent` describing the service
|
||||
// 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,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
|
||||
// the data type specified in the metric definition.
|
||||
//
|
||||
// Within a single operation, it is not allowed to have more than one
|
||||
// MetricValue instances that have the same metric names and identical
|
||||
// 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,proto3" json:"metric_value_sets,omitempty"`
|
||||
// Represents information to be logged.
|
||||
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,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 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 {
|
||||
return m.OperationId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Operation) GetOperationName() string {
|
||||
if m != nil {
|
||||
return m.OperationName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Operation) GetConsumerId() string {
|
||||
if m != nil {
|
||||
return m.ConsumerId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Operation) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Operation) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Operation) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Operation) GetMetricValueSets() []*MetricValueSet {
|
||||
if m != nil {
|
||||
return m.MetricValueSets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Operation) GetLogEntries() []*LogEntry {
|
||||
if m != nil {
|
||||
return m.LogEntries
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Operation) GetImportance() Operation_Importance {
|
||||
if m != nil {
|
||||
return m.Importance
|
||||
}
|
||||
return Operation_LOW
|
||||
}
|
||||
|
||||
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", fileDescriptor_operation_b9b924901f6a3776)
|
||||
}
|
||||
|
||||
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,
|
||||
0x28, 0xb3, 0x34, 0x45, 0xb0, 0x7a, 0x2b, 0x48, 0x1b, 0x8d, 0xb6, 0xac, 0xa2, 0xe2, 0x25, 0x4c,
|
||||
0x36, 0xcf, 0x65, 0x70, 0x77, 0x66, 0x99, 0x99, 0x04, 0x7a, 0xf6, 0xe2, 0x9f, 0xec, 0x51, 0x76,
|
||||
0xf6, 0x47, 0x13, 0x90, 0xb5, 0xb7, 0x7d, 0x8f, 0xef, 0xe7, 0xbb, 0xdf, 0x79, 0x6f, 0x06, 0x4e,
|
||||
0x62, 0xa5, 0xe2, 0x04, 0x03, 0x9e, 0x89, 0xc0, 0xa0, 0xde, 0x8a, 0x08, 0x23, 0x25, 0xad, 0x56,
|
||||
0x49, 0xb0, 0x3d, 0x0d, 0x54, 0x86, 0x9a, 0x5b, 0xa1, 0x24, 0xcb, 0xb4, 0xb2, 0x8a, 0x1e, 0x15,
|
||||
0x6a, 0xc6, 0x33, 0xc1, 0xf6, 0xd5, 0x6c, 0x7b, 0x3a, 0x3a, 0xda, 0xf1, 0xe2, 0x52, 0x2a, 0xeb,
|
||||
0x50, 0x53, 0xb0, 0xa3, 0xe6, 0x3f, 0x25, 0x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, 0x00, 0x00,
|
||||
}
|
588
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go
generated
vendored
588
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go
generated
vendored
@ -1,588 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/quota_controller.proto
|
||||
|
||||
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 (
|
||||
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
|
||||
|
||||
// Supported quota modes.
|
||||
type QuotaOperation_QuotaMode int32
|
||||
|
||||
const (
|
||||
// Guard against implicit default. Must not be used.
|
||||
QuotaOperation_UNSPECIFIED QuotaOperation_QuotaMode = 0
|
||||
// For AllocateQuota request, allocates quota for the amount specified in
|
||||
// the service configuration or specified using the quota metrics. If the
|
||||
// amount is higher than the available quota, allocation error will be
|
||||
// returned and no quota will be allocated.
|
||||
QuotaOperation_NORMAL QuotaOperation_QuotaMode = 1
|
||||
// The operation allocates quota for the amount specified in the service
|
||||
// configuration or specified using the quota metrics. If the amount is
|
||||
// higher than the available quota, request does not fail but all available
|
||||
// quota will be allocated.
|
||||
QuotaOperation_BEST_EFFORT QuotaOperation_QuotaMode = 2
|
||||
// For AllocateQuota request, only checks if there is enough quota
|
||||
// available and does not change the available quota. No lock is placed on
|
||||
// the available quota either.
|
||||
QuotaOperation_CHECK_ONLY QuotaOperation_QuotaMode = 3
|
||||
)
|
||||
|
||||
var QuotaOperation_QuotaMode_name = map[int32]string{
|
||||
0: "UNSPECIFIED",
|
||||
1: "NORMAL",
|
||||
2: "BEST_EFFORT",
|
||||
3: "CHECK_ONLY",
|
||||
}
|
||||
var QuotaOperation_QuotaMode_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"NORMAL": 1,
|
||||
"BEST_EFFORT": 2,
|
||||
"CHECK_ONLY": 3,
|
||||
}
|
||||
|
||||
func (x QuotaOperation_QuotaMode) String() string {
|
||||
return proto.EnumName(QuotaOperation_QuotaMode_name, int32(x))
|
||||
}
|
||||
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
|
||||
// have to call the Check method, without quota_properties field, to perform
|
||||
// these validations before calling the quota controller methods. These
|
||||
// methods check only for project deletion to be wipe out compliant.
|
||||
type QuotaError_Code int32
|
||||
|
||||
const (
|
||||
// This is never used.
|
||||
QuotaError_UNSPECIFIED QuotaError_Code = 0
|
||||
// Quota allocation failed.
|
||||
// Same as [google.rpc.Code.RESOURCE_EXHAUSTED][].
|
||||
QuotaError_RESOURCE_EXHAUSTED QuotaError_Code = 8
|
||||
// Consumer cannot access the service because the service requires active
|
||||
// billing.
|
||||
QuotaError_BILLING_NOT_ACTIVE QuotaError_Code = 107
|
||||
// Consumer's project has been marked as deleted (soft deletion).
|
||||
QuotaError_PROJECT_DELETED QuotaError_Code = 108
|
||||
// Specified API key is invalid.
|
||||
QuotaError_API_KEY_INVALID QuotaError_Code = 105
|
||||
// Specified API Key has expired.
|
||||
QuotaError_API_KEY_EXPIRED QuotaError_Code = 112
|
||||
)
|
||||
|
||||
var QuotaError_Code_name = map[int32]string{
|
||||
0: "UNSPECIFIED",
|
||||
8: "RESOURCE_EXHAUSTED",
|
||||
107: "BILLING_NOT_ACTIVE",
|
||||
108: "PROJECT_DELETED",
|
||||
105: "API_KEY_INVALID",
|
||||
112: "API_KEY_EXPIRED",
|
||||
}
|
||||
var QuotaError_Code_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"RESOURCE_EXHAUSTED": 8,
|
||||
"BILLING_NOT_ACTIVE": 107,
|
||||
"PROJECT_DELETED": 108,
|
||||
"API_KEY_INVALID": 105,
|
||||
"API_KEY_EXPIRED": 112,
|
||||
}
|
||||
|
||||
func (x QuotaError_Code) String() string {
|
||||
return proto.EnumName(QuotaError_Code_name, int32(x))
|
||||
}
|
||||
func (QuotaError_Code) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_quota_controller_5358e5cb4c246776, []int{3, 0}
|
||||
}
|
||||
|
||||
// Request message for the AllocateQuota method.
|
||||
type AllocateQuotaRequest struct {
|
||||
// Name of the service as specified in the service configuration. For example,
|
||||
// `"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,proto3" json:"service_name,omitempty"`
|
||||
// Operation that describes the quota allocation.
|
||||
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,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 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 {
|
||||
return m.ServiceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaRequest) GetAllocateOperation() *QuotaOperation {
|
||||
if m != nil {
|
||||
return m.AllocateOperation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaRequest) GetServiceConfigId() string {
|
||||
if m != nil {
|
||||
return m.ServiceConfigId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Represents information regarding a quota operation.
|
||||
type QuotaOperation struct {
|
||||
// Identity of the operation. This is expected to be unique within the scope
|
||||
// of the service that generated the operation, and guarantees idempotency in
|
||||
// case of retries.
|
||||
//
|
||||
// UUID version 4 is recommended, though not required. 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,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
|
||||
// required if the quota operation is performed on non-API resources.
|
||||
//
|
||||
// Example of an RPC method name:
|
||||
// google.example.library.v1.LibraryService.CreateShelf
|
||||
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,proto3" json:"consumer_id,omitempty"`
|
||||
// Labels describing the operation.
|
||||
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
|
||||
// the data type specified in the metric definition.
|
||||
//
|
||||
// Within a single operation, it is not allowed to have more than one
|
||||
// MetricValue instances that have the same metric names and identical
|
||||
// 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,proto3" json:"quota_metrics,omitempty"`
|
||||
// Quota mode for this operation.
|
||||
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 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 {
|
||||
return m.OperationId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaOperation) GetMethodName() string {
|
||||
if m != nil {
|
||||
return m.MethodName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaOperation) GetConsumerId() string {
|
||||
if m != nil {
|
||||
return m.ConsumerId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaOperation) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *QuotaOperation) GetQuotaMetrics() []*MetricValueSet {
|
||||
if m != nil {
|
||||
return m.QuotaMetrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *QuotaOperation) GetQuotaMode() QuotaOperation_QuotaMode {
|
||||
if m != nil {
|
||||
return m.QuotaMode
|
||||
}
|
||||
return QuotaOperation_UNSPECIFIED
|
||||
}
|
||||
|
||||
// Response message for the AllocateQuota method.
|
||||
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,proto3" json:"operation_id,omitempty"`
|
||||
// Indicates the decision of the allocate.
|
||||
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:
|
||||
//
|
||||
// 1. Per quota group or per quota metric incremental usage will be specified
|
||||
// using the following delta metric :
|
||||
// "serviceruntime.googleapis.com/api/consumer/quota_used_count"
|
||||
//
|
||||
// 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,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,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 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 {
|
||||
return m.OperationId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaResponse) GetAllocateErrors() []*QuotaError {
|
||||
if m != nil {
|
||||
return m.AllocateErrors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaResponse) GetQuotaMetrics() []*MetricValueSet {
|
||||
if m != nil {
|
||||
return m.QuotaMetrics
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AllocateQuotaResponse) GetServiceConfigId() string {
|
||||
if m != nil {
|
||||
return m.ServiceConfigId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Represents error information for [QuotaOperation][google.api.servicecontrol.v1.QuotaOperation].
|
||||
type QuotaError struct {
|
||||
// Error code.
|
||||
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,proto3" json:"subject,omitempty"`
|
||||
// Free-form text that provides details on the cause of the error.
|
||||
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 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 {
|
||||
return m.Code
|
||||
}
|
||||
return QuotaError_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *QuotaError) GetSubject() string {
|
||||
if m != nil {
|
||||
return m.Subject
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QuotaError) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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)
|
||||
proto.RegisterEnum("google.api.servicecontrol.v1.QuotaError_Code", QuotaError_Code_name, QuotaError_Code_value)
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// QuotaControllerClient is the client API for QuotaController service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type QuotaControllerClient interface {
|
||||
// Attempts to allocate quota for the specified consumer. It should be called
|
||||
// before the operation is executed.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.quota`
|
||||
// permission on the specified service. For more information, see
|
||||
// [Cloud IAM](https://cloud.google.com/iam).
|
||||
//
|
||||
// **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
||||
// `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
||||
// reliability, the server may inject these errors to prohibit any hard
|
||||
// dependency on the quota functionality.
|
||||
AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error)
|
||||
}
|
||||
|
||||
type quotaControllerClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewQuotaControllerClient(cc *grpc.ClientConn) QuotaControllerClient {
|
||||
return "aControllerClient{cc}
|
||||
}
|
||||
|
||||
func (c *quotaControllerClient) AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error) {
|
||||
out := new(AllocateQuotaResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.QuotaController/AllocateQuota", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// QuotaControllerServer is the server API for QuotaController service.
|
||||
type QuotaControllerServer interface {
|
||||
// Attempts to allocate quota for the specified consumer. It should be called
|
||||
// before the operation is executed.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.quota`
|
||||
// permission on the specified service. For more information, see
|
||||
// [Cloud IAM](https://cloud.google.com/iam).
|
||||
//
|
||||
// **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
||||
// `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
||||
// reliability, the server may inject these errors to prohibit any hard
|
||||
// dependency on the quota functionality.
|
||||
AllocateQuota(context.Context, *AllocateQuotaRequest) (*AllocateQuotaResponse, error)
|
||||
}
|
||||
|
||||
func RegisterQuotaControllerServer(s *grpc.Server, srv QuotaControllerServer) {
|
||||
s.RegisterService(&_QuotaController_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _QuotaController_AllocateQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(AllocateQuotaRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(QuotaControllerServer).AllocateQuota(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.servicecontrol.v1.QuotaController/AllocateQuota",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(QuotaControllerServer).AllocateQuota(ctx, req.(*AllocateQuotaRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _QuotaController_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.api.servicecontrol.v1.QuotaController",
|
||||
HandlerType: (*QuotaControllerServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "AllocateQuota",
|
||||
Handler: _QuotaController_AllocateQuota_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/servicecontrol/v1/quota_controller.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor_quota_controller_5358e5cb4c246776)
|
||||
}
|
||||
|
||||
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,
|
||||
0xb5, 0x46, 0x21, 0x55, 0x95, 0xa6, 0x2b, 0x30, 0x93, 0xc6, 0x09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 0xa7, 0x01, 0x8f, 0x44, 0x16, 0x4a, 0xa8,
|
||||
0x22, 0xd6, 0xbe, 0x52, 0x56, 0x65, 0xa1, 0xf0, 0xa3, 0x3a, 0x53, 0x8e, 0xbe, 0x33, 0xd5, 0x99,
|
||||
0x41, 0xf8, 0x00, 0x76, 0xa6, 0xe7, 0x5b, 0xcc, 0xfb, 0xd9, 0x19, 0x1a, 0x8e, 0x2d, 0x67, 0x79,
|
||||
0x10, 0x85, 0xf4, 0x87, 0xca, 0x71, 0xcd, 0x2e, 0xbf, 0xce, 0x40, 0x7e, 0x51, 0x31, 0x0e, 0x7f,
|
||||
0x16, 0x52, 0xcc, 0x4c, 0xc3, 0x9f, 0x61, 0x9a, 0x8d, 0xf7, 0x41, 0x1c, 0xd1, 0xe8, 0x17, 0x66,
|
||||
0x27, 0x09, 0x0a, 0x7c, 0x07, 0x24, 0x10, 0xcf, 0x6f, 0x1f, 0x44, 0x8b, 0x79, 0xe1, 0x78, 0x44,
|
||||
0x83, 0x58, 0x22, 0x93, 0x6c, 0x98, 0x42, 0x9a, 0x8d, 0xbb, 0x90, 0x73, 0xcd, 0x3b, 0xea, 0x86,
|
||||
0x72, 0xb6, 0x94, 0xa9, 0x88, 0xb5, 0xe3, 0x75, 0x92, 0x56, 0x5a, 0x9c, 0x4a, 0xbc, 0x28, 0x78,
|
||||
0xd4, 0x53, 0x1d, 0x7c, 0x05, 0xdb, 0x49, 0x57, 0x24, 0x56, 0x85, 0xf2, 0x06, 0x17, 0x7e, 0x4f,
|
||||
0x35, 0x2f, 0xf9, 0xe6, 0xeb, 0xd8, 0xd6, 0x1e, 0x8d, 0xf4, 0x2d, 0x2e, 0x91, 0x80, 0x21, 0x1e,
|
||||
0x00, 0xa4, 0x92, 0xcc, 0xa6, 0x72, 0xae, 0x84, 0x2a, 0xf9, 0xda, 0xb7, 0x6b, 0x05, 0xca, 0x97,
|
||||
0x97, 0xcc, 0xa6, 0xfa, 0xe6, 0xc3, 0xf4, 0xb3,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0x1e, 0x7f, 0x02, 0xd2, 0x27, 0xc3, 0xf4, 0x9d, 0x70, 0xf9, 0xb3, 0xf1,
|
||||
0xfd, 0x22, 0xf2, 0x06, 0xa1, 0xbb, 0x1c, 0x67, 0x1e, 0xbd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbb,
|
||||
0x98, 0x03, 0x4f, 0xe0, 0x06, 0x00, 0x00,
|
||||
}
|
648
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go
generated
vendored
648
vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go
generated
vendored
@ -1,648 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/servicecontrol/v1/service_controller.proto
|
||||
|
||||
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 status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
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 the Check method.
|
||||
type CheckRequest struct {
|
||||
// The service name as specified in its service configuration. For example,
|
||||
// `"pubsub.googleapis.com"`.
|
||||
//
|
||||
// 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,proto3" json:"service_name,omitempty"`
|
||||
// The operation to be checked.
|
||||
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,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 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 {
|
||||
return m.ServiceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetOperation() *Operation {
|
||||
if m != nil {
|
||||
return m.Operation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetServiceConfigId() string {
|
||||
if m != nil {
|
||||
return m.ServiceConfigId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Response message for the Check method.
|
||||
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,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,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,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,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 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 {
|
||||
return m.OperationId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CheckResponse) GetCheckErrors() []*CheckError {
|
||||
if m != nil {
|
||||
return m.CheckErrors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckResponse) GetServiceConfigId() string {
|
||||
if m != nil {
|
||||
return m.ServiceConfigId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CheckResponse) GetCheckInfo() *CheckResponse_CheckInfo {
|
||||
if m != nil {
|
||||
return m.CheckInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CheckResponse_CheckInfo struct {
|
||||
// Consumer info of this check.
|
||||
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 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 {
|
||||
return m.ConsumerInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// `ConsumerInfo` provides information about the consumer project.
|
||||
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,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 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 {
|
||||
return m.ProjectNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Request message for the Report method.
|
||||
type ReportRequest struct {
|
||||
// The service name as specified in its service configuration. For example,
|
||||
// `"pubsub.googleapis.com"`.
|
||||
//
|
||||
// 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,proto3" json:"service_name,omitempty"`
|
||||
// Operations to be reported.
|
||||
//
|
||||
// Typically the service should report one operation per request.
|
||||
// Putting multiple operations into a single request is allowed, but should
|
||||
// be used only when multiple operations are natually available at the time
|
||||
// of the report.
|
||||
//
|
||||
// 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,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,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 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 {
|
||||
return m.ServiceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReportRequest) GetOperations() []*Operation {
|
||||
if m != nil {
|
||||
return m.Operations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReportRequest) GetServiceConfigId() string {
|
||||
if m != nil {
|
||||
return m.ServiceConfigId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Response message for the Report method.
|
||||
type ReportResponse struct {
|
||||
// Partial failures, one for each `Operation` in the request that failed
|
||||
// processing. There are three possible combinations of the RPC status:
|
||||
//
|
||||
// 1. The combination of a successful RPC status and an empty `report_errors`
|
||||
// list indicates a complete success where all `Operations` in the
|
||||
// request are processed successfully.
|
||||
// 2. The combination of a successful RPC status and a non-empty
|
||||
// `report_errors` list indicates a partial success where some
|
||||
// `Operations` in the request succeeded. Each
|
||||
// `Operation` that failed processing has a corresponding item
|
||||
// in this list.
|
||||
// 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,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,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 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 {
|
||||
return m.ReportErrors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ReportResponse) GetServiceConfigId() string {
|
||||
if m != nil {
|
||||
return m.ServiceConfigId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// 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,proto3" json:"operation_id,omitempty"`
|
||||
// Details of the error when processing the [Operation][google.api.servicecontrol.v1.Operation].
|
||||
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 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 {
|
||||
return m.OperationId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReportResponse_ReportError) GetStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*CheckRequest)(nil), "google.api.servicecontrol.v1.CheckRequest")
|
||||
proto.RegisterType((*CheckResponse)(nil), "google.api.servicecontrol.v1.CheckResponse")
|
||||
proto.RegisterType((*CheckResponse_CheckInfo)(nil), "google.api.servicecontrol.v1.CheckResponse.CheckInfo")
|
||||
proto.RegisterType((*CheckResponse_ConsumerInfo)(nil), "google.api.servicecontrol.v1.CheckResponse.ConsumerInfo")
|
||||
proto.RegisterType((*ReportRequest)(nil), "google.api.servicecontrol.v1.ReportRequest")
|
||||
proto.RegisterType((*ReportResponse)(nil), "google.api.servicecontrol.v1.ReportResponse")
|
||||
proto.RegisterType((*ReportResponse_ReportError)(nil), "google.api.servicecontrol.v1.ReportResponse.ReportError")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// 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
|
||||
// operation is executed.
|
||||
//
|
||||
// If feasible, the client should cache the check results and reuse them for
|
||||
// 60 seconds. In case of server errors, the client can rely on the cached
|
||||
// results for longer time.
|
||||
//
|
||||
// NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has the size limit of 64KB.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.check` permission
|
||||
// on the specified service. For more information, see
|
||||
// [Google Cloud IAM](https://cloud.google.com/iam).
|
||||
Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
|
||||
// Reports operation results to Google Service Control, such as logs and
|
||||
// metrics. It should be called after an operation is completed.
|
||||
//
|
||||
// If feasible, the client should aggregate reporting data for up to 5
|
||||
// seconds to reduce API traffic. Limiting aggregation to 5 seconds is to
|
||||
// reduce data loss during client crashes. Clients should carefully choose
|
||||
// the aggregation time window to avoid data loss risk more than 0.01%
|
||||
// for business and compliance reasons.
|
||||
//
|
||||
// NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has the size limit of 1MB.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.report` permission
|
||||
// on the specified service. For more information, see
|
||||
// [Google Cloud IAM](https://cloud.google.com/iam).
|
||||
Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error)
|
||||
}
|
||||
|
||||
type serviceControllerClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewServiceControllerClient(cc *grpc.ClientConn) ServiceControllerClient {
|
||||
return &serviceControllerClient{cc}
|
||||
}
|
||||
|
||||
func (c *serviceControllerClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) {
|
||||
out := new(CheckResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Check", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *serviceControllerClient) Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) {
|
||||
out := new(ReportResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Report", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// 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
|
||||
// operation is executed.
|
||||
//
|
||||
// If feasible, the client should cache the check results and reuse them for
|
||||
// 60 seconds. In case of server errors, the client can rely on the cached
|
||||
// results for longer time.
|
||||
//
|
||||
// NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has the size limit of 64KB.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.check` permission
|
||||
// on the specified service. For more information, see
|
||||
// [Google Cloud IAM](https://cloud.google.com/iam).
|
||||
Check(context.Context, *CheckRequest) (*CheckResponse, error)
|
||||
// Reports operation results to Google Service Control, such as logs and
|
||||
// metrics. It should be called after an operation is completed.
|
||||
//
|
||||
// If feasible, the client should aggregate reporting data for up to 5
|
||||
// seconds to reduce API traffic. Limiting aggregation to 5 seconds is to
|
||||
// reduce data loss during client crashes. Clients should carefully choose
|
||||
// the aggregation time window to avoid data loss risk more than 0.01%
|
||||
// for business and compliance reasons.
|
||||
//
|
||||
// NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has the size limit of 1MB.
|
||||
//
|
||||
// This method requires the `servicemanagement.services.report` permission
|
||||
// on the specified service. For more information, see
|
||||
// [Google Cloud IAM](https://cloud.google.com/iam).
|
||||
Report(context.Context, *ReportRequest) (*ReportResponse, error)
|
||||
}
|
||||
|
||||
func RegisterServiceControllerServer(s *grpc.Server, srv ServiceControllerServer) {
|
||||
s.RegisterService(&_ServiceController_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _ServiceController_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CheckRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ServiceControllerServer).Check(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.servicecontrol.v1.ServiceController/Check",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ServiceControllerServer).Check(ctx, req.(*CheckRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ServiceController_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ReportRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ServiceControllerServer).Report(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.servicecontrol.v1.ServiceController/Report",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ServiceControllerServer).Report(ctx, req.(*ReportRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _ServiceController_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.api.servicecontrol.v1.ServiceController",
|
||||
HandlerType: (*ServiceControllerServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "Check",
|
||||
Handler: _ServiceController_Check_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Report",
|
||||
Handler: _ServiceController_Report_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/servicecontrol/v1/service_controller.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor_service_controller_3b2da1557482bc9c)
|
||||
}
|
||||
|
||||
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,
|
||||
0x34, 0x4a, 0x8b, 0xad, 0x16, 0x55, 0x42, 0xe1, 0x44, 0xa3, 0xaa, 0x0a, 0x48, 0xa5, 0x72, 0x38,
|
||||
0x21, 0xaa, 0xc8, 0xdd, 0x6c, 0x8c, 0x4b, 0xb2, 0x6b, 0xd6, 0x4e, 0x2e, 0x88, 0x0b, 0x0f, 0xc0,
|
||||
0xa1, 0xbc, 0x01, 0xaa, 0xc4, 0x33, 0xf0, 0x1c, 0xbc, 0x02, 0x0f, 0x01, 0x37, 0x94,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0x7a, 0x57, 0x55, 0x59, 0xe0, 0xd1, 0xef, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0x5e, 0x28, 0x7b, 0xe6, 0xb7, 0x06, 0x00, 0x00,
|
||||
}
|
1036
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go
generated
vendored
1036
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
2007
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go
generated
vendored
2007
vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
99
vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go
generated
vendored
99
vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go
generated
vendored
@ -1,99 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/legacy/audit_data.proto
|
||||
|
||||
package legacy // import "google.golang.org/genproto/googleapis/appengine/legacy"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Admin Console legacy audit log.
|
||||
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,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,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 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 {
|
||||
return m.EventMessage
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuditData) GetEventData() map[string]string {
|
||||
if m != nil {
|
||||
return m.EventData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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", fileDescriptor_audit_data_066939fa5b0d8e90)
|
||||
}
|
||||
|
||||
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,
|
||||
0xf5, 0x22, 0xfe, 0x39, 0x58, 0xec, 0x51, 0x58, 0x7a, 0xf4, 0x52, 0xc6, 0x76, 0x18, 0x16, 0xb7,
|
||||
0x49, 0xd8, 0x4d, 0x0b, 0xfb, 0xed, 0xfc, 0x68, 0x92, 0xa4, 0x2e, 0x48, 0xe9, 0x29, 0x33, 0x6f,
|
||||
0x7e, 0x99, 0x79, 0x3c, 0x28, 0xd9, 0x5a, 0x6e, 0x48, 0xa3, 0x73, 0x64, 0xb8, 0x36, 0xa4, 0x1b,
|
||||
0x62, 0x5c, 0xf6, 0x1a, 0x37, 0xab, 0xda, 0x2f, 0x56, 0xe8, 0x51, 0xb9, 0xd6, 0x7a, 0x2b, 0x2f,
|
||||
0x13, 0xa9, 0x06, 0x52, 0x25, 0xf2, 0xe6, 0x47, 0x40, 0xfe, 0x16, 0xe8, 0x77, 0xf4, 0x28, 0x6f,
|
||||
0xe1, 0x8c, 0xb6, 0x64, 0xfc, 0x62, 0x4d, 0x5d, 0x87, 0x4c, 0x85, 0x98, 0x88, 0x32, 0x9f, 0x9f,
|
||||
0x46, 0xf1, 0x23, 0x69, 0xb2, 0x02, 0x48, 0x50, 0xd8, 0x5f, 0x64, 0x93, 0x51, 0x79, 0x72, 0x7f,
|
||||
0xa7, 0x0e, 0x1c, 0x50, 0xc3, 0x72, 0x35, 0x0b, 0x9f, 0x42, 0x35, 0x33, 0xbe, 0xed, 0xe7, 0x39,
|
||||
0xfd, 0xf5, 0x57, 0x2f, 0x30, 0xfe, 0x3f, 0x94, 0xe7, 0x30, 0xfa, 0xa6, 0x7e, 0x77, 0x3e, 0x94,
|
||||
0xf2, 0x02, 0x8e, 0xb6, 0xd8, 0x6c, 0xa8, 0xc8, 0xa2, 0x96, 0x9a, 0xa7, 0xec, 0x51, 0x4c, 0x0d,
|
||||
0x5c, 0x2f, 0xed, 0xfa, 0x90, 0x81, 0xe9, 0x78, 0x70, 0x50, 0x85, 0x28, 0x2a, 0xf1, 0xf9, 0xba,
|
||||
0x43, 0xd9, 0x36, 0x68, 0x58, 0xd9, 0x96, 0x35, 0x93, 0x89, 0x41, 0xe9, 0x34, 0x42, 0x57, 0x77,
|
||||
0x7b, 0xa9, 0x3e, 0xa7, 0xe7, 0xeb, 0x38, 0x92, 0x0f, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4e,
|
||||
0x5d, 0x14, 0xaa, 0x7e, 0x01, 0x00, 0x00,
|
||||
}
|
616
vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go
generated
vendored
616
vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go
generated
vendored
@ -1,616 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/logging/v1/request_log.proto
|
||||
|
||||
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 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
|
||||
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
|
||||
|
||||
// Application log line emitted while processing a request.
|
||||
type LogLine struct {
|
||||
// Approximate time when this log entry was made.
|
||||
Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
|
||||
// Severity of this log entry.
|
||||
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,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,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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_LogLine proto.InternalMessageInfo
|
||||
|
||||
func (m *LogLine) GetTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.Time
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogLine) GetSeverity() _type.LogSeverity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return _type.LogSeverity_DEFAULT
|
||||
}
|
||||
|
||||
func (m *LogLine) GetLogMessage() string {
|
||||
if m != nil {
|
||||
return m.LogMessage
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LogLine) GetSourceLocation() *SourceLocation {
|
||||
if m != nil {
|
||||
return m.SourceLocation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Specifies a location in a source code file.
|
||||
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,proto3" json:"file,omitempty"`
|
||||
// Line within the source file.
|
||||
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,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 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 {
|
||||
return m.File
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourceLocation) GetLine() int64 {
|
||||
if m != nil {
|
||||
return m.Line
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SourceLocation) GetFunctionName() string {
|
||||
if m != nil {
|
||||
return m.FunctionName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A reference to a particular snapshot of the source tree used to build and
|
||||
// deploy an application.
|
||||
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,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,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 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 {
|
||||
return m.Repository
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourceReference) GetRevisionId() string {
|
||||
if m != nil {
|
||||
return m.RevisionId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Complete log information about a single HTTP request to an App Engine
|
||||
// application.
|
||||
type RequestLog struct {
|
||||
// Application that handled this request.
|
||||
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,proto3" json:"module_id,omitempty"`
|
||||
// Version of the application that handled this request.
|
||||
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,proto3" json:"request_id,omitempty"`
|
||||
// Origin IP address.
|
||||
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
|
||||
// Time when the request started.
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
// Time when the request finished.
|
||||
EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
||||
// Latency of the request.
|
||||
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,proto3" json:"mega_cycles,omitempty"`
|
||||
// Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`.
|
||||
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,proto3" json:"resource,omitempty"`
|
||||
// HTTP version of request. Example: `"HTTP/1.1"`.
|
||||
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,proto3" json:"status,omitempty"`
|
||||
// Size in bytes sent back to client by request.
|
||||
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,proto3" json:"referrer,omitempty"`
|
||||
// User agent that made the request.
|
||||
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
|
||||
// field value is the same for different requests from the same user, but
|
||||
// different users can have similar names. This information is also
|
||||
// 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,proto3" json:"nickname,omitempty"`
|
||||
// File or class that handled the request.
|
||||
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,proto3" json:"host,omitempty"`
|
||||
// An indication of the relative cost of serving this request.
|
||||
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,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,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,proto3" json:"was_loading_request,omitempty"`
|
||||
// Time this request spent in the pending request queue.
|
||||
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,proto3" json:"instance_index,omitempty"`
|
||||
// Whether this request is finished or active.
|
||||
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,proto3" json:"first,omitempty"`
|
||||
// An identifier for the instance that handled the request.
|
||||
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,proto3" json:"line,omitempty"`
|
||||
// App Engine release version.
|
||||
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,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,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 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 {
|
||||
return m.AppId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetModuleId() string {
|
||||
if m != nil {
|
||||
return m.ModuleId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetVersionId() string {
|
||||
if m != nil {
|
||||
return m.VersionId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetRequestId() string {
|
||||
if m != nil {
|
||||
return m.RequestId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetIp() string {
|
||||
if m != nil {
|
||||
return m.Ip
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetLatency() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.Latency
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetMegaCycles() int64 {
|
||||
if m != nil {
|
||||
return m.MegaCycles
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetMethod() string {
|
||||
if m != nil {
|
||||
return m.Method
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetResource() string {
|
||||
if m != nil {
|
||||
return m.Resource
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetHttpVersion() string {
|
||||
if m != nil {
|
||||
return m.HttpVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetStatus() int32 {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetResponseSize() int64 {
|
||||
if m != nil {
|
||||
return m.ResponseSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetReferrer() string {
|
||||
if m != nil {
|
||||
return m.Referrer
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetUserAgent() string {
|
||||
if m != nil {
|
||||
return m.UserAgent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetNickname() string {
|
||||
if m != nil {
|
||||
return m.Nickname
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetUrlMapEntry() string {
|
||||
if m != nil {
|
||||
return m.UrlMapEntry
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetHost() string {
|
||||
if m != nil {
|
||||
return m.Host
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetCost() float64 {
|
||||
if m != nil {
|
||||
return m.Cost
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetTaskQueueName() string {
|
||||
if m != nil {
|
||||
return m.TaskQueueName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetTaskName() string {
|
||||
if m != nil {
|
||||
return m.TaskName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetWasLoadingRequest() bool {
|
||||
if m != nil {
|
||||
return m.WasLoadingRequest
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetPendingTime() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.PendingTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetInstanceIndex() int32 {
|
||||
if m != nil {
|
||||
return m.InstanceIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetFinished() bool {
|
||||
if m != nil {
|
||||
return m.Finished
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetFirst() bool {
|
||||
if m != nil {
|
||||
return m.First
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetInstanceId() string {
|
||||
if m != nil {
|
||||
return m.InstanceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetLine() []*LogLine {
|
||||
if m != nil {
|
||||
return m.Line
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetAppEngineRelease() string {
|
||||
if m != nil {
|
||||
return m.AppEngineRelease
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetTraceId() string {
|
||||
if m != nil {
|
||||
return m.TraceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetSourceReference() []*SourceReference {
|
||||
if m != nil {
|
||||
return m.SourceReference
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*LogLine)(nil), "google.appengine.logging.v1.LogLine")
|
||||
proto.RegisterType((*SourceLocation)(nil), "google.appengine.logging.v1.SourceLocation")
|
||||
proto.RegisterType((*SourceReference)(nil), "google.appengine.logging.v1.SourceReference")
|
||||
proto.RegisterType((*RequestLog)(nil), "google.appengine.logging.v1.RequestLog")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor_request_log_c4e4bcec179d2e52)
|
||||
}
|
||||
|
||||
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,
|
||||
0x40, 0xd9, 0x53, 0x53, 0x21, 0x81, 0xe8, 0x3f, 0x04, 0xfa, 0xc7, 0x49, 0x57, 0x54, 0x36, 0x15,
|
||||
0x48, 0x48, 0x68, 0xe5, 0xee, 0xce, 0x6d, 0xac, 0xee, 0xda, 0xae, 0xed, 0xbd, 0xf6, 0xfa, 0x41,
|
||||
0xf8, 0x98, 0x7c, 0x06, 0xe4, 0xb1, 0xf7, 0x4a, 0x00, 0x25, 0xfc, 0xb7, 0xf3, 0xe6, 0xbd, 0xf1,
|
||||
0xd8, 0x7e, 0x9e, 0x25, 0x5f, 0x55, 0x4a, 0x55, 0x35, 0x4c, 0xb8, 0xd6, 0x20, 0x2b, 0x21, 0x61,
|
||||
0x52, 0xab, 0xaa, 0x12, 0xb2, 0x9a, 0x2c, 0x1e, 0x4d, 0x0c, 0xbc, 0x6e, 0xc1, 0xba, 0xbc, 0x56,
|
||||
0x55, 0xaa, 0x8d, 0x72, 0x8a, 0x1e, 0x05, 0x7a, 0xba, 0xa2, 0xa7, 0x91, 0x9e, 0x2e, 0x1e, 0x1d,
|
||||
0x9e, 0xc6, 0x5a, 0x5d, 0x05, 0xb7, 0xd4, 0x18, 0x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0x6f, 0xba, 0x96, 0x77, 0x3a, 0xf0, 0x27, 0xde, 0xc0,
|
||||
0x49, 0x46, 0xf6, 0x42, 0xf9, 0x0c, 0xe6, 0x60, 0x40, 0x16, 0x40, 0xef, 0x13, 0x62, 0x40, 0x2b,
|
||||
0x2b, 0x9c, 0x32, 0xcb, 0xb8, 0xca, 0xdf, 0x10, 0x7f, 0x10, 0x06, 0x16, 0xc2, 0xfa, 0xba, 0xa2,
|
||||
0xc4, 0x25, 0x91, 0x10, 0xa0, 0x69, 0x79, 0xf2, 0x47, 0x9f, 0x90, 0x2c, 0xf8, 0x67, 0xa6, 0x2a,
|
||||
0x7a, 0x87, 0x6c, 0x71, 0xad, 0x3d, 0x35, 0xd4, 0xda, 0xe4, 0x5a, 0x4f, 0x4b, 0x7a, 0x44, 0xfa,
|
||||
0x8d, 0x2a, 0xdb, 0x1a, 0x7c, 0xe6, 0x01, 0x66, 0x7a, 0x01, 0x98, 0x96, 0xf4, 0x1e, 0x21, 0x0b,
|
||||
0x30, 0x57, 0x97, 0xe8, 0x47, 0x24, 0xa4, 0x3b, 0x83, 0x8a, 0x32, 0xee, 0xab, 0x1f, 0x91, 0x69,
|
||||
0x49, 0x87, 0x64, 0x4d, 0x68, 0x3c, 0xfc, 0x7e, 0xb6, 0x26, 0x34, 0xfd, 0x96, 0x10, 0xeb, 0xb8,
|
||||
0x71, 0x39, 0xda, 0x65, 0xeb, 0x46, 0xbb, 0xf4, 0x91, 0xed, 0x63, 0xfa, 0x35, 0xe9, 0x81, 0x2c,
|
||||
0x83, 0x70, 0xfb, 0x46, 0xe1, 0x36, 0xc8, 0x12, 0x65, 0x8f, 0xc9, 0x76, 0xcd, 0x1d, 0xc8, 0x62,
|
||||
0xc9, 0x7a, 0xa8, 0x3a, 0xf8, 0x97, 0xea, 0xc7, 0xe8, 0xfc, 0xac, 0x63, 0xfa, 0x83, 0x6d, 0xa0,
|
||||
0xe2, 0x79, 0xb1, 0x2c, 0x6a, 0xb0, 0xac, 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0x53, 0xb8, 0x8b, 0x92, 0x5d, 0x0f, 0xff, 0xec, 0x51, 0xff, 0x16, 0xbc, 0x23,
|
||||
0x91, 0x87, 0x8c, 0x0f, 0x43, 0x43, 0x1e, 0xc0, 0x64, 0x4a, 0x3e, 0x78, 0xc3, 0x6d, 0x5e, 0x2b,
|
||||
0x5e, 0x0a, 0x59, 0xe5, 0xd1, 0x6c, 0x8c, 0x8d, 0x92, 0x71, 0x2f, 0xbb, 0xf5, 0x86, 0xdb, 0x59,
|
||||
0xc8, 0x44, 0xe3, 0xd3, 0x27, 0x64, 0x47, 0x83, 0x44, 0x2e, 0x9a, 0xe7, 0xe0, 0x26, 0x1b, 0x0c,
|
||||
0x22, 0x1d, 0xfd, 0xf3, 0x80, 0x0c, 0x85, 0xb4, 0x8e, 0xcb, 0x02, 0x72, 0x21, 0x4b, 0x78, 0xcb,
|
||||
0x0e, 0xf1, 0x6a, 0x76, 0x3b, 0x74, 0xea, 0x41, 0x7f, 0x82, 0x73, 0x21, 0x85, 0xbd, 0x84, 0x92,
|
||||
0x1d, 0x61, 0x27, 0xab, 0x98, 0xde, 0x26, 0x9b, 0x73, 0x61, 0xac, 0x63, 0x5f, 0x60, 0x22, 0x04,
|
||||
0xde, 0x63, 0xef, 0x0b, 0x97, 0xec, 0xa3, 0xf0, 0x78, 0x57, 0x55, 0x4b, 0xfa, 0x4d, 0x9c, 0x24,
|
||||
0xf7, 0x46, 0xeb, 0xe3, 0xc1, 0xd9, 0xa7, 0xd7, 0x8e, 0xae, 0x38, 0x88, 0xe3, 0xbc, 0x79, 0x48,
|
||||
0xa8, 0x7f, 0xe7, 0x81, 0x96, 0x1b, 0xa8, 0x81, 0x5b, 0x60, 0xa7, 0xb8, 0xc2, 0x3e, 0xd7, 0xfa,
|
||||
0x29, 0x26, 0xb2, 0x80, 0xd3, 0x03, 0xd2, 0x73, 0x86, 0x87, 0x2e, 0x3e, 0x43, 0xce, 0x36, 0xc6,
|
||||
0xd3, 0x92, 0xfe, 0x4a, 0xf6, 0xe3, 0x20, 0x35, 0xdd, 0x50, 0x62, 0x9f, 0x63, 0x3b, 0x0f, 0xff,
|
||||
0xc7, 0x24, 0x5d, 0x0d, 0xb2, 0x2c, 0x8e, 0xe3, 0x15, 0x70, 0xfe, 0x96, 0x1c, 0x17, 0xaa, 0xb9,
|
||||
0xae, 0xc6, 0xf9, 0xde, 0xfb, 0xc1, 0xf5, 0xdc, 0x5f, 0xd1, 0xf3, 0xe4, 0xb7, 0xf3, 0xc8, 0xaf,
|
||||
0x54, 0xcd, 0x65, 0x95, 0x2a, 0x53, 0x4d, 0x2a, 0x90, 0x78, 0x81, 0x93, 0x90, 0xe2, 0x5a, 0xd8,
|
||||
0xff, 0xfc, 0x8d, 0x7e, 0x17, 0x3f, 0x5f, 0x6e, 0x21, 0xfd, 0xf1, 0x5f, 0x01, 0x00, 0x00, 0xff,
|
||||
0xff, 0x05, 0xf7, 0x68, 0xa8, 0x74, 0x07, 0x00, 0x00,
|
||||
}
|
1024
vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go
generated
vendored
1024
vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1764
vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go
generated
vendored
1764
vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
274
vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go
generated
vendored
274
vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go
generated
vendored
@ -1,274 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/application.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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 {
|
||||
// Full path to the Application resource in the API.
|
||||
// Example: `apps/myapp`.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,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,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,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.
|
||||
//
|
||||
// Defaults to `us-central`.
|
||||
//
|
||||
// Options are:
|
||||
//
|
||||
// `us-central` - Central US
|
||||
//
|
||||
// `europe-west` - Western Europe
|
||||
//
|
||||
// `us-east1` - Eastern US
|
||||
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,proto3" json:"code_bucket,omitempty"`
|
||||
// Cookie expiration policy for this application.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Application) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Application) GetDispatchRules() []*UrlDispatchRule {
|
||||
if m != nil {
|
||||
return m.DispatchRules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Application) GetAuthDomain() string {
|
||||
if m != nil {
|
||||
return m.AuthDomain
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Application) GetLocationId() string {
|
||||
if m != nil {
|
||||
return m.LocationId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Application) GetCodeBucket() string {
|
||||
if m != nil {
|
||||
return m.CodeBucket
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Application) GetDefaultCookieExpiration() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.DefaultCookieExpiration
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Application) GetDefaultHostname() string {
|
||||
if m != nil {
|
||||
return m.DefaultHostname
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Application) GetDefaultBucket() string {
|
||||
if m != nil {
|
||||
return m.DefaultBucket
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Rules to match an HTTP request and dispatch that request to a service.
|
||||
type UrlDispatchRule struct {
|
||||
// Domain name to match against. The wildcard "`*`" is supported if
|
||||
// specified before a period: "`*.`".
|
||||
//
|
||||
// Defaults to matching all domains: "`*`".
|
||||
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,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,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 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 {
|
||||
return m.Domain
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UrlDispatchRule) GetPath() string {
|
||||
if m != nil {
|
||||
return m.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UrlDispatchRule) GetService() string {
|
||||
if m != nil {
|
||||
return m.Service
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Application)(nil), "google.appengine.v1.Application")
|
||||
proto.RegisterType((*UrlDispatchRule)(nil), "google.appengine.v1.UrlDispatchRule")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor_application_d5f9ae7b7e94b936)
|
||||
}
|
||||
|
||||
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,
|
||||
0xf6, 0x62, 0x93, 0xec, 0x71, 0x7b, 0x59, 0x9a, 0x42, 0x4b, 0x5f, 0x82, 0x21, 0x14, 0xfa, 0x62,
|
||||
0x14, 0x4b, 0xb1, 0x45, 0x14, 0xc9, 0xd8, 0x72, 0xe8, 0x67, 0xe8, 0xa7, 0x2e, 0x96, 0x64, 0x37,
|
||||
0x2d, 0x79, 0xd3, 0x3d, 0xfa, 0x1d, 0xdd, 0xeb, 0x73, 0x0d, 0xe6, 0x89, 0x94, 0x09, 0xa7, 0x01,
|
||||
0xce, 0x32, 0x2a, 0x12, 0x26, 0x68, 0x70, 0x5e, 0x56, 0x05, 0x67, 0x31, 0x56, 0x4c, 0x0a, 0x3f,
|
||||
0xcb, 0xa5, 0x92, 0xf0, 0xab, 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 0x47, 0xd6, 0x7b, 0xa3, 0xad, 0xb7, 0x8d, 0x13, 0xfe, 0x06, 0xc3, 0xfa,
|
||||
0xd9, 0x54, 0x16, 0x4a, 0xc7, 0xe6, 0xe9, 0xe6, 0x03, 0xab, 0xdf, 0x59, 0x19, 0xce, 0x41, 0xbf,
|
||||
0x46, 0xed, 0x94, 0x5f, 0x34, 0xd8, 0xb3, 0xaa, 0x19, 0x74, 0xf6, 0x08, 0x06, 0x1f, 0xd2, 0x82,
|
||||
0xdf, 0x40, 0xdb, 0x26, 0x63, 0x36, 0x62, 0xab, 0x6a, 0x4f, 0x19, 0x56, 0xa9, 0xdd, 0x8a, 0x3e,
|
||||
0x43, 0x04, 0x3a, 0x05, 0xcd, 0xcf, 0x2c, 0xa6, 0xc8, 0xd5, 0x72, 0x5d, 0xae, 0x8f, 0x60, 0x14,
|
||||
0xcb, 0xd3, 0xb5, 0xf5, 0xac, 0x87, 0x17, 0xdb, 0xdf, 0x56, 0x1f, 0xbf, 0x75, 0x9e, 0xfe, 0x59,
|
||||
0x30, 0x91, 0x1c, 0x8b, 0xc4, 0x97, 0x79, 0x12, 0x24, 0x54, 0xe8, 0x68, 0x02, 0x73, 0x85, 0x33,
|
||||
0x56, 0xbc, 0xfb, 0x5b, 0xff, 0x36, 0xc5, 0xbe, 0xad, 0xc1, 0x3f, 0xaf, 0x01, 0x00, 0x00, 0xff,
|
||||
0xff, 0x7a, 0x51, 0x2e, 0x3c, 0xd5, 0x02, 0x00, 0x00,
|
||||
}
|
284
vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go
generated
vendored
284
vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go
generated
vendored
@ -1,284 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/audit_data.proto
|
||||
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/iam/v1"
|
||||
|
||||
// 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
|
||||
|
||||
// App Engine admin service audit log.
|
||||
type AuditData struct {
|
||||
// Detailed information about methods that require it. Does not include
|
||||
// simple Get, List or Delete methods because all significant information
|
||||
// (resource name, number of returned elements for List operations) is already
|
||||
// included in parent audit log message.
|
||||
//
|
||||
// Types that are valid to be assigned to Method:
|
||||
// *AuditData_UpdateService
|
||||
// *AuditData_CreateVersion
|
||||
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 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,proto3,oneof"`
|
||||
}
|
||||
|
||||
type AuditData_CreateVersion struct {
|
||||
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 {
|
||||
if m != nil {
|
||||
return m.Method
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditData) GetUpdateService() *UpdateServiceMethod {
|
||||
if x, ok := m.GetMethod().(*AuditData_UpdateService); ok {
|
||||
return x.UpdateService
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditData) GetCreateVersion() *CreateVersionMethod {
|
||||
if x, ok := m.GetMethod().(*AuditData_CreateVersion); ok {
|
||||
return x.CreateVersion
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*AuditData) 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 _AuditData_OneofMarshaler, _AuditData_OneofUnmarshaler, _AuditData_OneofSizer, []interface{}{
|
||||
(*AuditData_UpdateService)(nil),
|
||||
(*AuditData_CreateVersion)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _AuditData_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*AuditData)
|
||||
// method
|
||||
switch x := m.Method.(type) {
|
||||
case *AuditData_UpdateService:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.UpdateService); err != nil {
|
||||
return err
|
||||
}
|
||||
case *AuditData_CreateVersion:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.CreateVersion); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("AuditData.Method has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _AuditData_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*AuditData)
|
||||
switch tag {
|
||||
case 1: // method.update_service
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UpdateServiceMethod)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Method = &AuditData_UpdateService{msg}
|
||||
return true, err
|
||||
case 2: // method.create_version
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(CreateVersionMethod)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Method = &AuditData_CreateVersion{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _AuditData_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*AuditData)
|
||||
// method
|
||||
switch x := m.Method.(type) {
|
||||
case *AuditData_UpdateService:
|
||||
s := proto.Size(x.UpdateService)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *AuditData_CreateVersion:
|
||||
s := proto.Size(x.CreateVersion)
|
||||
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
|
||||
}
|
||||
|
||||
// Detailed information about UpdateService call.
|
||||
type UpdateServiceMethod struct {
|
||||
// Update service request.
|
||||
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 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 {
|
||||
return m.Request
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Detailed information about CreateVersion call.
|
||||
type CreateVersionMethod struct {
|
||||
// Create version request.
|
||||
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 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 {
|
||||
return m.Request
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*AuditData)(nil), "google.appengine.v1.AuditData")
|
||||
proto.RegisterType((*UpdateServiceMethod)(nil), "google.appengine.v1.UpdateServiceMethod")
|
||||
proto.RegisterType((*CreateVersionMethod)(nil), "google.appengine.v1.CreateVersionMethod")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor_audit_data_b5f7af765ea2d3aa)
|
||||
}
|
||||
|
||||
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,
|
||||
0x15, 0x46, 0x58, 0x48, 0x19, 0x58, 0x90, 0x4a, 0x10, 0x0c, 0x5d, 0xa2, 0x23, 0x39, 0x19, 0x4b,
|
||||
0x49, 0x6c, 0x1c, 0x27, 0x12, 0xcf, 0xc6, 0xcb, 0x21, 0xdb, 0x21, 0xb4, 0xc8, 0x82, 0x8e, 0xb9,
|
||||
0xfb, 0xfe, 0x2f, 0xbf, 0x74, 0x26, 0xe7, 0x4c, 0x08, 0x56, 0x60, 0x04, 0x52, 0x62, 0xc5, 0x78,
|
||||
0x85, 0x51, 0x3b, 0x8f, 0xa0, 0xc9, 0xb9, 0x4e, 0x73, 0xd0, 0x40, 0xa5, 0x12, 0x5a, 0x84, 0x23,
|
||||
0x47, 0xd1, 0x9e, 0xa2, 0xed, 0x7c, 0x72, 0xe6, 0x8d, 0xf6, 0x84, 0x4d, 0x4e, 0x4e, 0x3a, 0x88,
|
||||
0x43, 0x69, 0xd6, 0x1c, 0xca, 0x54, 0x8a, 0x82, 0x67, 0x1f, 0x6e, 0x3f, 0xfd, 0x0c, 0xc8, 0xc1,
|
||||
0xad, 0xf9, 0xdd, 0x1d, 0x68, 0x08, 0x1f, 0xc9, 0xb0, 0x91, 0x39, 0x68, 0x4c, 0x6b, 0x54, 0x2d,
|
||||
0xcf, 0x70, 0x1c, 0x9c, 0x06, 0xb3, 0xc3, 0xcb, 0x19, 0xf5, 0x14, 0xa0, 0xcf, 0x16, 0x7d, 0x72,
|
||||
0xe4, 0x03, 0xea, 0x37, 0x91, 0xdf, 0xef, 0x24, 0x47, 0xcd, 0xfa, 0xd8, 0x28, 0x33, 0x85, 0x46,
|
||||
0xd9, 0xa2, 0xaa, 0xb9, 0xa8, 0xc6, 0xbb, 0x7f, 0x28, 0x17, 0x16, 0x7d, 0x71, 0xe4, 0x8f, 0x32,
|
||||
0x5b, 0x1f, 0xc7, 0xfb, 0x64, 0x50, 0xda, 0xd5, 0x74, 0x45, 0x46, 0x9e, 0x12, 0xe1, 0x82, 0xec,
|
||||
0x29, 0x7c, 0x6f, 0xb0, 0xd6, 0x5d, 0xff, 0x8b, 0xff, 0xfb, 0x27, 0x2e, 0x90, 0x7c, 0x27, 0x8d,
|
||||
0xdb, 0xd3, 0x66, 0x5b, 0xf7, 0x46, 0xf4, 0xb7, 0x3b, 0xe6, 0xe4, 0x38, 0x13, 0xa5, 0x2f, 0x18,
|
||||
0x0f, 0xfb, 0x6b, 0x2c, 0xcd, 0x81, 0x96, 0xc1, 0xea, 0xa6, 0xc3, 0x98, 0x28, 0xa0, 0x62, 0x54,
|
||||
0x28, 0x16, 0x31, 0xac, 0xec, 0xf9, 0x22, 0xb7, 0x02, 0xc9, 0xeb, 0x8d, 0x67, 0x70, 0xdd, 0x7f,
|
||||
0xbc, 0x0e, 0x2c, 0x78, 0xf5, 0x15, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x56, 0x80, 0x49, 0x69, 0x02,
|
||||
0x00, 0x00,
|
||||
}
|
280
vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go
generated
vendored
280
vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go
generated
vendored
@ -1,280 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/deploy.proto
|
||||
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
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
|
||||
|
||||
// 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,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,proto3" json:"container,omitempty"`
|
||||
// The zip file for this deployment, if this is a zip deployment.
|
||||
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 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 {
|
||||
return m.Files
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Deployment) GetContainer() *ContainerInfo {
|
||||
if m != nil {
|
||||
return m.Container
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Deployment) GetZip() *ZipInfo {
|
||||
if m != nil {
|
||||
return m.Zip
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Single source file that is part of the version to be deployed. Each source
|
||||
// file that is deployed must be specified separately.
|
||||
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,proto3" json:"source_url,omitempty"`
|
||||
// The SHA1 hash of the file, in hex.
|
||||
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,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 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 {
|
||||
return m.SourceUrl
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *FileInfo) GetSha1Sum() string {
|
||||
if m != nil {
|
||||
return m.Sha1Sum
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *FileInfo) GetMimeType() string {
|
||||
if m != nil {
|
||||
return m.MimeType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Docker image that is used to start a VM container for the version you
|
||||
// deploy.
|
||||
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,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 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 {
|
||||
return m.Image
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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,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,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 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 {
|
||||
return m.SourceUrl
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ZipInfo) GetFilesCount() int32 {
|
||||
if m != nil {
|
||||
return m.FilesCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
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", fileDescriptor_deploy_ed99bebbe4262e1c)
|
||||
}
|
||||
|
||||
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,
|
||||
0x3e, 0xa4, 0xec, 0xde, 0x17, 0x51, 0x1f, 0x2e, 0x9b, 0x0a, 0x7b, 0x1b, 0x55, 0x11, 0xf6, 0x52,
|
||||
0x62, 0xcd, 0x62, 0xb0, 0x4d, 0x42, 0x9b, 0x0e, 0xea, 0x7f, 0xe2, 0x7f, 0x2b, 0x49, 0xba, 0x8d,
|
||||
0x8d, 0xbe, 0xf5, 0x7c, 0xfd, 0x7d, 0x5f, 0x4e, 0x72, 0x0e, 0x24, 0x4c, 0x4a, 0x56, 0xd3, 0x9c,
|
||||
0x28, 0x45, 0x05, 0xe3, 0x82, 0xe6, 0xfb, 0x45, 0xfe, 0x8b, 0xaa, 0x5a, 0x0e, 0x58, 0xb5, 0x52,
|
||||
0x4b, 0xf4, 0xcc, 0x11, 0xf8, 0x48, 0xe0, 0xfd, 0xe2, 0xfa, 0xe6, 0x68, 0xe3, 0x39, 0x11, 0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 0x1b, 0xe1, 0xdb,
|
||||
0xa0, 0x68, 0xfa, 0x06, 0x9e, 0x9c, 0xbd, 0x03, 0x7a, 0x0e, 0x01, 0x6f, 0x08, 0xa3, 0xe3, 0x11,
|
||||
0xae, 0x48, 0xd7, 0x70, 0x35, 0x5e, 0xf9, 0xa2, 0x11, 0xff, 0xb2, 0x91, 0xd7, 0x10, 0xd9, 0x39,
|
||||
0x94, 0x95, 0xec, 0x85, 0x8e, 0x1f, 0x25, 0x5e, 0x16, 0x14, 0x60, 0xa5, 0x95, 0x51, 0x96, 0x3b,
|
||||
0x78, 0x51, 0xc9, 0x66, 0xea, 0x0d, 0x96, 0x91, 0x1b, 0xec, 0xc6, 0x2c, 0xc6, 0xc6, 0xdb, 0x7e,
|
||||
0x1c, 0x19, 0x26, 0x6b, 0x22, 0x18, 0x96, 0x2d, 0xcb, 0x19, 0x15, 0x76, 0x6d, 0x72, 0xf7, 0x8b,
|
||||
0x28, 0xde, 0x9d, 0xad, 0xe3, 0x87, 0x63, 0xf1, 0xf3, 0xb1, 0x05, 0xef, 0xff, 0x07, 0x00, 0x00,
|
||||
0xff, 0xff, 0x6e, 0xeb, 0x52, 0x5a, 0xb6, 0x02, 0x00, 0x00,
|
||||
}
|
298
vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go
generated
vendored
298
vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go
generated
vendored
@ -1,298 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/instance.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
const (
|
||||
Instance_UNSPECIFIED Instance_Availability = 0
|
||||
Instance_RESIDENT Instance_Availability = 1
|
||||
Instance_DYNAMIC Instance_Availability = 2
|
||||
)
|
||||
|
||||
var Instance_Availability_name = map[int32]string{
|
||||
0: "UNSPECIFIED",
|
||||
1: "RESIDENT",
|
||||
2: "DYNAMIC",
|
||||
}
|
||||
var Instance_Availability_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"RESIDENT": 1,
|
||||
"DYNAMIC": 2,
|
||||
}
|
||||
|
||||
func (x Instance_Availability) String() string {
|
||||
return proto.EnumName(Instance_Availability_name, int32(x))
|
||||
}
|
||||
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.
|
||||
type Instance struct {
|
||||
// Full path to the Instance resource in the API.
|
||||
// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,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,proto3" json:"app_engine_release,omitempty"`
|
||||
// Availability of the instance.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,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,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,proto3" json:"vm_id,omitempty"`
|
||||
// Time that this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,proto3" json:"requests,omitempty"`
|
||||
// Number of errors since this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,proto3" json:"qps,omitempty"`
|
||||
// Average latency (ms) over the last minute.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetAppEngineRelease() string {
|
||||
if m != nil {
|
||||
return m.AppEngineRelease
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetAvailability() Instance_Availability {
|
||||
if m != nil {
|
||||
return m.Availability
|
||||
}
|
||||
return Instance_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Instance) GetVmName() string {
|
||||
if m != nil {
|
||||
return m.VmName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetVmZoneName() string {
|
||||
if m != nil {
|
||||
return m.VmZoneName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetVmId() string {
|
||||
if m != nil {
|
||||
return m.VmId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Instance) GetRequests() int32 {
|
||||
if m != nil {
|
||||
return m.Requests
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Instance) GetErrors() int32 {
|
||||
if m != nil {
|
||||
return m.Errors
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Instance) GetQps() float32 {
|
||||
if m != nil {
|
||||
return m.Qps
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Instance) GetAverageLatency() int32 {
|
||||
if m != nil {
|
||||
return m.AverageLatency
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Instance) GetMemoryUsage() int64 {
|
||||
if m != nil {
|
||||
return m.MemoryUsage
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Instance) GetVmStatus() string {
|
||||
if m != nil {
|
||||
return m.VmStatus
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetVmDebugEnabled() bool {
|
||||
if m != nil {
|
||||
return m.VmDebugEnabled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Instance)(nil), "google.appengine.v1.Instance")
|
||||
proto.RegisterEnum("google.appengine.v1.Instance_Availability", Instance_Availability_name, Instance_Availability_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor_instance_899688eaafc2a354)
|
||||
}
|
||||
|
||||
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,
|
||||
0xcc, 0x18, 0x36, 0xed, 0xae, 0xf6, 0x71, 0xd3, 0x36, 0x1e, 0x18, 0xb6, 0x10, 0x9c, 0xf6, 0x62,
|
||||
0xbd, 0x31, 0x4a, 0xac, 0x79, 0x02, 0x4b, 0x72, 0x2d, 0x45, 0x90, 0xfd, 0xc6, 0xfd, 0xa8, 0x61,
|
||||
0x39, 0x09, 0x2d, 0xf4, 0xce, 0xcf, 0xc7, 0x41, 0xcf, 0x79, 0x0e, 0x86, 0x69, 0x29, 0x65, 0x59,
|
||||
0xd1, 0x98, 0xd4, 0x35, 0x15, 0x25, 0x13, 0x34, 0x36, 0x97, 0x31, 0x13, 0x4a, 0x13, 0xb1, 0xa6,
|
||||
0x51, 0xdd, 0x48, 0x2d, 0xd1, 0x79, 0xe7, 0x89, 0x0e, 0x9e, 0xc8, 0x5c, 0x4e, 0x5e, 0x1f, 0x06,
|
||||
0x59, 0x4c, 0x84, 0x90, 0x9a, 0x68, 0x26, 0x85, 0xea, 0x46, 0x26, 0x6f, 0x76, 0xaa, 0x45, 0xab,
|
||||
0xcd, 0xaf, 0x58, 0x33, 0x4e, 0x95, 0x26, 0xbc, 0xee, 0x0c, 0xd3, 0xbf, 0xc7, 0xe0, 0xa6, 0xbb,
|
||||
0x67, 0x10, 0x82, 0x63, 0x41, 0x38, 0xc5, 0x4e, 0xe0, 0x84, 0x83, 0xcc, 0x7e, 0xa3, 0x11, 0xf4,
|
||||
0x58, 0x81, 0x7b, 0x96, 0xe9, 0xb1, 0x02, 0x7d, 0x00, 0x44, 0xea, 0x3a, 0xef, 0x02, 0xe4, 0x0d,
|
||||
0xad, 0x28, 0x51, 0x14, 0x1f, 0x59, 0xdd, 0x27, 0x75, 0x9d, 0x58, 0x21, 0xeb, 0x78, 0x34, 0x07,
|
||||
0x8f, 0x18, 0xc2, 0x2a, 0xb2, 0x62, 0x15, 0xd3, 0x5b, 0x7c, 0x1c, 0x38, 0xe1, 0xe8, 0xea, 0x7d,
|
||||
0xf4, 0xc2, 0x26, 0xd1, 0x3e, 0x46, 0x74, 0xfd, 0x64, 0x22, 0x7b, 0x36, 0x8f, 0x2e, 0xe0, 0xd4,
|
||||
0xf0, 0xdc, 0x86, 0x3c, 0xb1, 0x4f, 0xf6, 0x0d, 0x9f, 0xb7, 0x31, 0x03, 0xf0, 0x0c, 0xcf, 0xff,
|
||||
0x48, 0x41, 0x3b, 0xb5, 0x6f, 0x55, 0x30, 0xfc, 0x41, 0x0a, 0x6a, 0x1d, 0xe7, 0x70, 0x62, 0x78,
|
||||
0xce, 0x0a, 0x7c, 0xda, 0x6d, 0x67, 0x78, 0x5a, 0xa0, 0x4f, 0x00, 0x4a, 0x93, 0x46, 0xe7, 0x6d,
|
||||
0x2f, 0xd8, 0x0d, 0x9c, 0x70, 0x78, 0x35, 0xd9, 0xa7, 0xdb, 0x97, 0x16, 0xdd, 0xed, 0x4b, 0xcb,
|
||||
0x06, 0xd6, 0xdd, 0x62, 0x34, 0x01, 0xb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, 0x6f, 0xce, 0xf6, 0xf7, 0x5d, 0xb4, 0xb5, 0x2e, 0x9c, 0x87, 0xaf, 0x3b,
|
||||
0x57, 0x29, 0x2b, 0x22, 0xca, 0x48, 0x36, 0x65, 0x5c, 0x52, 0x61, 0x4b, 0x8f, 0x3b, 0x89, 0xd4,
|
||||
0x4c, 0x3d, 0xfb, 0x23, 0xbe, 0x1c, 0xc0, 0xaa, 0x6f, 0x8d, 0x1f, 0xff, 0x05, 0x00, 0x00, 0xff,
|
||||
0xff, 0x97, 0xe7, 0x7d, 0x88, 0x39, 0x03, 0x00, 0x00,
|
||||
}
|
101
vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go
generated
vendored
101
vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go
generated
vendored
@ -1,101 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/location.proto
|
||||
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
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/type/latlng"
|
||||
|
||||
// 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.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,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,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 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 {
|
||||
return m.StandardEnvironmentAvailable
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *LocationMetadata) GetFlexibleEnvironmentAvailable() bool {
|
||||
if m != nil {
|
||||
return m.FlexibleEnvironmentAvailable
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*LocationMetadata)(nil), "google.appengine.v1.LocationMetadata")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor_location_22ad68e45e4328c7)
|
||||
}
|
||||
|
||||
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,
|
||||
0x47, 0xbd, 0x58, 0xf4, 0xa6, 0x50, 0x3c, 0x7a, 0x29, 0x93, 0x66, 0x1c, 0x17, 0xa6, 0x33, 0x4b,
|
||||
0x32, 0x04, 0xfd, 0x33, 0xfe, 0x56, 0x69, 0x36, 0x1b, 0x11, 0xea, 0x71, 0x79, 0xdf, 0xfb, 0xd8,
|
||||
0x37, 0xe5, 0x82, 0x54, 0x89, 0xd1, 0x43, 0x8c, 0x28, 0x14, 0x04, 0x7d, 0xb7, 0xf4, 0xac, 0x5b,
|
||||
0xb0, 0xa0, 0xe2, 0x62, 0xa3, 0xa6, 0x93, 0x8b, 0xc4, 0xb8, 0x91, 0x71, 0xdd, 0x72, 0x36, 0x1f,
|
||||
0x8b, 0xc1, 0x83, 0x88, 0x5a, 0xdf, 0x68, 0x53, 0x65, 0x36, 0x1d, 0x52, 0xfb, 0x8a, 0xe8, 0x19,
|
||||
0x8c, 0x85, 0x52, 0xb2, 0xf8, 0x2e, 0xca, 0xf3, 0xe7, 0xc1, 0xff, 0x82, 0x06, 0x35, 0x18, 0x4c,
|
||||
0x1e, 0xcb, 0xab, 0xd6, 0x40, 0x6a, 0x68, 0xea, 0x0d, 0x4a, 0x17, 0x1a, 0x95, 0x1d, 0x8a, 0x6d,
|
||||
0xa0, 0x83, 0xc0, 0x50, 0x31, 0x4e, 0x8f, 0xae, 0x8b, 0x9b, 0xd3, 0xd7, 0x79, 0xa6, 0x9e, 0x7e,
|
||||
0xa1, 0x87, 0xcc, 0xec, 0x2d, 0xef, 0x8c, 0x9f, 0xa1, 0x62, 0xfc, 0xc7, 0x72, 0x9c, 0x2c, 0x99,
|
||||
0x3a, 0x64, 0x59, 0x7d, 0x94, 0x97, 0x5b, 0xdd, 0xb9, 0x03, 0x9b, 0x57, 0x67, 0xf9, 0xe3, 0xeb,
|
||||
0xfd, 0x94, 0x75, 0xf1, 0x76, 0x3f, 0x50, 0xa4, 0x0c, 0x42, 0x4e, 0x1b, 0xf2, 0x84, 0xd2, 0x0f,
|
||||
0xf5, 0x29, 0x82, 0x18, 0xda, 0x3f, 0xc7, 0xbd, 0x1b, 0x1f, 0xd5, 0x49, 0x0f, 0xde, 0xfe, 0x04,
|
||||
0x00, 0x00, 0xff, 0xff, 0x93, 0x9b, 0x7c, 0xf8, 0x84, 0x01, 0x00, 0x00,
|
||||
}
|
138
vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go
generated
vendored
138
vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go
generated
vendored
@ -1,138 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/operation.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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,proto3" json:"method,omitempty"`
|
||||
// Time that this operation was created.
|
||||
//
|
||||
// @OutputOnly
|
||||
InsertTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"`
|
||||
// Time that this operation completed.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,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,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 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 {
|
||||
return m.Method
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetInsertTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.InsertTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetUser() string {
|
||||
if m != nil {
|
||||
return m.User
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetTarget() string {
|
||||
if m != nil {
|
||||
return m.Target
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*OperationMetadataV1)(nil), "google.appengine.v1.OperationMetadataV1")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor_operation_b53f7e8fb6160f01)
|
||||
}
|
||||
|
||||
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,
|
||||
0x56, 0xf1, 0x54, 0x4f, 0xbd, 0x8b, 0xa5, 0x88, 0x07, 0x2f, 0x92, 0xba, 0x63, 0x0c, 0x74, 0x67,
|
||||
0x42, 0x32, 0xed, 0xbf, 0xf4, 0x3f, 0xc9, 0x26, 0xbb, 0x0b, 0x82, 0xd0, 0x5b, 0x5e, 0xe6, 0x7d,
|
||||
0x79, 0x2f, 0x89, 0xb8, 0x33, 0x44, 0x66, 0x0b, 0x4a, 0x3b, 0x07, 0x68, 0x2c, 0x82, 0xda, 0x57,
|
||||
0x8a, 0x1c, 0x78, 0xcd, 0x96, 0x50, 0x3a, 0x4f, 0x4c, 0xf9, 0x34, 0x99, 0xe4, 0x60, 0x92, 0xfb,
|
||||
0xaa, 0xbc, 0x1e, 0x48, 0xab, 0x34, 0x22, 0x71, 0x24, 0x42, 0x42, 0xca, 0x9b, 0x6e, 0x1a, 0xd5,
|
||||
0x66, 0xf7, 0xa5, 0xd8, 0x36, 0x10, 0x58, 0x37, 0x2e, 0x19, 0x6e, 0x7f, 0x32, 0x31, 0x7d, 0xe9,
|
||||
0x73, 0x9e, 0x81, 0x75, 0xad, 0x59, 0xbf, 0x55, 0xf9, 0xa5, 0x18, 0x37, 0xc0, 0xdf, 0x54, 0x17,
|
||||
0xd9, 0x2c, 0x9b, 0x9f, 0xaf, 0x3b, 0x95, 0x2f, 0xc4, 0xc4, 0x62, 0x00, 0xcf, 0x1f, 0xed, 0x49,
|
||||
0xc5, 0xd1, 0x2c, 0x9b, 0x4f, 0xee, 0x4b, 0xd9, 0x35, 0xeb, 0x63, 0xe4, 0x6b, 0x1f, 0xb3, 0x16,
|
||||
0xc9, 0xde, 0x6e, 0xe4, 0x8f, 0xe2, 0x0c, 0xb0, 0x4e, 0xe4, 0xf1, 0x41, 0xf2, 0x14, 0xb0, 0x8e,
|
||||
0x58, 0x2e, 0x46, 0xbb, 0x00, 0xbe, 0x18, 0xc5, 0x26, 0x71, 0xdd, 0xf6, 0x63, 0xed, 0x0d, 0x70,
|
||||
0x71, 0x92, 0xfa, 0x25, 0xb5, 0xb4, 0xe2, 0xea, 0x93, 0x1a, 0xf9, 0xcf, 0x4b, 0x2d, 0x2f, 0x86,
|
||||
0x7b, 0xae, 0xda, 0xb0, 0x55, 0xf6, 0xfe, 0xd4, 0xd9, 0x0c, 0x6d, 0x35, 0x1a, 0x49, 0xde, 0x28,
|
||||
0x03, 0x18, 0xab, 0xa8, 0x34, 0xd2, 0xce, 0x86, 0x3f, 0x9f, 0xb2, 0x18, 0xc4, 0x66, 0x1c, 0x8d,
|
||||
0x0f, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x8e, 0xb2, 0x00, 0xbc, 0x01, 0x00, 0x00,
|
||||
}
|
220
vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go
generated
vendored
220
vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go
generated
vendored
@ -1,220 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/service.proto
|
||||
|
||||
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||||
|
||||
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
|
||||
|
||||
// Available sharding mechanisms.
|
||||
type TrafficSplit_ShardBy int32
|
||||
|
||||
const (
|
||||
// Diversion method unspecified.
|
||||
TrafficSplit_UNSPECIFIED TrafficSplit_ShardBy = 0
|
||||
// Diversion based on a specially named cookie, "GOOGAPPUID." The cookie
|
||||
// must be set by the application itself or no diversion will occur.
|
||||
TrafficSplit_COOKIE TrafficSplit_ShardBy = 1
|
||||
// Diversion based on applying the modulus operation to a fingerprint
|
||||
// of the IP address.
|
||||
TrafficSplit_IP TrafficSplit_ShardBy = 2
|
||||
)
|
||||
|
||||
var TrafficSplit_ShardBy_name = map[int32]string{
|
||||
0: "UNSPECIFIED",
|
||||
1: "COOKIE",
|
||||
2: "IP",
|
||||
}
|
||||
var TrafficSplit_ShardBy_value = map[string]int32{
|
||||
"UNSPECIFIED": 0,
|
||||
"COOKIE": 1,
|
||||
"IP": 2,
|
||||
}
|
||||
|
||||
func (x TrafficSplit_ShardBy) String() string {
|
||||
return proto.EnumName(TrafficSplit_ShardBy_name, int32(x))
|
||||
}
|
||||
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.
|
||||
// For example, an application that handles customer requests might
|
||||
// include separate services to handle tasks such as backend data
|
||||
// analysis or API requests from mobile devices. Each service has a
|
||||
// collection of versions that define a specific set of code used to
|
||||
// implement the functionality of that service.
|
||||
type Service struct {
|
||||
// Full path to the Service resource in the API.
|
||||
// Example: `apps/myapp/services/default`.
|
||||
//
|
||||
// @OutputOnly
|
||||
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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Service) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Service) GetSplit() *TrafficSplit {
|
||||
if m != nil {
|
||||
return m.Split
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Traffic routing configuration for versions within a single service. Traffic
|
||||
// splits define how traffic directed to the service is assigned to versions.
|
||||
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,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
|
||||
// have any traffic allocation. Services that have traffic allocated
|
||||
// cannot be deleted until either the service is deleted or
|
||||
// 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,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 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 {
|
||||
return m.ShardBy
|
||||
}
|
||||
return TrafficSplit_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *TrafficSplit) GetAllocations() map[string]float64 {
|
||||
if m != nil {
|
||||
return m.Allocations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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", fileDescriptor_service_c3b4fd6114e9d0a5)
|
||||
}
|
||||
|
||||
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,
|
||||
0x36, 0x98, 0x3e, 0xb4, 0xb4, 0xa5, 0x50, 0x35, 0x85, 0x50, 0x38, 0x43, 0xe2, 0xbd, 0xdc, 0xcb,
|
||||
0xb1, 0xc6, 0x75, 0x6f, 0xb9, 0xb8, 0x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, 0x55, 0x78, 0x6a, 0x33, 0xfa, 0x03, 0xd6, 0x6b, 0x00, 0x5b, 0xd0,
|
||||
0xb9, 0x67, 0x55, 0xbb, 0x9c, 0x3a, 0xc4, 0x9f, 0xa0, 0x5b, 0xd2, 0xe4, 0x81, 0x35, 0xeb, 0x31,
|
||||
0x42, 0x9d, 0xfc, 0x44, 0x3f, 0x8c, 0x29, 0x81, 0x7e, 0x3b, 0x29, 0xfe, 0x00, 0xe6, 0xf5, 0x55,
|
||||
0x14, 0x78, 0x4b, 0xff, 0x9f, 0xef, 0xad, 0xac, 0x37, 0x18, 0xa0, 0xb7, 0x5c, 0xaf, 0xff, 0xfb,
|
||||
0x9e, 0x65, 0xe0, 0x1e, 0x20, 0x3f, 0xb0, 0xd0, 0x82, 0xc3, 0xe7, 0x58, 0x1d, 0xce, 0x4d, 0xbd,
|
||||
0x18, 0xb4, 0xd7, 0x09, 0xea, 0x6b, 0x05, 0xc6, 0xcd, 0xef, 0x16, 0xe2, 0x2a, 0xa1, 0x92, 0x13,
|
||||
0x95, 0x71, 0x87, 0x33, 0xd9, 0xdc, 0xd2, 0xd1, 0x9f, 0x68, 0x2a, 0xf2, 0x17, 0x8f, 0xe4, 0xd7,
|
||||
0x31, 0xd9, 0xf6, 0x1a, 0xf0, 0xdb, 0x53, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xbc, 0x13, 0xf4,
|
||||
0x4c, 0x02, 0x00, 0x00,
|
||||
}
|
1310
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
1310
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,276 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
|
||||
|
||||
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 _ "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
|
||||
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 StorageType int32
|
||||
|
||||
const (
|
||||
// The storage type used is unspecified.
|
||||
StorageType_STORAGE_UNSPECIFIED StorageType = 0
|
||||
// Data will be stored in SSD, providing low and consistent latencies.
|
||||
StorageType_STORAGE_SSD StorageType = 1
|
||||
// Data will be stored in HDD, providing high and less predictable
|
||||
// latencies.
|
||||
StorageType_STORAGE_HDD StorageType = 2
|
||||
)
|
||||
|
||||
var StorageType_name = map[int32]string{
|
||||
0: "STORAGE_UNSPECIFIED",
|
||||
1: "STORAGE_SSD",
|
||||
2: "STORAGE_HDD",
|
||||
}
|
||||
var StorageType_value = map[string]int32{
|
||||
"STORAGE_UNSPECIFIED": 0,
|
||||
"STORAGE_SSD": 1,
|
||||
"STORAGE_HDD": 2,
|
||||
}
|
||||
|
||||
func (x StorageType) String() string {
|
||||
return proto.EnumName(StorageType_name, int32(x))
|
||||
}
|
||||
func (StorageType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701, []int{0}
|
||||
}
|
||||
|
||||
// Possible states of a zone.
|
||||
type Zone_Status int32
|
||||
|
||||
const (
|
||||
// The state of the zone is unknown or unspecified.
|
||||
Zone_UNKNOWN Zone_Status = 0
|
||||
// The zone is in a good state.
|
||||
Zone_OK Zone_Status = 1
|
||||
// The zone is down for planned maintenance.
|
||||
Zone_PLANNED_MAINTENANCE Zone_Status = 2
|
||||
// The zone is down for emergency or unplanned maintenance.
|
||||
Zone_EMERGENCY_MAINENANCE Zone_Status = 3
|
||||
)
|
||||
|
||||
var Zone_Status_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "OK",
|
||||
2: "PLANNED_MAINTENANCE",
|
||||
3: "EMERGENCY_MAINENANCE",
|
||||
}
|
||||
var Zone_Status_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"OK": 1,
|
||||
"PLANNED_MAINTENANCE": 2,
|
||||
"EMERGENCY_MAINENANCE": 3,
|
||||
}
|
||||
|
||||
func (x Zone_Status) String() string {
|
||||
return proto.EnumName(Zone_Status_name, int32(x))
|
||||
}
|
||||
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,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,proto3" json:"display_name,omitempty"`
|
||||
// The current state of this zone.
|
||||
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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Zone) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Zone) GetStatus() Zone_Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return Zone_UNKNOWN
|
||||
}
|
||||
|
||||
// An isolated set of Cloud BigTable resources on which tables can be hosted.
|
||||
type Cluster struct {
|
||||
// A permanent unique identifier for the cluster. For technical reasons, the
|
||||
// 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,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 *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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Cluster) GetCurrentOperation() *longrunning.Operation {
|
||||
if m != nil {
|
||||
return m.CurrentOperation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Cluster) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Cluster) GetServeNodes() int32 {
|
||||
if m != nil {
|
||||
return m.ServeNodes
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Cluster) GetDefaultStorageType() StorageType {
|
||||
if m != nil {
|
||||
return m.DefaultStorageType
|
||||
}
|
||||
return StorageType_STORAGE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Zone)(nil), "google.bigtable.admin.cluster.v1.Zone")
|
||||
proto.RegisterType((*Cluster)(nil), "google.bigtable.admin.cluster.v1.Cluster")
|
||||
proto.RegisterEnum("google.bigtable.admin.cluster.v1.StorageType", StorageType_name, StorageType_value)
|
||||
proto.RegisterEnum("google.bigtable.admin.cluster.v1.Zone_Status", Zone_Status_name, Zone_Status_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto", fileDescriptor_bigtable_cluster_data_5751b30eb8ec0701)
|
||||
}
|
||||
|
||||
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, 0x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fe, 0xb5, 0xd6, 0xb4, 0xa6, 0xa6, 0xeb, 0x82, 0x27, 0xd0,
|
||||
0x1d, 0xb5, 0xa7, 0xbd, 0xbd, 0x04, 0xfe, 0xde, 0x76, 0x53, 0x69, 0x3a, 0x1d, 0x27, 0xbd, 0x21,
|
||||
0xa6, 0x37, 0x24, 0x9d, 0xe0, 0xc1, 0xe8, 0xd3, 0x08, 0xc7, 0xc1, 0x01, 0x7c, 0x02, 0xfc, 0xad,
|
||||
0x91, 0xa6, 0x71, 0xe0, 0xed, 0x0b, 0x97, 0x71, 0x1c, 0x34, 0xfa, 0xdf, 0x3d, 0xf0, 0x66, 0xae,
|
||||
0x96, 0x0f, 0xfe, 0xa4, 0x7e, 0xd8, 0x77, 0x96, 0xfb, 0x23, 0x62, 0x66, 0xd8, 0x64, 0xf3, 0xec,
|
||||
0x26, 0xde, 0xed, 0xd0, 0xd1, 0x42, 0xe5, 0x4c, 0x0a, 0xa4, 0x4a, 0x11, 0x09, 0x2e, 0xed, 0xa3,
|
||||
0x8c, 0x6a, 0x8b, 0x15, 0x99, 0xfe, 0xfb, 0xb7, 0xf5, 0xc1, 0x2d, 0x67, 0x2d, 0xcb, 0xbc, 0xff,
|
||||
0x15, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x27, 0x25, 0xa6, 0x8e, 0x03, 0x00, 0x00,
|
||||
}
|
@ -1,478 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto
|
||||
|
||||
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 longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
// 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)
|
||||
// Gets information about a particular cluster.
|
||||
GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
|
||||
// Lists all clusters in the given project, along with any zones for which
|
||||
// cluster information could not be retrieved.
|
||||
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
|
||||
// Creates a cluster and begins preparing it to begin serving. The returned
|
||||
// cluster embeds as its "current_operation" a long-running operation which
|
||||
// can be used to track the progress of turning up the new cluster.
|
||||
// Immediately upon completion of this request:
|
||||
// * The cluster will be readable via the API, with all requested attributes
|
||||
// but no allocated resources.
|
||||
// Until completion of the embedded operation:
|
||||
// * Cancelling the operation will render the cluster immediately unreadable
|
||||
// via the API.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// Upon completion of the embedded operation:
|
||||
// * Billing for all successfully-allocated resources will begin (some types
|
||||
// may have lower than the requested levels).
|
||||
// * New tables can be created in the cluster.
|
||||
// * The cluster's allocated resource levels will be readable via the API.
|
||||
// The embedded operation's "metadata" field type is
|
||||
// [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
|
||||
// Updates a cluster, and begins allocating or releasing resources as
|
||||
// requested. The returned cluster embeds as its "current_operation" a
|
||||
// long-running operation which can be used to track the progress of updating
|
||||
// the cluster.
|
||||
// Immediately upon completion of this request:
|
||||
// * For resource types where a decrease in the cluster's allocation has been
|
||||
// requested, billing will be based on the newly-requested level.
|
||||
// Until completion of the embedded operation:
|
||||
// * Cancelling the operation will set its metadata's "cancelled_at_time",
|
||||
// and begin restoring resources to their pre-request values. The operation
|
||||
// is guaranteed to succeed at undoing all resource changes, after which
|
||||
// point it will terminate with a CANCELLED status.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// * Reading the cluster via the API will continue to give the pre-request
|
||||
// resource levels.
|
||||
// Upon completion of the embedded operation:
|
||||
// * Billing will begin for all successfully-allocated resources (some types
|
||||
// may have lower than the requested levels).
|
||||
// * All newly-reserved resources will be available for serving the cluster's
|
||||
// tables.
|
||||
// * The cluster's new resource levels will be readable via the API.
|
||||
// [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error)
|
||||
// Marks a cluster and all of its tables for permanent deletion in 7 days.
|
||||
// Immediately upon completion of the request:
|
||||
// * Billing will cease for all of the cluster's reserved resources.
|
||||
// * The cluster's "delete_time" field will be set 7 days in the future.
|
||||
// Soon afterward:
|
||||
// * All tables within the cluster will become unavailable.
|
||||
// Prior to the cluster's "delete_time":
|
||||
// * The cluster can be recovered with a call to UndeleteCluster.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// 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) (*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".
|
||||
// Immediately upon completion of this request:
|
||||
// * The cluster's "delete_time" field will be unset, protecting it from
|
||||
// automatic deletion.
|
||||
// Until completion of the returned operation:
|
||||
// * The operation cannot be cancelled.
|
||||
// Upon completion of the returned operation:
|
||||
// * Billing for the cluster's resources will resume.
|
||||
// * 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) (*longrunning.Operation, error)
|
||||
}
|
||||
|
||||
type bigtableClusterServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewBigtableClusterServiceClient(cc *grpc.ClientConn) BigtableClusterServiceClient {
|
||||
return &bigtableClusterServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *bigtableClusterServiceClient) ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error) {
|
||||
out := new(ListZonesResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableClusterServiceClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
|
||||
out := new(Cluster)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableClusterServiceClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) {
|
||||
out := new(ListClustersResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableClusterServiceClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
|
||||
out := new(Cluster)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableClusterServiceClient) UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) {
|
||||
out := new(Cluster)
|
||||
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) (*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) (*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
|
||||
}
|
||||
|
||||
// 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)
|
||||
// Gets information about a particular cluster.
|
||||
GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
|
||||
// Lists all clusters in the given project, along with any zones for which
|
||||
// cluster information could not be retrieved.
|
||||
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
|
||||
// Creates a cluster and begins preparing it to begin serving. The returned
|
||||
// cluster embeds as its "current_operation" a long-running operation which
|
||||
// can be used to track the progress of turning up the new cluster.
|
||||
// Immediately upon completion of this request:
|
||||
// * The cluster will be readable via the API, with all requested attributes
|
||||
// but no allocated resources.
|
||||
// Until completion of the embedded operation:
|
||||
// * Cancelling the operation will render the cluster immediately unreadable
|
||||
// via the API.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// Upon completion of the embedded operation:
|
||||
// * Billing for all successfully-allocated resources will begin (some types
|
||||
// may have lower than the requested levels).
|
||||
// * New tables can be created in the cluster.
|
||||
// * The cluster's allocated resource levels will be readable via the API.
|
||||
// The embedded operation's "metadata" field type is
|
||||
// [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error)
|
||||
// Updates a cluster, and begins allocating or releasing resources as
|
||||
// requested. The returned cluster embeds as its "current_operation" a
|
||||
// long-running operation which can be used to track the progress of updating
|
||||
// the cluster.
|
||||
// Immediately upon completion of this request:
|
||||
// * For resource types where a decrease in the cluster's allocation has been
|
||||
// requested, billing will be based on the newly-requested level.
|
||||
// Until completion of the embedded operation:
|
||||
// * Cancelling the operation will set its metadata's "cancelled_at_time",
|
||||
// and begin restoring resources to their pre-request values. The operation
|
||||
// is guaranteed to succeed at undoing all resource changes, after which
|
||||
// point it will terminate with a CANCELLED status.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// * Reading the cluster via the API will continue to give the pre-request
|
||||
// resource levels.
|
||||
// Upon completion of the embedded operation:
|
||||
// * Billing will begin for all successfully-allocated resources (some types
|
||||
// may have lower than the requested levels).
|
||||
// * All newly-reserved resources will be available for serving the cluster's
|
||||
// tables.
|
||||
// * The cluster's new resource levels will be readable via the API.
|
||||
// [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
UpdateCluster(context.Context, *Cluster) (*Cluster, error)
|
||||
// Marks a cluster and all of its tables for permanent deletion in 7 days.
|
||||
// Immediately upon completion of the request:
|
||||
// * Billing will cease for all of the cluster's reserved resources.
|
||||
// * The cluster's "delete_time" field will be set 7 days in the future.
|
||||
// Soon afterward:
|
||||
// * All tables within the cluster will become unavailable.
|
||||
// Prior to the cluster's "delete_time":
|
||||
// * The cluster can be recovered with a call to UndeleteCluster.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// 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) (*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".
|
||||
// Immediately upon completion of this request:
|
||||
// * The cluster's "delete_time" field will be unset, protecting it from
|
||||
// automatic deletion.
|
||||
// Until completion of the returned operation:
|
||||
// * The operation cannot be cancelled.
|
||||
// Upon completion of the returned operation:
|
||||
// * Billing for the cluster's resources will resume.
|
||||
// * 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) (*longrunning.Operation, error)
|
||||
}
|
||||
|
||||
func RegisterBigtableClusterServiceServer(s *grpc.Server, srv BigtableClusterServiceServer) {
|
||||
s.RegisterService(&_BigtableClusterService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _BigtableClusterService_ListZones_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListZonesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableClusterServiceServer).ListZones(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableClusterServiceServer).ListZones(ctx, req.(*ListZonesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableClusterService_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetClusterRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableClusterServiceServer).GetCluster(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableClusterServiceServer).GetCluster(ctx, req.(*GetClusterRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableClusterService_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListClustersRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableClusterServiceServer).ListClusters(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableClusterServiceServer).ListClusters(ctx, req.(*ListClustersRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableClusterService_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateClusterRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableClusterServiceServer).CreateCluster(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableClusterServiceServer).CreateCluster(ctx, req.(*CreateClusterRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableClusterService_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(Cluster)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableClusterServiceServer).UpdateCluster(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableClusterServiceServer).UpdateCluster(ctx, req.(*Cluster))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableClusterService_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteClusterRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableClusterServiceServer).DeleteCluster(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableClusterServiceServer).DeleteCluster(ctx, req.(*DeleteClusterRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableClusterService_UndeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UndeleteClusterRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableClusterServiceServer).UndeleteCluster(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableClusterServiceServer).UndeleteCluster(ctx, req.(*UndeleteClusterRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _BigtableClusterService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.bigtable.admin.cluster.v1.BigtableClusterService",
|
||||
HandlerType: (*BigtableClusterServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListZones",
|
||||
Handler: _BigtableClusterService_ListZones_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetCluster",
|
||||
Handler: _BigtableClusterService_GetCluster_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListClusters",
|
||||
Handler: _BigtableClusterService_ListClusters_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateCluster",
|
||||
Handler: _BigtableClusterService_CreateCluster_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateCluster",
|
||||
Handler: _BigtableClusterService_UpdateCluster_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteCluster",
|
||||
Handler: _BigtableClusterService_DeleteCluster_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UndeleteCluster",
|
||||
Handler: _BigtableClusterService_UndeleteCluster_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", fileDescriptor_bigtable_cluster_service_eb6b3340e63f14bc)
|
||||
}
|
||||
|
||||
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,
|
||||
0x26, 0x6e, 0x17, 0xc5, 0xbf, 0x08, 0x5b, 0xa5, 0x1e, 0x04, 0x8b, 0xd2, 0x4b, 0x2f, 0x4b, 0x76,
|
||||
0xe7, 0x35, 0x8c, 0xcc, 0x24, 0x31, 0xc9, 0x2c, 0xa8, 0xf4, 0xe2, 0xcd, 0x93, 0x88, 0x27, 0x3d,
|
||||
0x78, 0xeb, 0xdd, 0xef, 0xe2, 0x57, 0xf0, 0x83, 0xc8, 0x64, 0x92, 0xb5, 0x2b, 0x6b, 0x77, 0xa6,
|
||||
0xb7, 0x99, 0xc9, 0xfb, 0xbc, 0xcf, 0x6f, 0x9e, 0x24, 0x2f, 0x7e, 0x2c, 0x94, 0x12, 0x05, 0xb0,
|
||||
0x49, 0x2e, 0x1c, 0x9f, 0x14, 0xc0, 0x78, 0x56, 0xe6, 0x92, 0x4d, 0x8b, 0xca, 0x3a, 0x30, 0x6c,
|
||||
0x36, 0x98, 0xaf, 0x8c, 0xc3, 0xb7, 0xb1, 0x05, 0x33, 0xcb, 0xa7, 0x40, 0xb5, 0x51, 0x4e, 0x91,
|
||||
0x2b, 0x4d, 0x03, 0x1a, 0xcb, 0xa8, 0x6f, 0x40, 0x43, 0x31, 0x9d, 0x0d, 0xfa, 0x9b, 0xc1, 0x82,
|
||||
0xeb, 0x9c, 0x71, 0x29, 0x95, 0xe3, 0x2e, 0x57, 0xd2, 0x36, 0xfa, 0xfe, 0xc3, 0xee, 0x00, 0x19,
|
||||
0x77, 0x3c, 0xa8, 0x9f, 0x9d, 0x1b, 0x7f, 0x5c, 0x82, 0xb5, 0x5c, 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 0x7b, 0x7b, 0x06, 0xb8, 0x8b, 0x07, 0x81,
|
||||
0xb4, 0x30, 0x5f, 0x10, 0x9c, 0x23, 0xd9, 0xc0, 0x99, 0x5c, 0x3b, 0x2b, 0xd9, 0xe3, 0x39, 0xe4,
|
||||
0x7d, 0x94, 0x92, 0xef, 0x08, 0xf7, 0x0e, 0x75, 0x76, 0x8a, 0xb3, 0xbd, 0x5f, 0x17, 0xb4, 0xa1,
|
||||
0x47, 0xbb, 0xd9, 0x6f, 0xbd, 0xe9, 0x35, 0xdc, 0x17, 0x84, 0x7b, 0x4f, 0xa0, 0x80, 0x4e, 0x21,
|
||||
0x2e, 0x08, 0x62, 0x88, 0xeb, 0x51, 0x17, 0xef, 0x2d, 0x7d, 0x5a, 0xdf, 0xdb, 0x78, 0x16, 0xd3,
|
||||
0xf6, 0x67, 0xf1, 0x04, 0xe1, 0xcb, 0x87, 0x32, 0x5b, 0xa0, 0xba, 0xbb, 0x9a, 0xea, 0x1f, 0x49,
|
||||
0xe4, 0xda, 0x8a, 0xca, 0x53, 0x43, 0x87, 0xbe, 0x88, 0x43, 0x27, 0xb9, 0xe7, 0xf1, 0x86, 0xc9,
|
||||
0xa0, 0x75, 0x6a, 0x55, 0xf0, 0x19, 0x7d, 0x46, 0xf8, 0xea, 0x54, 0x95, 0x2b, 0xc9, 0x46, 0x9b,
|
||||
0xcb, 0x27, 0x96, 0x3d, 0xa8, 0x93, 0x3a, 0x40, 0x47, 0xfb, 0xa1, 0x83, 0x50, 0x05, 0x97, 0x82,
|
||||
0x2a, 0x23, 0x98, 0x00, 0xe9, 0x73, 0x64, 0xcd, 0x12, 0xd7, 0xb9, 0xfd, 0xff, 0xfc, 0x7d, 0x10,
|
||||
0x1e, 0x27, 0x17, 0xbd, 0x66, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x50, 0x92, 0x91, 0x86, 0x71,
|
||||
0x06, 0x00, 0x00,
|
||||
}
|
@ -1,646 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto
|
||||
|
||||
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 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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Response message for BigtableClusterService.ListZones.
|
||||
type ListZonesResponse struct {
|
||||
// The list of requested zones.
|
||||
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 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 {
|
||||
return m.Zones
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.GetCluster.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.ListClusters.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Response message for BigtableClusterService.ListClusters.
|
||||
type ListClustersResponse struct {
|
||||
// The list of requested Clusters.
|
||||
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,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 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 {
|
||||
return m.Clusters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListClustersResponse) GetFailedZones() []*Zone {
|
||||
if m != nil {
|
||||
return m.FailedZones
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.CreateCluster.
|
||||
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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateClusterRequest) GetClusterId() string {
|
||||
if m != nil {
|
||||
return m.ClusterId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateClusterRequest) GetCluster() *Cluster {
|
||||
if m != nil {
|
||||
return m.Cluster
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Metadata type for the operation returned by
|
||||
// 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,proto3" json:"original_request,omitempty"`
|
||||
// The time at which original_request was received.
|
||||
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 *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 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 {
|
||||
return m.OriginalRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CreateClusterMetadata) GetRequestTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RequestTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CreateClusterMetadata) GetFinishTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.FinishTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Metadata type for the operation returned by
|
||||
// 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,proto3" json:"original_request,omitempty"`
|
||||
// The time at which original_request was received.
|
||||
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 *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 *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 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 {
|
||||
return m.OriginalRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateClusterMetadata) GetRequestTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RequestTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateClusterMetadata) GetCancelTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CancelTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateClusterMetadata) GetFinishTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.FinishTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.DeleteCluster.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.UndeleteCluster.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Metadata type for the operation returned by
|
||||
// BigtableClusterService.UndeleteCluster.
|
||||
type UndeleteClusterMetadata struct {
|
||||
// The time at which the original request was received.
|
||||
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 *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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UndeleteClusterMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *UndeleteClusterMetadata) GetRequestTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RequestTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UndeleteClusterMetadata) GetFinishTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.FinishTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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 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")
|
||||
proto.RegisterType((*ListZonesResponse)(nil), "google.bigtable.admin.cluster.v1.ListZonesResponse")
|
||||
proto.RegisterType((*GetClusterRequest)(nil), "google.bigtable.admin.cluster.v1.GetClusterRequest")
|
||||
proto.RegisterType((*ListClustersRequest)(nil), "google.bigtable.admin.cluster.v1.ListClustersRequest")
|
||||
proto.RegisterType((*ListClustersResponse)(nil), "google.bigtable.admin.cluster.v1.ListClustersResponse")
|
||||
proto.RegisterType((*CreateClusterRequest)(nil), "google.bigtable.admin.cluster.v1.CreateClusterRequest")
|
||||
proto.RegisterType((*CreateClusterMetadata)(nil), "google.bigtable.admin.cluster.v1.CreateClusterMetadata")
|
||||
proto.RegisterType((*UpdateClusterMetadata)(nil), "google.bigtable.admin.cluster.v1.UpdateClusterMetadata")
|
||||
proto.RegisterType((*DeleteClusterRequest)(nil), "google.bigtable.admin.cluster.v1.DeleteClusterRequest")
|
||||
proto.RegisterType((*UndeleteClusterRequest)(nil), "google.bigtable.admin.cluster.v1.UndeleteClusterRequest")
|
||||
proto.RegisterType((*UndeleteClusterMetadata)(nil), "google.bigtable.admin.cluster.v1.UndeleteClusterMetadata")
|
||||
proto.RegisterType((*V2OperationMetadata)(nil), "google.bigtable.admin.cluster.v1.V2OperationMetadata")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto", fileDescriptor_bigtable_cluster_service_messages_964162c5e08631c3)
|
||||
}
|
||||
|
||||
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,
|
||||
0x11, 0xb2, 0xd5, 0x20, 0x71, 0x69, 0xb9, 0x24, 0xa0, 0x52, 0x89, 0x8a, 0x12, 0x5a, 0x0e, 0xbd,
|
||||
0x58, 0x9b, 0x78, 0x62, 0x56, 0xb2, 0x77, 0x8d, 0x77, 0x93, 0x03, 0x3f, 0x82, 0x1b, 0xfc, 0x04,
|
||||
0xc4, 0x2f, 0xe4, 0x8c, 0xec, 0xdd, 0x8d, 0x68, 0x95, 0xd6, 0xb1, 0x10, 0xb7, 0xdd, 0x99, 0xf7,
|
||||
0x66, 0xde, 0x9b, 0x1d, 0x69, 0xe1, 0x6d, 0x2c, 0x44, 0x9c, 0x60, 0x30, 0x66, 0xb1, 0xa2, 0xe3,
|
||||
0x04, 0x03, 0x1a, 0xa5, 0x8c, 0x07, 0x93, 0x64, 0x26, 0x15, 0xe6, 0xc1, 0x7c, 0x7f, 0x91, 0x09,
|
||||
0x4d, 0x2c, 0x94, 0x98, 0xcf, 0xd9, 0x04, 0xc3, 0x14, 0xa5, 0xa4, 0x31, 0x4a, 0x3f, 0xcb, 0x85,
|
||||
0x12, 0x6e, 0x4f, 0x57, 0xf2, 0x2d, 0xde, 0x2f, 0x2b, 0xf9, 0x86, 0xe5, 0xcf, 0xf7, 0xbb, 0x87,
|
||||
0xf5, 0x7b, 0x45, 0x54, 0x51, 0x5d, 0xbf, 0xfb, 0xc8, 0xb0, 0xcb, 0xdb, 0x78, 0x36, 0x0d, 0x14,
|
||||
0x4b, 0x51, 0x2a, 0x9a, 0x66, 0x1a, 0xe0, 0xed, 0xc0, 0xe6, 0x3b, 0x26, 0xd5, 0x85, 0xe0, 0x28,
|
||||
0x47, 0xf8, 0x65, 0x86, 0x52, 0xb9, 0x2e, 0xac, 0x71, 0x9a, 0x62, 0x87, 0xf4, 0xc8, 0xee, 0xfa,
|
||||
0xa8, 0x3c, 0x7b, 0x1f, 0x60, 0xeb, 0x2f, 0x9c, 0xcc, 0x04, 0x97, 0xe8, 0x1e, 0xc2, 0xad, 0xaf,
|
||||
0x45, 0xa0, 0x43, 0x7a, 0xcd, 0x5d, 0xa7, 0xbf, 0xe3, 0x57, 0xb9, 0xf1, 0x0b, 0xfe, 0x48, 0x93,
|
||||
0xbc, 0xa7, 0xb0, 0x75, 0x84, 0x6a, 0xa8, 0x93, 0x37, 0xf5, 0xde, 0x83, 0xed, 0xa2, 0xb7, 0x41,
|
||||
0xde, 0x28, 0xf3, 0x17, 0x81, 0xd6, 0x65, 0xac, 0x91, 0xfa, 0x06, 0xee, 0x1a, 0x19, 0x56, 0xed,
|
||||
0x5e, 0xb5, 0x5a, 0xab, 0x6d, 0x41, 0x75, 0x8f, 0x61, 0x63, 0x4a, 0x59, 0x82, 0x51, 0xa8, 0x8d,
|
||||
0x37, 0x6a, 0x19, 0x77, 0x34, 0xb7, 0x1c, 0xa2, 0xf7, 0x8d, 0x40, 0x6b, 0x98, 0x23, 0x55, 0x58,
|
||||
0x3d, 0x02, 0xf7, 0x21, 0x80, 0x7d, 0x5d, 0x16, 0x75, 0x1a, 0x65, 0x66, 0xdd, 0x44, 0x8e, 0x23,
|
||||
0x77, 0x08, 0x77, 0xc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xf1, 0xc0, 0xa4, 0x8c, 0xa9, 0x8f, 0xfa, 0x1b, 0x38, 0x31, 0xbf, 0xc0, 0x69, 0xd1, 0xfd, 0x94,
|
||||
0x5c, 0x1c, 0x99, 0x42, 0xb1, 0x48, 0x28, 0x8f, 0x7d, 0x91, 0xc7, 0x41, 0x8c, 0xbc, 0xd4, 0x16,
|
||||
0xe8, 0x14, 0xcd, 0x98, 0xbc, 0xfe, 0x0f, 0x38, 0x30, 0xc7, 0xf1, 0xed, 0x92, 0xf3, 0xe2, 0x4f,
|
||||
0x00, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x75, 0x68, 0x13, 0xa2, 0x06, 0x00, 0x00,
|
||||
}
|
@ -1,546 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/table/v1/bigtable_table_data.proto
|
||||
|
||||
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 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
|
||||
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 Table_TimestampGranularity int32
|
||||
|
||||
const (
|
||||
Table_MILLIS Table_TimestampGranularity = 0
|
||||
)
|
||||
|
||||
var Table_TimestampGranularity_name = map[int32]string{
|
||||
0: "MILLIS",
|
||||
}
|
||||
var Table_TimestampGranularity_value = map[string]int32{
|
||||
"MILLIS": 0,
|
||||
}
|
||||
|
||||
func (x Table_TimestampGranularity) String() string {
|
||||
return proto.EnumName(Table_TimestampGranularity_name, int32(x))
|
||||
}
|
||||
func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_bigtable_table_data_021ea70d03a8dd36, []int{0, 0}
|
||||
}
|
||||
|
||||
// A collection of user data indexed by row, column, and timestamp.
|
||||
// Each table is served using the resources of its parent cluster.
|
||||
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,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 *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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Table) GetCurrentOperation() *longrunning.Operation {
|
||||
if m != nil {
|
||||
return m.CurrentOperation
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Table) GetColumnFamilies() map[string]*ColumnFamily {
|
||||
if m != nil {
|
||||
return m.ColumnFamilies
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Table) GetGranularity() Table_TimestampGranularity {
|
||||
if m != nil {
|
||||
return m.Granularity
|
||||
}
|
||||
return Table_MILLIS
|
||||
}
|
||||
|
||||
// A set of columns within a table which share a common configuration.
|
||||
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,proto3" json:"name,omitempty"`
|
||||
// Garbage collection expression specified by the following grammar:
|
||||
// GC = EXPR
|
||||
// | "" ;
|
||||
// EXPR = EXPR, "||", EXPR (* lowest precedence *)
|
||||
// | EXPR, "&&", EXPR
|
||||
// | "(", EXPR, ")" (* highest precedence *)
|
||||
// | PROP ;
|
||||
// PROP = "version() >", NUM32
|
||||
// | "age() >", NUM64, [ UNIT ] ;
|
||||
// NUM32 = non-zero-digit { digit } ; (* # NUM32 <= 2^32 - 1 *)
|
||||
// NUM64 = non-zero-digit { digit } ; (* # NUM64 <= 2^63 - 1 *)
|
||||
// UNIT = "d" | "h" | "m" (* d=days, h=hours, m=minutes, else micros *)
|
||||
// GC expressions can be up to 500 characters in length
|
||||
//
|
||||
// The different types of PROP are defined as follows:
|
||||
// version() - cell index, counting from most recent and starting at 1
|
||||
// age() - age of the cell (current time minus cell timestamp)
|
||||
//
|
||||
// Example: "version() > 3 || (age() > 3d && version() > 1)"
|
||||
// drop cells beyond the most recent three, and drop cells older than three
|
||||
// days unless they're the most recent cell in the row/column
|
||||
//
|
||||
// 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,proto3" json:"gc_expression,omitempty"`
|
||||
// Garbage collection rule specified as a protobuf.
|
||||
// Supersedes `gc_expression`.
|
||||
// Must serialize to at most 500 bytes.
|
||||
//
|
||||
// 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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ColumnFamily) GetGcExpression() string {
|
||||
if m != nil {
|
||||
return m.GcExpression
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ColumnFamily) GetGcRule() *GcRule {
|
||||
if m != nil {
|
||||
return m.GcRule
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Rule for determining which cells to delete during garbage collection.
|
||||
type GcRule struct {
|
||||
// Types that are valid to be assigned to Rule:
|
||||
// *GcRule_MaxNumVersions
|
||||
// *GcRule_MaxAge
|
||||
// *GcRule_Intersection_
|
||||
// *GcRule_Union_
|
||||
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 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,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_MaxAge struct {
|
||||
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,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_Union_ struct {
|
||||
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 (m *GcRule) GetRule() isGcRule_Rule {
|
||||
if m != nil {
|
||||
return m.Rule
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GcRule) GetMaxNumVersions() int32 {
|
||||
if x, ok := m.GetRule().(*GcRule_MaxNumVersions); ok {
|
||||
return x.MaxNumVersions
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GcRule) GetMaxAge() *duration.Duration {
|
||||
if x, ok := m.GetRule().(*GcRule_MaxAge); ok {
|
||||
return x.MaxAge
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GcRule) GetIntersection() *GcRule_Intersection {
|
||||
if x, ok := m.GetRule().(*GcRule_Intersection_); ok {
|
||||
return x.Intersection
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GcRule) GetUnion() *GcRule_Union {
|
||||
if x, ok := m.GetRule().(*GcRule_Union_); ok {
|
||||
return x.Union
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*GcRule) 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 _GcRule_OneofMarshaler, _GcRule_OneofUnmarshaler, _GcRule_OneofSizer, []interface{}{
|
||||
(*GcRule_MaxNumVersions)(nil),
|
||||
(*GcRule_MaxAge)(nil),
|
||||
(*GcRule_Intersection_)(nil),
|
||||
(*GcRule_Union_)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _GcRule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*GcRule)
|
||||
// rule
|
||||
switch x := m.Rule.(type) {
|
||||
case *GcRule_MaxNumVersions:
|
||||
b.EncodeVarint(1<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.MaxNumVersions))
|
||||
case *GcRule_MaxAge:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MaxAge); err != nil {
|
||||
return err
|
||||
}
|
||||
case *GcRule_Intersection_:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Intersection); err != nil {
|
||||
return err
|
||||
}
|
||||
case *GcRule_Union_:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Union); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("GcRule.Rule has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _GcRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*GcRule)
|
||||
switch tag {
|
||||
case 1: // rule.max_num_versions
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Rule = &GcRule_MaxNumVersions{int32(x)}
|
||||
return true, err
|
||||
case 2: // rule.max_age
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(duration.Duration)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_MaxAge{msg}
|
||||
return true, err
|
||||
case 3: // rule.intersection
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GcRule_Intersection)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_Intersection_{msg}
|
||||
return true, err
|
||||
case 4: // rule.union
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GcRule_Union)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_Union_{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _GcRule_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*GcRule)
|
||||
// rule
|
||||
switch x := m.Rule.(type) {
|
||||
case *GcRule_MaxNumVersions:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.MaxNumVersions))
|
||||
case *GcRule_MaxAge:
|
||||
s := proto.Size(x.MaxAge)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Intersection_:
|
||||
s := proto.Size(x.Intersection)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Union_:
|
||||
s := proto.Size(x.Union)
|
||||
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 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,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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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")
|
||||
proto.RegisterType((*GcRule_Union)(nil), "google.bigtable.admin.table.v1.GcRule.Union")
|
||||
proto.RegisterEnum("google.bigtable.admin.table.v1.Table_TimestampGranularity", Table_TimestampGranularity_name, Table_TimestampGranularity_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_data.proto", fileDescriptor_bigtable_table_data_021ea70d03a8dd36)
|
||||
}
|
||||
|
||||
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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xab, 0x7c, 0x1f, 0x24, 0x91, 0xce, 0x68, 0xd4, 0x66, 0xe6,
|
||||
0x1e, 0xfc, 0xf0, 0xa1, 0x6d, 0x53, 0xe8, 0x11, 0x74, 0x39, 0x99, 0xc5, 0x42, 0xf3, 0x78, 0x4a,
|
||||
0x55, 0x89, 0xcf, 0x8d, 0xa1, 0xd6, 0x61, 0x23, 0x5a, 0xe3, 0x64, 0xf6, 0x56, 0xf3, 0x8f, 0x2e,
|
||||
0x8f, 0x9e, 0xc0, 0x72, 0x59, 0x4b, 0x58, 0xd5, 0xaf, 0x7b, 0xd5, 0xbe, 0xd5, 0xa1, 0xc5, 0x7b,
|
||||
0xee, 0xd0, 0x1e, 0x36, 0xa2, 0x36, 0x27, 0xb3, 0x97, 0x8c, 0xa2, 0x4f, 0xd0, 0x49, 0x45, 0x41,
|
||||
0x55, 0x4e, 0x13, 0x73, 0x2a, 0xad, 0xe5, 0xad, 0xeb, 0x59, 0xc6, 0x47, 0x35, 0xe9, 0x61, 0x23,
|
||||
0xba, 0x80, 0x42, 0x7b, 0xd0, 0xd2, 0xa2, 0x64, 0x36, 0xaf, 0x37, 0x3e, 0xc7, 0xfc, 0x20, 0x2c,
|
||||
0xcc, 0x8a, 0xfb, 0xc7, 0xd0, 0xa9, 0xef, 0x82, 0x9e, 0x43, 0xab, 0xec, 0x6d, 0xd9, 0x07, 0xff,
|
||||
0x1f, 0x9a, 0x6b, 0x45, 0xfd, 0x7d, 0x68, 0x19, 0xfe, 0xff, 0x61, 0x46, 0x6d, 0x68, 0x96, 0xc1,
|
||||
0xe8, 0x9b, 0x07, 0x41, 0x22, 0xf9, 0x15, 0xe2, 0xd1, 0xdd, 0x91, 0x5b, 0x30, 0x9f, 0xc8, 0x1e,
|
||||
0x29, 0xc8, 0x49, 0x39, 0x92, 0x13, 0xef, 0xf3, 0xae, 0x53, 0x32, 0x99, 0x11, 0xc1, 0xb0, 0x54,
|
||||
0x2c, 0x64, 0x54, 0x98, 0x81, 0x85, 0x76, 0x89, 0x4c, 0xd2, 0xfc, 0x4f, 0x7f, 0xbd, 0x67, 0x26,
|
||||
0x18, 0xb7, 0x4d, 0xfd, 0xd6, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x80, 0x76, 0xdc, 0x24,
|
||||
0x05, 0x00, 0x00,
|
||||
}
|
@ -1,429 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/table/v1/bigtable_table_service.proto
|
||||
|
||||
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 (
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
// 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,
|
||||
// specified in the request.
|
||||
CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error)
|
||||
// Lists the names of all tables served from a specified cluster.
|
||||
ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error)
|
||||
// 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) (*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) (*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) (*empty.Empty, error)
|
||||
// Delete all rows in a table corresponding to a particular prefix
|
||||
BulkDeleteRows(ctx context.Context, in *BulkDeleteRowsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
type bigtableTableServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewBigtableTableServiceClient(cc *grpc.ClientConn) BigtableTableServiceClient {
|
||||
return &bigtableTableServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error) {
|
||||
out := new(Table)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateTable", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) {
|
||||
out := new(ListTablesResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/ListTables", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) {
|
||||
out := new(Table)
|
||||
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) (*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) (*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
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) CreateColumnFamily(ctx context.Context, in *CreateColumnFamilyRequest, opts ...grpc.CallOption) (*ColumnFamily, error) {
|
||||
out := new(ColumnFamily)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateColumnFamily", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableTableServiceClient) UpdateColumnFamily(ctx context.Context, in *ColumnFamily, opts ...grpc.CallOption) (*ColumnFamily, error) {
|
||||
out := new(ColumnFamily)
|
||||
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) (*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) (*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
|
||||
}
|
||||
|
||||
// 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,
|
||||
// specified in the request.
|
||||
CreateTable(context.Context, *CreateTableRequest) (*Table, error)
|
||||
// Lists the names of all tables served from a specified cluster.
|
||||
ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error)
|
||||
// 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) (*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) (*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) (*empty.Empty, error)
|
||||
// Delete all rows in a table corresponding to a particular prefix
|
||||
BulkDeleteRows(context.Context, *BulkDeleteRowsRequest) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterBigtableTableServiceServer(s *grpc.Server, srv BigtableTableServiceServer) {
|
||||
s.RegisterService(&_BigtableTableService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _BigtableTableService_CreateTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateTableRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).CreateTable(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/CreateTable",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).CreateTable(ctx, req.(*CreateTableRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_ListTables_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListTablesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).ListTables(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/ListTables",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).ListTables(ctx, req.(*ListTablesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_GetTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetTableRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).GetTable(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/GetTable",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).GetTable(ctx, req.(*GetTableRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_DeleteTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteTableRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).DeleteTable(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/DeleteTable",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).DeleteTable(ctx, req.(*DeleteTableRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_RenameTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(RenameTableRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).RenameTable(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/RenameTable",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).RenameTable(ctx, req.(*RenameTableRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_CreateColumnFamily_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateColumnFamilyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).CreateColumnFamily(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/CreateColumnFamily",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).CreateColumnFamily(ctx, req.(*CreateColumnFamilyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_UpdateColumnFamily_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ColumnFamily)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).UpdateColumnFamily(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/UpdateColumnFamily",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).UpdateColumnFamily(ctx, req.(*ColumnFamily))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_DeleteColumnFamily_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteColumnFamilyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).DeleteColumnFamily(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/DeleteColumnFamily",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).DeleteColumnFamily(ctx, req.(*DeleteColumnFamilyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableTableService_BulkDeleteRows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(BulkDeleteRowsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableTableServiceServer).BulkDeleteRows(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/BulkDeleteRows",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableTableServiceServer).BulkDeleteRows(ctx, req.(*BulkDeleteRowsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _BigtableTableService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.bigtable.admin.table.v1.BigtableTableService",
|
||||
HandlerType: (*BigtableTableServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "CreateTable",
|
||||
Handler: _BigtableTableService_CreateTable_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListTables",
|
||||
Handler: _BigtableTableService_ListTables_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetTable",
|
||||
Handler: _BigtableTableService_GetTable_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteTable",
|
||||
Handler: _BigtableTableService_DeleteTable_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "RenameTable",
|
||||
Handler: _BigtableTableService_RenameTable_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateColumnFamily",
|
||||
Handler: _BigtableTableService_CreateColumnFamily_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateColumnFamily",
|
||||
Handler: _BigtableTableService_UpdateColumnFamily_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteColumnFamily",
|
||||
Handler: _BigtableTableService_DeleteColumnFamily_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "BulkDeleteRows",
|
||||
Handler: _BigtableTableService_BulkDeleteRows_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/bigtable/admin/table/v1/bigtable_table_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service.proto", fileDescriptor_bigtable_table_service_077fd6962a736aed)
|
||||
}
|
||||
|
||||
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,
|
||||
0x58, 0xb9, 0x82, 0x68, 0xaf, 0xaa, 0x84, 0x72, 0xd7, 0x56, 0xa2, 0x20, 0x95, 0x03, 0x16, 0x96,
|
||||
0xca, 0xc9, 0x3d, 0xa2, 0x40, 0x62, 0x87, 0xd8, 0x39, 0x54, 0x50, 0x17, 0x16, 0xfe, 0x00, 0x58,
|
||||
0x61, 0x62, 0x64, 0x82, 0x1d, 0x76, 0x56, 0xfe, 0x05, 0xfe, 0x10, 0x14, 0x3b, 0xa1, 0x69, 0xf9,
|
||||
0xe1, 0x73, 0xd5, 0x25, 0xe7, 0xb3, 0xbf, 0xdf, 0xf7, 0x3e, 0xcf, 0x7e, 0x96, 0xf1, 0x7a, 0x2a,
|
||||
0x44, 0x9a, 0x03, 0x8d, 0xb3, 0x54, 0xb1, 0x38, 0x07, 0xca, 0xe6, 0x45, 0xc6, 0xa9, 0x19, 0x2f,
|
||||
0xc2, 0xdf, 0xf3, 0x7b, 0xe6, 0x2b, 0xa1, 0x5a, 0x64, 0x09, 0x04, 0x65, 0x25, 0x94, 0x20, 0x57,
|
||||
0x8d, 0x39, 0xe8, 0x44, 0x81, 0x36, 0x07, 0x66, 0xbc, 0x08, 0x87, 0x57, 0xda, 0xe0, 0xac, 0xcc,
|
||||
0x28, 0xe3, 0x5c, 0x28, 0xa6, 0x32, 0xc1, 0xa5, 0x71, 0x0f, 0x57, 0xdd, 0x52, 0xcf, 0x99, 0x62,
|
||||
0xad, 0x73, 0x7a, 0x22, 0xe8, 0xbd, 0x02, 0xa4, 0x64, 0x29, 0x74, 0xf9, 0x2f, 0xb7, 0x51, 0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e3, 0x69, 0x20, 0xaa, 0x94, 0xa6,
|
||||
0xc0, 0x35, 0x3c, 0x35, 0x4b, 0xac, 0xcc, 0xe4, 0xbf, 0xde, 0xc1, 0x75, 0x3d, 0x88, 0xcf, 0x6a,
|
||||
0xfd, 0xca, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0x65, 0xb4, 0xe0, 0xeb, 0x07, 0x00, 0x00,
|
||||
}
|
@ -1,606 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/table/v1/bigtable_table_service_messages.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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 CreateTableRequest struct {
|
||||
// The unique name of the cluster in which to create the new table.
|
||||
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,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,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,
|
||||
// spanning the key ranges: [, s1), [s1, s2), [s2, ).
|
||||
//
|
||||
// Example:
|
||||
// * Row keys := ["a", "apple", "custom", "customer_1", "customer_2",
|
||||
// "other", "zz"]
|
||||
// * initial_split_keys := ["apple", "customer_1", "customer_2", "other"]
|
||||
// * Key assignment:
|
||||
// - Tablet 1 [, apple) => {"a"}.
|
||||
// - Tablet 2 [apple, customer_1) => {"apple", "custom"}.
|
||||
// - 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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateTableRequest) GetTableId() string {
|
||||
if m != nil {
|
||||
return m.TableId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateTableRequest) GetTable() *Table {
|
||||
if m != nil {
|
||||
return m.Table
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CreateTableRequest) GetInitialSplitKeys() []string {
|
||||
if m != nil {
|
||||
return m.InitialSplitKeys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ListTablesRequest struct {
|
||||
// The unique name of the cluster for which tables should be listed.
|
||||
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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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,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 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 {
|
||||
return m.Tables
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetTableRequest struct {
|
||||
// The unique name of the requested table.
|
||||
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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type DeleteTableRequest struct {
|
||||
// The unique name of the table to be deleted.
|
||||
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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type RenameTableRequest struct {
|
||||
// The current unique name of the table.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RenameTableRequest) GetNewId() string {
|
||||
if m != nil {
|
||||
return m.NewId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateColumnFamilyRequest) GetColumnFamilyId() string {
|
||||
if m != nil {
|
||||
return m.ColumnFamilyId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateColumnFamilyRequest) GetColumnFamily() *ColumnFamily {
|
||||
if m != nil {
|
||||
return m.ColumnFamily
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DeleteColumnFamilyRequest struct {
|
||||
// The unique name of the column family to be deleted.
|
||||
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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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,proto3" json:"table_name,omitempty"`
|
||||
// Types that are valid to be assigned to Target:
|
||||
// *BulkDeleteRowsRequest_RowKeyPrefix
|
||||
// *BulkDeleteRowsRequest_DeleteAllDataFromTable
|
||||
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 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()
|
||||
}
|
||||
|
||||
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,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*BulkDeleteRowsRequest_RowKeyPrefix) isBulkDeleteRowsRequest_Target() {}
|
||||
|
||||
func (*BulkDeleteRowsRequest_DeleteAllDataFromTable) isBulkDeleteRowsRequest_Target() {}
|
||||
|
||||
func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target {
|
||||
if m != nil {
|
||||
return m.Target
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BulkDeleteRowsRequest) GetRowKeyPrefix() []byte {
|
||||
if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_RowKeyPrefix); ok {
|
||||
return x.RowKeyPrefix
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BulkDeleteRowsRequest) GetDeleteAllDataFromTable() bool {
|
||||
if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_DeleteAllDataFromTable); ok {
|
||||
return x.DeleteAllDataFromTable
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*BulkDeleteRowsRequest) 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 _BulkDeleteRowsRequest_OneofMarshaler, _BulkDeleteRowsRequest_OneofUnmarshaler, _BulkDeleteRowsRequest_OneofSizer, []interface{}{
|
||||
(*BulkDeleteRowsRequest_RowKeyPrefix)(nil),
|
||||
(*BulkDeleteRowsRequest_DeleteAllDataFromTable)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _BulkDeleteRowsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*BulkDeleteRowsRequest)
|
||||
// target
|
||||
switch x := m.Target.(type) {
|
||||
case *BulkDeleteRowsRequest_RowKeyPrefix:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
b.EncodeRawBytes(x.RowKeyPrefix)
|
||||
case *BulkDeleteRowsRequest_DeleteAllDataFromTable:
|
||||
t := uint64(0)
|
||||
if x.DeleteAllDataFromTable {
|
||||
t = 1
|
||||
}
|
||||
b.EncodeVarint(3<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(t)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("BulkDeleteRowsRequest.Target has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _BulkDeleteRowsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*BulkDeleteRowsRequest)
|
||||
switch tag {
|
||||
case 2: // target.row_key_prefix
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeRawBytes(true)
|
||||
m.Target = &BulkDeleteRowsRequest_RowKeyPrefix{x}
|
||||
return true, err
|
||||
case 3: // target.delete_all_data_from_table
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Target = &BulkDeleteRowsRequest_DeleteAllDataFromTable{x != 0}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _BulkDeleteRowsRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*BulkDeleteRowsRequest)
|
||||
// target
|
||||
switch x := m.Target.(type) {
|
||||
case *BulkDeleteRowsRequest_RowKeyPrefix:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.RowKeyPrefix)))
|
||||
n += len(x.RowKeyPrefix)
|
||||
case *BulkDeleteRowsRequest_DeleteAllDataFromTable:
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*CreateTableRequest)(nil), "google.bigtable.admin.table.v1.CreateTableRequest")
|
||||
proto.RegisterType((*ListTablesRequest)(nil), "google.bigtable.admin.table.v1.ListTablesRequest")
|
||||
proto.RegisterType((*ListTablesResponse)(nil), "google.bigtable.admin.table.v1.ListTablesResponse")
|
||||
proto.RegisterType((*GetTableRequest)(nil), "google.bigtable.admin.table.v1.GetTableRequest")
|
||||
proto.RegisterType((*DeleteTableRequest)(nil), "google.bigtable.admin.table.v1.DeleteTableRequest")
|
||||
proto.RegisterType((*RenameTableRequest)(nil), "google.bigtable.admin.table.v1.RenameTableRequest")
|
||||
proto.RegisterType((*CreateColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.CreateColumnFamilyRequest")
|
||||
proto.RegisterType((*DeleteColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.DeleteColumnFamilyRequest")
|
||||
proto.RegisterType((*BulkDeleteRowsRequest)(nil), "google.bigtable.admin.table.v1.BulkDeleteRowsRequest")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor_bigtable_table_service_messages_db488db316a00db0)
|
||||
}
|
||||
|
||||
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,
|
||||
0x50, 0xd9, 0x2a, 0x5c, 0x90, 0x0a, 0x42, 0x24, 0x51, 0x69, 0x54, 0x40, 0xc1, 0xe1, 0xc4, 0xc5,
|
||||
0xda, 0xc4, 0x13, 0x6b, 0xd5, 0xb5, 0x37, 0xec, 0x6e, 0x12, 0xf2, 0x13, 0x7c, 0x06, 0x27, 0xc4,
|
||||
0x37, 0x22, 0xef, 0x9a, 0x26, 0x3d, 0x10, 0x97, 0x8b, 0x35, 0x9e, 0x79, 0xf3, 0x66, 0xf6, 0xcd,
|
||||
0x0c, 0xf4, 0x13, 0x29, 0x13, 0x81, 0xc1, 0x98, 0x27, 0x86, 0x8d, 0x05, 0x06, 0x2c, 0x4e, 0x79,
|
||||
0x16, 0x38, 0x7b, 0x71, 0x7a, 0xed, 0x8f, 0xdc, 0x57, 0xa3, 0x5a, 0xf0, 0x09, 0x46, 0x29, 0x6a,
|
||||
0xcd, 0x12, 0xd4, 0xfe, 0x4c, 0x49, 0x23, 0xc9, 0x13, 0xc7, 0xe2, 0xff, 0x45, 0xfb, 0x96, 0xc5,
|
||||
0x77, 0xf6, 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0x54,
|
||||
0x49, 0x90, 0x60, 0x66, 0x2f, 0x36, 0x70, 0x21, 0x36, 0xe3, 0xfa, 0x5f, 0xe7, 0x7e, 0x66, 0x8d,
|
||||
0x71, 0xd5, 0xe2, 0x5f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x08, 0x29, 0x16, 0x83, 0x04,
|
||||
0x00, 0x00,
|
||||
}
|
2038
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go
generated
vendored
2038
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
2163
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go
generated
vendored
2163
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
80
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go
generated
vendored
80
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go
generated
vendored
@ -1,80 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/v2/common.proto
|
||||
|
||||
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 _ "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
|
||||
|
||||
const (
|
||||
// The user did not specify a storage type.
|
||||
StorageType_STORAGE_TYPE_UNSPECIFIED StorageType = 0
|
||||
// Flash (SSD) storage should be used.
|
||||
StorageType_SSD StorageType = 1
|
||||
// Magnetic drive (HDD) storage should be used.
|
||||
StorageType_HDD StorageType = 2
|
||||
)
|
||||
|
||||
var StorageType_name = map[int32]string{
|
||||
0: "STORAGE_TYPE_UNSPECIFIED",
|
||||
1: "SSD",
|
||||
2: "HDD",
|
||||
}
|
||||
var StorageType_value = map[string]int32{
|
||||
"STORAGE_TYPE_UNSPECIFIED": 0,
|
||||
"SSD": 1,
|
||||
"HDD": 2,
|
||||
}
|
||||
|
||||
func (x StorageType) String() string {
|
||||
return proto.EnumName(StorageType_name, int32(x))
|
||||
}
|
||||
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", fileDescriptor_common_a7c806066773dffe)
|
||||
}
|
||||
|
||||
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,
|
||||
0x7a, 0x94, 0x1d, 0xd6, 0x1f, 0xce, 0x5d, 0xb4, 0x98, 0x3a, 0x50, 0x0a, 0x23, 0xdd, 0x62, 0x08,
|
||||
0x34, 0x79, 0xa1, 0xcd, 0x06,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, 0xf9, 0xf9, 0xac, 0x85, 0xc3, 0x1e, 0xa7, 0x63, 0xdc, 0xd2, 0xc5, 0x6d,
|
||||
0x92, 0x9f, 0x11, 0xd4, 0x0e, 0xd4, 0x23, 0xa8, 0x1d, 0xa8, 0x37, 0x49, 0x73, 0xe1, 0xb2, 0xee,
|
||||
0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x9e, 0x61, 0x6a, 0x78, 0x01, 0x00, 0x00,
|
||||
}
|
659
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go
generated
vendored
659
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go
generated
vendored
@ -1,659 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/v2/instance.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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 states of an instance.
|
||||
type Instance_State int32
|
||||
|
||||
const (
|
||||
// The state of the instance could not be determined.
|
||||
Instance_STATE_NOT_KNOWN Instance_State = 0
|
||||
// The instance has been successfully created and can serve requests
|
||||
// to its tables.
|
||||
Instance_READY Instance_State = 1
|
||||
// The instance is currently being created, and may be destroyed
|
||||
// if the creation process encounters an error.
|
||||
Instance_CREATING Instance_State = 2
|
||||
)
|
||||
|
||||
var Instance_State_name = map[int32]string{
|
||||
0: "STATE_NOT_KNOWN",
|
||||
1: "READY",
|
||||
2: "CREATING",
|
||||
}
|
||||
var Instance_State_value = map[string]int32{
|
||||
"STATE_NOT_KNOWN": 0,
|
||||
"READY": 1,
|
||||
"CREATING": 2,
|
||||
}
|
||||
|
||||
func (x Instance_State) String() string {
|
||||
return proto.EnumName(Instance_State_name, int32(x))
|
||||
}
|
||||
func (Instance_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{0, 0}
|
||||
}
|
||||
|
||||
// The type of the instance.
|
||||
type Instance_Type int32
|
||||
|
||||
const (
|
||||
// The type of the instance is unspecified. If set when creating an
|
||||
// instance, a `PRODUCTION` instance will be created. If set when updating
|
||||
// an instance, the type will be left unchanged.
|
||||
Instance_TYPE_UNSPECIFIED Instance_Type = 0
|
||||
// An instance meant for production use. `serve_nodes` must be set
|
||||
// on the cluster.
|
||||
Instance_PRODUCTION Instance_Type = 1
|
||||
// The instance is meant for development and testing purposes only; it has
|
||||
// no performance or uptime guarantees and is not covered by SLA.
|
||||
// After a development instance is created, it can be upgraded by
|
||||
// updating the instance to type `PRODUCTION`. An instance created
|
||||
// as a production instance cannot be changed to a development instance.
|
||||
// When creating a development instance, `serve_nodes` on the cluster must
|
||||
// not be set.
|
||||
Instance_DEVELOPMENT Instance_Type = 2
|
||||
)
|
||||
|
||||
var Instance_Type_name = map[int32]string{
|
||||
0: "TYPE_UNSPECIFIED",
|
||||
1: "PRODUCTION",
|
||||
2: "DEVELOPMENT",
|
||||
}
|
||||
var Instance_Type_value = map[string]int32{
|
||||
"TYPE_UNSPECIFIED": 0,
|
||||
"PRODUCTION": 1,
|
||||
"DEVELOPMENT": 2,
|
||||
}
|
||||
|
||||
func (x Instance_Type) String() string {
|
||||
return proto.EnumName(Instance_Type_name, int32(x))
|
||||
}
|
||||
func (Instance_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_instance_49fafc75b31da0ad, []int{0, 1}
|
||||
}
|
||||
|
||||
// Possible states of a cluster.
|
||||
type Cluster_State int32
|
||||
|
||||
const (
|
||||
// The state of the cluster could not be determined.
|
||||
Cluster_STATE_NOT_KNOWN Cluster_State = 0
|
||||
// The cluster has been successfully created and is ready to serve requests.
|
||||
Cluster_READY Cluster_State = 1
|
||||
// The cluster is currently being created, and may be destroyed
|
||||
// if the creation process encounters an error.
|
||||
// A cluster may not be able to serve requests while being created.
|
||||
Cluster_CREATING Cluster_State = 2
|
||||
// The cluster is currently being resized, and may revert to its previous
|
||||
// node count if the process encounters an error.
|
||||
// A cluster is still capable of serving requests while being resized,
|
||||
// but may exhibit performance as if its number of allocated nodes is
|
||||
// between the starting and requested states.
|
||||
Cluster_RESIZING Cluster_State = 3
|
||||
// The cluster has no backing nodes. The data (tables) still
|
||||
// exist, but no operations can be performed on the cluster.
|
||||
Cluster_DISABLED Cluster_State = 4
|
||||
)
|
||||
|
||||
var Cluster_State_name = map[int32]string{
|
||||
0: "STATE_NOT_KNOWN",
|
||||
1: "READY",
|
||||
2: "CREATING",
|
||||
3: "RESIZING",
|
||||
4: "DISABLED",
|
||||
}
|
||||
var Cluster_State_value = map[string]int32{
|
||||
"STATE_NOT_KNOWN": 0,
|
||||
"READY": 1,
|
||||
"CREATING": 2,
|
||||
"RESIZING": 3,
|
||||
"DISABLED": 4,
|
||||
}
|
||||
|
||||
func (x Cluster_State) String() string {
|
||||
return proto.EnumName(Cluster_State_name, int32(x))
|
||||
}
|
||||
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.
|
||||
// All tables in an instance are served from a single
|
||||
// [Cluster][google.bigtable.admin.v2.Cluster].
|
||||
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,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,proto3" json:"display_name,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The current state of the instance.
|
||||
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,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
|
||||
// metrics.
|
||||
//
|
||||
// * Label keys must be between 1 and 63 characters long and must conform to
|
||||
// the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
|
||||
// * Label values must be between 0 and 63 characters long and must conform to
|
||||
// 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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Instance) GetState() Instance_State {
|
||||
if m != nil {
|
||||
return m.State
|
||||
}
|
||||
return Instance_STATE_NOT_KNOWN
|
||||
}
|
||||
|
||||
func (m *Instance) GetType() Instance_Type {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return Instance_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Instance) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A resizable group of nodes in a particular cloud location, capable
|
||||
// of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
|
||||
// [Instance][google.bigtable.admin.v2.Instance].
|
||||
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,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,proto3" json:"location,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The current state of the cluster.
|
||||
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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Cluster) GetLocation() string {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Cluster) GetState() Cluster_State {
|
||||
if m != nil {
|
||||
return m.State
|
||||
}
|
||||
return Cluster_STATE_NOT_KNOWN
|
||||
}
|
||||
|
||||
func (m *Cluster) GetServeNodes() int32 {
|
||||
if m != nil {
|
||||
return m.ServeNodes
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Cluster) GetDefaultStorageType() StorageType {
|
||||
if m != nil {
|
||||
return m.DefaultStorageType
|
||||
}
|
||||
return StorageType_STORAGE_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// 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,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
|
||||
// `update_mask` of the request need not include `etag` for this protection
|
||||
// to apply.
|
||||
// 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,proto3" json:"etag,omitempty"`
|
||||
// Optional long form description of the use case for this AppProfile.
|
||||
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"`
|
||||
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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AppProfile proto.InternalMessageInfo
|
||||
|
||||
func (m *AppProfile) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AppProfile) GetEtag() string {
|
||||
if m != nil {
|
||||
return m.Etag
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AppProfile) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
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
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AppProfile) GetSingleClusterRouting() *AppProfile_SingleClusterRouting {
|
||||
if x, ok := m.GetRoutingPolicy().(*AppProfile_SingleClusterRouting_); ok {
|
||||
return x.SingleClusterRouting
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*AppProfile) 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 _AppProfile_OneofMarshaler, _AppProfile_OneofUnmarshaler, _AppProfile_OneofSizer, []interface{}{
|
||||
(*AppProfile_MultiClusterRoutingUseAny_)(nil),
|
||||
(*AppProfile_SingleClusterRouting_)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _AppProfile_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*AppProfile)
|
||||
// routing_policy
|
||||
switch x := m.RoutingPolicy.(type) {
|
||||
case *AppProfile_MultiClusterRoutingUseAny_:
|
||||
b.EncodeVarint(5<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MultiClusterRoutingUseAny); err != nil {
|
||||
return err
|
||||
}
|
||||
case *AppProfile_SingleClusterRouting_:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.SingleClusterRouting); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("AppProfile.RoutingPolicy has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _AppProfile_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*AppProfile)
|
||||
switch tag {
|
||||
case 5: // routing_policy.multi_cluster_routing_use_any
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(AppProfile_MultiClusterRoutingUseAny)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.RoutingPolicy = &AppProfile_MultiClusterRoutingUseAny_{msg}
|
||||
return true, err
|
||||
case 6: // routing_policy.single_cluster_routing
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(AppProfile_SingleClusterRouting)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.RoutingPolicy = &AppProfile_SingleClusterRouting_{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _AppProfile_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*AppProfile)
|
||||
// routing_policy
|
||||
switch x := m.RoutingPolicy.(type) {
|
||||
case *AppProfile_MultiClusterRoutingUseAny_:
|
||||
s := proto.Size(x.MultiClusterRoutingUseAny)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *AppProfile_SingleClusterRouting_:
|
||||
s := proto.Size(x.SingleClusterRouting)
|
||||
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
|
||||
}
|
||||
|
||||
// Read/write requests may be routed to any cluster in the instance, and will
|
||||
// fail over to another cluster in the event of transient errors or delays.
|
||||
// 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 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,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,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 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 {
|
||||
return m.ClusterId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AppProfile_SingleClusterRouting) GetAllowTransactionalWrites() bool {
|
||||
if m != nil {
|
||||
return m.AllowTransactionalWrites
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
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")
|
||||
proto.RegisterType((*AppProfile_SingleClusterRouting)(nil), "google.bigtable.admin.v2.AppProfile.SingleClusterRouting")
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Instance_State", Instance_State_name, Instance_State_value)
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Instance_Type", Instance_Type_name, Instance_Type_value)
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Cluster_State", Cluster_State_name, Cluster_State_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/v2/instance.proto", fileDescriptor_instance_49fafc75b31da0ad)
|
||||
}
|
||||
|
||||
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,
|
||||
0xb9, 0x72, 0xa4, 0x20, 0x24, 0x4a, 0xd9, 0x4a, 0xf9, 0x71, 0x5b, 0x8b, 0xad, 0x13, 0x1c, 0xef,
|
||||
0xae, 0xba, 0x8a, 0x64, 0x4d, 0xec, 0x59, 0xcb, 0x62, 0x32, 0x63, 0x3c, 0x93, 0xac, 0x7c, 0xcb,
|
||||
0xe3, 0x70, 0xc5, 0x1d, 0x4f, 0xc0, 0x0d, 0x8f, 0xc3, 0x13, 0x20, 0x8f, 0x6d, 0x76, 0x17, 0x12,
|
||||
0xb4, 0xe2, 0x6e, 0xce, 0x39, 0xdf, 0x77, 0xbe, 0x33, 0xdf, 0xb1, 0x07, 0x5e, 0x84, 0x9c, 0x87,
|
||||
0x94, 0x0c, 0xd7, 0x51, 0x28, 0xf1, 0x9a, 0x92, 0x21, 0x0e, 0x36, 0x11, 0x1b, 0xee, 0x46, 0xc3,
|
||||
0x88, 0x09, 0x89, 0x99, 0x4f, 0x8c, 0x38, 0xe1, 0x92, 0xa3, 0x4e, 0x0e, 0x34, 0x4a, 0xa0, 0xa1,
|
||||
0x80, 0xc6, 0x6e, 0xd4, 0x7d, 0x5a, 0xb4, 0xc0, 0x71, 0x34, 0xc4, 0x8c, 0x71, 0x89, 0x65, 0xc4,
|
||||
0x99, 0xc8, 0x79, 0xdd, 0xe7, 0x07, 0x05, 0x7c, 0xbe, 0xd9, 0x70, 0x96, 0xc3, 0xfa, 0xbf, 0xd5,
|
||||
0xa0, 0x69, 0x15, 0x8a, 0x08, 0x41, 0x9d, 0xe1, 0x0d, 0xe9, 0x68, 0x3d, 0x6d, 0x70, 0xec, 0xa8,
|
||||
0x33, 0xfa, 0x12, 0x1e, 0x05, 0x91, 0x88, 0x29, 0x4e, 0x3d, 0x55, 0xab, 0xaa, 0x5a, 0xab, 0xc8,
|
||||
0xd9, 0x19, 0xe4, 0x35, 0x34, 0x84, 0xc4, 0x92, 0x74, 0x6a, 0x3d, 0x6d, 0x70, 0x32, 0x1a, 0x18,
|
||||
0x87, 0x46, 0x36, 0x4a, 0x25, 0x63, 0x99, 0xe1, 0x9d, 0x9c, 0x86, 0x5e, 0x41, 0x5d, 0xa6, 0x31,
|
||||
0xe9, 0xd4, 0x15, 0xfd, 0xc5, 0x03, 0xe8, 0x6e, 0x1a, 0x13, 0x47, 0x91, 0xd0, 0x1b, 0x38, 0xa2,
|
||||
0x78, 0x4d, 0xa8, 0xe8, 0x34, 0x7a, 0xb5, 0x41, 0x6b, 0x64, 0x3c, 0x80, 0x7e, 0xa6, 0x08, 0x26,
|
||||
0x93, 0x49, 0xea, 0x14, 0xec, 0xee, 0x4b, 0x68, 0xdd, 0x49, 0x23, 0x1d, 0x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x33, 0xf4, 0x0c, 0xa0, 0x1c, 0x30, 0x0a, 0x0a,
|
||||
0xf3, 0x8f, 0x8b, 0x8c, 0x15, 0xa0, 0xef, 0xa0, 0x8b, 0x29, 0xe5, 0x37, 0x9e, 0x4c, 0x30, 0x13,
|
||||
0xd8, 0xcf, 0x0c, 0xc6, 0xd4, 0xbb, 0x49, 0x22, 0x49, 0x84, 0xda, 0x4b, 0xd3, 0xe9, 0x28, 0x84,
|
||||
0x7b, 0x17, 0x70, 0xa9, 0xea, 0x13, 0x1d, 0x4e, 0x4a, 0xeb, 0x63, 0x4e, 0x23, 0x3f, 0x9d, 0xfc,
|
||||
0xaa, 0xc1, 0x53, 0x9f, 0x6f, 0x0e, 0x5e, 0x7e, 0xf2, 0x71, 0xf9, 0x58, 0x2c, 0xb2, 0x67, 0x72,
|
||||
0xa1, 0x5d, 0x9d, 0x16, 0xd0, 0x90, 0x53, 0xcc, 0x42, 0x83, 0x27, 0xe1, 0x30, 0x24, 0x4c, 0x3d,
|
||||
0xa2, 0xc3, 0xbc, 0x84, 0xe3, 0x48, 0xfc, 0xfb, 0xb9, 0x7d, 0xa5, 0x0e, 0xbf, 0x54, 0x3f, 0x7f,
|
||||
0x9b, 0xf3, 0xa7, 0x94, 0x6f, 0x03, 0x63, 0x52, 0x0a, 0x8e, 0x95, 0xe0, 0xc5, 0xe8, 0x8f, 0x12,
|
||||
0xb0, 0x52, 0x80, 0x55, 0x09, 0x58, 0x29, 0xc0, 0xea, 0x62, 0xb4, 0x3e, 0x52, 0x5a, 0x5f, 0xfd,
|
||||
0x15, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x04, 0x3d, 0xfc, 0x3a, 0x06, 0x00, 0x00,
|
||||
}
|
820
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go
generated
vendored
820
vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go
generated
vendored
@ -1,820 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/admin/v2/table.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
const (
|
||||
// The user did not specify a granularity. Should not be returned.
|
||||
// When specified during table creation, MILLIS will be used.
|
||||
Table_TIMESTAMP_GRANULARITY_UNSPECIFIED Table_TimestampGranularity = 0
|
||||
// The table keeps data versioned at a granularity of 1ms.
|
||||
Table_MILLIS Table_TimestampGranularity = 1
|
||||
)
|
||||
|
||||
var Table_TimestampGranularity_name = map[int32]string{
|
||||
0: "TIMESTAMP_GRANULARITY_UNSPECIFIED",
|
||||
1: "MILLIS",
|
||||
}
|
||||
var Table_TimestampGranularity_value = map[string]int32{
|
||||
"TIMESTAMP_GRANULARITY_UNSPECIFIED": 0,
|
||||
"MILLIS": 1,
|
||||
}
|
||||
|
||||
func (x Table_TimestampGranularity) String() string {
|
||||
return proto.EnumName(Table_TimestampGranularity_name, int32(x))
|
||||
}
|
||||
func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0, 0}
|
||||
}
|
||||
|
||||
// Defines a view over a table's fields.
|
||||
type Table_View int32
|
||||
|
||||
const (
|
||||
// Uses the default view for each method as documented in its request.
|
||||
Table_VIEW_UNSPECIFIED Table_View = 0
|
||||
// Only populates `name`.
|
||||
Table_NAME_ONLY Table_View = 1
|
||||
// Only populates `name` and fields related to the table's schema.
|
||||
Table_SCHEMA_VIEW Table_View = 2
|
||||
// Only populates `name` and fields related to the table's
|
||||
// replication state.
|
||||
Table_REPLICATION_VIEW Table_View = 3
|
||||
// Populates all fields.
|
||||
Table_FULL Table_View = 4
|
||||
)
|
||||
|
||||
var Table_View_name = map[int32]string{
|
||||
0: "VIEW_UNSPECIFIED",
|
||||
1: "NAME_ONLY",
|
||||
2: "SCHEMA_VIEW",
|
||||
3: "REPLICATION_VIEW",
|
||||
4: "FULL",
|
||||
}
|
||||
var Table_View_value = map[string]int32{
|
||||
"VIEW_UNSPECIFIED": 0,
|
||||
"NAME_ONLY": 1,
|
||||
"SCHEMA_VIEW": 2,
|
||||
"REPLICATION_VIEW": 3,
|
||||
"FULL": 4,
|
||||
}
|
||||
|
||||
func (x Table_View) String() string {
|
||||
return proto.EnumName(Table_View_name, int32(x))
|
||||
}
|
||||
func (Table_View) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0, 1}
|
||||
}
|
||||
|
||||
// Table replication states.
|
||||
type Table_ClusterState_ReplicationState int32
|
||||
|
||||
const (
|
||||
// The replication state of the table is unknown in this cluster.
|
||||
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 requests.
|
||||
Table_ClusterState_INITIALIZING Table_ClusterState_ReplicationState = 1
|
||||
// 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 requests from this
|
||||
// cluster due to unplanned or emergency maintenance.
|
||||
Table_ClusterState_UNPLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 3
|
||||
// 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
|
||||
)
|
||||
|
||||
var Table_ClusterState_ReplicationState_name = map[int32]string{
|
||||
0: "STATE_NOT_KNOWN",
|
||||
1: "INITIALIZING",
|
||||
2: "PLANNED_MAINTENANCE",
|
||||
3: "UNPLANNED_MAINTENANCE",
|
||||
4: "READY",
|
||||
}
|
||||
var Table_ClusterState_ReplicationState_value = map[string]int32{
|
||||
"STATE_NOT_KNOWN": 0,
|
||||
"INITIALIZING": 1,
|
||||
"PLANNED_MAINTENANCE": 2,
|
||||
"UNPLANNED_MAINTENANCE": 3,
|
||||
"READY": 4,
|
||||
}
|
||||
|
||||
func (x Table_ClusterState_ReplicationState) String() string {
|
||||
return proto.EnumName(Table_ClusterState_ReplicationState_name, int32(x))
|
||||
}
|
||||
func (Table_ClusterState_ReplicationState) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_table_cd8df3d61350f137, []int{0, 0, 0}
|
||||
}
|
||||
|
||||
// Possible states of a snapshot.
|
||||
type Snapshot_State int32
|
||||
|
||||
const (
|
||||
// The state of the snapshot could not be determined.
|
||||
Snapshot_STATE_NOT_KNOWN Snapshot_State = 0
|
||||
// The snapshot has been successfully created and can serve all requests.
|
||||
Snapshot_READY Snapshot_State = 1
|
||||
// The snapshot is currently being created, and may be destroyed if the
|
||||
// creation process encounters an error. A snapshot may not be restored to a
|
||||
// table while it is being created.
|
||||
Snapshot_CREATING Snapshot_State = 2
|
||||
)
|
||||
|
||||
var Snapshot_State_name = map[int32]string{
|
||||
0: "STATE_NOT_KNOWN",
|
||||
1: "READY",
|
||||
2: "CREATING",
|
||||
}
|
||||
var Snapshot_State_value = map[string]int32{
|
||||
"STATE_NOT_KNOWN": 0,
|
||||
"READY": 1,
|
||||
"CREATING": 2,
|
||||
}
|
||||
|
||||
func (x Snapshot_State) String() string {
|
||||
return proto.EnumName(Snapshot_State_name, int32(x))
|
||||
}
|
||||
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.
|
||||
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`, `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: `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,proto3" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// (`CreationOnly`)
|
||||
// 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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Table) GetClusterStates() map[string]*Table_ClusterState {
|
||||
if m != nil {
|
||||
return m.ClusterStates
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Table) GetColumnFamilies() map[string]*ColumnFamily {
|
||||
if m != nil {
|
||||
return m.ColumnFamilies
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Table) GetGranularity() Table_TimestampGranularity {
|
||||
if m != nil {
|
||||
return m.Granularity
|
||||
}
|
||||
return Table_TIMESTAMP_GRANULARITY_UNSPECIFIED
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.ReplicationState
|
||||
}
|
||||
return Table_ClusterState_STATE_NOT_KNOWN
|
||||
}
|
||||
|
||||
// A set of columns within a table which share a common configuration.
|
||||
type ColumnFamily struct {
|
||||
// Garbage collection rule specified as a protobuf.
|
||||
// Must serialize to at most 500 bytes.
|
||||
//
|
||||
// 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,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 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 {
|
||||
return m.GcRule
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Rule for determining which cells to delete during garbage collection.
|
||||
type GcRule struct {
|
||||
// Garbage collection rules.
|
||||
//
|
||||
// Types that are valid to be assigned to Rule:
|
||||
// *GcRule_MaxNumVersions
|
||||
// *GcRule_MaxAge
|
||||
// *GcRule_Intersection_
|
||||
// *GcRule_Union_
|
||||
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 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,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_MaxAge struct {
|
||||
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,proto3,oneof"`
|
||||
}
|
||||
|
||||
type GcRule_Union_ struct {
|
||||
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 (m *GcRule) GetRule() isGcRule_Rule {
|
||||
if m != nil {
|
||||
return m.Rule
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GcRule) GetMaxNumVersions() int32 {
|
||||
if x, ok := m.GetRule().(*GcRule_MaxNumVersions); ok {
|
||||
return x.MaxNumVersions
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GcRule) GetMaxAge() *duration.Duration {
|
||||
if x, ok := m.GetRule().(*GcRule_MaxAge); ok {
|
||||
return x.MaxAge
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GcRule) GetIntersection() *GcRule_Intersection {
|
||||
if x, ok := m.GetRule().(*GcRule_Intersection_); ok {
|
||||
return x.Intersection
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GcRule) GetUnion() *GcRule_Union {
|
||||
if x, ok := m.GetRule().(*GcRule_Union_); ok {
|
||||
return x.Union
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*GcRule) 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 _GcRule_OneofMarshaler, _GcRule_OneofUnmarshaler, _GcRule_OneofSizer, []interface{}{
|
||||
(*GcRule_MaxNumVersions)(nil),
|
||||
(*GcRule_MaxAge)(nil),
|
||||
(*GcRule_Intersection_)(nil),
|
||||
(*GcRule_Union_)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _GcRule_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*GcRule)
|
||||
// rule
|
||||
switch x := m.Rule.(type) {
|
||||
case *GcRule_MaxNumVersions:
|
||||
b.EncodeVarint(1<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.MaxNumVersions))
|
||||
case *GcRule_MaxAge:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MaxAge); err != nil {
|
||||
return err
|
||||
}
|
||||
case *GcRule_Intersection_:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Intersection); err != nil {
|
||||
return err
|
||||
}
|
||||
case *GcRule_Union_:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Union); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("GcRule.Rule has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _GcRule_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*GcRule)
|
||||
switch tag {
|
||||
case 1: // rule.max_num_versions
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Rule = &GcRule_MaxNumVersions{int32(x)}
|
||||
return true, err
|
||||
case 2: // rule.max_age
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(duration.Duration)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_MaxAge{msg}
|
||||
return true, err
|
||||
case 3: // rule.intersection
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GcRule_Intersection)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_Intersection_{msg}
|
||||
return true, err
|
||||
case 4: // rule.union
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(GcRule_Union)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Rule = &GcRule_Union_{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _GcRule_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*GcRule)
|
||||
// rule
|
||||
switch x := m.Rule.(type) {
|
||||
case *GcRule_MaxNumVersions:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.MaxNumVersions))
|
||||
case *GcRule_MaxAge:
|
||||
s := proto.Size(x.MaxAge)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Intersection_:
|
||||
s := proto.Size(x.Intersection)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *GcRule_Union_:
|
||||
s := proto.Size(x.Union)
|
||||
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 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,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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.Rules
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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,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,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,proto3" json:"data_size_bytes,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// The time when the snapshot is created.
|
||||
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 *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,proto3,enum=google.bigtable.admin.v2.Snapshot_State" json:"state,omitempty"`
|
||||
// (`OutputOnly`)
|
||||
// Description of the snapshot.
|
||||
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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetSourceTable() *Table {
|
||||
if m != nil {
|
||||
return m.SourceTable
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetDataSizeBytes() int64 {
|
||||
if m != nil {
|
||||
return m.DataSizeBytes
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetDeleteTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.DeleteTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetState() Snapshot_State {
|
||||
if m != nil {
|
||||
return m.State
|
||||
}
|
||||
return Snapshot_STATE_NOT_KNOWN
|
||||
}
|
||||
|
||||
func (m *Snapshot) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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")
|
||||
proto.RegisterType((*GcRule_Intersection)(nil), "google.bigtable.admin.v2.GcRule.Intersection")
|
||||
proto.RegisterType((*GcRule_Union)(nil), "google.bigtable.admin.v2.GcRule.Union")
|
||||
proto.RegisterType((*Snapshot)(nil), "google.bigtable.admin.v2.Snapshot")
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Table_TimestampGranularity", Table_TimestampGranularity_name, Table_TimestampGranularity_value)
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Table_View", Table_View_name, Table_View_value)
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Table_ClusterState_ReplicationState", Table_ClusterState_ReplicationState_name, Table_ClusterState_ReplicationState_value)
|
||||
proto.RegisterEnum("google.bigtable.admin.v2.Snapshot_State", Snapshot_State_name, Snapshot_State_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/admin/v2/table.proto", fileDescriptor_table_cd8df3d61350f137)
|
||||
}
|
||||
|
||||
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,
|
||||
0x45, 0x08, 0x1c, 0xc9, 0x1b, 0x08, 0x18, 0x1b, 0x72, 0x52, 0xb7, 0xb5, 0x48, 0xdc, 0xc8, 0x71,
|
||||
0x32, 0x75, 0x8a, 0x64, 0xdd, 0x38, 0x77, 0xc6, 0xe0, 0x1f, 0x91, 0x7f, 0x94, 0x66, 0x4f, 0xc1,
|
||||
0x0b, 0xf0, 0x37, 0x12, 0x12, 0x2f, 0xc2, 0xf3, 0xf0, 0x00, 0xc8, 0xf7, 0xda, 0x5b, 0xda, 0x26,
|
||||
0x84, 0xf1, 0x57, 0xaf, 0xbf, 0x7b, 0xce, 0xf9, 0xfc, 0x9d, 0x7b, 0x7d, 0x1a, 0xf8, 0xc4, 0x09,
|
||||
0x43, 0xc7, 0x23, 0x9d, 0x99, 0xeb, 0x24, 0x78, 0xe6, 0x91, 0x0e, 0x9e, 0xfb, 0x6e, 0xd0, 0xb9,
|
||||
0x92, 0x3b, 0xf4, 0x51, 0x5a, 0x44, 0x61, 0x12, 0xa2, 0x3a, 0x43, 0x49, 0x05, 0x4a, 0xa2, 0x28,
|
||||
0xe9, 0x4a, 0x6e, 0x3c, 0xc8, 0xf9, 0x78, 0xe1, 0x76, 0x70, 0x10, 0x84, 0x09, 0x4e, 0xdc, 0x30,
|
||||
0x88, 0x19, 0xaf, 0xf1, 0x30, 0xdf, 0xa5, 0x4f, 0xb3, 0xf4, 0x75, 0x67, 0x9e, 0x46, 0x14, 0x90,
|
||||
0xef, 0x3f, 0xba, 0xbd, 0x9f, 0xb8, 0x3e, 0x89, 0x13, 0xec, 0x2f, 0x18, 0xa0, 0xf5, 0xfb, 0x2e,
|
||||
0x08, 0x66, 0xd6, 0x11, 0x21, 0x28, 0x07, 0xd8, 0x27, 0x75, 0xae, 0xc9, 0xb5, 0xf7, 0x0d, 0xba,
|
||||
0x46, 0x97, 0x70, 0x68, 0x7b, 0x69, 0x9c, 0x90, 0xc8, 0x8a, 0x13, 0x9c,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7, 0x21, 0x01, 0x1d, 0xbe, 0xc3, 0xb6, 0xf0, 0xc2, 0x8d, 0xef, 0xfe,
|
||||
0x28, 0x78, 0x46, 0x17, 0x7f, 0x94, 0x1e, 0x9e, 0x31, 0x7e, 0xcf, 0x0b, 0xd3, 0xb9, 0xd4, 0x2d,
|
||||
0xba, 0x29, 0xb4, 0xdb, 0x44, 0xfe, 0xab, 0x00, 0x4c, 0x29, 0x60, 0x5a, 0x00, 0xa6, 0x14, 0x30,
|
||||
0x9d, 0xc8, 0xb3, 0x0a, 0xed, 0xf5, 0xe4, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x56, 0x59, 0xa7,
|
||||
0xc1, 0x7f, 0x08, 0x00, 0x00,
|
||||
}
|
2428
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go
generated
vendored
2428
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
395
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go
generated
vendored
395
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go
generated
vendored
@ -1,395 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bigtable/v1/bigtable_service.proto
|
||||
|
||||
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 (
|
||||
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
|
||||
|
||||
// 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
|
||||
|
||||
// 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
|
||||
// broken up across multiple responses, but atomicity of each row will still
|
||||
// be preserved.
|
||||
ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error)
|
||||
// Returns a sample of row keys in the table. The returned row keys will
|
||||
// delimit contiguous sections of the table of approximately equal size,
|
||||
// which can be used to break up the data for distributed tasks like
|
||||
// mapreduces.
|
||||
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) (*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.
|
||||
MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error)
|
||||
// Mutates a row atomically based on the output of a predicate Reader filter.
|
||||
CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error)
|
||||
// Modifies a row atomically, reading the latest existing timestamp/value from
|
||||
// the specified columns and writing a new value at
|
||||
// max(existing timestamp, current server time) based on pre-defined
|
||||
// read/modify/write rules. Returns the new contents of all modified cells.
|
||||
ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error)
|
||||
}
|
||||
|
||||
type bigtableServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewBigtableServiceClient(cc *grpc.ClientConn) BigtableServiceClient {
|
||||
return &bigtableServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error) {
|
||||
stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[0], "/google.bigtable.v1.BigtableService/ReadRows", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
x := &bigtableServiceReadRowsClient{stream}
|
||||
if err := x.ClientStream.SendMsg(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := x.ClientStream.CloseSend(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return x, nil
|
||||
}
|
||||
|
||||
type BigtableService_ReadRowsClient interface {
|
||||
Recv() (*ReadRowsResponse, error)
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
type bigtableServiceReadRowsClient struct {
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
func (x *bigtableServiceReadRowsClient) Recv() (*ReadRowsResponse, error) {
|
||||
m := new(ReadRowsResponse)
|
||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error) {
|
||||
stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[1], "/google.bigtable.v1.BigtableService/SampleRowKeys", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
x := &bigtableServiceSampleRowKeysClient{stream}
|
||||
if err := x.ClientStream.SendMsg(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := x.ClientStream.CloseSend(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return x, nil
|
||||
}
|
||||
|
||||
type BigtableService_SampleRowKeysClient interface {
|
||||
Recv() (*SampleRowKeysResponse, error)
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
type bigtableServiceSampleRowKeysClient struct {
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
func (x *bigtableServiceSampleRowKeysClient) Recv() (*SampleRowKeysResponse, error) {
|
||||
m := new(SampleRowKeysResponse)
|
||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error) {
|
||||
out := new(MutateRowsResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRows", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) {
|
||||
out := new(CheckAndMutateRowResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/CheckAndMutateRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *bigtableServiceClient) ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error) {
|
||||
out := new(Row)
|
||||
err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// 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
|
||||
// broken up across multiple responses, but atomicity of each row will still
|
||||
// be preserved.
|
||||
ReadRows(*ReadRowsRequest, BigtableService_ReadRowsServer) error
|
||||
// Returns a sample of row keys in the table. The returned row keys will
|
||||
// delimit contiguous sections of the table of approximately equal size,
|
||||
// which can be used to break up the data for distributed tasks like
|
||||
// mapreduces.
|
||||
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) (*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.
|
||||
MutateRows(context.Context, *MutateRowsRequest) (*MutateRowsResponse, error)
|
||||
// Mutates a row atomically based on the output of a predicate Reader filter.
|
||||
CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error)
|
||||
// Modifies a row atomically, reading the latest existing timestamp/value from
|
||||
// the specified columns and writing a new value at
|
||||
// max(existing timestamp, current server time) based on pre-defined
|
||||
// read/modify/write rules. Returns the new contents of all modified cells.
|
||||
ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*Row, error)
|
||||
}
|
||||
|
||||
func RegisterBigtableServiceServer(s *grpc.Server, srv BigtableServiceServer) {
|
||||
s.RegisterService(&_BigtableService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _BigtableService_ReadRows_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||
m := new(ReadRowsRequest)
|
||||
if err := stream.RecvMsg(m); err != nil {
|
||||
return err
|
||||
}
|
||||
return srv.(BigtableServiceServer).ReadRows(m, &bigtableServiceReadRowsServer{stream})
|
||||
}
|
||||
|
||||
type BigtableService_ReadRowsServer interface {
|
||||
Send(*ReadRowsResponse) error
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
type bigtableServiceReadRowsServer struct {
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
func (x *bigtableServiceReadRowsServer) Send(m *ReadRowsResponse) error {
|
||||
return x.ServerStream.SendMsg(m)
|
||||
}
|
||||
|
||||
func _BigtableService_SampleRowKeys_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||
m := new(SampleRowKeysRequest)
|
||||
if err := stream.RecvMsg(m); err != nil {
|
||||
return err
|
||||
}
|
||||
return srv.(BigtableServiceServer).SampleRowKeys(m, &bigtableServiceSampleRowKeysServer{stream})
|
||||
}
|
||||
|
||||
type BigtableService_SampleRowKeysServer interface {
|
||||
Send(*SampleRowKeysResponse) error
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
type bigtableServiceSampleRowKeysServer struct {
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
func (x *bigtableServiceSampleRowKeysServer) Send(m *SampleRowKeysResponse) error {
|
||||
return x.ServerStream.SendMsg(m)
|
||||
}
|
||||
|
||||
func _BigtableService_MutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(MutateRowRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableServiceServer).MutateRow(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.v1.BigtableService/MutateRow",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableServiceServer).MutateRow(ctx, req.(*MutateRowRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableService_MutateRows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(MutateRowsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableServiceServer).MutateRows(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.v1.BigtableService/MutateRows",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableServiceServer).MutateRows(ctx, req.(*MutateRowsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableService_CheckAndMutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CheckAndMutateRowRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableServiceServer).CheckAndMutateRow(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.v1.BigtableService/CheckAndMutateRow",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableServiceServer).CheckAndMutateRow(ctx, req.(*CheckAndMutateRowRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _BigtableService_ReadModifyWriteRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ReadModifyWriteRowRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(BigtableServiceServer).ReadModifyWriteRow(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bigtable.v1.BigtableService/ReadModifyWriteRow",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(BigtableServiceServer).ReadModifyWriteRow(ctx, req.(*ReadModifyWriteRowRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _BigtableService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.bigtable.v1.BigtableService",
|
||||
HandlerType: (*BigtableServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "MutateRow",
|
||||
Handler: _BigtableService_MutateRow_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "MutateRows",
|
||||
Handler: _BigtableService_MutateRows_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CheckAndMutateRow",
|
||||
Handler: _BigtableService_CheckAndMutateRow_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ReadModifyWriteRow",
|
||||
Handler: _BigtableService_ReadModifyWriteRow_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{
|
||||
{
|
||||
StreamName: "ReadRows",
|
||||
Handler: _BigtableService_ReadRows_Handler,
|
||||
ServerStreams: true,
|
||||
},
|
||||
{
|
||||
StreamName: "SampleRowKeys",
|
||||
Handler: _BigtableService_SampleRowKeys_Handler,
|
||||
ServerStreams: true,
|
||||
},
|
||||
},
|
||||
Metadata: "google/bigtable/v1/bigtable_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor_bigtable_service_ae822d62962d408a)
|
||||
}
|
||||
|
||||
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,
|
||||
0x8d, 0xdb, 0x72, 0x0b, 0xe2, 0xd0, 0x45, 0x50, 0x21, 0x58, 0x51, 0xa5, 0xe2, 0x43, 0xe5, 0xb0,
|
||||
0x78, 0x93, 0x69, 0x08, 0x4d, 0xe2, 0x60, 0x7b, 0x37, 0x5a, 0xaa, 0x5e, 0x38, 0x71, 0xe7, 0x11,
|
||||
0x10, 0x17, 0x5e, 0x80, 0x23, 0xef, 0x00, 0x67, 0x6e, 0x3c, 0x08, 0xb2, 0x63, 0x2f, 0x2c, 0x0d,
|
||||
0xcb, 0x8a, 0xee, 0x29, 0x8e, 0xe6, 0x3f, 0x33, 0xbf, 0xff, 0xf8, 0x03, 0xaf, 0xa6, 0x9c, 0xa7,
|
||||
0x39, 0xd0, 0x41, 0x96, 0x2a, 0x36, 0xc8, 0x81, 0x8e, 0x36, 0x26, 0xeb, 0xbe, 0x04, 0x31, 0xca,
|
||||
0x62, 0x08, 0x2a, 0xc1, 0x15, 0x27, 0xa4, 0x91, 0x06, 0x2e, 0x1c, 0x8c, 0x36, 0x3a, 0x97, 0x6d,
|
||||
0x3a, 0xab, 0x32, 0xca, 0xca, 0x92, 0x2b, 0xa6, 0x32, 0x5e, 0xca, 0x26, 0xa3, 0xb3, 0x32, 0xab,
|
||||
0x78, 0xc2, 0x14, 0xb3, 0xba, 0xcd, 0x39, 0x20, 0xfa, 0x05, 0x48, 0xc9, 0x52, 0x70, 0xb5, 0x2f,
|
||||
0xd9, 0x1c, 0xf3, 0x37, 0x18, 0xee, 0x53, 0x28, 0x2a, 0x35, 0x6e, 0x82, 0x9b, 0xdf, 0x97, 0xf0,
|
||||
0xb9, 0xae, 0x2d, 0xb0, 0xdb, 0xe4, 0x93, 0x8f, 0x08, 0x2f, 0x45, 0xc0, 0x92, 0x88, 0xd7, 0x92,
|
||||
0x5c, 0x09, 0x8e, 0x9b, 0x09, 0x5c, 0x34, 0x82, 0xd7, 0x43, 0x90, 0xaa, 0x73, 0x75, 0xb6, 0x48,
|
||||
0x56, 0xbc, 0x94, 0xe0, 0x3d, 0x7c, 0xfb, 0xed, 0xc7, 0xfb, 0x53, 0xf7, 0xbc, 0x2d, 0x4d, 0x7d,
|
||||
0xd8, 0x30, 0x97, 0xac, 0x80, 0xdb, 0x95, 0xe0, 0xaf, 0x20, 0x56, 0x92, 0xfa, 0xf4, 0x0d, 0x2f,
|
||||
0x41, 0x7f, 0xe3, 0x7c, 0x28, 0x15, 0x08, 0xbd, 0x34, 0x42, 0x49, 0xfd, 0x23, 0x2a, 0x78, 0x2d,
|
||||
0x43, 0x01, 0x2c, 0x09, 0x91, 0xbf, 0x8e, 0xc8, 0x67, 0x84, 0xcf, 0xee, 0xb2, 0xa2, 0xca, 0x21,
|
||||
0xe2, 0xf5, 0x03, 0x18, 0x4b, 0x72, 0xbd, 0x8d, 0x63, 0x4a, 0xe2, 0x88, 0x57, 0xe7, 0x50, 0x5a,
|
||||
0xec, 0x47, 0x06, 0xfb, 0x3e, 0xd9, 0x3e, 0x11, 0xb6, 0x34, 0xb5, 0x75, 0xe1, 0x75, 0x44, 0x3e,
|
||||
0x20, 0x7c, 0xa6, 0x37, 0x54, 0x4c, 0xe9, 0x66, 0xa4, 0x75, 0x7a, 0x93, 0xb0, 0x23, 0x5e, 0x76,
|
||||
0x2a, 0xb7, 0x8f, 0xc1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de, 0x72, 0xeb, 0x77, 0x08, 0x0d, 0x4e, 0x1b, 0xe5, 0xcd, 0x9f, 0x01, 0x00, 0x00, 0xff,
|
||||
0xff, 0x4c, 0x27, 0x6e, 0x9a, 0xb0, 0x05, 0x00, 0x00,
|
||||
}
|
1039
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go
generated
vendored
1039
vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1532
vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go
generated
vendored
1532
vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
2611
vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go
generated
vendored
2611
vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
675
vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go
generated
vendored
675
vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go
generated
vendored
@ -1,675 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/bytestream/bytestream.proto
|
||||
|
||||
package bytestream // import "google.golang.org/genproto/googleapis/bytestream"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/golang/protobuf/ptypes/wrappers"
|
||||
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 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,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,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.
|
||||
//
|
||||
// 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,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 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 {
|
||||
return m.ResourceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ReadRequest) GetReadOffset() int64 {
|
||||
if m != nil {
|
||||
return m.ReadOffset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ReadRequest) GetReadLimit() int64 {
|
||||
if m != nil {
|
||||
return m.ReadLimit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Response object for ByteStream.Read.
|
||||
type ReadResponse struct {
|
||||
// A portion of the data for the resource. The service **may** leave `data`
|
||||
// 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"`
|
||||
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 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 {
|
||||
return m.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request object for ByteStream.Write.
|
||||
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,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.
|
||||
//
|
||||
// In the first `WriteRequest` of a `Write()` action, it indicates
|
||||
// the initial offset for the `Write()` call. The value **must** be equal to
|
||||
// the `committed_size` that a call to `QueryWriteStatus()` would return.
|
||||
//
|
||||
// On subsequent calls, this value **must** be set and **must** be equal to
|
||||
// the sum of the first `write_offset` and the sizes of all `data` bundles
|
||||
// sent previously on this stream.
|
||||
//
|
||||
// An incorrect value will cause an error.
|
||||
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,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"`
|
||||
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 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 {
|
||||
return m.ResourceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WriteRequest) GetWriteOffset() int64 {
|
||||
if m != nil {
|
||||
return m.WriteOffset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *WriteRequest) GetFinishWrite() bool {
|
||||
if m != nil {
|
||||
return m.FinishWrite
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *WriteRequest) GetData() []byte {
|
||||
if m != nil {
|
||||
return m.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.CommittedSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.ResourceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// 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,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,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 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 {
|
||||
return m.CommittedSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *QueryWriteStatusResponse) GetComplete() bool {
|
||||
if m != nil {
|
||||
return m.Complete
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ReadRequest)(nil), "google.bytestream.ReadRequest")
|
||||
proto.RegisterType((*ReadResponse)(nil), "google.bytestream.ReadResponse")
|
||||
proto.RegisterType((*WriteRequest)(nil), "google.bytestream.WriteRequest")
|
||||
proto.RegisterType((*WriteResponse)(nil), "google.bytestream.WriteResponse")
|
||||
proto.RegisterType((*QueryWriteStatusRequest)(nil), "google.bytestream.QueryWriteStatusRequest")
|
||||
proto.RegisterType((*QueryWriteStatusResponse)(nil), "google.bytestream.QueryWriteStatusResponse")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// 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
|
||||
// responses are delivered as the results of a server-side streaming RPC.
|
||||
Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (ByteStream_ReadClient, error)
|
||||
// `Write()` is used to send the contents of a resource as a sequence of
|
||||
// bytes. The bytes are sent in a sequence of request protos of a client-side
|
||||
// streaming RPC.
|
||||
//
|
||||
// A `Write()` action is resumable. If there is an error or the connection is
|
||||
// broken during the `Write()`, the client should check the status of the
|
||||
// `Write()` by calling `QueryWriteStatus()` and continue writing from the
|
||||
// returned `committed_size`. This may be less than the amount of data the
|
||||
// client previously sent.
|
||||
//
|
||||
// Calling `Write()` on a resource name that was previously written and
|
||||
// finalized could cause an error, depending on whether the underlying service
|
||||
// allows over-writing of previously written resources.
|
||||
//
|
||||
// When the client closes the request channel, the service will respond with
|
||||
// a `WriteResponse`. The service will not view the resource as `complete`
|
||||
// until the client has sent a `WriteRequest` with `finish_write` set to
|
||||
// `true`. Sending any requests on a stream after sending a request with
|
||||
// `finish_write` set to `true` will cause an error. The client **should**
|
||||
// check the `WriteResponse` it receives to determine how much data the
|
||||
// service was able to commit and whether the service views the resource as
|
||||
// `complete` or not.
|
||||
Write(ctx context.Context, opts ...grpc.CallOption) (ByteStream_WriteClient, error)
|
||||
// `QueryWriteStatus()` is used to find the `committed_size` for a resource
|
||||
// that is being written, which can then be used as the `write_offset` for
|
||||
// the next `Write()` call.
|
||||
//
|
||||
// If the resource does not exist (i.e., the resource has been deleted, or the
|
||||
// first `Write()` has not yet reached the service), this method returns the
|
||||
// error `NOT_FOUND`.
|
||||
//
|
||||
// The client **may** call `QueryWriteStatus()` at any time to determine how
|
||||
// much data has been processed for this resource. This is useful if the
|
||||
// client is buffering data and needs to know which data can be safely
|
||||
// evicted. For any sequence of `QueryWriteStatus()` calls for a given
|
||||
// resource name, the sequence of returned `committed_size` values will be
|
||||
// non-decreasing.
|
||||
QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error)
|
||||
}
|
||||
|
||||
type byteStreamClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewByteStreamClient(cc *grpc.ClientConn) ByteStreamClient {
|
||||
return &byteStreamClient{cc}
|
||||
}
|
||||
|
||||
func (c *byteStreamClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (ByteStream_ReadClient, error) {
|
||||
stream, err := c.cc.NewStream(ctx, &_ByteStream_serviceDesc.Streams[0], "/google.bytestream.ByteStream/Read", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
x := &byteStreamReadClient{stream}
|
||||
if err := x.ClientStream.SendMsg(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := x.ClientStream.CloseSend(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return x, nil
|
||||
}
|
||||
|
||||
type ByteStream_ReadClient interface {
|
||||
Recv() (*ReadResponse, error)
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
type byteStreamReadClient struct {
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
func (x *byteStreamReadClient) Recv() (*ReadResponse, error) {
|
||||
m := new(ReadResponse)
|
||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
||||
func (c *byteStreamClient) Write(ctx context.Context, opts ...grpc.CallOption) (ByteStream_WriteClient, error) {
|
||||
stream, err := c.cc.NewStream(ctx, &_ByteStream_serviceDesc.Streams[1], "/google.bytestream.ByteStream/Write", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
x := &byteStreamWriteClient{stream}
|
||||
return x, nil
|
||||
}
|
||||
|
||||
type ByteStream_WriteClient interface {
|
||||
Send(*WriteRequest) error
|
||||
CloseAndRecv() (*WriteResponse, error)
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
type byteStreamWriteClient struct {
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
func (x *byteStreamWriteClient) Send(m *WriteRequest) error {
|
||||
return x.ClientStream.SendMsg(m)
|
||||
}
|
||||
|
||||
func (x *byteStreamWriteClient) CloseAndRecv() (*WriteResponse, error) {
|
||||
if err := x.ClientStream.CloseSend(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
m := new(WriteResponse)
|
||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
||||
func (c *byteStreamClient) QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error) {
|
||||
out := new(QueryWriteStatusResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.bytestream.ByteStream/QueryWriteStatus", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// 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
|
||||
// responses are delivered as the results of a server-side streaming RPC.
|
||||
Read(*ReadRequest, ByteStream_ReadServer) error
|
||||
// `Write()` is used to send the contents of a resource as a sequence of
|
||||
// bytes. The bytes are sent in a sequence of request protos of a client-side
|
||||
// streaming RPC.
|
||||
//
|
||||
// A `Write()` action is resumable. If there is an error or the connection is
|
||||
// broken during the `Write()`, the client should check the status of the
|
||||
// `Write()` by calling `QueryWriteStatus()` and continue writing from the
|
||||
// returned `committed_size`. This may be less than the amount of data the
|
||||
// client previously sent.
|
||||
//
|
||||
// Calling `Write()` on a resource name that was previously written and
|
||||
// finalized could cause an error, depending on whether the underlying service
|
||||
// allows over-writing of previously written resources.
|
||||
//
|
||||
// When the client closes the request channel, the service will respond with
|
||||
// a `WriteResponse`. The service will not view the resource as `complete`
|
||||
// until the client has sent a `WriteRequest` with `finish_write` set to
|
||||
// `true`. Sending any requests on a stream after sending a request with
|
||||
// `finish_write` set to `true` will cause an error. The client **should**
|
||||
// check the `WriteResponse` it receives to determine how much data the
|
||||
// service was able to commit and whether the service views the resource as
|
||||
// `complete` or not.
|
||||
Write(ByteStream_WriteServer) error
|
||||
// `QueryWriteStatus()` is used to find the `committed_size` for a resource
|
||||
// that is being written, which can then be used as the `write_offset` for
|
||||
// the next `Write()` call.
|
||||
//
|
||||
// If the resource does not exist (i.e., the resource has been deleted, or the
|
||||
// first `Write()` has not yet reached the service), this method returns the
|
||||
// error `NOT_FOUND`.
|
||||
//
|
||||
// The client **may** call `QueryWriteStatus()` at any time to determine how
|
||||
// much data has been processed for this resource. This is useful if the
|
||||
// client is buffering data and needs to know which data can be safely
|
||||
// evicted. For any sequence of `QueryWriteStatus()` calls for a given
|
||||
// resource name, the sequence of returned `committed_size` values will be
|
||||
// non-decreasing.
|
||||
QueryWriteStatus(context.Context, *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error)
|
||||
}
|
||||
|
||||
func RegisterByteStreamServer(s *grpc.Server, srv ByteStreamServer) {
|
||||
s.RegisterService(&_ByteStream_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _ByteStream_Read_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||
m := new(ReadRequest)
|
||||
if err := stream.RecvMsg(m); err != nil {
|
||||
return err
|
||||
}
|
||||
return srv.(ByteStreamServer).Read(m, &byteStreamReadServer{stream})
|
||||
}
|
||||
|
||||
type ByteStream_ReadServer interface {
|
||||
Send(*ReadResponse) error
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
type byteStreamReadServer struct {
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
func (x *byteStreamReadServer) Send(m *ReadResponse) error {
|
||||
return x.ServerStream.SendMsg(m)
|
||||
}
|
||||
|
||||
func _ByteStream_Write_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||
return srv.(ByteStreamServer).Write(&byteStreamWriteServer{stream})
|
||||
}
|
||||
|
||||
type ByteStream_WriteServer interface {
|
||||
SendAndClose(*WriteResponse) error
|
||||
Recv() (*WriteRequest, error)
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
type byteStreamWriteServer struct {
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
func (x *byteStreamWriteServer) SendAndClose(m *WriteResponse) error {
|
||||
return x.ServerStream.SendMsg(m)
|
||||
}
|
||||
|
||||
func (x *byteStreamWriteServer) Recv() (*WriteRequest, error) {
|
||||
m := new(WriteRequest)
|
||||
if err := x.ServerStream.RecvMsg(m); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
||||
func _ByteStream_QueryWriteStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(QueryWriteStatusRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ByteStreamServer).QueryWriteStatus(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.bytestream.ByteStream/QueryWriteStatus",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ByteStreamServer).QueryWriteStatus(ctx, req.(*QueryWriteStatusRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _ByteStream_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.bytestream.ByteStream",
|
||||
HandlerType: (*ByteStreamServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "QueryWriteStatus",
|
||||
Handler: _ByteStream_QueryWriteStatus_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{
|
||||
{
|
||||
StreamName: "Read",
|
||||
Handler: _ByteStream_Read_Handler,
|
||||
ServerStreams: true,
|
||||
},
|
||||
{
|
||||
StreamName: "Write",
|
||||
Handler: _ByteStream_Write_Handler,
|
||||
ClientStreams: true,
|
||||
},
|
||||
},
|
||||
Metadata: "google/bytestream/bytestream.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/bytestream/bytestream.proto", fileDescriptor_bytestream_414b76681ba3f568)
|
||||
}
|
||||
|
||||
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,
|
||||
0x0a, 0x33, 0xa2, 0xe0, 0xcb, 0x82, 0x0f, 0x7d, 0x13, 0x16, 0x2f, 0xd9, 0x07, 0x41, 0x90, 0x21,
|
||||
0x6d, 0x4f, 0xc7, 0x60, 0x93, 0x8c, 0x49, 0x86, 0xa5, 0xfb, 0x1f, 0x7c, 0xf1, 0x17, 0x4b, 0x92,
|
||||
0xb1, 0x1d, 0x6d, 0x0b, 0xdb, 0xb7, 0xe4, 0xbb, 0xcc, 0xf9, 0xe6, 0xe4, 0x1c, 0xc8, 0x2a, 0xa5,
|
||||
0xaa, 0x25, 0x16, 0xd3, 0x95, 0x45, 0x63, 0x35, 0x32, 0xd1, 0x39, 0xe6, 0xb5, 0x56, 0x56, 0x91,
|
||||
0x87, 0x41, 0x93, 0x6f, 0x88, 0xf4, 0x49, 0x6b, 0x63, 0x35, 0x2f, 0x98, 0x94, 0xca, 0x32, 0xcb,
|
||||
0x95, 0x34, 0xc1, 0x90, 0x9e, 0xb6, 0xac, 0xbf, 0x4d, 0x9b, 0x45, 0x71, 0xad, 0x59, 0x5d, 0xa3,
|
||||
0x6e, 0xf9, 0x4c, 0xc3, 0x80, 0x22, 0x9b, 0x53, 0xfc, 0xd9, 0xa0, 0xb1, 0xe4, 0x19, 0x0c, 0x35,
|
||||
0x1a, 0xd5, 0xe8, 0x19, 0x96, 0x92, 0x09, 0x4c, 0xa2, 0x51, 0x34, 0x3e, 0xa1, 0xf1, 0x5f, 0xf0,
|
||||
0x03, 0x13, 0x48, 0xce, 0x60, 0xa0, 0x91, 0xcd, 0x4b, 0xb5, 0x58, 0x18, 0xb4, 0xc9, 0xd1, 0x28,
|
||||
0x1a, 0xf7, 0x28, 0x38, 0xe8, 0xa3, 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, 0xa1, 0x9b, 0xbb, 0xb4, 0xdd, 0x97, 0x4d, 0x47, 0xfb, 0x05, 0xe1, 0x6b,
|
||||
0xe3, 0x88, 0xfc, 0x80, 0x07, 0xff, 0xb7, 0x81, 0xbc, 0xd8, 0xe1, 0xdb, 0xd3, 0xeb, 0xf4, 0xe5,
|
||||
0xad, 0xb4, 0xa1, 0xdc, 0x04, 0xe1, 0xd1, 0x4c, 0x89, 0x6d, 0xc7, 0xe4, 0xfe, 0xa6, 0x55, 0x9f,
|
||||
0xdc, 0xf6, 0x7c, 0xbd, 0x68, 0x35, 0x95, 0x5a, 0x32, 0x59, 0xe5, 0x4a, 0x57, 0x45, 0x85, 0xd2,
|
||||
0x6f, 0x56, 0x11, 0x28, 0x56, 0x73, 0xd3, 0x59, 0xe3, 0x8b, 0xcd, 0x71, 0x7a, 0xd7, 0xeb, 0xde,
|
||||
0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x91, 0x09, 0xd4, 0xf8, 0x03, 0x00, 0x00,
|
||||
}
|
388
vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go
generated
vendored
388
vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go
generated
vendored
@ -1,388 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/audit/audit_log.proto
|
||||
|
||||
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 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
|
||||
|
||||
// Common audit log format for Google Cloud Platform API operations.
|
||||
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,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,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,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,proto3" json:"num_response_items,omitempty"`
|
||||
// The status of the overall operation.
|
||||
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,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,proto3" json:"authorization_info,omitempty"`
|
||||
// Metadata about the operation.
|
||||
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 *_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 *_struct.Struct `protobuf:"bytes,17,opt,name=response,proto3" json:"response,omitempty"`
|
||||
// Other service-specific data about the request, response, and other
|
||||
// activities.
|
||||
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 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 {
|
||||
return m.ServiceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetMethodName() string {
|
||||
if m != nil {
|
||||
return m.MethodName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetResourceName() string {
|
||||
if m != nil {
|
||||
return m.ResourceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetNumResponseItems() int64 {
|
||||
if m != nil {
|
||||
return m.NumResponseItems
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetAuthenticationInfo() *AuthenticationInfo {
|
||||
if m != nil {
|
||||
return m.AuthenticationInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetAuthorizationInfo() []*AuthorizationInfo {
|
||||
if m != nil {
|
||||
return m.AuthorizationInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetRequestMetadata() *RequestMetadata {
|
||||
if m != nil {
|
||||
return m.RequestMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetRequest() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Request
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetResponse() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Response
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *AuditLog) GetServiceData() *any.Any {
|
||||
if m != nil {
|
||||
return m.ServiceData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.PrincipalEmail
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Authorization information for the operation.
|
||||
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,proto3" json:"resource,omitempty"`
|
||||
// The required IAM permission.
|
||||
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,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 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 {
|
||||
return m.Resource
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthorizationInfo) GetPermission() string {
|
||||
if m != nil {
|
||||
return m.Permission
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthorizationInfo) GetGranted() bool {
|
||||
if m != nil {
|
||||
return m.Granted
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Metadata about the request.
|
||||
type RequestMetadata struct {
|
||||
// The IP address of the caller.
|
||||
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:
|
||||
//
|
||||
// + `google-api-python-client/1.4.0`:
|
||||
// The request was made by the Google API client for Python.
|
||||
// + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`:
|
||||
// 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,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 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 {
|
||||
return m.CallerIp
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RequestMetadata) GetCallerSuppliedUserAgent() string {
|
||||
if m != nil {
|
||||
return m.CallerSuppliedUserAgent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*AuditLog)(nil), "google.cloud.audit.AuditLog")
|
||||
proto.RegisterType((*AuthenticationInfo)(nil), "google.cloud.audit.AuthenticationInfo")
|
||||
proto.RegisterType((*AuthorizationInfo)(nil), "google.cloud.audit.AuthorizationInfo")
|
||||
proto.RegisterType((*RequestMetadata)(nil), "google.cloud.audit.RequestMetadata")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/audit/audit_log.proto", fileDescriptor_audit_log_394f9970a41d2fd2)
|
||||
}
|
||||
|
||||
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,
|
||||
0x21, 0x94, 0x88, 0xed, 0x61, 0x0f, 0x13, 0x0f, 0x9d, 0xe0, 0xa1, 0x12, 0x4c, 0x53, 0x0a, 0x42,
|
||||
0xe2, 0x25, 0x72, 0x93, 0xdb, 0xcc, 0x22, 0xb1, 0x8d, 0xff, 0x20, 0x8d, 0xef, 0xcc, 0x77, 0x40,
|
||||
0xbd, 0x71, 0x4a, 0xd7, 0x0e, 0x5e, 0x2c, 0xf9, 0x9c, 0xdf, 0xbd, 0x76, 0xaf, 0x4f, 0x43, 0x46,
|
||||
0xb9, 0x94, 0x79, 0x01, 0x51, 0x5a, 0x48, 0x97, 0x45, 0xcc, 0x65, 0xdc, 0x56, 0x6b, 0x52, 0xc8,
|
||||
0x3c, 0x54, 0x5a, 0x5a, 0x49, 0x69, 0xc5, 0x84, 0xc8, 0x84, 0xe8, 0x0e, 0x8e, 0x7c, 0x1d, 0x53,
|
||||
0x3c, 0x62, 0x42, 0x48, 0xcb, 0x2c, 0x97, 0xc2, 0x54, 0x15, 0x83, 0xc7, 0xde, 0xc5, 0xdd, 0xdc,
|
||||
0x2d, 0x22, 0x26, 0x6e, 0xbc, 0x75, 0xb4, 0x69, 0x19, 0xab, 0x5d, 0x6a, 0xbd, 0xdb, 0xf7, 0xae,
|
||||
0x56, 0x69, 0x64, 0x2c, 0xb3, 0xce, 0x77, 0x1c, 0xfd, 0xde, 0x25, 0xcd, 0xc9, 0xf2, 0xe4, 0x8f,
|
||||
0x32, 0xa7, 0xcf, 0xc9, 0x81, 0x01, 0xfd, 0x93, 0xa7, 0x90, 0x08, 0x56, 0x42, 0xb0, 0x3f, 0x6c,
|
||||
0x8c, 0x5b, 0x71, 0xdb, 0x6b, 0x97, 0xac, 0x04, 0xfa, 0x8c, 0xb4, 0x4b, 0xb0, 0xd7, 0x32, 0x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0x5c, 0x16, 0x4c, 0xe4, 0xa1, 0xd4, 0x79,
|
||||
0x94, 0x83, 0xc0, 0x89, 0x47, 0x95, 0xc5, 0x14, 0x37, 0xeb, 0x1f, 0x9e, 0x73, 0x5c, 0xe7, 0x7b,
|
||||
0xc8, 0x9c, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x90, 0xe4, 0x37, 0xbf, 0x9b, 0x04, 0x00, 0x00,
|
||||
}
|
224
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go
generated
vendored
224
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go
generated
vendored
@ -1,224 +0,0 @@
|
||||
// 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, 0x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1b, 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
434
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go
generated
vendored
@ -1,434 +0,0 @@
|
||||
// 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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33, 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
424
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go
generated
vendored
@ -1,424 +0,0 @@
|
||||
// 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, 0x9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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
283
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go
generated
vendored
@ -1,283 +0,0 @@
|
||||
// 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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55, 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
171
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go
generated
vendored
@ -1,171 +0,0 @@
|
||||
// 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
371
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go
generated
vendored
@ -1,371 +0,0 @@
|
||||
// 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
343
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go
generated
vendored
@ -1,343 +0,0 @@
|
||||
// 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
252
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go
generated
vendored
@ -1,252 +0,0 @@
|
||||
// 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, 0xc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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
246
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go
generated
vendored
@ -1,246 +0,0 @@
|
||||
// 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
264
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go
generated
vendored
@ -1,264 +0,0 @@
|
||||
// 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,
|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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
1565
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go
generated
vendored
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
120
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go
generated
vendored
@ -1,120 +0,0 @@
|
||||
// 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
260
vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go
generated
vendored
@ -1,260 +0,0 @@
|
||||
// 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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3, 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,
|
||||
}
|
2302
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go
generated
vendored
2302
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
605
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go
generated
vendored
605
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go
generated
vendored
@ -1,605 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/bigquery/datatransfer/v1/transfer.proto
|
||||
|
||||
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 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
|
||||
|
||||
// DEPRECATED. Represents data transfer type.
|
||||
type TransferType int32
|
||||
|
||||
const (
|
||||
// Invalid or Unknown transfer type placeholder.
|
||||
TransferType_TRANSFER_TYPE_UNSPECIFIED TransferType = 0
|
||||
// Batch data transfer.
|
||||
TransferType_BATCH TransferType = 1
|
||||
// Streaming data transfer. Streaming data source currently doesn't
|
||||
// support multiple transfer configs per project.
|
||||
TransferType_STREAMING TransferType = 2
|
||||
)
|
||||
|
||||
var TransferType_name = map[int32]string{
|
||||
0: "TRANSFER_TYPE_UNSPECIFIED",
|
||||
1: "BATCH",
|
||||
2: "STREAMING",
|
||||
}
|
||||
var TransferType_value = map[string]int32{
|
||||
"TRANSFER_TYPE_UNSPECIFIED": 0,
|
||||
"BATCH": 1,
|
||||
"STREAMING": 2,
|
||||
}
|
||||
|
||||
func (x TransferType) String() string {
|
||||
return proto.EnumName(TransferType_name, int32(x))
|
||||
}
|
||||
func (TransferType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{0}
|
||||
}
|
||||
|
||||
// Represents data transfer run state.
|
||||
type TransferState int32
|
||||
|
||||
const (
|
||||
// State placeholder.
|
||||
TransferState_TRANSFER_STATE_UNSPECIFIED TransferState = 0
|
||||
// Data transfer is scheduled and is waiting to be picked up by
|
||||
// data transfer backend.
|
||||
TransferState_PENDING TransferState = 2
|
||||
// Data transfer is in progress.
|
||||
TransferState_RUNNING TransferState = 3
|
||||
// Data transfer completed successsfully.
|
||||
TransferState_SUCCEEDED TransferState = 4
|
||||
// Data transfer failed.
|
||||
TransferState_FAILED TransferState = 5
|
||||
// Data transfer is cancelled.
|
||||
TransferState_CANCELLED TransferState = 6
|
||||
)
|
||||
|
||||
var TransferState_name = map[int32]string{
|
||||
0: "TRANSFER_STATE_UNSPECIFIED",
|
||||
2: "PENDING",
|
||||
3: "RUNNING",
|
||||
4: "SUCCEEDED",
|
||||
5: "FAILED",
|
||||
6: "CANCELLED",
|
||||
}
|
||||
var TransferState_value = map[string]int32{
|
||||
"TRANSFER_STATE_UNSPECIFIED": 0,
|
||||
"PENDING": 2,
|
||||
"RUNNING": 3,
|
||||
"SUCCEEDED": 4,
|
||||
"FAILED": 5,
|
||||
"CANCELLED": 6,
|
||||
}
|
||||
|
||||
func (x TransferState) String() string {
|
||||
return proto.EnumName(TransferState_name, int32(x))
|
||||
}
|
||||
func (TransferState) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_transfer_b655bdd8f06d7255, []int{1}
|
||||
}
|
||||
|
||||
// Represents data transfer user facing message severity.
|
||||
type TransferMessage_MessageSeverity int32
|
||||
|
||||
const (
|
||||
// No severity specified.
|
||||
TransferMessage_MESSAGE_SEVERITY_UNSPECIFIED TransferMessage_MessageSeverity = 0
|
||||
// Informational message.
|
||||
TransferMessage_INFO TransferMessage_MessageSeverity = 1
|
||||
// Warning message.
|
||||
TransferMessage_WARNING TransferMessage_MessageSeverity = 2
|
||||
// Error message.
|
||||
TransferMessage_ERROR TransferMessage_MessageSeverity = 3
|
||||
)
|
||||
|
||||
var TransferMessage_MessageSeverity_name = map[int32]string{
|
||||
0: "MESSAGE_SEVERITY_UNSPECIFIED",
|
||||
1: "INFO",
|
||||
2: "WARNING",
|
||||
3: "ERROR",
|
||||
}
|
||||
var TransferMessage_MessageSeverity_value = map[string]int32{
|
||||
"MESSAGE_SEVERITY_UNSPECIFIED": 0,
|
||||
"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 fileDescriptor_transfer_b655bdd8f06d7255, []int{2, 0}
|
||||
}
|
||||
|
||||
// Represents a data transfer configuration. A transfer configuration
|
||||
// contains all metadata needed to perform a data transfer. For example,
|
||||
// `destination_dataset_id` specifies where data should be stored.
|
||||
// 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.
|
||||
type TransferConfig struct {
|
||||
// The resource name of the transfer config.
|
||||
// Transfer config names have the form
|
||||
// `projects/{project_id}/transferConfigs/{config_id}`.
|
||||
// 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,proto3" json:"name,omitempty"`
|
||||
// The BigQuery target dataset id.
|
||||
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,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,proto3" json:"data_source_id,omitempty"`
|
||||
// Data transfer specific parameters.
|
||||
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
|
||||
// used.
|
||||
// The specified times are in UTC.
|
||||
// Examples of valid format:
|
||||
// `1st,3rd monday of month 15:30`,
|
||||
// `every wed,fri of jan,jun 13:15`, and
|
||||
// `first sunday of quarter 00:00`.
|
||||
// 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,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,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,proto3" json:"disabled,omitempty"`
|
||||
// Output only. Data transfer modification time. Ignored by server on input.
|
||||
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 *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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetDestinationDatasetId() string {
|
||||
if m != nil {
|
||||
return m.DestinationDatasetId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetDataSourceId() string {
|
||||
if m != nil {
|
||||
return m.DataSourceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetParams() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetSchedule() string {
|
||||
if m != nil {
|
||||
return m.Schedule
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetDataRefreshWindowDays() int32 {
|
||||
if m != nil {
|
||||
return m.DataRefreshWindowDays
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetDisabled() bool {
|
||||
if m != nil {
|
||||
return m.Disabled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetUpdateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.UpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetNextRunTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.NextRunTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetState() TransferState {
|
||||
if m != nil {
|
||||
return m.State
|
||||
}
|
||||
return TransferState_TRANSFER_STATE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetUserId() int64 {
|
||||
if m != nil {
|
||||
return m.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TransferConfig) GetDatasetRegion() string {
|
||||
if m != nil {
|
||||
return m.DatasetRegion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Represents a data transfer run.
|
||||
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,proto3" json:"name,omitempty"`
|
||||
// Minimum time after which a transfer run can be started.
|
||||
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 *timestamp.Timestamp `protobuf:"bytes,10,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
|
||||
// Status of the transfer run.
|
||||
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 *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 *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 *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
||||
// Output only. Data transfer specific parameters.
|
||||
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,proto3" json:"destination_dataset_id,omitempty"`
|
||||
// Output only. Data source id.
|
||||
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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetScheduleTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.ScheduleTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetRunTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.RunTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetErrorStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.ErrorStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetUpdateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.UpdateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetParams() *_struct.Struct {
|
||||
if m != nil {
|
||||
return m.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetDestinationDatasetId() string {
|
||||
if m != nil {
|
||||
return m.DestinationDatasetId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetDataSourceId() string {
|
||||
if m != nil {
|
||||
return m.DataSourceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetState() TransferState {
|
||||
if m != nil {
|
||||
return m.State
|
||||
}
|
||||
return TransferState_TRANSFER_STATE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetUserId() int64 {
|
||||
if m != nil {
|
||||
return m.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetSchedule() string {
|
||||
if m != nil {
|
||||
return m.Schedule
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Represents a user facing message for a particular data transfer run.
|
||||
type TransferMessage struct {
|
||||
// Time when message was logged.
|
||||
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,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,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 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)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TransferMessage proto.InternalMessageInfo
|
||||
|
||||
func (m *TransferMessage) GetMessageTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.MessageTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferMessage) GetSeverity() TransferMessage_MessageSeverity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return TransferMessage_MESSAGE_SEVERITY_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *TransferMessage) GetMessageText() string {
|
||||
if m != nil {
|
||||
return m.MessageText
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*TransferConfig)(nil), "google.cloud.bigquery.datatransfer.v1.TransferConfig")
|
||||
proto.RegisterType((*TransferRun)(nil), "google.cloud.bigquery.datatransfer.v1.TransferRun")
|
||||
proto.RegisterType((*TransferMessage)(nil), "google.cloud.bigquery.datatransfer.v1.TransferMessage")
|
||||
proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.TransferType", TransferType_name, TransferType_value)
|
||||
proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.TransferState", TransferState_name, TransferState_value)
|
||||
proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.TransferMessage_MessageSeverity", TransferMessage_MessageSeverity_name, TransferMessage_MessageSeverity_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/transfer.proto", fileDescriptor_transfer_b655bdd8f06d7255)
|
||||
}
|
||||
|
||||
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,
|
||||
0x0b, 0x5b, 0x2d, 0x5d, 0x21, 0xb4, 0x02, 0x94, 0x1f, 0x27, 0x04, 0x6d, 0xb3, 0xd9, 0xb1, 0xdb,
|
||||
0xd5, 0xa2, 0x4a, 0xd6, 0x24, 0x9e, 0x7a, 0x2d, 0x25, 0xb6, 0x99, 0x19, 0x77, 0x9b, 0x87, 0xe0,
|
||||
0x25, 0xb8, 0xe4, 0x82, 0x07, 0xe1, 0x82, 0xd7, 0xe0, 0x35, 0x90, 0xc7, 0x76, 0x94, 0xcd, 0x56,
|
||||
0x4a, 0x8b, 0xc4, 0x55, 0xe7, 0xcc, 0xf9, 0xbe, 0xaf, 0xdf, 0x9c, 0x1f, 0x2b, 0x70, 0xe6, 0x85,
|
||||
0xa1, 0xb7, 0xa4, 0xc6, 0x62, 0x19, 0xc6, 0xae, 0x31, 0xf7, 0xbd, 0x5f, 0x63, 0xca, 0xd6, 0x86,
|
||||
0x4b, 0x04, 0x11, 0x8c, 0x04, 0xfc, 0x9a, 0x32, 0xe3, 0xe6, 0xc4, 0xc8, 0xcf, 0x7a, 0xc4, 0x42,
|
||||
0x11, 0xa2, 0xe3, 0x94, 0xa5, 0x4b, 0x96, 0x9e, 0xb3, 0xf4, 0x6d, 0x96, 0x7e, 0x73, 0x72, 0xf8,
|
||||
0x24, 0x13, 0x27, 0x91, 0x6f, 0x90, 0x20, 0x08, 0x05, 0x11, 0x7e, 0x18, 0xf0, 0x54, 0x64, 0x93,
|
||||
0x95, 0xd1, 0x3c, 0xbe, 0x36, 0xb8, 0x60, 0xf1, 0x42, 0x64, 0xd9, 0x2f, 0x76, 0xb3, 0xc2, 0x5f,
|
||||
0x51, 0x2e, 0xc8, 0x2a, 0xca, 0x00, 0x07, 0x19, 0x80, 0x45, 0x0b, 0x83, 0x0b, 0x22, 0xe2, 0x4c,
|
||||
0xf7, 0xe8, 0xef, 0x12, 0xb4, 0xec, 0xcc, 0xc5, 0x20, 0x0c, 0xae, 0x7d, 0x0f, 0x21, 0x28, 0x05,
|
||||
0x64, 0x45, 0x35, 0xa5, 0xa3, 0x74, 0xeb, 0x58, 0x9e, 0xd1, 0x19, 0x7c, 0xe2, 0x52, 0x2e, 0xfc,
|
||||
0x40, 0x9a, 0x72, 0x12, 0x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
0xd8, 0xec, 0x9d, 0x4b, 0xcd, 0xa7, 0x1c, 0x9a, 0xef, 0xb5, 0x11, 0x7d, 0x0e, 0x87, 0x1b, 0x25,
|
||||
0xcb, 0xee, 0xd9, 0xbb, 0x52, 0x2a, 0x54, 0x67, 0xe6, 0x74, 0x98, 0x3a, 0x52, 0xa1, 0x8a, 0x2f,
|
||||
0xa6, 0xd2, 0x5e, 0x51, 0x2a, 0x5f, 0x0c, 0x06, 0xa6, 0x39, 0x34, 0x87, 0xed, 0x12, 0x02, 0xa8,
|
||||
0x8c, 0x7a, 0x93, 0x17, 0xe6, 0xb0, 0x5d, 0x4e, 0x52, 0x83, 0xde, 0x74, 0x60, 0xbe, 0x48, 0xc2,
|
||||
0x4a, 0xff, 0x1f, 0x05, 0xbe, 0x5e, 0x84, 0xab, 0xfb, 0xf5, 0xa3, 0xbf, 0x31, 0x38, 0x4b, 0x5a,
|
||||
0x3e, 0x53, 0x7e, 0x79, 0x95, 0xf1, 0xbc, 0x70, 0x49, 0x02, 0x4f, 0x0f, 0x99, 0x67, 0x78, 0x34,
|
||||
0x90, 0x03, 0x61, 0xa4, 0x29, 0x12, 0xf9, 0x7c, 0xcf, 0x0f, 0x80, 0xe7, 0xdb, 0xf1, 0xef, 0x85,
|
||||
0xf2, 0x78, 0xd0, 0x1f, 0xda, 0x7f, 0x14, 0x8e, 0xc7, 0xa9, 0xf6, 0x40, 0x7a, 0xea, 0xfb, 0xde,
|
||||
0x2b, 0xe9, 0x29, 0xd9, 0xa8, 0xdc, 0x86, 0x7e, 0x79, 0xf2, 0x57, 0x8e, 0xbb, 0x92, 0xb8, 0xab,
|
||||
0x1c, 0x77, 0xb5, 0x8d, 0xbb, 0xba, 0x3c, 0x99, 0x57, 0xa4, 0xab, 0x6f, 0xfe, 0x0d, 0x00, 0x00,
|
||||
0xff, 0xff, 0x0d, 0x74, 0xf0, 0x31, 0x95, 0x08, 0x00, 0x00,
|
||||
}
|
3062
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go
generated
vendored
3062
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
871
vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go
generated
vendored
871
vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go
generated
vendored
@ -1,871 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/billing/v1/cloud_billing.proto
|
||||
|
||||
package billing // import "google.golang.org/genproto/googleapis/cloud/billing/v1"
|
||||
|
||||
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
|
||||
|
||||
// A billing account in [Google Cloud
|
||||
// Console](https://console.cloud.google.com/). You can assign a billing account
|
||||
// to one or more projects.
|
||||
type BillingAccount struct {
|
||||
// The resource name of the billing account. The resource name has the form
|
||||
// `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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *BillingAccount) GetOpen() bool {
|
||||
if m != nil {
|
||||
return m.Open
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *BillingAccount) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Encapsulation of billing information for a Cloud Console project. A project
|
||||
// has at most one associated billing account at a time (but a billing account
|
||||
// can be assigned to multiple projects).
|
||||
type ProjectBillingInfo struct {
|
||||
// The resource name for the `ProjectBillingInfo`; has the form
|
||||
// `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,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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ProjectBillingInfo) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ProjectBillingInfo) GetBillingAccountName() string {
|
||||
if m != nil {
|
||||
return m.BillingAccountName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ProjectBillingInfo) GetBillingEnabled() bool {
|
||||
if m != nil {
|
||||
return m.BillingEnabled
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Request message for `GetBillingAccount`.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request message for `ListBillingAccounts`.
|
||||
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,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,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 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 {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListBillingAccountsRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Response message for `ListBillingAccounts`.
|
||||
type ListBillingAccountsResponse struct {
|
||||
// A list of billing accounts.
|
||||
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,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 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 {
|
||||
return m.BillingAccounts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListBillingAccountsResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request message for `ListProjectBillingInfo`.
|
||||
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,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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListProjectBillingInfoRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListProjectBillingInfoRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request message for `ListProjectBillingInfoResponse`.
|
||||
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,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,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 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 {
|
||||
return m.ProjectBillingInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListProjectBillingInfoResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request message for `GetProjectBillingInfo`.
|
||||
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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request message for `UpdateProjectBillingInfo`.
|
||||
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,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,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 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 {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UpdateProjectBillingInfoRequest) GetProjectBillingInfo() *ProjectBillingInfo {
|
||||
if m != nil {
|
||||
return m.ProjectBillingInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*BillingAccount)(nil), "google.cloud.billing.v1.BillingAccount")
|
||||
proto.RegisterType((*ProjectBillingInfo)(nil), "google.cloud.billing.v1.ProjectBillingInfo")
|
||||
proto.RegisterType((*GetBillingAccountRequest)(nil), "google.cloud.billing.v1.GetBillingAccountRequest")
|
||||
proto.RegisterType((*ListBillingAccountsRequest)(nil), "google.cloud.billing.v1.ListBillingAccountsRequest")
|
||||
proto.RegisterType((*ListBillingAccountsResponse)(nil), "google.cloud.billing.v1.ListBillingAccountsResponse")
|
||||
proto.RegisterType((*ListProjectBillingInfoRequest)(nil), "google.cloud.billing.v1.ListProjectBillingInfoRequest")
|
||||
proto.RegisterType((*ListProjectBillingInfoResponse)(nil), "google.cloud.billing.v1.ListProjectBillingInfoResponse")
|
||||
proto.RegisterType((*GetProjectBillingInfoRequest)(nil), "google.cloud.billing.v1.GetProjectBillingInfoRequest")
|
||||
proto.RegisterType((*UpdateProjectBillingInfoRequest)(nil), "google.cloud.billing.v1.UpdateProjectBillingInfoRequest")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// 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
|
||||
// account](https://support.google.com/cloud/answer/4430947).
|
||||
GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error)
|
||||
// Lists the billing accounts that the current authenticated user
|
||||
// [owns](https://support.google.com/cloud/answer/4430947).
|
||||
ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error)
|
||||
// Lists the projects associated with a billing account. The current
|
||||
// authenticated user must be an [owner of the billing
|
||||
// account](https://support.google.com/cloud/answer/4430947).
|
||||
ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error)
|
||||
// Gets the billing information for a project. The current authenticated user
|
||||
// must have [permission to view the
|
||||
// project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
|
||||
// ).
|
||||
GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error)
|
||||
// Sets or updates the billing account associated with a project. You specify
|
||||
// the new billing account by setting the `billing_account_name` in the
|
||||
// `ProjectBillingInfo` resource to the resource name of a billing account.
|
||||
// Associating a project with an open billing account enables billing on the
|
||||
// project and allows charges for resource usage. If the project already had a
|
||||
// billing account, this method changes the billing account used for resource
|
||||
// usage charges.
|
||||
//
|
||||
// *Note:* Incurred charges that have not yet been reported in the transaction
|
||||
// history of the Google Cloud Console may be billed to the new billing
|
||||
// account, even if the charge occurred before the new billing account was
|
||||
// assigned to the project.
|
||||
//
|
||||
// The current authenticated user must have ownership privileges for both the
|
||||
// [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
|
||||
// ) and the [billing
|
||||
// account](https://support.google.com/cloud/answer/4430947).
|
||||
//
|
||||
// You can disable billing on the project by setting the
|
||||
// `billing_account_name` field to empty. This action disassociates the
|
||||
// current billing account from the project. Any billable activity of your
|
||||
// in-use services will stop, and your application could stop functioning as
|
||||
// expected. Any unbilled charges to date will be billed to the previously
|
||||
// associated account. The current authenticated user must be either an owner
|
||||
// of the project or an owner of the billing account for the project.
|
||||
//
|
||||
// Note that associating a project with a *closed* billing account will have
|
||||
// much the same effect as disabling billing on the project: any paid
|
||||
// resources used by the project will be shut down. Thus, unless you wish to
|
||||
// disable billing, you should always call this method with the name of an
|
||||
// *open* billing account.
|
||||
UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error)
|
||||
}
|
||||
|
||||
type cloudBillingClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewCloudBillingClient(cc *grpc.ClientConn) CloudBillingClient {
|
||||
return &cloudBillingClient{cc}
|
||||
}
|
||||
|
||||
func (c *cloudBillingClient) GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) {
|
||||
out := new(BillingAccount)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetBillingAccount", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *cloudBillingClient) ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error) {
|
||||
out := new(ListBillingAccountsResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *cloudBillingClient) ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error) {
|
||||
out := new(ListProjectBillingInfoResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *cloudBillingClient) GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) {
|
||||
out := new(ProjectBillingInfo)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *cloudBillingClient) UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) {
|
||||
out := new(ProjectBillingInfo)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// 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
|
||||
// account](https://support.google.com/cloud/answer/4430947).
|
||||
GetBillingAccount(context.Context, *GetBillingAccountRequest) (*BillingAccount, error)
|
||||
// Lists the billing accounts that the current authenticated user
|
||||
// [owns](https://support.google.com/cloud/answer/4430947).
|
||||
ListBillingAccounts(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error)
|
||||
// Lists the projects associated with a billing account. The current
|
||||
// authenticated user must be an [owner of the billing
|
||||
// account](https://support.google.com/cloud/answer/4430947).
|
||||
ListProjectBillingInfo(context.Context, *ListProjectBillingInfoRequest) (*ListProjectBillingInfoResponse, error)
|
||||
// Gets the billing information for a project. The current authenticated user
|
||||
// must have [permission to view the
|
||||
// project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
|
||||
// ).
|
||||
GetProjectBillingInfo(context.Context, *GetProjectBillingInfoRequest) (*ProjectBillingInfo, error)
|
||||
// Sets or updates the billing account associated with a project. You specify
|
||||
// the new billing account by setting the `billing_account_name` in the
|
||||
// `ProjectBillingInfo` resource to the resource name of a billing account.
|
||||
// Associating a project with an open billing account enables billing on the
|
||||
// project and allows charges for resource usage. If the project already had a
|
||||
// billing account, this method changes the billing account used for resource
|
||||
// usage charges.
|
||||
//
|
||||
// *Note:* Incurred charges that have not yet been reported in the transaction
|
||||
// history of the Google Cloud Console may be billed to the new billing
|
||||
// account, even if the charge occurred before the new billing account was
|
||||
// assigned to the project.
|
||||
//
|
||||
// The current authenticated user must have ownership privileges for both the
|
||||
// [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
|
||||
// ) and the [billing
|
||||
// account](https://support.google.com/cloud/answer/4430947).
|
||||
//
|
||||
// You can disable billing on the project by setting the
|
||||
// `billing_account_name` field to empty. This action disassociates the
|
||||
// current billing account from the project. Any billable activity of your
|
||||
// in-use services will stop, and your application could stop functioning as
|
||||
// expected. Any unbilled charges to date will be billed to the previously
|
||||
// associated account. The current authenticated user must be either an owner
|
||||
// of the project or an owner of the billing account for the project.
|
||||
//
|
||||
// Note that associating a project with a *closed* billing account will have
|
||||
// much the same effect as disabling billing on the project: any paid
|
||||
// resources used by the project will be shut down. Thus, unless you wish to
|
||||
// disable billing, you should always call this method with the name of an
|
||||
// *open* billing account.
|
||||
UpdateProjectBillingInfo(context.Context, *UpdateProjectBillingInfoRequest) (*ProjectBillingInfo, error)
|
||||
}
|
||||
|
||||
func RegisterCloudBillingServer(s *grpc.Server, srv CloudBillingServer) {
|
||||
s.RegisterService(&_CloudBilling_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _CloudBilling_GetBillingAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetBillingAccountRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CloudBillingServer).GetBillingAccount(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.billing.v1.CloudBilling/GetBillingAccount",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CloudBillingServer).GetBillingAccount(ctx, req.(*GetBillingAccountRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CloudBilling_ListBillingAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListBillingAccountsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CloudBillingServer).ListBillingAccounts(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CloudBillingServer).ListBillingAccounts(ctx, req.(*ListBillingAccountsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CloudBilling_ListProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListProjectBillingInfoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CloudBillingServer).ListProjectBillingInfo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CloudBillingServer).ListProjectBillingInfo(ctx, req.(*ListProjectBillingInfoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CloudBilling_GetProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetProjectBillingInfoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CloudBillingServer).GetProjectBillingInfo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CloudBillingServer).GetProjectBillingInfo(ctx, req.(*GetProjectBillingInfoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CloudBilling_UpdateProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateProjectBillingInfoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CloudBillingServer).UpdateProjectBillingInfo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CloudBillingServer).UpdateProjectBillingInfo(ctx, req.(*UpdateProjectBillingInfoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _CloudBilling_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.billing.v1.CloudBilling",
|
||||
HandlerType: (*CloudBillingServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "GetBillingAccount",
|
||||
Handler: _CloudBilling_GetBillingAccount_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListBillingAccounts",
|
||||
Handler: _CloudBilling_ListBillingAccounts_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListProjectBillingInfo",
|
||||
Handler: _CloudBilling_ListProjectBillingInfo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetProjectBillingInfo",
|
||||
Handler: _CloudBilling_GetProjectBillingInfo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateProjectBillingInfo",
|
||||
Handler: _CloudBilling_UpdateProjectBillingInfo_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/billing/v1/cloud_billing.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/billing/v1/cloud_billing.proto", fileDescriptor_cloud_billing_868724f2532f6f7f)
|
||||
}
|
||||
|
||||
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,
|
||||
0x15, 0xf0, 0xdf, 0xa8, 0x11, 0x63, 0x08, 0x89, 0x31, 0x9b, 0xaa, 0x89, 0xd1, 0x98, 0x66, 0x76,
|
||||
0x3b, 0x34, 0xd5, 0x32, 0x53, 0x77, 0x0a, 0x51, 0x8c, 0x37, 0xbe, 0x82, 0x7a, 0xe1, 0x85, 0x37,
|
||||
0x5e, 0xe8, 0x2b,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
|
||||
0xd3, 0x83, 0x5a, 0xb3, 0x02, 0xd3, 0xeb, 0xb4, 0x9c, 0x33, 0xd6, 0x07, 0x04, 0xc7, 0x1f, 0xc5,
|
||||
0x3e, 0x49, 0x68, 0x39, 0x47, 0x4d, 0x23, 0x4b, 0x61, 0xff, 0x3f, 0xf2, 0xca, 0xef, 0x41, 0x18,
|
||||
0xb9, 0x23, 0x7b, 0x35, 0x88, 0x3f, 0x22, 0x18, 0xef, 0xda, 0x0e, 0xbc, 0x6c, 0xe4, 0x31, 0x6d,
|
||||
0x52, 0xed, 0xa0, 0x09, 0xb5, 0x4e, 0xbe, 0xfb, 0xf9, 0xeb, 0x7d, 0xdf, 0x2c, 0x9e, 0x96, 0x3f,
|
||||
0x74, 0x6f, 0xe4, 0xd0, 0x37, 0x72, 0x99, 0x75, 0xce, 0xbe, 0xc5, 0x9f, 0x11, 0x4c, 0x14, 0xac,
|
||||
0x0a, 0x5e, 0x35, 0xd2, 0x98, 0x77, 0xb6, 0x76, 0xa1, 0x5c, 0x53, 0x9a, 0x3e, 0xab, 0xae, 0x84,
|
||||
0x4e, 0xe1, 0x09, 0x29, 0x34, 0xbf, 0x56, 0xdf, 0x11, 0x1c, 0x2d, 0x4e, 0x2f, 0xbe, 0xd4, 0x93,
|
||||
0xcd, 0x18, 0x87, 0xda, 0xe5, 0xd2, 0x7d, 0x5a, 0xe8, 0x39, 0x25, 0x74, 0x01, 0x9f, 0xea, 0xe5,
|
||||
0xa8, 0xa3, 0xd3, 0x20, 0xf0, 0x57, 0x04, 0x53, 0x85, 0x79, 0xc6, 0x17, 0x7b, 0x5d, 0xbb, 0x59,
|
||||
0x78, 0x99, 0x54, 0x5a, 0x67, 0x94, 0xd8, 0x13, 0x78, 0xfe, 0x9f, 0xd8, 0x4c, 0x99, 0x54, 0xd9,
|
||||
0xdc, 0x23, 0xe7, 0x07, 0x82, 0xaa, 0x69, 0x87, 0xf0, 0x15, 0x23, 0xe9, 0x3e, 0x6b, 0x57, 0x4e,
|
||||
0xee, 0x2d, 0x25, 0xf7, 0x6a, 0x6d, 0x7f, 0xb9, 0xd7, 0x0a, 0x17, 0x77, 0xad, 0x0d, 0xf5, 0x16,
|
||||
0xdf, 0x32, 0x51, 0xae, 0x8d, 0xef, 0xdd, 0xc6, 0x86, 0xfc, 0x62, 0x37, 0xd0, 0x93, 0x9b, 0xba,
|
||||
0x3a, 0xe0, 0x11, 0x61, 0x81, 0xcd, 0xdb, 0x81, 0x13, 0x50, 0xa6, 0xbe, 0xe7, 0x4e, 0x7a, 0x44,
|
||||
0xe2, 0x50, 0x74, 0xfd, 0x6d, 0xb8, 0xae, 0x1f, 0x9b, 0x83, 0xaa, 0x74, 0xf5, 0x4f, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0xc0, 0x01, 0x24, 0x32, 0x60, 0x08, 0x00, 0x00,
|
||||
}
|
1975
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go
generated
vendored
1975
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
3082
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go
generated
vendored
3082
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
277
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go
generated
vendored
277
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go
generated
vendored
@ -1,277 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dataproc/v1/operations.proto
|
||||
|
||||
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"
|
||||
|
||||
// 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
|
||||
|
||||
const (
|
||||
// Unused.
|
||||
ClusterOperationStatus_UNKNOWN ClusterOperationStatus_State = 0
|
||||
// The operation has been created.
|
||||
ClusterOperationStatus_PENDING ClusterOperationStatus_State = 1
|
||||
// The operation is running.
|
||||
ClusterOperationStatus_RUNNING ClusterOperationStatus_State = 2
|
||||
// The operation is done; either cancelled or completed.
|
||||
ClusterOperationStatus_DONE ClusterOperationStatus_State = 3
|
||||
)
|
||||
|
||||
var ClusterOperationStatus_State_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "PENDING",
|
||||
2: "RUNNING",
|
||||
3: "DONE",
|
||||
}
|
||||
var ClusterOperationStatus_State_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"PENDING": 1,
|
||||
"RUNNING": 2,
|
||||
"DONE": 3,
|
||||
}
|
||||
|
||||
func (x ClusterOperationStatus_State) String() string {
|
||||
return proto.EnumName(ClusterOperationStatus_State_name, int32(x))
|
||||
}
|
||||
func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) {
|
||||
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,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,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 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 {
|
||||
return m.State
|
||||
}
|
||||
return ClusterOperationStatus_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetInnerState() string {
|
||||
if m != nil {
|
||||
return m.InnerState
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetDetails() string {
|
||||
if m != nil {
|
||||
return m.Details
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StateStartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.ClusterName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetClusterUuid() string {
|
||||
if m != nil {
|
||||
return m.ClusterUuid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetStatus() *ClusterOperationStatus {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetStatusHistory() []*ClusterOperationStatus {
|
||||
if m != nil {
|
||||
return m.StatusHistory
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetOperationType() string {
|
||||
if m != nil {
|
||||
return m.OperationType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetWarnings() []string {
|
||||
if m != nil {
|
||||
return m.Warnings
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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", fileDescriptor_operations_7be03f6a43d7bf8b)
|
||||
}
|
||||
|
||||
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,
|
||||
0x24, 0x6e, 0x82, 0x4c, 0x05, 0x91, 0xd9, 0xe2, 0xc4, 0x99, 0x96, 0x6c, 0x75, 0xe0, 0x97, 0x72,
|
||||
0x6d, 0xce, 0x18, 0x4c, 0xee, 0xc2, 0xdd, 0xa5, 0x92, 0x9f, 0xe3, 0xef, 0xf4, 0x8b, 0xdc, 0x5d,
|
||||
0x52, 0xea, 0xe6, 0x40, 0xfd, 0xd4, 0x7b, 0xde, 0xf7, 0x79, 0x9e, 0xbe, 0xcf, 0xcb, 0xdb, 0x82,
|
||||
0x27, 0x09, 0x63, 0x49, 0x46, 0x82, 0x55, 0xc6, 0xca, 0x38, 0x88, 0xb1, 0xc4, 0x05, 0x67, 0xab,
|
||||
0x60, 0x7d, 0x14, 0xb0, 0x82, 0x70, 0x2c, 0x53, 0x46, 0x85, 0x5f, 0x70, 0x26, 0x19, 0x44, 0x86,
|
||||
0xea, 0x6b, 0xaa, 0xdf, 0x50, 0xfd, 0xf5, 0x91, 0x7b, 0x50, 0x9b, 0xe0, 0x22, 0x0d, 0x30, 0xa5,
|
||||
0x4c, 0x6e, 0xeb, 0xdc, 0x47, 0x75, 0x37, 0x63, 0x34, 0xe1, 0x25, 0xa5, 0x29, 0x4d, 0x6e, 0x98,
|
||||
0xbb, 0x0f, 0x6a, 0x92, 0x46, 0xcb, 0xf2, 0x4b, 0x40, 0xf2, 0x42, 0x56, 0x75, 0xf3, 0xf0, 0x7a,
|
||||
0x53, 0xa6, 0x39, 0x11, 0x12, 0xe7, 0x85, 0x21, 0x0c, 0x7f, 0xb4, 0xc0, 0xfd, 0xb7, 0x59, 0x29,
|
||||
0x24, 0xe1, 0xd3, 0xc6, 0xf9, 0x42, 0x62, 0x59, 0x0a, 0x78, 0x0e, 0x76, 0x85, 0xc4, 0x92, 0x20,
|
||||
0xcb, 0xb3, 0x46, 0xfd, 0xe3, 0xe7, 0xfe, 0x6d, 0x29, 0xfc, 0x3f, 0x1b, 0xf8, 0xea, 0x83, 0x44,
|
||||
0xc6, 0x04, 0x1e, 0x02, 0x27, 0xa5, 0x94, 0xf0, 0x85, 0xf1, 0x6c, 0x79, 0xd6, 0xa8, 0x1b, 0x01,
|
||||
0x5d, 0xd2, 0x3c, 0x88, 0x40, 0x3b, 0x26, 0x12, 0xa7, 0x99, 0x40, 0xb6, 0x6e, 0x36, 0x10, 0x8e,
|
||||
0xc1, 0x40, 0x8b, 0x94, 0x94, 0xcb, 0x85, 0x8a, 0x80, 0x76, 0x3c, 0x6b, 0xe4, 0x1c, 0xbb, 0xcd,
|
||||
0x4c, 0x4d, 0x3e, 0xff, 0xb2, 0xc9, 0x17, 0xf5, 0xb5, 0xe6, 0x42, 0x49, 0x54, 0x71, 0x78, 0x02,
|
||||
0x76, 0xcd, 0x17, 0x39, 0xa0, 0x3d, 0x0f, 0x3f, 0x84, 0xd3, 0xab, 0x70, 0x70, 0x47, 0x81, 0xd9,
|
||||
0x24, 0x1c, 0xbf, 0x0f, 0xdf, 0x0d, 0x2c, 0x05, 0xa2, 0x79, 0x18, 0x2a, 0xd0, 0x82, 0x1d, 0xb0,
|
||||
0x33, 0x9e, 0x86, 0x93, 0x81, 0x3d, 0xfc, 0x69, 0x03, 0x74, 0x3d, 0xe2, 0x47, 0x22, 0xb1, 0x5a,
|
||||
0x01, 0x7c, 0x08, 0xf6, 0x57, 0xa6, 0xb7, 0xa0, 0x38, 0x27, 0xa8, 0xad, 0x67, 0x77, 0xea, 0x5a,
|
||||
0x88, 0x73, 0xb2, 0x4d, 0x29, 0xcb, 0x34, 0x46, 0x9d, 0xdf, 0x28, 0xf3, 0x32, 0x8d, 0xe1, 0x19,
|
||||
0xd8, 0x13, 0x7a, 0x69, 0xa8, 0xab, 0x83, 0x3d, 0xfd, 0xd7, 0x65, 0x47, 0xb5, 0x1e, 0x5e, 0x81,
|
||||
0xbe, 0x79,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,
|
||||
0xff, 0x09, 0x4c, 0x3d, 0x35, 0x65, 0x04, 0x00, 0x00,
|
||||
}
|
2279
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go
generated
vendored
2279
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
3101
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go
generated
vendored
3101
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
274
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go
generated
vendored
274
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go
generated
vendored
@ -1,274 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dataproc/v1beta2/operations.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 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
|
||||
|
||||
// The operation state.
|
||||
type ClusterOperationStatus_State int32
|
||||
|
||||
const (
|
||||
// Unused.
|
||||
ClusterOperationStatus_UNKNOWN ClusterOperationStatus_State = 0
|
||||
// The operation has been created.
|
||||
ClusterOperationStatus_PENDING ClusterOperationStatus_State = 1
|
||||
// The operation is running.
|
||||
ClusterOperationStatus_RUNNING ClusterOperationStatus_State = 2
|
||||
// The operation is done; either cancelled or completed.
|
||||
ClusterOperationStatus_DONE ClusterOperationStatus_State = 3
|
||||
)
|
||||
|
||||
var ClusterOperationStatus_State_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "PENDING",
|
||||
2: "RUNNING",
|
||||
3: "DONE",
|
||||
}
|
||||
var ClusterOperationStatus_State_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"PENDING": 1,
|
||||
"RUNNING": 2,
|
||||
"DONE": 3,
|
||||
}
|
||||
|
||||
func (x ClusterOperationStatus_State) String() string {
|
||||
return proto.EnumName(ClusterOperationStatus_State_name, int32(x))
|
||||
}
|
||||
func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) {
|
||||
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,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 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 {
|
||||
return m.State
|
||||
}
|
||||
return ClusterOperationStatus_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetInnerState() string {
|
||||
if m != nil {
|
||||
return m.InnerState
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetDetails() string {
|
||||
if m != nil {
|
||||
return m.Details
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StateStartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 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,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 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 {
|
||||
return m.ClusterName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetClusterUuid() string {
|
||||
if m != nil {
|
||||
return m.ClusterUuid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetStatus() *ClusterOperationStatus {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetStatusHistory() []*ClusterOperationStatus {
|
||||
if m != nil {
|
||||
return m.StatusHistory
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetOperationType() string {
|
||||
if m != nil {
|
||||
return m.OperationType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetLabels() map[string]string {
|
||||
if m != nil {
|
||||
return m.Labels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClusterOperationMetadata) GetWarnings() []string {
|
||||
if m != nil {
|
||||
return m.Warnings
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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", fileDescriptor_operations_c7679a03af3a5604)
|
||||
}
|
||||
|
||||
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,
|
||||
0x94, 0x60, 0x45, 0x58, 0xdd, 0xb7, 0xdd, 0x16, 0x15, 0xdd, 0xb4, 0x66, 0xb7, 0x08, 0x2a, 0x94,
|
||||
0x69, 0x33, 0xc6, 0x60, 0x3a, 0x13, 0x66, 0x26, 0x2b, 0x7d, 0xf0, 0x0b, 0xf8, 0x41, 0xfc, 0x9c,
|
||||
0x32, 0x33, 0x49, 0xa9, 0xa2, 0x0b, 0xee, 0x53, 0xe7, 0xde, 0x7b, 0xce, 0x99, 0x73, 0xa6, 0x97,
|
||||
0x80, 0x9f, 0x70, 0x9e, 0x64, 0x34, 0xd8, 0x64, 0xbc, 0x88, 0x83, 0x98, 0x28, 0x92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0x46, 0xfb, 0x7a, 0xf8, 0x0c, 0xdc,
|
||||
0x03, 0x0a, 0x1a, 0x40, 0xfd, 0x0b, 0xdd, 0x99, 0x65, 0xef, 0x46, 0xfa, 0x88, 0xee, 0x41, 0xf3,
|
||||
0x86, 0x64, 0x45, 0xb5, 0xa7, 0xb6, 0x78, 0x5e, 0x3b, 0x75, 0xce, 0xbf, 0xc1, 0xc9, 0x86, 0x6f,
|
||||
0x6f, 0x37, 0x7a, 0xfe, 0xff, 0xde, 0xa2, 0x5c, 0xe8, 0xcd, 0x5c, 0x38, 0xef, 0x67, 0x25, 0x23,
|
||||
0xe1, 0x19, 0x61, 0x89, 0xcf, 0x45, 0x12, 0x24, 0x94, 0x99, 0xbd, 0x0d, 0xec, 0x88, 0xe4, 0xa9,
|
||||
0xfc, 0xcb, 0xa7, 0xe1, 0xac, 0x6a, 0xac, 0x5b, 0x86, 0xf1, 0xe4, 0x67, 0x00, 0x00, 0x00, 0xff,
|
||||
0xff, 0x83, 0x10, 0x95, 0x5e, 0x4b, 0x04, 0x00, 0x00,
|
||||
}
|
38
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go
generated
vendored
38
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go
generated
vendored
@ -1,38 +0,0 @@
|
||||
// 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,
|
||||
}
|
2097
vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go
generated
vendored
2097
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
1264
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go
generated
vendored
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
738
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go
generated
vendored
@ -1,738 +0,0 @@
|
||||
// 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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f, 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
1613
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go
generated
vendored
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
3354
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go
generated
vendored
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
1506
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go
generated
vendored
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
710
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go
generated
vendored
@ -1,710 +0,0 @@
|
||||
// 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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40, 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,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, 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
304
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go
generated
vendored
@ -1,304 +0,0 @@
|
||||
// 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, 0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x00, 0x00,
|
||||
}
|
1274
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go
generated
vendored
1274
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user