mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
vendor files
This commit is contained in:
83
vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go
generated
vendored
Normal file
83
vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go
generated
vendored
Normal file
@ -0,0 +1,83 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/legacy/audit_data.proto
|
||||
|
||||
/*
|
||||
Package legacy is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/appengine/legacy/audit_data.proto
|
||||
|
||||
It has these top-level messages:
|
||||
AuditData
|
||||
*/
|
||||
package legacy
|
||||
|
||||
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" json:"event_message,omitempty"`
|
||||
// Arbitrary event data.
|
||||
// This is the "Result" column in Admin Console's Admin Logs.
|
||||
EventData map[string]string `protobuf:"bytes,2,rep,name=event_data,json=eventData" json:"event_data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *AuditData) Reset() { *m = AuditData{} }
|
||||
func (m *AuditData) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditData) ProtoMessage() {}
|
||||
func (*AuditData) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *AuditData) 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")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []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,
|
||||
}
|
538
vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go
generated
vendored
Normal file
538
vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go
generated
vendored
Normal file
@ -0,0 +1,538 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/logging/v1/request_log.proto
|
||||
|
||||
/*
|
||||
Package logging is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/appengine/logging/v1/request_log.proto
|
||||
|
||||
It has these top-level messages:
|
||||
LogLine
|
||||
SourceLocation
|
||||
SourceReference
|
||||
RequestLog
|
||||
*/
|
||||
package logging
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_logging_type "google.golang.org/genproto/googleapis/logging/type"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// 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 *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=time" json:"time,omitempty"`
|
||||
// Severity of this log entry.
|
||||
Severity google_logging_type.LogSeverity `protobuf:"varint,2,opt,name=severity,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
|
||||
// App-provided log message.
|
||||
LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage" json:"log_message,omitempty"`
|
||||
// Where in the source code this log message was written.
|
||||
SourceLocation *SourceLocation `protobuf:"bytes,4,opt,name=source_location,json=sourceLocation" json:"source_location,omitempty"`
|
||||
}
|
||||
|
||||
func (m *LogLine) Reset() { *m = LogLine{} }
|
||||
func (m *LogLine) String() string { return proto.CompactTextString(m) }
|
||||
func (*LogLine) ProtoMessage() {}
|
||||
func (*LogLine) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *LogLine) GetTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.Time
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LogLine) GetSeverity() google_logging_type.LogSeverity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return google_logging_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" json:"file,omitempty"`
|
||||
// Line within the source file.
|
||||
Line int64 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
|
||||
// Human-readable name of the function or method being invoked, with optional
|
||||
// context such as the class or package name. This information is used in
|
||||
// contexts such as the logs viewer, where a file and line number are less
|
||||
// meaningful. The format can vary by language. For example:
|
||||
// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
|
||||
// (Python).
|
||||
FunctionName string `protobuf:"bytes,3,opt,name=function_name,json=functionName" json:"function_name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
|
||||
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceLocation) ProtoMessage() {}
|
||||
func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *SourceLocation) 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" json:"repository,omitempty"`
|
||||
// The canonical and persistent identifier of the deployed revision.
|
||||
// Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b"
|
||||
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId" json:"revision_id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SourceReference) Reset() { *m = SourceReference{} }
|
||||
func (m *SourceReference) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceReference) ProtoMessage() {}
|
||||
func (*SourceReference) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *SourceReference) 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" json:"app_id,omitempty"`
|
||||
// Module of the application that handled this request.
|
||||
ModuleId string `protobuf:"bytes,37,opt,name=module_id,json=moduleId" json:"module_id,omitempty"`
|
||||
// Version of the application that handled this request.
|
||||
VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
|
||||
// Globally unique identifier for a request, which is based on the request
|
||||
// start time. Request IDs for requests which started later will compare
|
||||
// greater as strings than those for requests which started earlier.
|
||||
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
|
||||
// Origin IP address.
|
||||
Ip string `protobuf:"bytes,4,opt,name=ip" json:"ip,omitempty"`
|
||||
// Time when the request started.
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
// Time when the request finished.
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
// Latency of the request.
|
||||
Latency *google_protobuf1.Duration `protobuf:"bytes,8,opt,name=latency" json:"latency,omitempty"`
|
||||
// Number of CPU megacycles used to process request.
|
||||
MegaCycles int64 `protobuf:"varint,9,opt,name=mega_cycles,json=megaCycles" json:"mega_cycles,omitempty"`
|
||||
// Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`.
|
||||
Method string `protobuf:"bytes,10,opt,name=method" json:"method,omitempty"`
|
||||
// Contains the path and query portion of the URL that was requested. For
|
||||
// example, if the URL was "http://example.com/app?name=val", the resource
|
||||
// would be "/app?name=val". The fragment identifier, which is identified by
|
||||
// the `#` character, is not included.
|
||||
Resource string `protobuf:"bytes,11,opt,name=resource" json:"resource,omitempty"`
|
||||
// HTTP version of request. Example: `"HTTP/1.1"`.
|
||||
HttpVersion string `protobuf:"bytes,12,opt,name=http_version,json=httpVersion" json:"http_version,omitempty"`
|
||||
// HTTP response status code. Example: 200, 404.
|
||||
Status int32 `protobuf:"varint,13,opt,name=status" json:"status,omitempty"`
|
||||
// Size in bytes sent back to client by request.
|
||||
ResponseSize int64 `protobuf:"varint,14,opt,name=response_size,json=responseSize" json:"response_size,omitempty"`
|
||||
// Referrer URL of request.
|
||||
Referrer string `protobuf:"bytes,15,opt,name=referrer" json:"referrer,omitempty"`
|
||||
// User agent that made the request.
|
||||
UserAgent string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent" 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" json:"nickname,omitempty"`
|
||||
// File or class that handled the request.
|
||||
UrlMapEntry string `protobuf:"bytes,17,opt,name=url_map_entry,json=urlMapEntry" json:"url_map_entry,omitempty"`
|
||||
// Internet host and port number of the resource being requested.
|
||||
Host string `protobuf:"bytes,20,opt,name=host" json:"host,omitempty"`
|
||||
// An indication of the relative cost of serving this request.
|
||||
Cost float64 `protobuf:"fixed64,21,opt,name=cost" json:"cost,omitempty"`
|
||||
// Queue name of the request, in the case of an offline request.
|
||||
TaskQueueName string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName" json:"task_queue_name,omitempty"`
|
||||
// Task name of the request, in the case of an offline request.
|
||||
TaskName string `protobuf:"bytes,23,opt,name=task_name,json=taskName" json:"task_name,omitempty"`
|
||||
// Whether this was a loading request for the instance.
|
||||
WasLoadingRequest bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest" json:"was_loading_request,omitempty"`
|
||||
// Time this request spent in the pending request queue.
|
||||
PendingTime *google_protobuf1.Duration `protobuf:"bytes,25,opt,name=pending_time,json=pendingTime" json:"pending_time,omitempty"`
|
||||
// If the instance processing this request belongs to a manually scaled
|
||||
// module, then this is the 0-based index of the instance. Otherwise, this
|
||||
// value is -1.
|
||||
InstanceIndex int32 `protobuf:"varint,26,opt,name=instance_index,json=instanceIndex" json:"instance_index,omitempty"`
|
||||
// Whether this request is finished or active.
|
||||
Finished bool `protobuf:"varint,27,opt,name=finished" json:"finished,omitempty"`
|
||||
// Whether this is the first `RequestLog` entry for this request. If an
|
||||
// active request has several `RequestLog` entries written to Stackdriver
|
||||
// Logging, then this field will be set for one of them.
|
||||
First bool `protobuf:"varint,42,opt,name=first" json:"first,omitempty"`
|
||||
// An identifier for the instance that handled the request.
|
||||
InstanceId string `protobuf:"bytes,28,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
|
||||
// A list of log lines emitted by the application while serving this request.
|
||||
Line []*LogLine `protobuf:"bytes,29,rep,name=line" json:"line,omitempty"`
|
||||
// App Engine release version.
|
||||
AppEngineRelease string `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
|
||||
// Stackdriver Trace identifier for this request.
|
||||
TraceId string `protobuf:"bytes,39,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
|
||||
// Source code for the application that handled this request. There can be
|
||||
// more than one source reference per deployed application if source code is
|
||||
// distributed among multiple repositories.
|
||||
SourceReference []*SourceReference `protobuf:"bytes,41,rep,name=source_reference,json=sourceReference" json:"source_reference,omitempty"`
|
||||
}
|
||||
|
||||
func (m *RequestLog) Reset() { *m = RequestLog{} }
|
||||
func (m *RequestLog) String() string { return proto.CompactTextString(m) }
|
||||
func (*RequestLog) ProtoMessage() {}
|
||||
func (*RequestLog) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *RequestLog) 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() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetEndTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RequestLog) GetLatency() *google_protobuf1.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() *google_protobuf1.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", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []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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0x25, 0x1b, 0x73, 0x51, 0x87,
|
||||
0x6d, 0xf7, 0x33, 0xfc, 0xf6, 0x58, 0x2d, 0x24, 0xe0, 0xb6, 0xd6, 0x33, 0xfc, 0xa6, 0x9f, 0x90,
|
||||
0xdd, 0x79, 0x2b, 0x0b, 0xaf, 0xc9, 0x25, 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, 0x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1d, 0xbb, 0x1d, 0x1e, 0x82, 0xff, 0xf6, 0x58, 0xe1,
|
||||
0xb1, 0x3b, 0xa3, 0x64, 0x9c, 0x64, 0xf8, 0x4d, 0x4f, 0xc9, 0x9e, 0xe3, 0xf6, 0x55, 0xfe, 0xba,
|
||||
0x85, 0x16, 0xc2, 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,
|
||||
}
|
900
vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go
generated
vendored
Normal file
900
vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go
generated
vendored
Normal file
@ -0,0 +1,900 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/app_yaml.proto
|
||||
|
||||
/*
|
||||
Package appengine is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/appengine/v1/app_yaml.proto
|
||||
google/appengine/v1/appengine.proto
|
||||
google/appengine/v1/application.proto
|
||||
google/appengine/v1/audit_data.proto
|
||||
google/appengine/v1/deploy.proto
|
||||
google/appengine/v1/instance.proto
|
||||
google/appengine/v1/location.proto
|
||||
google/appengine/v1/operation.proto
|
||||
google/appengine/v1/service.proto
|
||||
google/appengine/v1/version.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ApiConfigHandler
|
||||
ErrorHandler
|
||||
UrlMap
|
||||
StaticFilesHandler
|
||||
ScriptHandler
|
||||
ApiEndpointHandler
|
||||
HealthCheck
|
||||
Library
|
||||
GetApplicationRequest
|
||||
RepairApplicationRequest
|
||||
ListServicesRequest
|
||||
ListServicesResponse
|
||||
GetServiceRequest
|
||||
UpdateServiceRequest
|
||||
DeleteServiceRequest
|
||||
ListVersionsRequest
|
||||
ListVersionsResponse
|
||||
GetVersionRequest
|
||||
CreateVersionRequest
|
||||
UpdateVersionRequest
|
||||
DeleteVersionRequest
|
||||
ListInstancesRequest
|
||||
ListInstancesResponse
|
||||
GetInstanceRequest
|
||||
DeleteInstanceRequest
|
||||
DebugInstanceRequest
|
||||
Application
|
||||
UrlDispatchRule
|
||||
AuditData
|
||||
UpdateServiceMethod
|
||||
CreateVersionMethod
|
||||
Deployment
|
||||
FileInfo
|
||||
ContainerInfo
|
||||
ZipInfo
|
||||
Instance
|
||||
LocationMetadata
|
||||
OperationMetadataV1
|
||||
Service
|
||||
TrafficSplit
|
||||
Version
|
||||
AutomaticScaling
|
||||
BasicScaling
|
||||
ManualScaling
|
||||
CpuUtilization
|
||||
RequestUtilization
|
||||
DiskUtilization
|
||||
NetworkUtilization
|
||||
Network
|
||||
Resources
|
||||
*/
|
||||
package appengine
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Actions to take when the user is not logged in.
|
||||
type AuthFailAction int32
|
||||
|
||||
const (
|
||||
// Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed.
|
||||
AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED AuthFailAction = 0
|
||||
// Redirects user to "accounts.google.com". The user is redirected back to the
|
||||
// application URL after signing in or creating an account.
|
||||
AuthFailAction_AUTH_FAIL_ACTION_REDIRECT AuthFailAction = 1
|
||||
// Rejects request with a `401` HTTP status code and an error
|
||||
// message.
|
||||
AuthFailAction_AUTH_FAIL_ACTION_UNAUTHORIZED AuthFailAction = 2
|
||||
)
|
||||
|
||||
var AuthFailAction_name = map[int32]string{
|
||||
0: "AUTH_FAIL_ACTION_UNSPECIFIED",
|
||||
1: "AUTH_FAIL_ACTION_REDIRECT",
|
||||
2: "AUTH_FAIL_ACTION_UNAUTHORIZED",
|
||||
}
|
||||
var AuthFailAction_value = map[string]int32{
|
||||
"AUTH_FAIL_ACTION_UNSPECIFIED": 0,
|
||||
"AUTH_FAIL_ACTION_REDIRECT": 1,
|
||||
"AUTH_FAIL_ACTION_UNAUTHORIZED": 2,
|
||||
}
|
||||
|
||||
func (x AuthFailAction) String() string {
|
||||
return proto.EnumName(AuthFailAction_name, int32(x))
|
||||
}
|
||||
func (AuthFailAction) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
// Methods to restrict access to a URL based on login status.
|
||||
type LoginRequirement int32
|
||||
|
||||
const (
|
||||
// Not specified. `LOGIN_OPTIONAL` is assumed.
|
||||
LoginRequirement_LOGIN_UNSPECIFIED LoginRequirement = 0
|
||||
// Does not require that the user is signed in.
|
||||
LoginRequirement_LOGIN_OPTIONAL LoginRequirement = 1
|
||||
// If the user is not signed in, the `auth_fail_action` is taken.
|
||||
// In addition, if the user is not an administrator for the
|
||||
// application, they are given an error message regardless of
|
||||
// `auth_fail_action`. If the user is an administrator, the handler
|
||||
// proceeds.
|
||||
LoginRequirement_LOGIN_ADMIN LoginRequirement = 2
|
||||
// If the user has signed in, the handler proceeds normally. Otherwise, the
|
||||
// auth_fail_action is taken.
|
||||
LoginRequirement_LOGIN_REQUIRED LoginRequirement = 3
|
||||
)
|
||||
|
||||
var LoginRequirement_name = map[int32]string{
|
||||
0: "LOGIN_UNSPECIFIED",
|
||||
1: "LOGIN_OPTIONAL",
|
||||
2: "LOGIN_ADMIN",
|
||||
3: "LOGIN_REQUIRED",
|
||||
}
|
||||
var LoginRequirement_value = map[string]int32{
|
||||
"LOGIN_UNSPECIFIED": 0,
|
||||
"LOGIN_OPTIONAL": 1,
|
||||
"LOGIN_ADMIN": 2,
|
||||
"LOGIN_REQUIRED": 3,
|
||||
}
|
||||
|
||||
func (x LoginRequirement) String() string {
|
||||
return proto.EnumName(LoginRequirement_name, int32(x))
|
||||
}
|
||||
func (LoginRequirement) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
// Methods to enforce security (HTTPS) on a URL.
|
||||
type SecurityLevel int32
|
||||
|
||||
const (
|
||||
// Not specified.
|
||||
SecurityLevel_SECURE_UNSPECIFIED SecurityLevel = 0
|
||||
// Both HTTP and HTTPS requests with URLs that match the handler succeed
|
||||
// without redirects. The application can examine the request to determine
|
||||
// which protocol was used, and respond accordingly.
|
||||
SecurityLevel_SECURE_DEFAULT SecurityLevel = 0
|
||||
// Requests for a URL that match this handler that use HTTPS are automatically
|
||||
// redirected to the HTTP equivalent URL.
|
||||
SecurityLevel_SECURE_NEVER SecurityLevel = 1
|
||||
// Both HTTP and HTTPS requests with URLs that match the handler succeed
|
||||
// without redirects. The application can examine the request to determine
|
||||
// which protocol was used and respond accordingly.
|
||||
SecurityLevel_SECURE_OPTIONAL SecurityLevel = 2
|
||||
// Requests for a URL that match this handler that do not use HTTPS are
|
||||
// automatically redirected to the HTTPS URL with the same path. Query
|
||||
// parameters are reserved for the redirect.
|
||||
SecurityLevel_SECURE_ALWAYS SecurityLevel = 3
|
||||
)
|
||||
|
||||
var SecurityLevel_name = map[int32]string{
|
||||
0: "SECURE_UNSPECIFIED",
|
||||
// Duplicate value: 0: "SECURE_DEFAULT",
|
||||
1: "SECURE_NEVER",
|
||||
2: "SECURE_OPTIONAL",
|
||||
3: "SECURE_ALWAYS",
|
||||
}
|
||||
var SecurityLevel_value = map[string]int32{
|
||||
"SECURE_UNSPECIFIED": 0,
|
||||
"SECURE_DEFAULT": 0,
|
||||
"SECURE_NEVER": 1,
|
||||
"SECURE_OPTIONAL": 2,
|
||||
"SECURE_ALWAYS": 3,
|
||||
}
|
||||
|
||||
func (x SecurityLevel) String() string {
|
||||
return proto.EnumName(SecurityLevel_name, int32(x))
|
||||
}
|
||||
func (SecurityLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
// Error codes.
|
||||
type ErrorHandler_ErrorCode int32
|
||||
|
||||
const (
|
||||
// Not specified. ERROR_CODE_DEFAULT is assumed.
|
||||
ErrorHandler_ERROR_CODE_UNSPECIFIED ErrorHandler_ErrorCode = 0
|
||||
// All other error types.
|
||||
ErrorHandler_ERROR_CODE_DEFAULT ErrorHandler_ErrorCode = 0
|
||||
// Application has exceeded a resource quota.
|
||||
ErrorHandler_ERROR_CODE_OVER_QUOTA ErrorHandler_ErrorCode = 1
|
||||
// Client blocked by the application's Denial of Service protection
|
||||
// configuration.
|
||||
ErrorHandler_ERROR_CODE_DOS_API_DENIAL ErrorHandler_ErrorCode = 2
|
||||
// Deadline reached before the application responds.
|
||||
ErrorHandler_ERROR_CODE_TIMEOUT ErrorHandler_ErrorCode = 3
|
||||
)
|
||||
|
||||
var ErrorHandler_ErrorCode_name = map[int32]string{
|
||||
0: "ERROR_CODE_UNSPECIFIED",
|
||||
// Duplicate value: 0: "ERROR_CODE_DEFAULT",
|
||||
1: "ERROR_CODE_OVER_QUOTA",
|
||||
2: "ERROR_CODE_DOS_API_DENIAL",
|
||||
3: "ERROR_CODE_TIMEOUT",
|
||||
}
|
||||
var ErrorHandler_ErrorCode_value = map[string]int32{
|
||||
"ERROR_CODE_UNSPECIFIED": 0,
|
||||
"ERROR_CODE_DEFAULT": 0,
|
||||
"ERROR_CODE_OVER_QUOTA": 1,
|
||||
"ERROR_CODE_DOS_API_DENIAL": 2,
|
||||
"ERROR_CODE_TIMEOUT": 3,
|
||||
}
|
||||
|
||||
func (x ErrorHandler_ErrorCode) String() string {
|
||||
return proto.EnumName(ErrorHandler_ErrorCode_name, int32(x))
|
||||
}
|
||||
func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
|
||||
// Redirect codes.
|
||||
type UrlMap_RedirectHttpResponseCode int32
|
||||
|
||||
const (
|
||||
// Not specified. `302` is assumed.
|
||||
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED UrlMap_RedirectHttpResponseCode = 0
|
||||
// `301 Moved Permanently` code.
|
||||
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_301 UrlMap_RedirectHttpResponseCode = 1
|
||||
// `302 Moved Temporarily` code.
|
||||
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_302 UrlMap_RedirectHttpResponseCode = 2
|
||||
// `303 See Other` code.
|
||||
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_303 UrlMap_RedirectHttpResponseCode = 3
|
||||
// `307 Temporary Redirect` code.
|
||||
UrlMap_REDIRECT_HTTP_RESPONSE_CODE_307 UrlMap_RedirectHttpResponseCode = 4
|
||||
)
|
||||
|
||||
var UrlMap_RedirectHttpResponseCode_name = map[int32]string{
|
||||
0: "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
|
||||
1: "REDIRECT_HTTP_RESPONSE_CODE_301",
|
||||
2: "REDIRECT_HTTP_RESPONSE_CODE_302",
|
||||
3: "REDIRECT_HTTP_RESPONSE_CODE_303",
|
||||
4: "REDIRECT_HTTP_RESPONSE_CODE_307",
|
||||
}
|
||||
var UrlMap_RedirectHttpResponseCode_value = map[string]int32{
|
||||
"REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED": 0,
|
||||
"REDIRECT_HTTP_RESPONSE_CODE_301": 1,
|
||||
"REDIRECT_HTTP_RESPONSE_CODE_302": 2,
|
||||
"REDIRECT_HTTP_RESPONSE_CODE_303": 3,
|
||||
"REDIRECT_HTTP_RESPONSE_CODE_307": 4,
|
||||
}
|
||||
|
||||
func (x UrlMap_RedirectHttpResponseCode) String() string {
|
||||
return proto.EnumName(UrlMap_RedirectHttpResponseCode_name, int32(x))
|
||||
}
|
||||
func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{2, 0}
|
||||
}
|
||||
|
||||
// [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/)
|
||||
// configuration for API handlers.
|
||||
type ApiConfigHandler struct {
|
||||
// Action to take when users access resources that require
|
||||
// authentication. Defaults to `redirect`.
|
||||
AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
|
||||
// Level of login required to access this resource. Defaults to
|
||||
// `optional`.
|
||||
Login LoginRequirement `protobuf:"varint,2,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
|
||||
// Path to the script from the application root directory.
|
||||
Script string `protobuf:"bytes,3,opt,name=script" json:"script,omitempty"`
|
||||
// Security (HTTPS) enforcement for this URL.
|
||||
SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
|
||||
// URL to serve the endpoint at.
|
||||
Url string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ApiConfigHandler) Reset() { *m = ApiConfigHandler{} }
|
||||
func (m *ApiConfigHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApiConfigHandler) ProtoMessage() {}
|
||||
func (*ApiConfigHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *ApiConfigHandler) GetAuthFailAction() AuthFailAction {
|
||||
if m != nil {
|
||||
return m.AuthFailAction
|
||||
}
|
||||
return AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ApiConfigHandler) GetLogin() LoginRequirement {
|
||||
if m != nil {
|
||||
return m.Login
|
||||
}
|
||||
return LoginRequirement_LOGIN_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ApiConfigHandler) GetScript() string {
|
||||
if m != nil {
|
||||
return m.Script
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ApiConfigHandler) GetSecurityLevel() SecurityLevel {
|
||||
if m != nil {
|
||||
return m.SecurityLevel
|
||||
}
|
||||
return SecurityLevel_SECURE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ApiConfigHandler) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Custom static error page to be served when an error occurs.
|
||||
type ErrorHandler struct {
|
||||
// Error condition this handler applies to.
|
||||
ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"`
|
||||
// Static file content to be served for this error.
|
||||
StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile" json:"static_file,omitempty"`
|
||||
// MIME type of file. Defaults to `text/html`.
|
||||
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ErrorHandler) Reset() { *m = ErrorHandler{} }
|
||||
func (m *ErrorHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorHandler) ProtoMessage() {}
|
||||
func (*ErrorHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *ErrorHandler) GetErrorCode() ErrorHandler_ErrorCode {
|
||||
if m != nil {
|
||||
return m.ErrorCode
|
||||
}
|
||||
return ErrorHandler_ERROR_CODE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *ErrorHandler) GetStaticFile() string {
|
||||
if m != nil {
|
||||
return m.StaticFile
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ErrorHandler) GetMimeType() string {
|
||||
if m != nil {
|
||||
return m.MimeType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// URL pattern and description of how the URL should be handled. App Engine can
|
||||
// handle URLs by executing application code or by serving static files
|
||||
// uploaded with the version, such as images, CSS, or JavaScript.
|
||||
type UrlMap struct {
|
||||
// URL prefix. Uses regular expression syntax, which means regexp
|
||||
// special characters must be escaped, but should not contain groupings.
|
||||
// All URLs that begin with this prefix are handled by this handler, using the
|
||||
// portion of the URL after the prefix as part of the file path.
|
||||
UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex" json:"url_regex,omitempty"`
|
||||
// Type of handler for this URL pattern.
|
||||
//
|
||||
// Types that are valid to be assigned to HandlerType:
|
||||
// *UrlMap_StaticFiles
|
||||
// *UrlMap_Script
|
||||
// *UrlMap_ApiEndpoint
|
||||
HandlerType isUrlMap_HandlerType `protobuf_oneof:"handler_type"`
|
||||
// Security (HTTPS) enforcement for this URL.
|
||||
SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
|
||||
// Level of login required to access this resource.
|
||||
Login LoginRequirement `protobuf:"varint,6,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
|
||||
// Action to take when users access resources that require
|
||||
// authentication. Defaults to `redirect`.
|
||||
AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
|
||||
// `30x` code to use when performing redirects for the `secure` field.
|
||||
// Defaults to `302`.
|
||||
RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UrlMap) Reset() { *m = UrlMap{} }
|
||||
func (m *UrlMap) String() string { return proto.CompactTextString(m) }
|
||||
func (*UrlMap) ProtoMessage() {}
|
||||
func (*UrlMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
type isUrlMap_HandlerType interface {
|
||||
isUrlMap_HandlerType()
|
||||
}
|
||||
|
||||
type UrlMap_StaticFiles struct {
|
||||
StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,oneof"`
|
||||
}
|
||||
type UrlMap_Script struct {
|
||||
Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,oneof"`
|
||||
}
|
||||
type UrlMap_ApiEndpoint struct {
|
||||
ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,oneof"`
|
||||
}
|
||||
|
||||
func (*UrlMap_StaticFiles) isUrlMap_HandlerType() {}
|
||||
func (*UrlMap_Script) isUrlMap_HandlerType() {}
|
||||
func (*UrlMap_ApiEndpoint) isUrlMap_HandlerType() {}
|
||||
|
||||
func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType {
|
||||
if m != nil {
|
||||
return m.HandlerType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetUrlRegex() string {
|
||||
if m != nil {
|
||||
return m.UrlRegex
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetStaticFiles() *StaticFilesHandler {
|
||||
if x, ok := m.GetHandlerType().(*UrlMap_StaticFiles); ok {
|
||||
return x.StaticFiles
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetScript() *ScriptHandler {
|
||||
if x, ok := m.GetHandlerType().(*UrlMap_Script); ok {
|
||||
return x.Script
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetApiEndpoint() *ApiEndpointHandler {
|
||||
if x, ok := m.GetHandlerType().(*UrlMap_ApiEndpoint); ok {
|
||||
return x.ApiEndpoint
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetSecurityLevel() SecurityLevel {
|
||||
if m != nil {
|
||||
return m.SecurityLevel
|
||||
}
|
||||
return SecurityLevel_SECURE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetLogin() LoginRequirement {
|
||||
if m != nil {
|
||||
return m.Login
|
||||
}
|
||||
return LoginRequirement_LOGIN_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetAuthFailAction() AuthFailAction {
|
||||
if m != nil {
|
||||
return m.AuthFailAction
|
||||
}
|
||||
return AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *UrlMap) GetRedirectHttpResponseCode() UrlMap_RedirectHttpResponseCode {
|
||||
if m != nil {
|
||||
return m.RedirectHttpResponseCode
|
||||
}
|
||||
return UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*UrlMap) 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 _UrlMap_OneofMarshaler, _UrlMap_OneofUnmarshaler, _UrlMap_OneofSizer, []interface{}{
|
||||
(*UrlMap_StaticFiles)(nil),
|
||||
(*UrlMap_Script)(nil),
|
||||
(*UrlMap_ApiEndpoint)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _UrlMap_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*UrlMap)
|
||||
// handler_type
|
||||
switch x := m.HandlerType.(type) {
|
||||
case *UrlMap_StaticFiles:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.StaticFiles); err != nil {
|
||||
return err
|
||||
}
|
||||
case *UrlMap_Script:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Script); err != nil {
|
||||
return err
|
||||
}
|
||||
case *UrlMap_ApiEndpoint:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ApiEndpoint); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("UrlMap.HandlerType has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _UrlMap_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*UrlMap)
|
||||
switch tag {
|
||||
case 2: // handler_type.static_files
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(StaticFilesHandler)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.HandlerType = &UrlMap_StaticFiles{msg}
|
||||
return true, err
|
||||
case 3: // handler_type.script
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ScriptHandler)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.HandlerType = &UrlMap_Script{msg}
|
||||
return true, err
|
||||
case 4: // handler_type.api_endpoint
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ApiEndpointHandler)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.HandlerType = &UrlMap_ApiEndpoint{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _UrlMap_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*UrlMap)
|
||||
// handler_type
|
||||
switch x := m.HandlerType.(type) {
|
||||
case *UrlMap_StaticFiles:
|
||||
s := proto.Size(x.StaticFiles)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *UrlMap_Script:
|
||||
s := proto.Size(x.Script)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *UrlMap_ApiEndpoint:
|
||||
s := proto.Size(x.ApiEndpoint)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Files served directly to the user for a given URL, such as images, CSS
|
||||
// stylesheets, or JavaScript source files. Static file handlers describe which
|
||||
// files in the application directory are static files, and which URLs serve
|
||||
// them.
|
||||
type StaticFilesHandler struct {
|
||||
// Path to the static files matched by the URL pattern, from the
|
||||
// application root directory. The path can refer to text matched in groupings
|
||||
// in the URL pattern.
|
||||
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
|
||||
// Regular expression that matches the file paths for all files that should be
|
||||
// referenced by this handler.
|
||||
UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex" json:"upload_path_regex,omitempty"`
|
||||
// HTTP headers to use for all responses from these URLs.
|
||||
HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// MIME type used to serve all files served by this handler.
|
||||
//
|
||||
// Defaults to file-specific MIME types, which are derived from each file's
|
||||
// filename extension.
|
||||
MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
|
||||
// Time a static file served by this handler should be cached
|
||||
// by web proxies and browsers.
|
||||
Expiration *google_protobuf1.Duration `protobuf:"bytes,5,opt,name=expiration" json:"expiration,omitempty"`
|
||||
// Whether this handler should match the request if the file
|
||||
// referenced by the handler does not exist.
|
||||
RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile" json:"require_matching_file,omitempty"`
|
||||
// Whether files should also be uploaded as code data. By default, files
|
||||
// declared in static file handlers are uploaded as static
|
||||
// data and are only served to end users; they cannot be read by the
|
||||
// application. If enabled, uploads are charged against both your code and
|
||||
// static data storage resource quotas.
|
||||
ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable" json:"application_readable,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) Reset() { *m = StaticFilesHandler{} }
|
||||
func (m *StaticFilesHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*StaticFilesHandler) ProtoMessage() {}
|
||||
func (*StaticFilesHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *StaticFilesHandler) GetPath() string {
|
||||
if m != nil {
|
||||
return m.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) GetUploadPathRegex() string {
|
||||
if m != nil {
|
||||
return m.UploadPathRegex
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) GetHttpHeaders() map[string]string {
|
||||
if m != nil {
|
||||
return m.HttpHeaders
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) GetMimeType() string {
|
||||
if m != nil {
|
||||
return m.MimeType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) GetExpiration() *google_protobuf1.Duration {
|
||||
if m != nil {
|
||||
return m.Expiration
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) GetRequireMatchingFile() bool {
|
||||
if m != nil {
|
||||
return m.RequireMatchingFile
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *StaticFilesHandler) GetApplicationReadable() bool {
|
||||
if m != nil {
|
||||
return m.ApplicationReadable
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Executes a script to handle the request that matches the URL pattern.
|
||||
type ScriptHandler struct {
|
||||
// Path to the script from the application root directory.
|
||||
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ScriptHandler) Reset() { *m = ScriptHandler{} }
|
||||
func (m *ScriptHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ScriptHandler) ProtoMessage() {}
|
||||
func (*ScriptHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
func (m *ScriptHandler) GetScriptPath() string {
|
||||
if m != nil {
|
||||
return m.ScriptPath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Uses Google Cloud Endpoints to handle requests.
|
||||
type ApiEndpointHandler struct {
|
||||
// Path to the script from the application root directory.
|
||||
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ApiEndpointHandler) Reset() { *m = ApiEndpointHandler{} }
|
||||
func (m *ApiEndpointHandler) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApiEndpointHandler) ProtoMessage() {}
|
||||
func (*ApiEndpointHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *ApiEndpointHandler) GetScriptPath() string {
|
||||
if m != nil {
|
||||
return m.ScriptPath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Health checking configuration for VM instances. Unhealthy instances
|
||||
// are killed and replaced with new instances. Only applicable for
|
||||
// instances in App Engine flexible environment.
|
||||
type HealthCheck struct {
|
||||
// Whether to explicitly disable health checks for this instance.
|
||||
DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck" json:"disable_health_check,omitempty"`
|
||||
// Host header to send when performing an HTTP health check.
|
||||
// Example: "myapp.appspot.com"
|
||||
Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
|
||||
// Number of consecutive successful health checks required before receiving
|
||||
// traffic.
|
||||
HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold" json:"healthy_threshold,omitempty"`
|
||||
// Number of consecutive failed health checks required before removing
|
||||
// traffic.
|
||||
UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold" json:"unhealthy_threshold,omitempty"`
|
||||
// Number of consecutive failed health checks required before an instance is
|
||||
// restarted.
|
||||
RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold" json:"restart_threshold,omitempty"`
|
||||
// Interval between health checks.
|
||||
CheckInterval *google_protobuf1.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval" json:"check_interval,omitempty"`
|
||||
// Time before the health check is considered failed.
|
||||
Timeout *google_protobuf1.Duration `protobuf:"bytes,7,opt,name=timeout" json:"timeout,omitempty"`
|
||||
}
|
||||
|
||||
func (m *HealthCheck) Reset() { *m = HealthCheck{} }
|
||||
func (m *HealthCheck) String() string { return proto.CompactTextString(m) }
|
||||
func (*HealthCheck) ProtoMessage() {}
|
||||
func (*HealthCheck) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *HealthCheck) GetDisableHealthCheck() bool {
|
||||
if m != nil {
|
||||
return m.DisableHealthCheck
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetHost() string {
|
||||
if m != nil {
|
||||
return m.Host
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetHealthyThreshold() uint32 {
|
||||
if m != nil {
|
||||
return m.HealthyThreshold
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetUnhealthyThreshold() uint32 {
|
||||
if m != nil {
|
||||
return m.UnhealthyThreshold
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetRestartThreshold() uint32 {
|
||||
if m != nil {
|
||||
return m.RestartThreshold
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetCheckInterval() *google_protobuf1.Duration {
|
||||
if m != nil {
|
||||
return m.CheckInterval
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *HealthCheck) GetTimeout() *google_protobuf1.Duration {
|
||||
if m != nil {
|
||||
return m.Timeout
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Third-party Python runtime library that is required by the application.
|
||||
type Library struct {
|
||||
// Name of the library. Example: "django".
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Version of the library to select, or "latest".
|
||||
Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Library) Reset() { *m = Library{} }
|
||||
func (m *Library) String() string { return proto.CompactTextString(m) }
|
||||
func (*Library) ProtoMessage() {}
|
||||
func (*Library) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
|
||||
func (m *Library) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Library) GetVersion() string {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ApiConfigHandler)(nil), "google.appengine.v1.ApiConfigHandler")
|
||||
proto.RegisterType((*ErrorHandler)(nil), "google.appengine.v1.ErrorHandler")
|
||||
proto.RegisterType((*UrlMap)(nil), "google.appengine.v1.UrlMap")
|
||||
proto.RegisterType((*StaticFilesHandler)(nil), "google.appengine.v1.StaticFilesHandler")
|
||||
proto.RegisterType((*ScriptHandler)(nil), "google.appengine.v1.ScriptHandler")
|
||||
proto.RegisterType((*ApiEndpointHandler)(nil), "google.appengine.v1.ApiEndpointHandler")
|
||||
proto.RegisterType((*HealthCheck)(nil), "google.appengine.v1.HealthCheck")
|
||||
proto.RegisterType((*Library)(nil), "google.appengine.v1.Library")
|
||||
proto.RegisterEnum("google.appengine.v1.AuthFailAction", AuthFailAction_name, AuthFailAction_value)
|
||||
proto.RegisterEnum("google.appengine.v1.LoginRequirement", LoginRequirement_name, LoginRequirement_value)
|
||||
proto.RegisterEnum("google.appengine.v1.SecurityLevel", SecurityLevel_name, SecurityLevel_value)
|
||||
proto.RegisterEnum("google.appengine.v1.ErrorHandler_ErrorCode", ErrorHandler_ErrorCode_name, ErrorHandler_ErrorCode_value)
|
||||
proto.RegisterEnum("google.appengine.v1.UrlMap_RedirectHttpResponseCode", UrlMap_RedirectHttpResponseCode_name, UrlMap_RedirectHttpResponseCode_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 1232 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0x13, 0x47,
|
||||
0x14, 0xc6, 0x76, 0x7e, 0x8f, 0x1d, 0xb3, 0x99, 0x00, 0x75, 0x02, 0x94, 0xd4, 0xa8, 0x02, 0x25,
|
||||
0x92, 0x4d, 0x92, 0x56, 0xd0, 0x82, 0xaa, 0x2e, 0xf6, 0xa6, 0xde, 0xca, 0x89, 0xcd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xfa, 0xa8, 0x2b, 0x04, 0x66, 0x7f,
|
||||
0x0c, 0xb9, 0x60, 0x03, 0x16, 0x48, 0x9c, 0x70, 0xd0, 0x3d, 0x58, 0x89, 0xbb, 0x82, 0x47, 0xb2,
|
||||
0x90, 0xd9, 0x4d, 0x3d, 0x5d, 0xc7, 0x46, 0x42, 0x2e, 0xe4, 0x63, 0xd6, 0x1d, 0x0a, 0x2e, 0x47,
|
||||
0xc4, 0x67, 0x17, 0xcc, 0x2f, 0x2c, 0x69, 0xef, 0xc5, 0x85, 0xde, 0x5b, 0x06, 0x5a, 0x57, 0x48,
|
||||
0xbc, 0x11, 0xcf, 0x8a, 0xc8, 0x82, 0xcc, 0x50, 0xf8, 0x85, 0x65, 0xed, 0x5f, 0x1d, 0x8b, 0x9f,
|
||||
0xd2, 0x90, 0x73, 0x84, 0x08, 0xc5, 0x38, 0x23, 0xbf, 0x02, 0x30, 0x25, 0x93, 0x6e, 0xd8, 0x63,
|
||||
0x26, 0x17, 0xfb, 0x0b, 0xbf, 0x34, 0x4b, 0x4b, 0x84, 0x4a, 0xd8, 0x63, 0x78, 0x9d, 0x8d, 0x8f,
|
||||
0xe8, 0x11, 0x64, 0x63, 0x55, 0xa4, 0x2e, 0x39, 0xe7, 0x3e, 0xd3, 0x49, 0x59, 0xc7, 0x90, 0xa8,
|
||||
0x8e, 0xb9, 0xcf, 0xd0, 0x7d, 0x58, 0x1f, 0xf0, 0x01, 0x23, 0x72, 0x14, 0x31, 0x13, 0xf5, 0x9a,
|
||||
0x52, 0xb4, 0x47, 0x11, 0x2b, 0xfe, 0x95, 0x82, 0xf5, 0x89, 0x5b, 0xb4, 0x03, 0xf7, 0x1c, 0x8c,
|
||||
0x1b, 0x98, 0x54, 0x1a, 0x55, 0x87, 0x74, 0x4e, 0x5b, 0x4d, 0xa7, 0xe2, 0x1e, 0xbb, 0x4e, 0xd5,
|
||||
0xba, 0x85, 0xee, 0x01, 0x9a, 0xb1, 0x55, 0x9d, 0x63, 0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3, 0x30, 0x88, 0x59, 0x32, 0x0b, 0x6b, 0xda, 0xf3,
|
||||
0x77, 0x0b, 0x3d, 0x27, 0xfd, 0x50, 0xc2, 0x86, 0x5e, 0x93, 0x32, 0xc2, 0x86, 0xac, 0x87, 0xa2,
|
||||
0x20, 0xae, 0xb1, 0x14, 0xff, 0x4d, 0x41, 0xe1, 0x3a, 0x1a, 0xda, 0x87, 0x27, 0xd8, 0xa9, 0xba,
|
||||
0xd8, 0xa9, 0xb4, 0x49, 0xad, 0xdd, 0x6e, 0x12, 0xec, 0xb4, 0x9a, 0x8d, 0xd3, 0x96, 0xb3, 0x68,
|
||||
0x0a, 0x1e, 0xc3, 0xa3, 0xcf, 0x81, 0x8f, 0x9e, 0x1d, 0x58, 0xa9, 0x9b, 0x41, 0x87, 0x56, 0xfa,
|
||||
0x66, 0xd0, 0x91, 0x95, 0xb9, 0x19, 0xf4, 0xdc, 0x5a, 0x7a, 0x9d, 0x87, 0x9c, 0x97, 0xf4, 0x90,
|
||||
0x9e, 0xf1, 0xe2, 0xa7, 0x0c, 0xa0, 0xab, 0xbd, 0x8e, 0x10, 0x2c, 0x45, 0x54, 0x7a, 0x66, 0x84,
|
||||
0xf4, 0x19, 0xed, 0xc1, 0xe6, 0x30, 0xf2, 0x43, 0xda, 0x23, 0x4a, 0x34, 0x33, 0x96, 0xac, 0x90,
|
||||
0xdb, 0x89, 0xa1, 0x49, 0xa5, 0x97, 0x8c, 0xda, 0xef, 0x90, 0xd3, 0x05, 0xf3, 0x18, 0xed, 0x31,
|
||||
0x11, 0x17, 0x32, 0xbb, 0x99, 0xa7, 0xd9, 0xc3, 0x17, 0xff, 0x73, 0xd4, 0x4a, 0x2a, 0xef, 0xb5,
|
||||
0x84, 0xea, 0x04, 0x52, 0x8c, 0x70, 0xd6, 0x9b, 0x6a, 0xe6, 0x97, 0xd4, 0xd2, 0xfc, 0x92, 0x42,
|
||||
0x3f, 0x00, 0xb0, 0x8f, 0x11, 0x4f, 0x5e, 0x1a, 0x3d, 0x06, 0xd9, 0xc3, 0xed, 0xf1, 0x77, 0xc7,
|
||||
0x4f, 0x51, 0xa9, 0x6a, 0x9e, 0x22, 0x3c, 0x03, 0x46, 0x87, 0x70, 0x57, 0x24, 0x3d, 0x4d, 0x06,
|
||||
0x54, 0x76, 0x3d, 0x1e, 0xf4, 0x93, 0x3d, 0xa9, 0x46, 0x61, 0x0d, 0x6f, 0x19, 0xe3, 0x89, 0xb1,
|
||||
0xe9, 0x85, 0x79, 0x00, 0x77, 0x68, 0x14, 0xf9, 0xbc, 0xab, 0x5d, 0x10, 0xc1, 0x68, 0x8f, 0x9e,
|
||||
0xf9, 0x4c, 0x77, 0xfd, 0x1a, 0xde, 0x9a, 0xb1, 0x61, 0x63, 0xda, 0xf9, 0x09, 0xac, 0xcb, 0xf1,
|
||||
0xa9, 0x77, 0xe0, 0x03, 0x1b, 0x99, 0x74, 0xab, 0x23, 0xba, 0x03, 0xcb, 0x17, 0xd4, 0x1f, 0x8e,
|
||||
0x97, 0x74, 0x22, 0xfc, 0x98, 0x7e, 0x91, 0x2a, 0x3e, 0x83, 0x8d, 0xb9, 0xad, 0xa2, 0xb7, 0xba,
|
||||
0x56, 0x90, 0x99, 0x9a, 0x41, 0xa2, 0x52, 0x25, 0x29, 0x7e, 0x0f, 0xe8, 0xea, 0x0e, 0xb9, 0x99,
|
||||
0xf6, 0x4f, 0x1a, 0xb2, 0x35, 0x46, 0x7d, 0xe9, 0x55, 0x3c, 0xd6, 0xfd, 0x80, 0x9e, 0xc1, 0x9d,
|
||||
0x1e, 0x8f, 0x55, 0x0c, 0xaa, 0xae, 0xbe, 0xf4, 0x48, 0x57, 0xe9, 0x35, 0x73, 0x0d, 0x23, 0x63,
|
||||
0x9b, 0x65, 0x20, 0x58, 0xf2, 0xc2, 0x58, 0x9a, 0x18, 0xf4, 0x19, 0xed, 0xc3, 0x66, 0xc2, 0x1e,
|
||||
0x11, 0xe9, 0x09, 0x16, 0x7b, 0xa1, 0xdf,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x2b, 0x85, 0x6e, 0x43, 0x36, 0xd1, 0xd9, 0xd5, 0x13, 0xf7, 0xd4, 0x4a,
|
||||
0x4f, 0x41, 0xd8, 0x79, 0xd3, 0x71, 0xb1, 0x53, 0xb5, 0x32, 0x7b, 0x23, 0xd8, 0x98, 0x7b, 0x95,
|
||||
0xd4, 0x7b, 0xdf, 0x72, 0x2a, 0x1d, 0xec, 0x5c, 0xfd, 0x82, 0xd1, 0x4f, 0xff, 0x2a, 0x2c, 0xc8,
|
||||
0x19, 0xdd, 0xa9, 0xf3, 0xd6, 0xc1, 0x56, 0x0a, 0x6d, 0xc1, 0x6d, 0xa3, 0x99, 0x5c, 0x24, 0x8d,
|
||||
0x36, 0x61, 0xc3, 0x28, 0xed, 0xfa, 0x6f, 0xf6, 0xbb, 0x56, 0xf2, 0xf7, 0xf0, 0xba, 0x0f, 0x5f,
|
||||
0x75, 0xc3, 0xc1, 0xa2, 0xcd, 0xf4, 0x3a, 0x67, 0x47, 0xd1, 0x3b, 0x3a, 0xf0, 0x9b, 0xaa, 0x96,
|
||||
0xcd, 0xd4, 0xfb, 0x57, 0x06, 0xd4, 0x0f, 0x7d, 0x1a, 0xf4, 0x4b, 0xa1, 0xe8, 0x97, 0xfb, 0x2c,
|
||||
0xd0, 0x95, 0x2e, 0x27, 0x26, 0x1a, 0xf1, 0x78, 0xee, 0x3f, 0xfa, 0xe5, 0x44, 0x38, 0x5b, 0xd1,
|
||||
0xc0, 0xa3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0x5d, 0x26, 0x6c, 0x6f, 0x0b, 0x00, 0x00,
|
||||
}
|
1359
vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go
generated
vendored
Normal file
1359
vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
222
vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go
generated
vendored
Normal file
222
vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go
generated
vendored
Normal file
@ -0,0 +1,222 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/application.proto
|
||||
|
||||
package appengine
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// 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" json:"name,omitempty"`
|
||||
// Identifier of the Application resource. This identifier is equivalent
|
||||
// to the project ID of the Google Cloud Platform project where you want to
|
||||
// deploy your application.
|
||||
// Example: `myapp`.
|
||||
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
|
||||
// HTTP path dispatch rules for requests to the application that do not
|
||||
// explicitly target a service or version. Rules are order-dependent.
|
||||
//
|
||||
// @OutputOnly
|
||||
DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules" json:"dispatch_rules,omitempty"`
|
||||
// Google Apps authentication domain that controls which users can access
|
||||
// this application.
|
||||
//
|
||||
// Defaults to open access for any Google Account.
|
||||
AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"`
|
||||
// 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" json:"location_id,omitempty"`
|
||||
// Google Cloud Storage bucket that can be used for storing files
|
||||
// associated with this application. This bucket is associated with the
|
||||
// application and can be used by the gcloud deployment commands.
|
||||
//
|
||||
// @OutputOnly
|
||||
CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket" json:"code_bucket,omitempty"`
|
||||
// Cookie expiration policy for this application.
|
||||
//
|
||||
// @OutputOnly
|
||||
DefaultCookieExpiration *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration" json:"default_cookie_expiration,omitempty"`
|
||||
// Hostname used to reach this application, as resolved by App Engine.
|
||||
//
|
||||
// @OutputOnly
|
||||
DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname" json:"default_hostname,omitempty"`
|
||||
// Google Cloud Storage bucket that can be used by this application to store
|
||||
// content.
|
||||
//
|
||||
// @OutputOnly
|
||||
DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket" json:"default_bucket,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Application) Reset() { *m = Application{} }
|
||||
func (m *Application) String() string { return proto.CompactTextString(m) }
|
||||
func (*Application) ProtoMessage() {}
|
||||
func (*Application) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
func (m *Application) 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() *google_protobuf1.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" json:"domain,omitempty"`
|
||||
// Pathname within the host. Must start with a "`/`". A
|
||||
// single "`*`" can be included at the end of the path. The sum
|
||||
// of the lengths of the domain and path may not exceed 100
|
||||
// characters.
|
||||
Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
|
||||
// Resource ID of a service in this application that should
|
||||
// serve the matched request. The service must already
|
||||
// exist. Example: `default`.
|
||||
Service string `protobuf:"bytes,3,opt,name=service" json:"service,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} }
|
||||
func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) }
|
||||
func (*UrlDispatchRule) ProtoMessage() {}
|
||||
func (*UrlDispatchRule) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
|
||||
func (m *UrlDispatchRule) 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", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []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, 0xc1, 0xfc, 0x06, 0x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xa3, 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,
|
||||
}
|
208
vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go
generated
vendored
Normal file
208
vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go
generated
vendored
Normal file
@ -0,0 +1,208 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/audit_data.proto
|
||||
|
||||
package appengine
|
||||
|
||||
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
|
||||
|
||||
// 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"`
|
||||
}
|
||||
|
||||
func (m *AuditData) Reset() { *m = AuditData{} }
|
||||
func (m *AuditData) String() string { return proto.CompactTextString(m) }
|
||||
func (*AuditData) ProtoMessage() {}
|
||||
func (*AuditData) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
type isAuditData_Method interface {
|
||||
isAuditData_Method()
|
||||
}
|
||||
|
||||
type AuditData_UpdateService struct {
|
||||
UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,oneof"`
|
||||
}
|
||||
type AuditData_CreateVersion struct {
|
||||
CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,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 += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *AuditData_CreateVersion:
|
||||
s := proto.Size(x.CreateVersion)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
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" json:"request,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateServiceMethod) Reset() { *m = UpdateServiceMethod{} }
|
||||
func (m *UpdateServiceMethod) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateServiceMethod) ProtoMessage() {}
|
||||
func (*UpdateServiceMethod) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
||||
|
||||
func (m *UpdateServiceMethod) 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" json:"request,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateVersionMethod) Reset() { *m = CreateVersionMethod{} }
|
||||
func (m *CreateVersionMethod) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateVersionMethod) ProtoMessage() {}
|
||||
func (*CreateVersionMethod) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
|
||||
|
||||
func (m *CreateVersionMethod) 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", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []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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x56, 0x80, 0x49, 0x69, 0x02,
|
||||
0x00, 0x00,
|
||||
}
|
183
vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go
generated
vendored
Normal file
183
vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go
generated
vendored
Normal file
@ -0,0 +1,183 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/deploy.proto
|
||||
|
||||
package appengine
|
||||
|
||||
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
|
||||
|
||||
// Code and application artifacts used to deploy a version to App Engine.
|
||||
type Deployment struct {
|
||||
// Manifest of the files stored in Google Cloud Storage that are included
|
||||
// as part of this version. All files must be readable using the
|
||||
// credentials supplied with this call.
|
||||
Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// A Docker image that App Engine uses to run the version.
|
||||
// Only applicable for instances in App Engine flexible environment.
|
||||
Container *ContainerInfo `protobuf:"bytes,2,opt,name=container" json:"container,omitempty"`
|
||||
// The zip file for this deployment, if this is a zip deployment.
|
||||
Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip" json:"zip,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Deployment) Reset() { *m = Deployment{} }
|
||||
func (m *Deployment) String() string { return proto.CompactTextString(m) }
|
||||
func (*Deployment) ProtoMessage() {}
|
||||
func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
||||
|
||||
func (m *Deployment) 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" json:"source_url,omitempty"`
|
||||
// The SHA1 hash of the file, in hex.
|
||||
Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum" json:"sha1_sum,omitempty"`
|
||||
// The MIME type of the file.
|
||||
//
|
||||
// Defaults to the value from Google Cloud Storage.
|
||||
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
|
||||
}
|
||||
|
||||
func (m *FileInfo) Reset() { *m = FileInfo{} }
|
||||
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*FileInfo) ProtoMessage() {}
|
||||
func (*FileInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
|
||||
|
||||
func (m *FileInfo) 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" json:"image,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ContainerInfo) Reset() { *m = ContainerInfo{} }
|
||||
func (m *ContainerInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ContainerInfo) ProtoMessage() {}
|
||||
func (*ContainerInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
|
||||
|
||||
func (m *ContainerInfo) 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" json:"source_url,omitempty"`
|
||||
// An estimate of the number of files in a zip for a zip deployment.
|
||||
// If set, must be greater than or equal to the actual number of files.
|
||||
// Used for optimizing performance; if not provided, deployment may be slow.
|
||||
FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount" json:"files_count,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ZipInfo) Reset() { *m = ZipInfo{} }
|
||||
func (m *ZipInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*ZipInfo) ProtoMessage() {}
|
||||
func (*ZipInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
|
||||
|
||||
func (m *ZipInfo) 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.RegisterType((*FileInfo)(nil), "google.appengine.v1.FileInfo")
|
||||
proto.RegisterType((*ContainerInfo)(nil), "google.appengine.v1.ContainerInfo")
|
||||
proto.RegisterType((*ZipInfo)(nil), "google.appengine.v1.ZipInfo")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor4) }
|
||||
|
||||
var fileDescriptor4 = []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, 0x42,
|
||||
0x6a, 0xa2, 0xb9, 0x14, 0x9d, 0xb3, 0xa4, 0xff, 0x66, 0x00, 0x9f, 0x6c, 0x46, 0x43, 0x85, 0x46,
|
||||
0x0f, 0x10, 0xec, 0x78,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, 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,
|
||||
}
|
266
vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go
generated
vendored
Normal file
266
vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go
generated
vendored
Normal file
@ -0,0 +1,266 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/instance.proto
|
||||
|
||||
package appengine
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// 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 fileDescriptor5, []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" json:"name,omitempty"`
|
||||
// Relative name of the instance within the version.
|
||||
// Example: `instance-1`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
|
||||
// App Engine release this instance is running on.
|
||||
//
|
||||
// @OutputOnly
|
||||
AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
|
||||
// Availability of the instance.
|
||||
//
|
||||
// @OutputOnly
|
||||
Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"`
|
||||
// Name of the virtual machine where this instance lives. Only applicable
|
||||
// for instances in App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName" json:"vm_name,omitempty"`
|
||||
// Zone where the virtual machine is located. Only applicable for instances
|
||||
// in App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName" json:"vm_zone_name,omitempty"`
|
||||
// Virtual machine ID of this instance. Only applicable for instances in
|
||||
// App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
|
||||
// Time that this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
// Number of requests since this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
Requests int32 `protobuf:"varint,9,opt,name=requests" json:"requests,omitempty"`
|
||||
// Number of errors since this instance was started.
|
||||
//
|
||||
// @OutputOnly
|
||||
Errors int32 `protobuf:"varint,10,opt,name=errors" json:"errors,omitempty"`
|
||||
// Average queries per second (QPS) over the last minute.
|
||||
//
|
||||
// @OutputOnly
|
||||
Qps float32 `protobuf:"fixed32,11,opt,name=qps" json:"qps,omitempty"`
|
||||
// Average latency (ms) over the last minute.
|
||||
//
|
||||
// @OutputOnly
|
||||
AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency" json:"average_latency,omitempty"`
|
||||
// Total memory in use (bytes).
|
||||
//
|
||||
// @OutputOnly
|
||||
MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage" json:"memory_usage,omitempty"`
|
||||
// Status of the virtual machine where this instance lives. Only applicable
|
||||
// for instances in App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus" json:"vm_status,omitempty"`
|
||||
// Whether this instance is in debug mode. Only applicable for instances in
|
||||
// App Engine flexible environment.
|
||||
//
|
||||
// @OutputOnly
|
||||
VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled" json:"vm_debug_enabled,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Instance) Reset() { *m = Instance{} }
|
||||
func (m *Instance) String() string { return proto.CompactTextString(m) }
|
||||
func (*Instance) ProtoMessage() {}
|
||||
func (*Instance) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||||
|
||||
func (m *Instance) 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() *google_protobuf2.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", fileDescriptor5) }
|
||||
|
||||
var fileDescriptor5 = []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, 0x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 0x32, 0x9d, 0x25, 0xf3, 0x3b, 0xdf,
|
||||
0x41, 0x43, 0x38, 0x9d, 0xfd, 0x9c, 0x5f, 0xff, 0x48, 0x6f, 0xfd, 0xde, 0xcd, 0x6f, 0xb8, 0x58,
|
||||
0x4b, 0xfe, 0xd2, 0x79, 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,
|
||||
}
|
71
vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go
generated
vendored
Normal file
71
vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go
generated
vendored
Normal file
@ -0,0 +1,71 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/location.proto
|
||||
|
||||
package appengine
|
||||
|
||||
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
|
||||
|
||||
// Metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
|
||||
type LocationMetadata struct {
|
||||
// App Engine Standard Environment is available in the given location.
|
||||
//
|
||||
// @OutputOnly
|
||||
StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable" json:"standard_environment_available,omitempty"`
|
||||
// App Engine Flexible Environment is available in the given location.
|
||||
//
|
||||
// @OutputOnly
|
||||
FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable" json:"flexible_environment_available,omitempty"`
|
||||
}
|
||||
|
||||
func (m *LocationMetadata) Reset() { *m = LocationMetadata{} }
|
||||
func (m *LocationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*LocationMetadata) ProtoMessage() {}
|
||||
func (*LocationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
|
||||
|
||||
func (m *LocationMetadata) 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", fileDescriptor6) }
|
||||
|
||||
var fileDescriptor6 = []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, 0xd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
|
||||
}
|
108
vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go
generated
vendored
Normal file
108
vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go
generated
vendored
Normal file
@ -0,0 +1,108 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/operation.proto
|
||||
|
||||
package appengine
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
|
||||
type OperationMetadataV1 struct {
|
||||
// API method that initiated this operation. Example:
|
||||
// `google.appengine.v1.Versions.CreateVersion`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Method string `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
|
||||
// Time that this operation was created.
|
||||
//
|
||||
// @OutputOnly
|
||||
InsertTime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime" json:"insert_time,omitempty"`
|
||||
// Time that this operation completed.
|
||||
//
|
||||
// @OutputOnly
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
// User who requested this operation.
|
||||
//
|
||||
// @OutputOnly
|
||||
User string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
|
||||
// Name of the resource that this operation is acting on. Example:
|
||||
// `apps/myapp/services/default`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Target string `protobuf:"bytes,5,opt,name=target" json:"target,omitempty"`
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) Reset() { *m = OperationMetadataV1{} }
|
||||
func (m *OperationMetadataV1) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadataV1) ProtoMessage() {}
|
||||
func (*OperationMetadataV1) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
|
||||
|
||||
func (m *OperationMetadataV1) GetMethod() string {
|
||||
if m != nil {
|
||||
return m.Method
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetInsertTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.InsertTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadataV1) GetEndTime() *google_protobuf2.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", fileDescriptor7) }
|
||||
|
||||
var fileDescriptor7 = []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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 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,
|
||||
}
|
165
vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go
generated
vendored
Normal file
165
vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go
generated
vendored
Normal file
@ -0,0 +1,165 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/appengine/v1/service.proto
|
||||
|
||||
package appengine
|
||||
|
||||
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
|
||||
|
||||
// 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 fileDescriptor8, []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" json:"name,omitempty"`
|
||||
// Relative name of the service within the application.
|
||||
// Example: `default`.
|
||||
//
|
||||
// @OutputOnly
|
||||
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
|
||||
// Mapping that defines fractional HTTP traffic diversion to
|
||||
// different versions within the service.
|
||||
Split *TrafficSplit `protobuf:"bytes,3,opt,name=split" json:"split,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Service) Reset() { *m = Service{} }
|
||||
func (m *Service) String() string { return proto.CompactTextString(m) }
|
||||
func (*Service) ProtoMessage() {}
|
||||
func (*Service) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
|
||||
|
||||
func (m *Service) 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,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" json:"allocations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *TrafficSplit) Reset() { *m = TrafficSplit{} }
|
||||
func (m *TrafficSplit) String() string { return proto.CompactTextString(m) }
|
||||
func (*TrafficSplit) ProtoMessage() {}
|
||||
func (*TrafficSplit) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
|
||||
|
||||
func (m *TrafficSplit) 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.RegisterEnum("google.appengine.v1.TrafficSplit_ShardBy", TrafficSplit_ShardBy_name, TrafficSplit_ShardBy_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor8) }
|
||||
|
||||
var fileDescriptor8 = []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, 0x1b, 0x92, 0x5c, 0x20, 0x5f, 0xe5, 0x3e, 0xed, 0x91, 0x6c,
|
||||
0xf0, 0xbc, 0x43, 0xf0, 0x6d, 0x66, 0xf2, 0xfb, 0xff, 0x67, 0x32, 0xb3, 0x30, 0xe1, 0x4a, 0xf1,
|
||||
0x84, 0x39, 0x34, 0x4d, 0x99, 0xe4, 0x42, 0x32, 0xa7, 0x9c, 0x3b, 0x39, 0xcb, 0x4a, 0x11, 0x33,
|
||||
0x92, 0x66, 0xaa, 0x50, 0xf8, 0xa3, 0x46, 0xc8, 0x11, 0x21, 0xe5, 0x7c, 0xf4, 0xe5, 0xa8, 0x13,
|
||||
0x0e, 0x95, 0x52, 0x15, 0xb4, 0x10, 0x4a, 0xe6, 0x5a, 0x32, 0xdd, 0x43, 0x3f, 0xd2, 0x1e, 0x18,
|
||||
0xc3, 0x5b, 0x49, 0x0f, 0xcc, 0x36, 0xc6, 0xc6, 0xec, 0x7d, 0xd8, 0xc4, 0x78, 0x08, 0x48, 0xec,
|
||||
0x6c, 0xd4, 0x54, 0x90, 0xd8, 0xe1, 0xef, 0xd0, 0xcd, 0xd3, 0x44, 0x14, 0x76, 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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,
|
||||
}
|
1072
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
Normal file
1072
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user