vendor update for CSI 0.3.0

This commit is contained in:
gman
2018-07-18 16:47:22 +02:00
parent 6f484f92fc
commit 8ea659f0d5
6810 changed files with 438061 additions and 193861 deletions

View File

@ -1,16 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/legacy/audit_data.proto
/*
Package legacy is a generated protocol buffer package.
It is generated from these files:
google/appengine/legacy/audit_data.proto
It has these top-level messages:
AuditData
*/
package legacy
package legacy // import "google.golang.org/genproto/googleapis/appengine/legacy"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
@ -31,16 +22,38 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type AuditData struct {
// Text description of the admin event.
// This is the "Event" column in Admin Console's Admin Logs.
EventMessage string `protobuf:"bytes,1,opt,name=event_message,json=eventMessage" json:"event_message,omitempty"`
EventMessage string `protobuf:"bytes,1,opt,name=event_message,json=eventMessage,proto3" json:"event_message,omitempty"`
// Arbitrary event data.
// This is the "Result" column in Admin Console's Admin Logs.
EventData map[string]string `protobuf:"bytes,2,rep,name=event_data,json=eventData" json:"event_data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
EventData map[string]string `protobuf:"bytes,2,rep,name=event_data,json=eventData,proto3" json:"event_data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AuditData) Reset() { *m = AuditData{} }
func (m *AuditData) String() string { return proto.CompactTextString(m) }
func (*AuditData) ProtoMessage() {}
func (*AuditData) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *AuditData) Reset() { *m = AuditData{} }
func (m *AuditData) String() string { return proto.CompactTextString(m) }
func (*AuditData) ProtoMessage() {}
func (*AuditData) Descriptor() ([]byte, []int) {
return fileDescriptor_audit_data_066939fa5b0d8e90, []int{0}
}
func (m *AuditData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AuditData.Unmarshal(m, b)
}
func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AuditData.Marshal(b, m, deterministic)
}
func (dst *AuditData) XXX_Merge(src proto.Message) {
xxx_messageInfo_AuditData.Merge(dst, src)
}
func (m *AuditData) XXX_Size() int {
return xxx_messageInfo_AuditData.Size(m)
}
func (m *AuditData) XXX_DiscardUnknown() {
xxx_messageInfo_AuditData.DiscardUnknown(m)
}
var xxx_messageInfo_AuditData proto.InternalMessageInfo
func (m *AuditData) GetEventMessage() string {
if m != nil {
@ -58,11 +71,14 @@ func (m *AuditData) GetEventData() map[string]string {
func init() {
proto.RegisterType((*AuditData)(nil), "google.appengine.legacy.AuditData")
proto.RegisterMapType((map[string]string)(nil), "google.appengine.legacy.AuditData.EventDataEntry")
}
func init() { proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor0) }
func init() {
proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor_audit_data_066939fa5b0d8e90)
}
var fileDescriptor0 = []byte{
var fileDescriptor_audit_data_066939fa5b0d8e90 = []byte{
// 247 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x4f, 0x4b, 0x03, 0x31,
0x10, 0xc5, 0xc9, 0x16, 0x85, 0x1d, 0xb5, 0x48, 0x10, 0x5c, 0xf4, 0x52, 0xf4, 0xb2, 0xa7, 0x04,

View File

@ -1,26 +1,14 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/logging/v1/request_log.proto
/*
Package logging is a generated protocol buffer package.
It is generated from these files:
google/appengine/logging/v1/request_log.proto
It has these top-level messages:
LogLine
SourceLocation
SourceReference
RequestLog
*/
package logging
package logging // import "google.golang.org/genproto/googleapis/appengine/logging/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_logging_type "google.golang.org/genproto/googleapis/logging/type"
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
import duration "github.com/golang/protobuf/ptypes/duration"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _type "google.golang.org/genproto/googleapis/logging/type"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@ -36,32 +24,54 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Application log line emitted while processing a request.
type LogLine struct {
// Approximate time when this log entry was made.
Time *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=time" json:"time,omitempty"`
Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
// Severity of this log entry.
Severity google_logging_type.LogSeverity `protobuf:"varint,2,opt,name=severity,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
Severity _type.LogSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
// App-provided log message.
LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage" json:"log_message,omitempty"`
LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"`
// Where in the source code this log message was written.
SourceLocation *SourceLocation `protobuf:"bytes,4,opt,name=source_location,json=sourceLocation" json:"source_location,omitempty"`
SourceLocation *SourceLocation `protobuf:"bytes,4,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LogLine) Reset() { *m = LogLine{} }
func (m *LogLine) String() string { return proto.CompactTextString(m) }
func (*LogLine) ProtoMessage() {}
func (*LogLine) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *LogLine) Reset() { *m = LogLine{} }
func (m *LogLine) String() string { return proto.CompactTextString(m) }
func (*LogLine) ProtoMessage() {}
func (*LogLine) Descriptor() ([]byte, []int) {
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{0}
}
func (m *LogLine) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogLine.Unmarshal(m, b)
}
func (m *LogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogLine.Marshal(b, m, deterministic)
}
func (dst *LogLine) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogLine.Merge(dst, src)
}
func (m *LogLine) XXX_Size() int {
return xxx_messageInfo_LogLine.Size(m)
}
func (m *LogLine) XXX_DiscardUnknown() {
xxx_messageInfo_LogLine.DiscardUnknown(m)
}
func (m *LogLine) GetTime() *google_protobuf2.Timestamp {
var xxx_messageInfo_LogLine proto.InternalMessageInfo
func (m *LogLine) GetTime() *timestamp.Timestamp {
if m != nil {
return m.Time
}
return nil
}
func (m *LogLine) GetSeverity() google_logging_type.LogSeverity {
func (m *LogLine) GetSeverity() _type.LogSeverity {
if m != nil {
return m.Severity
}
return google_logging_type.LogSeverity_DEFAULT
return _type.LogSeverity_DEFAULT
}
func (m *LogLine) GetLogMessage() string {
@ -82,22 +92,44 @@ func (m *LogLine) GetSourceLocation() *SourceLocation {
type SourceLocation struct {
// Source file name. Depending on the runtime environment, this might be a
// simple name or a fully-qualified name.
File string `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// Line within the source file.
Line int64 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
// Human-readable name of the function or method being invoked, with optional
// context such as the class or package name. This information is used in
// contexts such as the logs viewer, where a file and line number are less
// meaningful. The format can vary by language. For example:
// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
// (Python).
FunctionName string `protobuf:"bytes,3,opt,name=function_name,json=functionName" json:"function_name,omitempty"`
FunctionName string `protobuf:"bytes,3,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
func (*SourceLocation) ProtoMessage() {}
func (*SourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *SourceLocation) Reset() { *m = SourceLocation{} }
func (m *SourceLocation) String() string { return proto.CompactTextString(m) }
func (*SourceLocation) ProtoMessage() {}
func (*SourceLocation) Descriptor() ([]byte, []int) {
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{1}
}
func (m *SourceLocation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SourceLocation.Unmarshal(m, b)
}
func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SourceLocation.Marshal(b, m, deterministic)
}
func (dst *SourceLocation) XXX_Merge(src proto.Message) {
xxx_messageInfo_SourceLocation.Merge(dst, src)
}
func (m *SourceLocation) XXX_Size() int {
return xxx_messageInfo_SourceLocation.Size(m)
}
func (m *SourceLocation) XXX_DiscardUnknown() {
xxx_messageInfo_SourceLocation.DiscardUnknown(m)
}
var xxx_messageInfo_SourceLocation proto.InternalMessageInfo
func (m *SourceLocation) GetFile() string {
if m != nil {
@ -125,16 +157,38 @@ func (m *SourceLocation) GetFunctionName() string {
type SourceReference struct {
// Optional. A URI string identifying the repository.
// Example: "https://github.com/GoogleCloudPlatform/kubernetes.git"
Repository string `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// The canonical and persistent identifier of the deployed revision.
// Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b"
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId" json:"revision_id,omitempty"`
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SourceReference) Reset() { *m = SourceReference{} }
func (m *SourceReference) String() string { return proto.CompactTextString(m) }
func (*SourceReference) ProtoMessage() {}
func (*SourceReference) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *SourceReference) Reset() { *m = SourceReference{} }
func (m *SourceReference) String() string { return proto.CompactTextString(m) }
func (*SourceReference) ProtoMessage() {}
func (*SourceReference) Descriptor() ([]byte, []int) {
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{2}
}
func (m *SourceReference) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SourceReference.Unmarshal(m, b)
}
func (m *SourceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SourceReference.Marshal(b, m, deterministic)
}
func (dst *SourceReference) XXX_Merge(src proto.Message) {
xxx_messageInfo_SourceReference.Merge(dst, src)
}
func (m *SourceReference) XXX_Size() int {
return xxx_messageInfo_SourceReference.Size(m)
}
func (m *SourceReference) XXX_DiscardUnknown() {
xxx_messageInfo_SourceReference.DiscardUnknown(m)
}
var xxx_messageInfo_SourceReference proto.InternalMessageInfo
func (m *SourceReference) GetRepository() string {
if m != nil {
@ -154,42 +208,42 @@ func (m *SourceReference) GetRevisionId() string {
// application.
type RequestLog struct {
// Application that handled this request.
AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId" json:"app_id,omitempty"`
AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
// Module of the application that handled this request.
ModuleId string `protobuf:"bytes,37,opt,name=module_id,json=moduleId" json:"module_id,omitempty"`
ModuleId string `protobuf:"bytes,37,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
// Version of the application that handled this request.
VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
// Globally unique identifier for a request, which is based on the request
// start time. Request IDs for requests which started later will compare
// greater as strings than those for requests which started earlier.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Origin IP address.
Ip string `protobuf:"bytes,4,opt,name=ip" json:"ip,omitempty"`
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
// Time when the request started.
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Time when the request finished.
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Latency of the request.
Latency *google_protobuf1.Duration `protobuf:"bytes,8,opt,name=latency" json:"latency,omitempty"`
Latency *duration.Duration `protobuf:"bytes,8,opt,name=latency,proto3" json:"latency,omitempty"`
// Number of CPU megacycles used to process request.
MegaCycles int64 `protobuf:"varint,9,opt,name=mega_cycles,json=megaCycles" json:"mega_cycles,omitempty"`
MegaCycles int64 `protobuf:"varint,9,opt,name=mega_cycles,json=megaCycles,proto3" json:"mega_cycles,omitempty"`
// Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`.
Method string `protobuf:"bytes,10,opt,name=method" json:"method,omitempty"`
Method string `protobuf:"bytes,10,opt,name=method,proto3" json:"method,omitempty"`
// Contains the path and query portion of the URL that was requested. For
// example, if the URL was "http://example.com/app?name=val", the resource
// would be "/app?name=val". The fragment identifier, which is identified by
// the `#` character, is not included.
Resource string `protobuf:"bytes,11,opt,name=resource" json:"resource,omitempty"`
Resource string `protobuf:"bytes,11,opt,name=resource,proto3" json:"resource,omitempty"`
// HTTP version of request. Example: `"HTTP/1.1"`.
HttpVersion string `protobuf:"bytes,12,opt,name=http_version,json=httpVersion" json:"http_version,omitempty"`
HttpVersion string `protobuf:"bytes,12,opt,name=http_version,json=httpVersion,proto3" json:"http_version,omitempty"`
// HTTP response status code. Example: 200, 404.
Status int32 `protobuf:"varint,13,opt,name=status" json:"status,omitempty"`
Status int32 `protobuf:"varint,13,opt,name=status,proto3" json:"status,omitempty"`
// Size in bytes sent back to client by request.
ResponseSize int64 `protobuf:"varint,14,opt,name=response_size,json=responseSize" json:"response_size,omitempty"`
ResponseSize int64 `protobuf:"varint,14,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"`
// Referrer URL of request.
Referrer string `protobuf:"bytes,15,opt,name=referrer" json:"referrer,omitempty"`
Referrer string `protobuf:"bytes,15,opt,name=referrer,proto3" json:"referrer,omitempty"`
// User agent that made the request.
UserAgent string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
UserAgent string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
// The logged-in user who made the request.
//
// Most likely, this is the part of the user's email before the `@` sign. The
@ -198,49 +252,71 @@ type RequestLog struct {
// available to the application via the App Engine Users API.
//
// This field will be populated starting with App Engine 1.9.21.
Nickname string `protobuf:"bytes,40,opt,name=nickname" json:"nickname,omitempty"`
Nickname string `protobuf:"bytes,40,opt,name=nickname,proto3" json:"nickname,omitempty"`
// File or class that handled the request.
UrlMapEntry string `protobuf:"bytes,17,opt,name=url_map_entry,json=urlMapEntry" json:"url_map_entry,omitempty"`
UrlMapEntry string `protobuf:"bytes,17,opt,name=url_map_entry,json=urlMapEntry,proto3" json:"url_map_entry,omitempty"`
// Internet host and port number of the resource being requested.
Host string `protobuf:"bytes,20,opt,name=host" json:"host,omitempty"`
Host string `protobuf:"bytes,20,opt,name=host,proto3" json:"host,omitempty"`
// An indication of the relative cost of serving this request.
Cost float64 `protobuf:"fixed64,21,opt,name=cost" json:"cost,omitempty"`
Cost float64 `protobuf:"fixed64,21,opt,name=cost,proto3" json:"cost,omitempty"`
// Queue name of the request, in the case of an offline request.
TaskQueueName string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName" json:"task_queue_name,omitempty"`
TaskQueueName string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName,proto3" json:"task_queue_name,omitempty"`
// Task name of the request, in the case of an offline request.
TaskName string `protobuf:"bytes,23,opt,name=task_name,json=taskName" json:"task_name,omitempty"`
TaskName string `protobuf:"bytes,23,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"`
// Whether this was a loading request for the instance.
WasLoadingRequest bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest" json:"was_loading_request,omitempty"`
WasLoadingRequest bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest,proto3" json:"was_loading_request,omitempty"`
// Time this request spent in the pending request queue.
PendingTime *google_protobuf1.Duration `protobuf:"bytes,25,opt,name=pending_time,json=pendingTime" json:"pending_time,omitempty"`
PendingTime *duration.Duration `protobuf:"bytes,25,opt,name=pending_time,json=pendingTime,proto3" json:"pending_time,omitempty"`
// If the instance processing this request belongs to a manually scaled
// module, then this is the 0-based index of the instance. Otherwise, this
// value is -1.
InstanceIndex int32 `protobuf:"varint,26,opt,name=instance_index,json=instanceIndex" json:"instance_index,omitempty"`
InstanceIndex int32 `protobuf:"varint,26,opt,name=instance_index,json=instanceIndex,proto3" json:"instance_index,omitempty"`
// Whether this request is finished or active.
Finished bool `protobuf:"varint,27,opt,name=finished" json:"finished,omitempty"`
Finished bool `protobuf:"varint,27,opt,name=finished,proto3" json:"finished,omitempty"`
// Whether this is the first `RequestLog` entry for this request. If an
// active request has several `RequestLog` entries written to Stackdriver
// Logging, then this field will be set for one of them.
First bool `protobuf:"varint,42,opt,name=first" json:"first,omitempty"`
First bool `protobuf:"varint,42,opt,name=first,proto3" json:"first,omitempty"`
// An identifier for the instance that handled the request.
InstanceId string `protobuf:"bytes,28,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
InstanceId string `protobuf:"bytes,28,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// A list of log lines emitted by the application while serving this request.
Line []*LogLine `protobuf:"bytes,29,rep,name=line" json:"line,omitempty"`
Line []*LogLine `protobuf:"bytes,29,rep,name=line,proto3" json:"line,omitempty"`
// App Engine release version.
AppEngineRelease string `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
AppEngineRelease string `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"`
// Stackdriver Trace identifier for this request.
TraceId string `protobuf:"bytes,39,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
TraceId string `protobuf:"bytes,39,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
// Source code for the application that handled this request. There can be
// more than one source reference per deployed application if source code is
// distributed among multiple repositories.
SourceReference []*SourceReference `protobuf:"bytes,41,rep,name=source_reference,json=sourceReference" json:"source_reference,omitempty"`
SourceReference []*SourceReference `protobuf:"bytes,41,rep,name=source_reference,json=sourceReference,proto3" json:"source_reference,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RequestLog) Reset() { *m = RequestLog{} }
func (m *RequestLog) String() string { return proto.CompactTextString(m) }
func (*RequestLog) ProtoMessage() {}
func (*RequestLog) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *RequestLog) Reset() { *m = RequestLog{} }
func (m *RequestLog) String() string { return proto.CompactTextString(m) }
func (*RequestLog) ProtoMessage() {}
func (*RequestLog) Descriptor() ([]byte, []int) {
return fileDescriptor_request_log_c4e4bcec179d2e52, []int{3}
}
func (m *RequestLog) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RequestLog.Unmarshal(m, b)
}
func (m *RequestLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RequestLog.Marshal(b, m, deterministic)
}
func (dst *RequestLog) XXX_Merge(src proto.Message) {
xxx_messageInfo_RequestLog.Merge(dst, src)
}
func (m *RequestLog) XXX_Size() int {
return xxx_messageInfo_RequestLog.Size(m)
}
func (m *RequestLog) XXX_DiscardUnknown() {
xxx_messageInfo_RequestLog.DiscardUnknown(m)
}
var xxx_messageInfo_RequestLog proto.InternalMessageInfo
func (m *RequestLog) GetAppId() string {
if m != nil {
@ -277,21 +353,21 @@ func (m *RequestLog) GetIp() string {
return ""
}
func (m *RequestLog) GetStartTime() *google_protobuf2.Timestamp {
func (m *RequestLog) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *RequestLog) GetEndTime() *google_protobuf2.Timestamp {
func (m *RequestLog) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
func (m *RequestLog) GetLatency() *google_protobuf1.Duration {
func (m *RequestLog) GetLatency() *duration.Duration {
if m != nil {
return m.Latency
}
@ -403,7 +479,7 @@ func (m *RequestLog) GetWasLoadingRequest() bool {
return false
}
func (m *RequestLog) GetPendingTime() *google_protobuf1.Duration {
func (m *RequestLog) GetPendingTime() *duration.Duration {
if m != nil {
return m.PendingTime
}
@ -473,9 +549,11 @@ func init() {
proto.RegisterType((*RequestLog)(nil), "google.appengine.logging.v1.RequestLog")
}
func init() { proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor0) }
func init() {
proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor_request_log_c4e4bcec179d2e52)
}
var fileDescriptor0 = []byte{
var fileDescriptor_request_log_c4e4bcec179d2e52 = []byte{
// 921 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x7f, 0x6f, 0x1c, 0x35,
0x10, 0xd5, 0xe6, 0xe7, 0x9d, 0x2f, 0xb9, 0xa4, 0xa6, 0x2d, 0x4e, 0x42, 0x9b, 0x23, 0xd0, 0x70,

View File

@ -1,80 +1,13 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/app_yaml.proto
/*
Package appengine is a generated protocol buffer package.
It is generated from these files:
google/appengine/v1/app_yaml.proto
google/appengine/v1/appengine.proto
google/appengine/v1/application.proto
google/appengine/v1/audit_data.proto
google/appengine/v1/deploy.proto
google/appengine/v1/instance.proto
google/appengine/v1/location.proto
google/appengine/v1/operation.proto
google/appengine/v1/service.proto
google/appengine/v1/version.proto
It has these top-level messages:
ApiConfigHandler
ErrorHandler
UrlMap
StaticFilesHandler
ScriptHandler
ApiEndpointHandler
HealthCheck
Library
GetApplicationRequest
RepairApplicationRequest
ListServicesRequest
ListServicesResponse
GetServiceRequest
UpdateServiceRequest
DeleteServiceRequest
ListVersionsRequest
ListVersionsResponse
GetVersionRequest
CreateVersionRequest
UpdateVersionRequest
DeleteVersionRequest
ListInstancesRequest
ListInstancesResponse
GetInstanceRequest
DeleteInstanceRequest
DebugInstanceRequest
Application
UrlDispatchRule
AuditData
UpdateServiceMethod
CreateVersionMethod
Deployment
FileInfo
ContainerInfo
ZipInfo
Instance
LocationMetadata
OperationMetadataV1
Service
TrafficSplit
Version
AutomaticScaling
BasicScaling
ManualScaling
CpuUtilization
RequestUtilization
DiskUtilization
NetworkUtilization
Network
Resources
*/
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import duration "github.com/golang/protobuf/ptypes/duration"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@ -115,7 +48,9 @@ var AuthFailAction_value = map[string]int32{
func (x AuthFailAction) String() string {
return proto.EnumName(AuthFailAction_name, int32(x))
}
func (AuthFailAction) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (AuthFailAction) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{0}
}
// Methods to restrict access to a URL based on login status.
type LoginRequirement int32
@ -152,7 +87,9 @@ var LoginRequirement_value = map[string]int32{
func (x LoginRequirement) String() string {
return proto.EnumName(LoginRequirement_name, int32(x))
}
func (LoginRequirement) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (LoginRequirement) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1}
}
// Methods to enforce security (HTTPS) on a URL.
type SecurityLevel int32
@ -195,7 +132,9 @@ var SecurityLevel_value = map[string]int32{
func (x SecurityLevel) String() string {
return proto.EnumName(SecurityLevel_name, int32(x))
}
func (SecurityLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (SecurityLevel) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2}
}
// Error codes.
type ErrorHandler_ErrorCode int32
@ -232,7 +171,9 @@ var ErrorHandler_ErrorCode_value = map[string]int32{
func (x ErrorHandler_ErrorCode) String() string {
return proto.EnumName(ErrorHandler_ErrorCode_name, int32(x))
}
func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1, 0}
}
// Redirect codes.
type UrlMap_RedirectHttpResponseCode int32
@ -269,7 +210,7 @@ func (x UrlMap_RedirectHttpResponseCode) String() string {
return proto.EnumName(UrlMap_RedirectHttpResponseCode_name, int32(x))
}
func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{2, 0}
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2, 0}
}
// [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/)
@ -277,22 +218,44 @@ func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) {
type ApiConfigHandler struct {
// Action to take when users access resources that require
// authentication. Defaults to `redirect`.
AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
// Level of login required to access this resource. Defaults to
// `optional`.
Login LoginRequirement `protobuf:"varint,2,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
Login LoginRequirement `protobuf:"varint,2,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
// Path to the script from the application root directory.
Script string `protobuf:"bytes,3,opt,name=script" json:"script,omitempty"`
Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
// Security (HTTPS) enforcement for this URL.
SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
// URL to serve the endpoint at.
Url string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApiConfigHandler) Reset() { *m = ApiConfigHandler{} }
func (m *ApiConfigHandler) String() string { return proto.CompactTextString(m) }
func (*ApiConfigHandler) ProtoMessage() {}
func (*ApiConfigHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *ApiConfigHandler) Reset() { *m = ApiConfigHandler{} }
func (m *ApiConfigHandler) String() string { return proto.CompactTextString(m) }
func (*ApiConfigHandler) ProtoMessage() {}
func (*ApiConfigHandler) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{0}
}
func (m *ApiConfigHandler) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApiConfigHandler.Unmarshal(m, b)
}
func (m *ApiConfigHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApiConfigHandler.Marshal(b, m, deterministic)
}
func (dst *ApiConfigHandler) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiConfigHandler.Merge(dst, src)
}
func (m *ApiConfigHandler) XXX_Size() int {
return xxx_messageInfo_ApiConfigHandler.Size(m)
}
func (m *ApiConfigHandler) XXX_DiscardUnknown() {
xxx_messageInfo_ApiConfigHandler.DiscardUnknown(m)
}
var xxx_messageInfo_ApiConfigHandler proto.InternalMessageInfo
func (m *ApiConfigHandler) GetAuthFailAction() AuthFailAction {
if m != nil {
@ -332,17 +295,39 @@ func (m *ApiConfigHandler) GetUrl() string {
// Custom static error page to be served when an error occurs.
type ErrorHandler struct {
// Error condition this handler applies to.
ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"`
ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"`
// Static file content to be served for this error.
StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile" json:"static_file,omitempty"`
StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile,proto3" json:"static_file,omitempty"`
// MIME type of file. Defaults to `text/html`.
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ErrorHandler) Reset() { *m = ErrorHandler{} }
func (m *ErrorHandler) String() string { return proto.CompactTextString(m) }
func (*ErrorHandler) ProtoMessage() {}
func (*ErrorHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ErrorHandler) Reset() { *m = ErrorHandler{} }
func (m *ErrorHandler) String() string { return proto.CompactTextString(m) }
func (*ErrorHandler) ProtoMessage() {}
func (*ErrorHandler) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{1}
}
func (m *ErrorHandler) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ErrorHandler.Unmarshal(m, b)
}
func (m *ErrorHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ErrorHandler.Marshal(b, m, deterministic)
}
func (dst *ErrorHandler) XXX_Merge(src proto.Message) {
xxx_messageInfo_ErrorHandler.Merge(dst, src)
}
func (m *ErrorHandler) XXX_Size() int {
return xxx_messageInfo_ErrorHandler.Size(m)
}
func (m *ErrorHandler) XXX_DiscardUnknown() {
xxx_messageInfo_ErrorHandler.DiscardUnknown(m)
}
var xxx_messageInfo_ErrorHandler proto.InternalMessageInfo
func (m *ErrorHandler) GetErrorCode() ErrorHandler_ErrorCode {
if m != nil {
@ -373,7 +358,7 @@ type UrlMap struct {
// special characters must be escaped, but should not contain groupings.
// All URLs that begin with this prefix are handled by this handler, using the
// portion of the URL after the prefix as part of the file path.
UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex" json:"url_regex,omitempty"`
UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex,proto3" json:"url_regex,omitempty"`
// Type of handler for this URL pattern.
//
// Types that are valid to be assigned to HandlerType:
@ -382,38 +367,71 @@ type UrlMap struct {
// *UrlMap_ApiEndpoint
HandlerType isUrlMap_HandlerType `protobuf_oneof:"handler_type"`
// Security (HTTPS) enforcement for this URL.
SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
// Level of login required to access this resource.
Login LoginRequirement `protobuf:"varint,6,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
Login LoginRequirement `protobuf:"varint,6,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
// Action to take when users access resources that require
// authentication. Defaults to `redirect`.
AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
// `30x` code to use when performing redirects for the `secure` field.
// Defaults to `302`.
RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"`
RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,proto3,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UrlMap) Reset() { *m = UrlMap{} }
func (m *UrlMap) String() string { return proto.CompactTextString(m) }
func (*UrlMap) ProtoMessage() {}
func (*UrlMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *UrlMap) Reset() { *m = UrlMap{} }
func (m *UrlMap) String() string { return proto.CompactTextString(m) }
func (*UrlMap) ProtoMessage() {}
func (*UrlMap) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{2}
}
func (m *UrlMap) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UrlMap.Unmarshal(m, b)
}
func (m *UrlMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UrlMap.Marshal(b, m, deterministic)
}
func (dst *UrlMap) XXX_Merge(src proto.Message) {
xxx_messageInfo_UrlMap.Merge(dst, src)
}
func (m *UrlMap) XXX_Size() int {
return xxx_messageInfo_UrlMap.Size(m)
}
func (m *UrlMap) XXX_DiscardUnknown() {
xxx_messageInfo_UrlMap.DiscardUnknown(m)
}
var xxx_messageInfo_UrlMap proto.InternalMessageInfo
func (m *UrlMap) GetUrlRegex() string {
if m != nil {
return m.UrlRegex
}
return ""
}
type isUrlMap_HandlerType interface {
isUrlMap_HandlerType()
}
type UrlMap_StaticFiles struct {
StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,oneof"`
StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,proto3,oneof"`
}
type UrlMap_Script struct {
Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,oneof"`
Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,proto3,oneof"`
}
type UrlMap_ApiEndpoint struct {
ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,oneof"`
ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,proto3,oneof"`
}
func (*UrlMap_StaticFiles) isUrlMap_HandlerType() {}
func (*UrlMap_Script) isUrlMap_HandlerType() {}
func (*UrlMap_Script) isUrlMap_HandlerType() {}
func (*UrlMap_ApiEndpoint) isUrlMap_HandlerType() {}
func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType {
@ -423,13 +441,6 @@ func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType {
return nil
}
func (m *UrlMap) GetUrlRegex() string {
if m != nil {
return m.UrlRegex
}
return ""
}
func (m *UrlMap) GetStaticFiles() *StaticFilesHandler {
if x, ok := m.GetHandlerType().(*UrlMap_StaticFiles); ok {
return x.StaticFiles
@ -552,17 +563,17 @@ func _UrlMap_OneofSizer(msg proto.Message) (n int) {
switch x := m.HandlerType.(type) {
case *UrlMap_StaticFiles:
s := proto.Size(x.StaticFiles)
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *UrlMap_Script:
s := proto.Size(x.Script)
n += proto.SizeVarint(3<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *UrlMap_ApiEndpoint:
s := proto.Size(x.ApiEndpoint)
n += proto.SizeVarint(4<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
@ -580,35 +591,57 @@ type StaticFilesHandler struct {
// Path to the static files matched by the URL pattern, from the
// application root directory. The path can refer to text matched in groupings
// in the URL pattern.
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Regular expression that matches the file paths for all files that should be
// referenced by this handler.
UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex" json:"upload_path_regex,omitempty"`
UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex,proto3" json:"upload_path_regex,omitempty"`
// HTTP headers to use for all responses from these URLs.
HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// MIME type used to serve all files served by this handler.
//
// Defaults to file-specific MIME types, which are derived from each file's
// filename extension.
MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// Time a static file served by this handler should be cached
// by web proxies and browsers.
Expiration *google_protobuf1.Duration `protobuf:"bytes,5,opt,name=expiration" json:"expiration,omitempty"`
Expiration *duration.Duration `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"`
// Whether this handler should match the request if the file
// referenced by the handler does not exist.
RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile" json:"require_matching_file,omitempty"`
RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile,proto3" json:"require_matching_file,omitempty"`
// Whether files should also be uploaded as code data. By default, files
// declared in static file handlers are uploaded as static
// data and are only served to end users; they cannot be read by the
// application. If enabled, uploads are charged against both your code and
// static data storage resource quotas.
ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable" json:"application_readable,omitempty"`
ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable,proto3" json:"application_readable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StaticFilesHandler) Reset() { *m = StaticFilesHandler{} }
func (m *StaticFilesHandler) String() string { return proto.CompactTextString(m) }
func (*StaticFilesHandler) ProtoMessage() {}
func (*StaticFilesHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *StaticFilesHandler) Reset() { *m = StaticFilesHandler{} }
func (m *StaticFilesHandler) String() string { return proto.CompactTextString(m) }
func (*StaticFilesHandler) ProtoMessage() {}
func (*StaticFilesHandler) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{3}
}
func (m *StaticFilesHandler) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StaticFilesHandler.Unmarshal(m, b)
}
func (m *StaticFilesHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StaticFilesHandler.Marshal(b, m, deterministic)
}
func (dst *StaticFilesHandler) XXX_Merge(src proto.Message) {
xxx_messageInfo_StaticFilesHandler.Merge(dst, src)
}
func (m *StaticFilesHandler) XXX_Size() int {
return xxx_messageInfo_StaticFilesHandler.Size(m)
}
func (m *StaticFilesHandler) XXX_DiscardUnknown() {
xxx_messageInfo_StaticFilesHandler.DiscardUnknown(m)
}
var xxx_messageInfo_StaticFilesHandler proto.InternalMessageInfo
func (m *StaticFilesHandler) GetPath() string {
if m != nil {
@ -638,7 +671,7 @@ func (m *StaticFilesHandler) GetMimeType() string {
return ""
}
func (m *StaticFilesHandler) GetExpiration() *google_protobuf1.Duration {
func (m *StaticFilesHandler) GetExpiration() *duration.Duration {
if m != nil {
return m.Expiration
}
@ -662,13 +695,35 @@ func (m *StaticFilesHandler) GetApplicationReadable() bool {
// Executes a script to handle the request that matches the URL pattern.
type ScriptHandler struct {
// Path to the script from the application root directory.
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ScriptHandler) Reset() { *m = ScriptHandler{} }
func (m *ScriptHandler) String() string { return proto.CompactTextString(m) }
func (*ScriptHandler) ProtoMessage() {}
func (*ScriptHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *ScriptHandler) Reset() { *m = ScriptHandler{} }
func (m *ScriptHandler) String() string { return proto.CompactTextString(m) }
func (*ScriptHandler) ProtoMessage() {}
func (*ScriptHandler) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{4}
}
func (m *ScriptHandler) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ScriptHandler.Unmarshal(m, b)
}
func (m *ScriptHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ScriptHandler.Marshal(b, m, deterministic)
}
func (dst *ScriptHandler) XXX_Merge(src proto.Message) {
xxx_messageInfo_ScriptHandler.Merge(dst, src)
}
func (m *ScriptHandler) XXX_Size() int {
return xxx_messageInfo_ScriptHandler.Size(m)
}
func (m *ScriptHandler) XXX_DiscardUnknown() {
xxx_messageInfo_ScriptHandler.DiscardUnknown(m)
}
var xxx_messageInfo_ScriptHandler proto.InternalMessageInfo
func (m *ScriptHandler) GetScriptPath() string {
if m != nil {
@ -680,13 +735,35 @@ func (m *ScriptHandler) GetScriptPath() string {
// Uses Google Cloud Endpoints to handle requests.
type ApiEndpointHandler struct {
// Path to the script from the application root directory.
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApiEndpointHandler) Reset() { *m = ApiEndpointHandler{} }
func (m *ApiEndpointHandler) String() string { return proto.CompactTextString(m) }
func (*ApiEndpointHandler) ProtoMessage() {}
func (*ApiEndpointHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *ApiEndpointHandler) Reset() { *m = ApiEndpointHandler{} }
func (m *ApiEndpointHandler) String() string { return proto.CompactTextString(m) }
func (*ApiEndpointHandler) ProtoMessage() {}
func (*ApiEndpointHandler) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{5}
}
func (m *ApiEndpointHandler) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApiEndpointHandler.Unmarshal(m, b)
}
func (m *ApiEndpointHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApiEndpointHandler.Marshal(b, m, deterministic)
}
func (dst *ApiEndpointHandler) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiEndpointHandler.Merge(dst, src)
}
func (m *ApiEndpointHandler) XXX_Size() int {
return xxx_messageInfo_ApiEndpointHandler.Size(m)
}
func (m *ApiEndpointHandler) XXX_DiscardUnknown() {
xxx_messageInfo_ApiEndpointHandler.DiscardUnknown(m)
}
var xxx_messageInfo_ApiEndpointHandler proto.InternalMessageInfo
func (m *ApiEndpointHandler) GetScriptPath() string {
if m != nil {
@ -700,29 +777,51 @@ func (m *ApiEndpointHandler) GetScriptPath() string {
// instances in App Engine flexible environment.
type HealthCheck struct {
// Whether to explicitly disable health checks for this instance.
DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck" json:"disable_health_check,omitempty"`
DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck,proto3" json:"disable_health_check,omitempty"`
// Host header to send when performing an HTTP health check.
// Example: "myapp.appspot.com"
Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
// Number of consecutive successful health checks required before receiving
// traffic.
HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold" json:"healthy_threshold,omitempty"`
HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"`
// Number of consecutive failed health checks required before removing
// traffic.
UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold" json:"unhealthy_threshold,omitempty"`
UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"`
// Number of consecutive failed health checks required before an instance is
// restarted.
RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold" json:"restart_threshold,omitempty"`
RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold,proto3" json:"restart_threshold,omitempty"`
// Interval between health checks.
CheckInterval *google_protobuf1.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval" json:"check_interval,omitempty"`
CheckInterval *duration.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"`
// Time before the health check is considered failed.
Timeout *google_protobuf1.Duration `protobuf:"bytes,7,opt,name=timeout" json:"timeout,omitempty"`
Timeout *duration.Duration `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HealthCheck) Reset() { *m = HealthCheck{} }
func (m *HealthCheck) String() string { return proto.CompactTextString(m) }
func (*HealthCheck) ProtoMessage() {}
func (*HealthCheck) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *HealthCheck) Reset() { *m = HealthCheck{} }
func (m *HealthCheck) String() string { return proto.CompactTextString(m) }
func (*HealthCheck) ProtoMessage() {}
func (*HealthCheck) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{6}
}
func (m *HealthCheck) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HealthCheck.Unmarshal(m, b)
}
func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HealthCheck.Marshal(b, m, deterministic)
}
func (dst *HealthCheck) XXX_Merge(src proto.Message) {
xxx_messageInfo_HealthCheck.Merge(dst, src)
}
func (m *HealthCheck) XXX_Size() int {
return xxx_messageInfo_HealthCheck.Size(m)
}
func (m *HealthCheck) XXX_DiscardUnknown() {
xxx_messageInfo_HealthCheck.DiscardUnknown(m)
}
var xxx_messageInfo_HealthCheck proto.InternalMessageInfo
func (m *HealthCheck) GetDisableHealthCheck() bool {
if m != nil {
@ -759,14 +858,14 @@ func (m *HealthCheck) GetRestartThreshold() uint32 {
return 0
}
func (m *HealthCheck) GetCheckInterval() *google_protobuf1.Duration {
func (m *HealthCheck) GetCheckInterval() *duration.Duration {
if m != nil {
return m.CheckInterval
}
return nil
}
func (m *HealthCheck) GetTimeout() *google_protobuf1.Duration {
func (m *HealthCheck) GetTimeout() *duration.Duration {
if m != nil {
return m.Timeout
}
@ -776,15 +875,37 @@ func (m *HealthCheck) GetTimeout() *google_protobuf1.Duration {
// Third-party Python runtime library that is required by the application.
type Library struct {
// Name of the library. Example: "django".
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Version of the library to select, or "latest".
Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Library) Reset() { *m = Library{} }
func (m *Library) String() string { return proto.CompactTextString(m) }
func (*Library) ProtoMessage() {}
func (*Library) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *Library) Reset() { *m = Library{} }
func (m *Library) String() string { return proto.CompactTextString(m) }
func (*Library) ProtoMessage() {}
func (*Library) Descriptor() ([]byte, []int) {
return fileDescriptor_app_yaml_07fe113144fe6ee6, []int{7}
}
func (m *Library) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Library.Unmarshal(m, b)
}
func (m *Library) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Library.Marshal(b, m, deterministic)
}
func (dst *Library) XXX_Merge(src proto.Message) {
xxx_messageInfo_Library.Merge(dst, src)
}
func (m *Library) XXX_Size() int {
return xxx_messageInfo_Library.Size(m)
}
func (m *Library) XXX_DiscardUnknown() {
xxx_messageInfo_Library.DiscardUnknown(m)
}
var xxx_messageInfo_Library proto.InternalMessageInfo
func (m *Library) GetName() string {
if m != nil {
@ -805,6 +926,7 @@ func init() {
proto.RegisterType((*ErrorHandler)(nil), "google.appengine.v1.ErrorHandler")
proto.RegisterType((*UrlMap)(nil), "google.appengine.v1.UrlMap")
proto.RegisterType((*StaticFilesHandler)(nil), "google.appengine.v1.StaticFilesHandler")
proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.StaticFilesHandler.HttpHeadersEntry")
proto.RegisterType((*ScriptHandler)(nil), "google.appengine.v1.ScriptHandler")
proto.RegisterType((*ApiEndpointHandler)(nil), "google.appengine.v1.ApiEndpointHandler")
proto.RegisterType((*HealthCheck)(nil), "google.appengine.v1.HealthCheck")
@ -816,9 +938,11 @@ func init() {
proto.RegisterEnum("google.appengine.v1.UrlMap_RedirectHttpResponseCode", UrlMap_RedirectHttpResponseCode_name, UrlMap_RedirectHttpResponseCode_value)
}
func init() { proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor0) }
func init() {
proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor_app_yaml_07fe113144fe6ee6)
}
var fileDescriptor0 = []byte{
var fileDescriptor_app_yaml_07fe113144fe6ee6 = []byte{
// 1232 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0x13, 0x47,
0x14, 0xc6, 0x76, 0x7e, 0x8f, 0x1d, 0xb3, 0x99, 0x00, 0x75, 0x02, 0x94, 0xd4, 0xa8, 0x02, 0x25,

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,25 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/application.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import duration "github.com/golang/protobuf/ptypes/duration"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// An Application resource contains the top-level configuration of an App
// Engine application.
type Application struct {
@ -21,22 +27,22 @@ type Application struct {
// Example: `apps/myapp`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Identifier of the Application resource. This identifier is equivalent
// to the project ID of the Google Cloud Platform project where you want to
// deploy your application.
// Example: `myapp`.
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// HTTP path dispatch rules for requests to the application that do not
// explicitly target a service or version. Rules are order-dependent.
//
// @OutputOnly
DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules" json:"dispatch_rules,omitempty"`
DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules,proto3" json:"dispatch_rules,omitempty"`
// Google Apps authentication domain that controls which users can access
// this application.
//
// Defaults to open access for any Google Account.
AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"`
AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain,proto3" json:"auth_domain,omitempty"`
// Location from which this application will be run. Application instances
// will run out of data centers in the chosen location, which is also where
// all of the application's end user content is stored.
@ -50,32 +56,54 @@ type Application struct {
// `europe-west` - Western Europe
//
// `us-east1` - Eastern US
LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId" json:"location_id,omitempty"`
LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
// Google Cloud Storage bucket that can be used for storing files
// associated with this application. This bucket is associated with the
// application and can be used by the gcloud deployment commands.
//
// @OutputOnly
CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket" json:"code_bucket,omitempty"`
CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket,proto3" json:"code_bucket,omitempty"`
// Cookie expiration policy for this application.
//
// @OutputOnly
DefaultCookieExpiration *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration" json:"default_cookie_expiration,omitempty"`
DefaultCookieExpiration *duration.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration,proto3" json:"default_cookie_expiration,omitempty"`
// Hostname used to reach this application, as resolved by App Engine.
//
// @OutputOnly
DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname" json:"default_hostname,omitempty"`
DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname,proto3" json:"default_hostname,omitempty"`
// Google Cloud Storage bucket that can be used by this application to store
// content.
//
// @OutputOnly
DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket" json:"default_bucket,omitempty"`
DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket,proto3" json:"default_bucket,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Application) Reset() { *m = Application{} }
func (m *Application) String() string { return proto.CompactTextString(m) }
func (*Application) ProtoMessage() {}
func (*Application) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *Application) Reset() { *m = Application{} }
func (m *Application) String() string { return proto.CompactTextString(m) }
func (*Application) ProtoMessage() {}
func (*Application) Descriptor() ([]byte, []int) {
return fileDescriptor_application_d5f9ae7b7e94b936, []int{0}
}
func (m *Application) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Application.Unmarshal(m, b)
}
func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Application.Marshal(b, m, deterministic)
}
func (dst *Application) XXX_Merge(src proto.Message) {
xxx_messageInfo_Application.Merge(dst, src)
}
func (m *Application) XXX_Size() int {
return xxx_messageInfo_Application.Size(m)
}
func (m *Application) XXX_DiscardUnknown() {
xxx_messageInfo_Application.DiscardUnknown(m)
}
var xxx_messageInfo_Application proto.InternalMessageInfo
func (m *Application) GetName() string {
if m != nil {
@ -119,7 +147,7 @@ func (m *Application) GetCodeBucket() string {
return ""
}
func (m *Application) GetDefaultCookieExpiration() *google_protobuf1.Duration {
func (m *Application) GetDefaultCookieExpiration() *duration.Duration {
if m != nil {
return m.DefaultCookieExpiration
}
@ -146,22 +174,44 @@ type UrlDispatchRule struct {
// specified before a period: "`*.`".
//
// Defaults to matching all domains: "`*`".
Domain string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// Pathname within the host. Must start with a "`/`". A
// single "`*`" can be included at the end of the path. The sum
// of the lengths of the domain and path may not exceed 100
// characters.
Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// Resource ID of a service in this application that should
// serve the matched request. The service must already
// exist. Example: `default`.
Service string `protobuf:"bytes,3,opt,name=service" json:"service,omitempty"`
Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} }
func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) }
func (*UrlDispatchRule) ProtoMessage() {}
func (*UrlDispatchRule) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} }
func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) }
func (*UrlDispatchRule) ProtoMessage() {}
func (*UrlDispatchRule) Descriptor() ([]byte, []int) {
return fileDescriptor_application_d5f9ae7b7e94b936, []int{1}
}
func (m *UrlDispatchRule) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UrlDispatchRule.Unmarshal(m, b)
}
func (m *UrlDispatchRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UrlDispatchRule.Marshal(b, m, deterministic)
}
func (dst *UrlDispatchRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_UrlDispatchRule.Merge(dst, src)
}
func (m *UrlDispatchRule) XXX_Size() int {
return xxx_messageInfo_UrlDispatchRule.Size(m)
}
func (m *UrlDispatchRule) XXX_DiscardUnknown() {
xxx_messageInfo_UrlDispatchRule.DiscardUnknown(m)
}
var xxx_messageInfo_UrlDispatchRule proto.InternalMessageInfo
func (m *UrlDispatchRule) GetDomain() string {
if m != nil {
@ -189,9 +239,11 @@ func init() {
proto.RegisterType((*UrlDispatchRule)(nil), "google.appengine.v1.UrlDispatchRule")
}
func init() { proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor2) }
func init() {
proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor_application_d5f9ae7b7e94b936)
}
var fileDescriptor2 = []byte{
var fileDescriptor_application_d5f9ae7b7e94b936 = []byte{
// 409 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
0x14, 0xc5, 0x71, 0x3c, 0x92, 0x45, 0x5e, 0xfe, 0xa0, 0xc1, 0xa2, 0x84, 0xb1, 0x85, 0xb0, 0x40,

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/audit_data.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
@ -13,6 +13,12 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// App Engine admin service audit log.
type AuditData struct {
// Detailed information about methods that require it. Does not include
@ -23,26 +29,50 @@ type AuditData struct {
// Types that are valid to be assigned to Method:
// *AuditData_UpdateService
// *AuditData_CreateVersion
Method isAuditData_Method `protobuf_oneof:"method"`
Method isAuditData_Method `protobuf_oneof:"method"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AuditData) Reset() { *m = AuditData{} }
func (m *AuditData) String() string { return proto.CompactTextString(m) }
func (*AuditData) ProtoMessage() {}
func (*AuditData) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
func (m *AuditData) Reset() { *m = AuditData{} }
func (m *AuditData) String() string { return proto.CompactTextString(m) }
func (*AuditData) ProtoMessage() {}
func (*AuditData) Descriptor() ([]byte, []int) {
return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{0}
}
func (m *AuditData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AuditData.Unmarshal(m, b)
}
func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AuditData.Marshal(b, m, deterministic)
}
func (dst *AuditData) XXX_Merge(src proto.Message) {
xxx_messageInfo_AuditData.Merge(dst, src)
}
func (m *AuditData) XXX_Size() int {
return xxx_messageInfo_AuditData.Size(m)
}
func (m *AuditData) XXX_DiscardUnknown() {
xxx_messageInfo_AuditData.DiscardUnknown(m)
}
var xxx_messageInfo_AuditData proto.InternalMessageInfo
type isAuditData_Method interface {
isAuditData_Method()
}
type AuditData_UpdateService struct {
UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,oneof"`
UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,proto3,oneof"`
}
type AuditData_CreateVersion struct {
CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,oneof"`
CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,proto3,oneof"`
}
func (*AuditData_UpdateService) isAuditData_Method() {}
func (*AuditData_CreateVersion) isAuditData_Method() {}
func (m *AuditData) GetMethod() isAuditData_Method {
@ -125,12 +155,12 @@ func _AuditData_OneofSizer(msg proto.Message) (n int) {
switch x := m.Method.(type) {
case *AuditData_UpdateService:
s := proto.Size(x.UpdateService)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *AuditData_CreateVersion:
s := proto.Size(x.CreateVersion)
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
@ -143,13 +173,35 @@ func _AuditData_OneofSizer(msg proto.Message) (n int) {
// Detailed information about UpdateService call.
type UpdateServiceMethod struct {
// Update service request.
Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateServiceMethod) Reset() { *m = UpdateServiceMethod{} }
func (m *UpdateServiceMethod) String() string { return proto.CompactTextString(m) }
func (*UpdateServiceMethod) ProtoMessage() {}
func (*UpdateServiceMethod) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
func (m *UpdateServiceMethod) Reset() { *m = UpdateServiceMethod{} }
func (m *UpdateServiceMethod) String() string { return proto.CompactTextString(m) }
func (*UpdateServiceMethod) ProtoMessage() {}
func (*UpdateServiceMethod) Descriptor() ([]byte, []int) {
return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{1}
}
func (m *UpdateServiceMethod) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateServiceMethod.Unmarshal(m, b)
}
func (m *UpdateServiceMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateServiceMethod.Marshal(b, m, deterministic)
}
func (dst *UpdateServiceMethod) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateServiceMethod.Merge(dst, src)
}
func (m *UpdateServiceMethod) XXX_Size() int {
return xxx_messageInfo_UpdateServiceMethod.Size(m)
}
func (m *UpdateServiceMethod) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateServiceMethod.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateServiceMethod proto.InternalMessageInfo
func (m *UpdateServiceMethod) GetRequest() *UpdateServiceRequest {
if m != nil {
@ -161,13 +213,35 @@ func (m *UpdateServiceMethod) GetRequest() *UpdateServiceRequest {
// Detailed information about CreateVersion call.
type CreateVersionMethod struct {
// Create version request.
Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateVersionMethod) Reset() { *m = CreateVersionMethod{} }
func (m *CreateVersionMethod) String() string { return proto.CompactTextString(m) }
func (*CreateVersionMethod) ProtoMessage() {}
func (*CreateVersionMethod) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
func (m *CreateVersionMethod) Reset() { *m = CreateVersionMethod{} }
func (m *CreateVersionMethod) String() string { return proto.CompactTextString(m) }
func (*CreateVersionMethod) ProtoMessage() {}
func (*CreateVersionMethod) Descriptor() ([]byte, []int) {
return fileDescriptor_audit_data_b5f7af765ea2d3aa, []int{2}
}
func (m *CreateVersionMethod) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateVersionMethod.Unmarshal(m, b)
}
func (m *CreateVersionMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateVersionMethod.Marshal(b, m, deterministic)
}
func (dst *CreateVersionMethod) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateVersionMethod.Merge(dst, src)
}
func (m *CreateVersionMethod) XXX_Size() int {
return xxx_messageInfo_CreateVersionMethod.Size(m)
}
func (m *CreateVersionMethod) XXX_DiscardUnknown() {
xxx_messageInfo_CreateVersionMethod.DiscardUnknown(m)
}
var xxx_messageInfo_CreateVersionMethod proto.InternalMessageInfo
func (m *CreateVersionMethod) GetRequest() *CreateVersionRequest {
if m != nil {
@ -182,9 +256,11 @@ func init() {
proto.RegisterType((*CreateVersionMethod)(nil), "google.appengine.v1.CreateVersionMethod")
}
func init() { proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor3) }
func init() {
proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor_audit_data_b5f7af765ea2d3aa)
}
var fileDescriptor3 = []byte{
var fileDescriptor_audit_data_b5f7af765ea2d3aa = []byte{
// 290 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x4e, 0xc3, 0x30,
0x10, 0x86, 0x09, 0x43, 0x01, 0x23, 0x3a, 0xa4, 0x03, 0x55, 0x07, 0x84, 0x0a, 0x43, 0x59, 0x1c,

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/deploy.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
@ -13,23 +13,51 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Code and application artifacts used to deploy a version to App Engine.
type Deployment struct {
// Manifest of the files stored in Google Cloud Storage that are included
// as part of this version. All files must be readable using the
// credentials supplied with this call.
Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// A Docker image that App Engine uses to run the version.
// Only applicable for instances in App Engine flexible environment.
Container *ContainerInfo `protobuf:"bytes,2,opt,name=container" json:"container,omitempty"`
Container *ContainerInfo `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
// The zip file for this deployment, if this is a zip deployment.
Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip" json:"zip,omitempty"`
Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip,proto3" json:"zip,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Deployment) Reset() { *m = Deployment{} }
func (m *Deployment) String() string { return proto.CompactTextString(m) }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
func (m *Deployment) Reset() { *m = Deployment{} }
func (m *Deployment) String() string { return proto.CompactTextString(m) }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) {
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{0}
}
func (m *Deployment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Deployment.Unmarshal(m, b)
}
func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Deployment.Marshal(b, m, deterministic)
}
func (dst *Deployment) XXX_Merge(src proto.Message) {
xxx_messageInfo_Deployment.Merge(dst, src)
}
func (m *Deployment) XXX_Size() int {
return xxx_messageInfo_Deployment.Size(m)
}
func (m *Deployment) XXX_DiscardUnknown() {
xxx_messageInfo_Deployment.DiscardUnknown(m)
}
var xxx_messageInfo_Deployment proto.InternalMessageInfo
func (m *Deployment) GetFiles() map[string]*FileInfo {
if m != nil {
@ -58,19 +86,41 @@ type FileInfo struct {
// URL source to use to fetch this file. Must be a URL to a resource in
// Google Cloud Storage in the form
// 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl" json:"source_url,omitempty"`
SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
// The SHA1 hash of the file, in hex.
Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum" json:"sha1_sum,omitempty"`
Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum,proto3" json:"sha1_sum,omitempty"`
// The MIME type of the file.
//
// Defaults to the value from Google Cloud Storage.
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileInfo) Reset() { *m = FileInfo{} }
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
func (*FileInfo) ProtoMessage() {}
func (*FileInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
func (m *FileInfo) Reset() { *m = FileInfo{} }
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
func (*FileInfo) ProtoMessage() {}
func (*FileInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{1}
}
func (m *FileInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileInfo.Unmarshal(m, b)
}
func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic)
}
func (dst *FileInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileInfo.Merge(dst, src)
}
func (m *FileInfo) XXX_Size() int {
return xxx_messageInfo_FileInfo.Size(m)
}
func (m *FileInfo) XXX_DiscardUnknown() {
xxx_messageInfo_FileInfo.DiscardUnknown(m)
}
var xxx_messageInfo_FileInfo proto.InternalMessageInfo
func (m *FileInfo) GetSourceUrl() string {
if m != nil {
@ -99,13 +149,35 @@ type ContainerInfo struct {
// URI to the hosted container image in a Docker repository. The URI must be
// fully qualified and include a tag or digest.
// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
Image string `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"`
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ContainerInfo) Reset() { *m = ContainerInfo{} }
func (m *ContainerInfo) String() string { return proto.CompactTextString(m) }
func (*ContainerInfo) ProtoMessage() {}
func (*ContainerInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
func (m *ContainerInfo) Reset() { *m = ContainerInfo{} }
func (m *ContainerInfo) String() string { return proto.CompactTextString(m) }
func (*ContainerInfo) ProtoMessage() {}
func (*ContainerInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{2}
}
func (m *ContainerInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ContainerInfo.Unmarshal(m, b)
}
func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ContainerInfo.Marshal(b, m, deterministic)
}
func (dst *ContainerInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ContainerInfo.Merge(dst, src)
}
func (m *ContainerInfo) XXX_Size() int {
return xxx_messageInfo_ContainerInfo.Size(m)
}
func (m *ContainerInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ContainerInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ContainerInfo proto.InternalMessageInfo
func (m *ContainerInfo) GetImage() string {
if m != nil {
@ -118,17 +190,39 @@ type ZipInfo struct {
// URL of the zip file to deploy from. Must be a URL to a resource in
// Google Cloud Storage in the form
// 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl" json:"source_url,omitempty"`
SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
// An estimate of the number of files in a zip for a zip deployment.
// If set, must be greater than or equal to the actual number of files.
// Used for optimizing performance; if not provided, deployment may be slow.
FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount" json:"files_count,omitempty"`
FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount,proto3" json:"files_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ZipInfo) Reset() { *m = ZipInfo{} }
func (m *ZipInfo) String() string { return proto.CompactTextString(m) }
func (*ZipInfo) ProtoMessage() {}
func (*ZipInfo) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
func (m *ZipInfo) Reset() { *m = ZipInfo{} }
func (m *ZipInfo) String() string { return proto.CompactTextString(m) }
func (*ZipInfo) ProtoMessage() {}
func (*ZipInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_deploy_ed99bebbe4262e1c, []int{3}
}
func (m *ZipInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ZipInfo.Unmarshal(m, b)
}
func (m *ZipInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ZipInfo.Marshal(b, m, deterministic)
}
func (dst *ZipInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ZipInfo.Merge(dst, src)
}
func (m *ZipInfo) XXX_Size() int {
return xxx_messageInfo_ZipInfo.Size(m)
}
func (m *ZipInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ZipInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ZipInfo proto.InternalMessageInfo
func (m *ZipInfo) GetSourceUrl() string {
if m != nil {
@ -146,14 +240,17 @@ func (m *ZipInfo) GetFilesCount() int32 {
func init() {
proto.RegisterType((*Deployment)(nil), "google.appengine.v1.Deployment")
proto.RegisterMapType((map[string]*FileInfo)(nil), "google.appengine.v1.Deployment.FilesEntry")
proto.RegisterType((*FileInfo)(nil), "google.appengine.v1.FileInfo")
proto.RegisterType((*ContainerInfo)(nil), "google.appengine.v1.ContainerInfo")
proto.RegisterType((*ZipInfo)(nil), "google.appengine.v1.ZipInfo")
}
func init() { proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor4) }
func init() {
proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor_deploy_ed99bebbe4262e1c)
}
var fileDescriptor4 = []byte{
var fileDescriptor_deploy_ed99bebbe4262e1c = []byte{
// 394 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xd1, 0xab, 0xd3, 0x30,
0x14, 0xc6, 0xe9, 0x6a, 0xbd, 0xeb, 0x29, 0x82, 0x44, 0xc1, 0x7a, 0xbd, 0x17, 0x4b, 0x41, 0x28,

View File

@ -1,19 +1,25 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/instance.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Availability of the instance.
type Instance_Availability int32
@ -37,7 +43,9 @@ var Instance_Availability_value = map[string]int32{
func (x Instance_Availability) String() string {
return proto.EnumName(Instance_Availability_name, int32(x))
}
func (Instance_Availability) EnumDescriptor() ([]byte, []int) { return fileDescriptor5, []int{0, 0} }
func (Instance_Availability) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_instance_899688eaafc2a354, []int{0, 0}
}
// An Instance resource is the computing unit that App Engine uses to
// automatically scale an application.
@ -46,75 +54,97 @@ type Instance struct {
// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Relative name of the instance within the version.
// Example: `instance-1`.
//
// @OutputOnly
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// App Engine release this instance is running on.
//
// @OutputOnly
AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"`
// Availability of the instance.
//
// @OutputOnly
Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"`
Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"`
// Name of the virtual machine where this instance lives. Only applicable
// for instances in App Engine flexible environment.
//
// @OutputOnly
VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName" json:"vm_name,omitempty"`
VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
// Zone where the virtual machine is located. Only applicable for instances
// in App Engine flexible environment.
//
// @OutputOnly
VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName" json:"vm_zone_name,omitempty"`
VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName,proto3" json:"vm_zone_name,omitempty"`
// Virtual machine ID of this instance. Only applicable for instances in
// App Engine flexible environment.
//
// @OutputOnly
VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
// Time that this instance was started.
//
// @OutputOnly
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Number of requests since this instance was started.
//
// @OutputOnly
Requests int32 `protobuf:"varint,9,opt,name=requests" json:"requests,omitempty"`
Requests int32 `protobuf:"varint,9,opt,name=requests,proto3" json:"requests,omitempty"`
// Number of errors since this instance was started.
//
// @OutputOnly
Errors int32 `protobuf:"varint,10,opt,name=errors" json:"errors,omitempty"`
Errors int32 `protobuf:"varint,10,opt,name=errors,proto3" json:"errors,omitempty"`
// Average queries per second (QPS) over the last minute.
//
// @OutputOnly
Qps float32 `protobuf:"fixed32,11,opt,name=qps" json:"qps,omitempty"`
Qps float32 `protobuf:"fixed32,11,opt,name=qps,proto3" json:"qps,omitempty"`
// Average latency (ms) over the last minute.
//
// @OutputOnly
AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency" json:"average_latency,omitempty"`
AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency,proto3" json:"average_latency,omitempty"`
// Total memory in use (bytes).
//
// @OutputOnly
MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage" json:"memory_usage,omitempty"`
MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
// Status of the virtual machine where this instance lives. Only applicable
// for instances in App Engine flexible environment.
//
// @OutputOnly
VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus" json:"vm_status,omitempty"`
VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus,proto3" json:"vm_status,omitempty"`
// Whether this instance is in debug mode. Only applicable for instances in
// App Engine flexible environment.
//
// @OutputOnly
VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled" json:"vm_debug_enabled,omitempty"`
VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled,proto3" json:"vm_debug_enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Instance) Reset() { *m = Instance{} }
func (m *Instance) String() string { return proto.CompactTextString(m) }
func (*Instance) ProtoMessage() {}
func (*Instance) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
func (m *Instance) Reset() { *m = Instance{} }
func (m *Instance) String() string { return proto.CompactTextString(m) }
func (*Instance) ProtoMessage() {}
func (*Instance) Descriptor() ([]byte, []int) {
return fileDescriptor_instance_899688eaafc2a354, []int{0}
}
func (m *Instance) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Instance.Unmarshal(m, b)
}
func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Instance.Marshal(b, m, deterministic)
}
func (dst *Instance) XXX_Merge(src proto.Message) {
xxx_messageInfo_Instance.Merge(dst, src)
}
func (m *Instance) XXX_Size() int {
return xxx_messageInfo_Instance.Size(m)
}
func (m *Instance) XXX_DiscardUnknown() {
xxx_messageInfo_Instance.DiscardUnknown(m)
}
var xxx_messageInfo_Instance proto.InternalMessageInfo
func (m *Instance) GetName() string {
if m != nil {
@ -165,7 +195,7 @@ func (m *Instance) GetVmId() string {
return ""
}
func (m *Instance) GetStartTime() *google_protobuf2.Timestamp {
func (m *Instance) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
@ -226,9 +256,11 @@ func init() {
proto.RegisterEnum("google.appengine.v1.Instance_Availability", Instance_Availability_name, Instance_Availability_value)
}
func init() { proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor5) }
func init() {
proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor_instance_899688eaafc2a354)
}
var fileDescriptor5 = []byte{
var fileDescriptor_instance_899688eaafc2a354 = []byte{
// 521 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x6b, 0xdb, 0x3c,
0x14, 0x7e, 0x9d, 0xb6, 0xa9, 0x73, 0xe2, 0x26, 0x46, 0x85, 0xb7, 0x22, 0x1b, 0xcc, 0xcb, 0xcd,

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/location.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
@ -14,22 +14,50 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
type LocationMetadata struct {
// App Engine Standard Environment is available in the given location.
//
// @OutputOnly
StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable" json:"standard_environment_available,omitempty"`
StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable,proto3" json:"standard_environment_available,omitempty"`
// App Engine Flexible Environment is available in the given location.
//
// @OutputOnly
FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable" json:"flexible_environment_available,omitempty"`
FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable,proto3" json:"flexible_environment_available,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LocationMetadata) Reset() { *m = LocationMetadata{} }
func (m *LocationMetadata) String() string { return proto.CompactTextString(m) }
func (*LocationMetadata) ProtoMessage() {}
func (*LocationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
func (m *LocationMetadata) Reset() { *m = LocationMetadata{} }
func (m *LocationMetadata) String() string { return proto.CompactTextString(m) }
func (*LocationMetadata) ProtoMessage() {}
func (*LocationMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_location_22ad68e45e4328c7, []int{0}
}
func (m *LocationMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LocationMetadata.Unmarshal(m, b)
}
func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LocationMetadata.Marshal(b, m, deterministic)
}
func (dst *LocationMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_LocationMetadata.Merge(dst, src)
}
func (m *LocationMetadata) XXX_Size() int {
return xxx_messageInfo_LocationMetadata.Size(m)
}
func (m *LocationMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_LocationMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_LocationMetadata proto.InternalMessageInfo
func (m *LocationMetadata) GetStandardEnvironmentAvailable() bool {
if m != nil {
@ -49,9 +77,11 @@ func init() {
proto.RegisterType((*LocationMetadata)(nil), "google.appengine.v1.LocationMetadata")
}
func init() { proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor6) }
func init() {
proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor_location_22ad68e45e4328c7)
}
var fileDescriptor6 = []byte{
var fileDescriptor_location_22ad68e45e4328c7 = []byte{
// 236 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0xc3, 0x40,
0x10, 0x85, 0x89, 0x88, 0x48, 0x40, 0x90, 0x7a, 0xb0, 0x94, 0x22, 0xd2, 0x93, 0xa7, 0x5d, 0x8a,

View File

@ -1,49 +1,77 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/operation.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
type OperationMetadataV1 struct {
// API method that initiated this operation. Example:
// `google.appengine.v1.Versions.CreateVersion`.
//
// @OutputOnly
Method string `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Time that this operation was created.
//
// @OutputOnly
InsertTime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime" json:"insert_time,omitempty"`
InsertTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"`
// Time that this operation completed.
//
// @OutputOnly
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// User who requested this operation.
//
// @OutputOnly
User string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
// Name of the resource that this operation is acting on. Example:
// `apps/myapp/services/default`.
//
// @OutputOnly
Target string `protobuf:"bytes,5,opt,name=target" json:"target,omitempty"`
Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OperationMetadataV1) Reset() { *m = OperationMetadataV1{} }
func (m *OperationMetadataV1) String() string { return proto.CompactTextString(m) }
func (*OperationMetadataV1) ProtoMessage() {}
func (*OperationMetadataV1) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (m *OperationMetadataV1) Reset() { *m = OperationMetadataV1{} }
func (m *OperationMetadataV1) String() string { return proto.CompactTextString(m) }
func (*OperationMetadataV1) ProtoMessage() {}
func (*OperationMetadataV1) Descriptor() ([]byte, []int) {
return fileDescriptor_operation_b53f7e8fb6160f01, []int{0}
}
func (m *OperationMetadataV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OperationMetadataV1.Unmarshal(m, b)
}
func (m *OperationMetadataV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OperationMetadataV1.Marshal(b, m, deterministic)
}
func (dst *OperationMetadataV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_OperationMetadataV1.Merge(dst, src)
}
func (m *OperationMetadataV1) XXX_Size() int {
return xxx_messageInfo_OperationMetadataV1.Size(m)
}
func (m *OperationMetadataV1) XXX_DiscardUnknown() {
xxx_messageInfo_OperationMetadataV1.DiscardUnknown(m)
}
var xxx_messageInfo_OperationMetadataV1 proto.InternalMessageInfo
func (m *OperationMetadataV1) GetMethod() string {
if m != nil {
@ -52,14 +80,14 @@ func (m *OperationMetadataV1) GetMethod() string {
return ""
}
func (m *OperationMetadataV1) GetInsertTime() *google_protobuf2.Timestamp {
func (m *OperationMetadataV1) GetInsertTime() *timestamp.Timestamp {
if m != nil {
return m.InsertTime
}
return nil
}
func (m *OperationMetadataV1) GetEndTime() *google_protobuf2.Timestamp {
func (m *OperationMetadataV1) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
@ -84,9 +112,11 @@ func init() {
proto.RegisterType((*OperationMetadataV1)(nil), "google.appengine.v1.OperationMetadataV1")
}
func init() { proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor7) }
func init() {
proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor_operation_b53f7e8fb6160f01)
}
var fileDescriptor7 = []byte{
var fileDescriptor_operation_b53f7e8fb6160f01 = []byte{
// 271 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0x03, 0x31,
0x10, 0x85, 0x59, 0xad, 0x55, 0x53, 0xf0, 0xb0, 0x05, 0x5d, 0x16, 0xc1, 0xa2, 0x97, 0x9e, 0x12,

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/service.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
@ -13,6 +13,12 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Available sharding mechanisms.
type TrafficSplit_ShardBy int32
@ -41,7 +47,9 @@ var TrafficSplit_ShardBy_value = map[string]int32{
func (x TrafficSplit_ShardBy) String() string {
return proto.EnumName(TrafficSplit_ShardBy_name, int32(x))
}
func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{1, 0} }
func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_service_c3b4fd6114e9d0a5, []int{1, 0}
}
// A Service resource is a logical component of an application that can share
// state and communicate in a secure fashion with other services.
@ -55,21 +63,43 @@ type Service struct {
// Example: `apps/myapp/services/default`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Relative name of the service within the application.
// Example: `default`.
//
// @OutputOnly
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Mapping that defines fractional HTTP traffic diversion to
// different versions within the service.
Split *TrafficSplit `protobuf:"bytes,3,opt,name=split" json:"split,omitempty"`
Split *TrafficSplit `protobuf:"bytes,3,opt,name=split,proto3" json:"split,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Service) Reset() { *m = Service{} }
func (m *Service) String() string { return proto.CompactTextString(m) }
func (*Service) ProtoMessage() {}
func (*Service) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
func (m *Service) Reset() { *m = Service{} }
func (m *Service) String() string { return proto.CompactTextString(m) }
func (*Service) ProtoMessage() {}
func (*Service) Descriptor() ([]byte, []int) {
return fileDescriptor_service_c3b4fd6114e9d0a5, []int{0}
}
func (m *Service) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Service.Unmarshal(m, b)
}
func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Service.Marshal(b, m, deterministic)
}
func (dst *Service) XXX_Merge(src proto.Message) {
xxx_messageInfo_Service.Merge(dst, src)
}
func (m *Service) XXX_Size() int {
return xxx_messageInfo_Service.Size(m)
}
func (m *Service) XXX_DiscardUnknown() {
xxx_messageInfo_Service.DiscardUnknown(m)
}
var xxx_messageInfo_Service proto.InternalMessageInfo
func (m *Service) GetName() string {
if m != nil {
@ -98,7 +128,7 @@ type TrafficSplit struct {
// Mechanism used to determine which version a request is sent to.
// The traffic selection algorithm will
// be stable for either type until allocations are changed.
ShardBy TrafficSplit_ShardBy `protobuf:"varint,1,opt,name=shard_by,json=shardBy,enum=google.appengine.v1.TrafficSplit_ShardBy" json:"shard_by,omitempty"`
ShardBy TrafficSplit_ShardBy `protobuf:"varint,1,opt,name=shard_by,json=shardBy,proto3,enum=google.appengine.v1.TrafficSplit_ShardBy" json:"shard_by,omitempty"`
// Mapping from version IDs within the service to fractional
// (0.000, 1] allocations of traffic for that version. Each version can
// be specified only once, but some versions in the service may not
@ -107,13 +137,35 @@ type TrafficSplit struct {
// their traffic allocation is removed. Allocations must sum to 1.
// Up to two decimal place precision is supported for IP-based splits and
// up to three decimal places is supported for cookie-based splits.
Allocations map[string]float64 `protobuf:"bytes,2,rep,name=allocations" json:"allocations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
Allocations map[string]float64 `protobuf:"bytes,2,rep,name=allocations,proto3" json:"allocations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TrafficSplit) Reset() { *m = TrafficSplit{} }
func (m *TrafficSplit) String() string { return proto.CompactTextString(m) }
func (*TrafficSplit) ProtoMessage() {}
func (*TrafficSplit) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
func (m *TrafficSplit) Reset() { *m = TrafficSplit{} }
func (m *TrafficSplit) String() string { return proto.CompactTextString(m) }
func (*TrafficSplit) ProtoMessage() {}
func (*TrafficSplit) Descriptor() ([]byte, []int) {
return fileDescriptor_service_c3b4fd6114e9d0a5, []int{1}
}
func (m *TrafficSplit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TrafficSplit.Unmarshal(m, b)
}
func (m *TrafficSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TrafficSplit.Marshal(b, m, deterministic)
}
func (dst *TrafficSplit) XXX_Merge(src proto.Message) {
xxx_messageInfo_TrafficSplit.Merge(dst, src)
}
func (m *TrafficSplit) XXX_Size() int {
return xxx_messageInfo_TrafficSplit.Size(m)
}
func (m *TrafficSplit) XXX_DiscardUnknown() {
xxx_messageInfo_TrafficSplit.DiscardUnknown(m)
}
var xxx_messageInfo_TrafficSplit proto.InternalMessageInfo
func (m *TrafficSplit) GetShardBy() TrafficSplit_ShardBy {
if m != nil {
@ -132,12 +184,15 @@ func (m *TrafficSplit) GetAllocations() map[string]float64 {
func init() {
proto.RegisterType((*Service)(nil), "google.appengine.v1.Service")
proto.RegisterType((*TrafficSplit)(nil), "google.appengine.v1.TrafficSplit")
proto.RegisterMapType((map[string]float64)(nil), "google.appengine.v1.TrafficSplit.AllocationsEntry")
proto.RegisterEnum("google.appengine.v1.TrafficSplit_ShardBy", TrafficSplit_ShardBy_name, TrafficSplit_ShardBy_value)
}
func init() { proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor8) }
func init() {
proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor_service_c3b4fd6114e9d0a5)
}
var fileDescriptor8 = []byte{
var fileDescriptor_service_c3b4fd6114e9d0a5 = []byte{
// 356 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x51, 0x8b, 0xda, 0x40,
0x10, 0xc7, 0x9b, 0xb5, 0x6a, 0x3b, 0x11, 0x1b, 0xb6, 0x85, 0x06, 0xe9, 0x83, 0xfa, 0x64, 0x5f,

View File

@ -1,20 +1,26 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/appengine/v1/version.proto
package appengine
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import duration "github.com/golang/protobuf/ptypes/duration"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Available inbound services.
type InboundServiceType int32
@ -66,7 +72,9 @@ var InboundServiceType_value = map[string]int32{
func (x InboundServiceType) String() string {
return proto.EnumName(InboundServiceType_name, int32(x))
}
func (InboundServiceType) EnumDescriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
func (InboundServiceType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{0}
}
// Run states of a version.
type ServingStatus int32
@ -97,7 +105,9 @@ var ServingStatus_value = map[string]int32{
func (x ServingStatus) String() string {
return proto.EnumName(ServingStatus_name, int32(x))
}
func (ServingStatus) EnumDescriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
func (ServingStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{1}
}
// A Version resource is a specific set of source code and configuration files
// that are deployed into a service.
@ -106,11 +116,11 @@ type Version struct {
// `apps/myapp/services/default/versions/v1`.
//
// @OutputOnly
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Relative name of the version within the service. Example: `v1`.
// Version names can contain only lowercase letters, numbers, or hyphens.
// Reserved names: "default", "latest", and any name with the prefix "ah-".
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Controls how instances are created.
//
// Defaults to `AutomaticScaling`.
@ -122,131 +132,128 @@ type Version struct {
Scaling isVersion_Scaling `protobuf_oneof:"scaling"`
// Before an application can receive email or XMPP messages, the application
// must be configured to enable the service.
InboundServices []InboundServiceType `protobuf:"varint,6,rep,packed,name=inbound_services,json=inboundServices,enum=google.appengine.v1.InboundServiceType" json:"inbound_services,omitempty"`
InboundServices []InboundServiceType `protobuf:"varint,6,rep,packed,name=inbound_services,json=inboundServices,proto3,enum=google.appengine.v1.InboundServiceType" json:"inbound_services,omitempty"`
// Instance class that is used to run this version. Valid values are:
// * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G`
// * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G`
//
// Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or
// BasicScaling.
InstanceClass string `protobuf:"bytes,7,opt,name=instance_class,json=instanceClass" json:"instance_class,omitempty"`
InstanceClass string `protobuf:"bytes,7,opt,name=instance_class,json=instanceClass,proto3" json:"instance_class,omitempty"`
// Extra network settings. Only applicable for VM runtimes.
Network *Network `protobuf:"bytes,8,opt,name=network" json:"network,omitempty"`
Network *Network `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
// Machine resources for this version. Only applicable for VM runtimes.
Resources *Resources `protobuf:"bytes,9,opt,name=resources" json:"resources,omitempty"`
Resources *Resources `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
// Desired runtime. Example: `python27`.
Runtime string `protobuf:"bytes,10,opt,name=runtime" json:"runtime,omitempty"`
Runtime string `protobuf:"bytes,10,opt,name=runtime,proto3" json:"runtime,omitempty"`
// Whether multiple requests can be dispatched to this version at once.
Threadsafe bool `protobuf:"varint,11,opt,name=threadsafe" json:"threadsafe,omitempty"`
Threadsafe bool `protobuf:"varint,11,opt,name=threadsafe,proto3" json:"threadsafe,omitempty"`
// Whether to deploy this version in a container on a virtual machine.
Vm bool `protobuf:"varint,12,opt,name=vm" json:"vm,omitempty"`
Vm bool `protobuf:"varint,12,opt,name=vm,proto3" json:"vm,omitempty"`
// Metadata settings that are supplied to this version to enable
// beta runtime features.
BetaSettings map[string]string `protobuf:"bytes,13,rep,name=beta_settings,json=betaSettings" json:"beta_settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
BetaSettings map[string]string `protobuf:"bytes,13,rep,name=beta_settings,json=betaSettings,proto3" json:"beta_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// App Engine execution environment for this version.
//
// Defaults to `standard`.
Env string `protobuf:"bytes,14,opt,name=env" json:"env,omitempty"`
Env string `protobuf:"bytes,14,opt,name=env,proto3" json:"env,omitempty"`
// Current serving status of this version. Only the versions with a
// `SERVING` status create instances and can be billed.
//
// `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`.
ServingStatus ServingStatus `protobuf:"varint,15,opt,name=serving_status,json=servingStatus,enum=google.appengine.v1.ServingStatus" json:"serving_status,omitempty"`
ServingStatus ServingStatus `protobuf:"varint,15,opt,name=serving_status,json=servingStatus,proto3,enum=google.appengine.v1.ServingStatus" json:"serving_status,omitempty"`
// Email address of the user who created this version.
//
// @OutputOnly
CreatedBy string `protobuf:"bytes,16,opt,name=created_by,json=createdBy" json:"created_by,omitempty"`
CreatedBy string `protobuf:"bytes,16,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
// Time that this version was created.
//
// @OutputOnly
CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,17,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
CreateTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Total size in bytes of all the files that are included in this version
// and curerntly hosted on the App Engine disk.
//
// @OutputOnly
DiskUsageBytes int64 `protobuf:"varint,18,opt,name=disk_usage_bytes,json=diskUsageBytes" json:"disk_usage_bytes,omitempty"`
DiskUsageBytes int64 `protobuf:"varint,18,opt,name=disk_usage_bytes,json=diskUsageBytes,proto3" json:"disk_usage_bytes,omitempty"`
// An ordered list of URL-matching patterns that should be applied to incoming
// requests. The first matching URL handles the request and other request
// handlers are not attempted.
//
// Only returned in `GET` requests if `view=FULL` is set.
Handlers []*UrlMap `protobuf:"bytes,100,rep,name=handlers" json:"handlers,omitempty"`
Handlers []*UrlMap `protobuf:"bytes,100,rep,name=handlers,proto3" json:"handlers,omitempty"`
// Custom static error pages. Limited to 10KB per page.
//
// Only returned in `GET` requests if `view=FULL` is set.
ErrorHandlers []*ErrorHandler `protobuf:"bytes,101,rep,name=error_handlers,json=errorHandlers" json:"error_handlers,omitempty"`
ErrorHandlers []*ErrorHandler `protobuf:"bytes,101,rep,name=error_handlers,json=errorHandlers,proto3" json:"error_handlers,omitempty"`
// Configuration for third-party Python runtime libraries that are required
// by the application.
//
// Only returned in `GET` requests if `view=FULL` is set.
Libraries []*Library `protobuf:"bytes,102,rep,name=libraries" json:"libraries,omitempty"`
Libraries []*Library `protobuf:"bytes,102,rep,name=libraries,proto3" json:"libraries,omitempty"`
// Serving configuration for
// [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).
//
// Only returned in `GET` requests if `view=FULL` is set.
ApiConfig *ApiConfigHandler `protobuf:"bytes,103,opt,name=api_config,json=apiConfig" json:"api_config,omitempty"`
ApiConfig *ApiConfigHandler `protobuf:"bytes,103,opt,name=api_config,json=apiConfig,proto3" json:"api_config,omitempty"`
// Environment variables available to the application.
//
// Only returned in `GET` requests if `view=FULL` is set.
EnvVariables map[string]string `protobuf:"bytes,104,rep,name=env_variables,json=envVariables" json:"env_variables,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
EnvVariables map[string]string `protobuf:"bytes,104,rep,name=env_variables,json=envVariables,proto3" json:"env_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Duration that static files should be cached by web proxies and browsers.
// Only applicable if the corresponding
// [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler)
// does not specify its own expiration time.
//
// Only returned in `GET` requests if `view=FULL` is set.
DefaultExpiration *google_protobuf1.Duration `protobuf:"bytes,105,opt,name=default_expiration,json=defaultExpiration" json:"default_expiration,omitempty"`
DefaultExpiration *duration.Duration `protobuf:"bytes,105,opt,name=default_expiration,json=defaultExpiration,proto3" json:"default_expiration,omitempty"`
// Configures health checking for VM instances. Unhealthy instances are
// stopped and replaced with new instances. Only applicable for VM
// runtimes.
//
// Only returned in `GET` requests if `view=FULL` is set.
HealthCheck *HealthCheck `protobuf:"bytes,106,opt,name=health_check,json=healthCheck" json:"health_check,omitempty"`
HealthCheck *HealthCheck `protobuf:"bytes,106,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"`
// Files that match this pattern will not be built into this version.
// Only applicable for Go runtimes.
//
// Only returned in `GET` requests if `view=FULL` is set.
NobuildFilesRegex string `protobuf:"bytes,107,opt,name=nobuild_files_regex,json=nobuildFilesRegex" json:"nobuild_files_regex,omitempty"`
NobuildFilesRegex string `protobuf:"bytes,107,opt,name=nobuild_files_regex,json=nobuildFilesRegex,proto3" json:"nobuild_files_regex,omitempty"`
// Code and application artifacts that make up this version.
//
// Only returned in `GET` requests if `view=FULL` is set.
Deployment *Deployment `protobuf:"bytes,108,opt,name=deployment" json:"deployment,omitempty"`
Deployment *Deployment `protobuf:"bytes,108,opt,name=deployment,proto3" json:"deployment,omitempty"`
// Serving URL for this version. Example:
// "https://myversion-dot-myservice-dot-myapp.appspot.com"
//
// @OutputOnly
VersionUrl string `protobuf:"bytes,109,opt,name=version_url,json=versionUrl" json:"version_url,omitempty"`
VersionUrl string `protobuf:"bytes,109,opt,name=version_url,json=versionUrl,proto3" json:"version_url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Version) Reset() { *m = Version{} }
func (m *Version) String() string { return proto.CompactTextString(m) }
func (*Version) ProtoMessage() {}
func (*Version) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
type isVersion_Scaling interface {
isVersion_Scaling()
func (m *Version) Reset() { *m = Version{} }
func (m *Version) String() string { return proto.CompactTextString(m) }
func (*Version) ProtoMessage() {}
func (*Version) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{0}
}
func (m *Version) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Version.Unmarshal(m, b)
}
func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Version.Marshal(b, m, deterministic)
}
func (dst *Version) XXX_Merge(src proto.Message) {
xxx_messageInfo_Version.Merge(dst, src)
}
func (m *Version) XXX_Size() int {
return xxx_messageInfo_Version.Size(m)
}
func (m *Version) XXX_DiscardUnknown() {
xxx_messageInfo_Version.DiscardUnknown(m)
}
type Version_AutomaticScaling struct {
AutomaticScaling *AutomaticScaling `protobuf:"bytes,3,opt,name=automatic_scaling,json=automaticScaling,oneof"`
}
type Version_BasicScaling struct {
BasicScaling *BasicScaling `protobuf:"bytes,4,opt,name=basic_scaling,json=basicScaling,oneof"`
}
type Version_ManualScaling struct {
ManualScaling *ManualScaling `protobuf:"bytes,5,opt,name=manual_scaling,json=manualScaling,oneof"`
}
func (*Version_AutomaticScaling) isVersion_Scaling() {}
func (*Version_BasicScaling) isVersion_Scaling() {}
func (*Version_ManualScaling) isVersion_Scaling() {}
func (m *Version) GetScaling() isVersion_Scaling {
if m != nil {
return m.Scaling
}
return nil
}
var xxx_messageInfo_Version proto.InternalMessageInfo
func (m *Version) GetName() string {
if m != nil {
@ -262,6 +269,35 @@ func (m *Version) GetId() string {
return ""
}
type isVersion_Scaling interface {
isVersion_Scaling()
}
type Version_AutomaticScaling struct {
AutomaticScaling *AutomaticScaling `protobuf:"bytes,3,opt,name=automatic_scaling,json=automaticScaling,proto3,oneof"`
}
type Version_BasicScaling struct {
BasicScaling *BasicScaling `protobuf:"bytes,4,opt,name=basic_scaling,json=basicScaling,proto3,oneof"`
}
type Version_ManualScaling struct {
ManualScaling *ManualScaling `protobuf:"bytes,5,opt,name=manual_scaling,json=manualScaling,proto3,oneof"`
}
func (*Version_AutomaticScaling) isVersion_Scaling() {}
func (*Version_BasicScaling) isVersion_Scaling() {}
func (*Version_ManualScaling) isVersion_Scaling() {}
func (m *Version) GetScaling() isVersion_Scaling {
if m != nil {
return m.Scaling
}
return nil
}
func (m *Version) GetAutomaticScaling() *AutomaticScaling {
if x, ok := m.GetScaling().(*Version_AutomaticScaling); ok {
return x.AutomaticScaling
@ -360,7 +396,7 @@ func (m *Version) GetCreatedBy() string {
return ""
}
func (m *Version) GetCreateTime() *google_protobuf2.Timestamp {
func (m *Version) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
@ -409,7 +445,7 @@ func (m *Version) GetEnvVariables() map[string]string {
return nil
}
func (m *Version) GetDefaultExpiration() *google_protobuf1.Duration {
func (m *Version) GetDefaultExpiration() *duration.Duration {
if m != nil {
return m.DefaultExpiration
}
@ -517,17 +553,17 @@ func _Version_OneofSizer(msg proto.Message) (n int) {
switch x := m.Scaling.(type) {
case *Version_AutomaticScaling:
s := proto.Size(x.AutomaticScaling)
n += proto.SizeVarint(3<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Version_BasicScaling:
s := proto.Size(x.BasicScaling)
n += proto.SizeVarint(4<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Version_ManualScaling:
s := proto.Size(x.ManualScaling)
n += proto.SizeVarint(5<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
@ -544,44 +580,66 @@ type AutomaticScaling struct {
// [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
// should wait between changes to the number of virtual machines.
// Only applicable for VM runtimes.
CoolDownPeriod *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=cool_down_period,json=coolDownPeriod" json:"cool_down_period,omitempty"`
CoolDownPeriod *duration.Duration `protobuf:"bytes,1,opt,name=cool_down_period,json=coolDownPeriod,proto3" json:"cool_down_period,omitempty"`
// Target scaling by CPU usage.
CpuUtilization *CpuUtilization `protobuf:"bytes,2,opt,name=cpu_utilization,json=cpuUtilization" json:"cpu_utilization,omitempty"`
CpuUtilization *CpuUtilization `protobuf:"bytes,2,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"`
// Number of concurrent requests an automatic scaling instance can accept
// before the scheduler spawns a new instance.
//
// Defaults to a runtime-specific value.
MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=max_concurrent_requests,json=maxConcurrentRequests" json:"max_concurrent_requests,omitempty"`
MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=max_concurrent_requests,json=maxConcurrentRequests,proto3" json:"max_concurrent_requests,omitempty"`
// Maximum number of idle instances that should be maintained for this
// version.
MaxIdleInstances int32 `protobuf:"varint,4,opt,name=max_idle_instances,json=maxIdleInstances" json:"max_idle_instances,omitempty"`
MaxIdleInstances int32 `protobuf:"varint,4,opt,name=max_idle_instances,json=maxIdleInstances,proto3" json:"max_idle_instances,omitempty"`
// Maximum number of instances that should be started to handle requests.
MaxTotalInstances int32 `protobuf:"varint,5,opt,name=max_total_instances,json=maxTotalInstances" json:"max_total_instances,omitempty"`
MaxTotalInstances int32 `protobuf:"varint,5,opt,name=max_total_instances,json=maxTotalInstances,proto3" json:"max_total_instances,omitempty"`
// Maximum amount of time that a request should wait in the pending queue
// before starting a new instance to handle it.
MaxPendingLatency *google_protobuf1.Duration `protobuf:"bytes,6,opt,name=max_pending_latency,json=maxPendingLatency" json:"max_pending_latency,omitempty"`
MaxPendingLatency *duration.Duration `protobuf:"bytes,6,opt,name=max_pending_latency,json=maxPendingLatency,proto3" json:"max_pending_latency,omitempty"`
// Minimum number of idle instances that should be maintained for
// this version. Only applicable for the default version of a service.
MinIdleInstances int32 `protobuf:"varint,7,opt,name=min_idle_instances,json=minIdleInstances" json:"min_idle_instances,omitempty"`
MinIdleInstances int32 `protobuf:"varint,7,opt,name=min_idle_instances,json=minIdleInstances,proto3" json:"min_idle_instances,omitempty"`
// Minimum number of instances that should be maintained for this version.
MinTotalInstances int32 `protobuf:"varint,8,opt,name=min_total_instances,json=minTotalInstances" json:"min_total_instances,omitempty"`
MinTotalInstances int32 `protobuf:"varint,8,opt,name=min_total_instances,json=minTotalInstances,proto3" json:"min_total_instances,omitempty"`
// Minimum amount of time a request should wait in the pending queue before
// starting a new instance to handle it.
MinPendingLatency *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=min_pending_latency,json=minPendingLatency" json:"min_pending_latency,omitempty"`
MinPendingLatency *duration.Duration `protobuf:"bytes,9,opt,name=min_pending_latency,json=minPendingLatency,proto3" json:"min_pending_latency,omitempty"`
// Target scaling by request utilization.
RequestUtilization *RequestUtilization `protobuf:"bytes,10,opt,name=request_utilization,json=requestUtilization" json:"request_utilization,omitempty"`
RequestUtilization *RequestUtilization `protobuf:"bytes,10,opt,name=request_utilization,json=requestUtilization,proto3" json:"request_utilization,omitempty"`
// Target scaling by disk usage.
DiskUtilization *DiskUtilization `protobuf:"bytes,11,opt,name=disk_utilization,json=diskUtilization" json:"disk_utilization,omitempty"`
DiskUtilization *DiskUtilization `protobuf:"bytes,11,opt,name=disk_utilization,json=diskUtilization,proto3" json:"disk_utilization,omitempty"`
// Target scaling by network usage.
NetworkUtilization *NetworkUtilization `protobuf:"bytes,12,opt,name=network_utilization,json=networkUtilization" json:"network_utilization,omitempty"`
NetworkUtilization *NetworkUtilization `protobuf:"bytes,12,opt,name=network_utilization,json=networkUtilization,proto3" json:"network_utilization,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AutomaticScaling) Reset() { *m = AutomaticScaling{} }
func (m *AutomaticScaling) String() string { return proto.CompactTextString(m) }
func (*AutomaticScaling) ProtoMessage() {}
func (*AutomaticScaling) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
func (m *AutomaticScaling) Reset() { *m = AutomaticScaling{} }
func (m *AutomaticScaling) String() string { return proto.CompactTextString(m) }
func (*AutomaticScaling) ProtoMessage() {}
func (*AutomaticScaling) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{1}
}
func (m *AutomaticScaling) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AutomaticScaling.Unmarshal(m, b)
}
func (m *AutomaticScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutomaticScaling.Marshal(b, m, deterministic)
}
func (dst *AutomaticScaling) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutomaticScaling.Merge(dst, src)
}
func (m *AutomaticScaling) XXX_Size() int {
return xxx_messageInfo_AutomaticScaling.Size(m)
}
func (m *AutomaticScaling) XXX_DiscardUnknown() {
xxx_messageInfo_AutomaticScaling.DiscardUnknown(m)
}
func (m *AutomaticScaling) GetCoolDownPeriod() *google_protobuf1.Duration {
var xxx_messageInfo_AutomaticScaling proto.InternalMessageInfo
func (m *AutomaticScaling) GetCoolDownPeriod() *duration.Duration {
if m != nil {
return m.CoolDownPeriod
}
@ -616,7 +674,7 @@ func (m *AutomaticScaling) GetMaxTotalInstances() int32 {
return 0
}
func (m *AutomaticScaling) GetMaxPendingLatency() *google_protobuf1.Duration {
func (m *AutomaticScaling) GetMaxPendingLatency() *duration.Duration {
if m != nil {
return m.MaxPendingLatency
}
@ -637,7 +695,7 @@ func (m *AutomaticScaling) GetMinTotalInstances() int32 {
return 0
}
func (m *AutomaticScaling) GetMinPendingLatency() *google_protobuf1.Duration {
func (m *AutomaticScaling) GetMinPendingLatency() *duration.Duration {
if m != nil {
return m.MinPendingLatency
}
@ -672,17 +730,39 @@ func (m *AutomaticScaling) GetNetworkUtilization() *NetworkUtilization {
type BasicScaling struct {
// Duration of time after the last request that an instance must wait before
// the instance is shut down.
IdleTimeout *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout" json:"idle_timeout,omitempty"`
IdleTimeout *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// Maximum number of instances to create for this version.
MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances" json:"max_instances,omitempty"`
MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BasicScaling) Reset() { *m = BasicScaling{} }
func (m *BasicScaling) String() string { return proto.CompactTextString(m) }
func (*BasicScaling) ProtoMessage() {}
func (*BasicScaling) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
func (m *BasicScaling) Reset() { *m = BasicScaling{} }
func (m *BasicScaling) String() string { return proto.CompactTextString(m) }
func (*BasicScaling) ProtoMessage() {}
func (*BasicScaling) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{2}
}
func (m *BasicScaling) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BasicScaling.Unmarshal(m, b)
}
func (m *BasicScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BasicScaling.Marshal(b, m, deterministic)
}
func (dst *BasicScaling) XXX_Merge(src proto.Message) {
xxx_messageInfo_BasicScaling.Merge(dst, src)
}
func (m *BasicScaling) XXX_Size() int {
return xxx_messageInfo_BasicScaling.Size(m)
}
func (m *BasicScaling) XXX_DiscardUnknown() {
xxx_messageInfo_BasicScaling.DiscardUnknown(m)
}
func (m *BasicScaling) GetIdleTimeout() *google_protobuf1.Duration {
var xxx_messageInfo_BasicScaling proto.InternalMessageInfo
func (m *BasicScaling) GetIdleTimeout() *duration.Duration {
if m != nil {
return m.IdleTimeout
}
@ -703,13 +783,35 @@ type ManualScaling struct {
// can later be altered by using the
// [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions)
// `set_num_instances()` function.
Instances int32 `protobuf:"varint,1,opt,name=instances" json:"instances,omitempty"`
Instances int32 `protobuf:"varint,1,opt,name=instances,proto3" json:"instances,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManualScaling) Reset() { *m = ManualScaling{} }
func (m *ManualScaling) String() string { return proto.CompactTextString(m) }
func (*ManualScaling) ProtoMessage() {}
func (*ManualScaling) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
func (m *ManualScaling) Reset() { *m = ManualScaling{} }
func (m *ManualScaling) String() string { return proto.CompactTextString(m) }
func (*ManualScaling) ProtoMessage() {}
func (*ManualScaling) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{3}
}
func (m *ManualScaling) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManualScaling.Unmarshal(m, b)
}
func (m *ManualScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManualScaling.Marshal(b, m, deterministic)
}
func (dst *ManualScaling) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManualScaling.Merge(dst, src)
}
func (m *ManualScaling) XXX_Size() int {
return xxx_messageInfo_ManualScaling.Size(m)
}
func (m *ManualScaling) XXX_DiscardUnknown() {
xxx_messageInfo_ManualScaling.DiscardUnknown(m)
}
var xxx_messageInfo_ManualScaling proto.InternalMessageInfo
func (m *ManualScaling) GetInstances() int32 {
if m != nil {
@ -721,18 +823,40 @@ func (m *ManualScaling) GetInstances() int32 {
// Target scaling by CPU usage.
type CpuUtilization struct {
// Period of time over which CPU utilization is calculated.
AggregationWindowLength *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=aggregation_window_length,json=aggregationWindowLength" json:"aggregation_window_length,omitempty"`
AggregationWindowLength *duration.Duration `protobuf:"bytes,1,opt,name=aggregation_window_length,json=aggregationWindowLength,proto3" json:"aggregation_window_length,omitempty"`
// Target CPU utilization ratio to maintain when scaling. Must be between 0
// and 1.
TargetUtilization float64 `protobuf:"fixed64,2,opt,name=target_utilization,json=targetUtilization" json:"target_utilization,omitempty"`
TargetUtilization float64 `protobuf:"fixed64,2,opt,name=target_utilization,json=targetUtilization,proto3" json:"target_utilization,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CpuUtilization) Reset() { *m = CpuUtilization{} }
func (m *CpuUtilization) String() string { return proto.CompactTextString(m) }
func (*CpuUtilization) ProtoMessage() {}
func (*CpuUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
func (m *CpuUtilization) Reset() { *m = CpuUtilization{} }
func (m *CpuUtilization) String() string { return proto.CompactTextString(m) }
func (*CpuUtilization) ProtoMessage() {}
func (*CpuUtilization) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{4}
}
func (m *CpuUtilization) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CpuUtilization.Unmarshal(m, b)
}
func (m *CpuUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CpuUtilization.Marshal(b, m, deterministic)
}
func (dst *CpuUtilization) XXX_Merge(src proto.Message) {
xxx_messageInfo_CpuUtilization.Merge(dst, src)
}
func (m *CpuUtilization) XXX_Size() int {
return xxx_messageInfo_CpuUtilization.Size(m)
}
func (m *CpuUtilization) XXX_DiscardUnknown() {
xxx_messageInfo_CpuUtilization.DiscardUnknown(m)
}
func (m *CpuUtilization) GetAggregationWindowLength() *google_protobuf1.Duration {
var xxx_messageInfo_CpuUtilization proto.InternalMessageInfo
func (m *CpuUtilization) GetAggregationWindowLength() *duration.Duration {
if m != nil {
return m.AggregationWindowLength
}
@ -749,15 +873,37 @@ func (m *CpuUtilization) GetTargetUtilization() float64 {
// Target scaling by request utilization. Only applicable for VM runtimes.
type RequestUtilization struct {
// Target requests per second.
TargetRequestCountPerSecond int32 `protobuf:"varint,1,opt,name=target_request_count_per_second,json=targetRequestCountPerSecond" json:"target_request_count_per_second,omitempty"`
TargetRequestCountPerSecond int32 `protobuf:"varint,1,opt,name=target_request_count_per_second,json=targetRequestCountPerSecond,proto3" json:"target_request_count_per_second,omitempty"`
// Target number of concurrent requests.
TargetConcurrentRequests int32 `protobuf:"varint,2,opt,name=target_concurrent_requests,json=targetConcurrentRequests" json:"target_concurrent_requests,omitempty"`
TargetConcurrentRequests int32 `protobuf:"varint,2,opt,name=target_concurrent_requests,json=targetConcurrentRequests,proto3" json:"target_concurrent_requests,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RequestUtilization) Reset() { *m = RequestUtilization{} }
func (m *RequestUtilization) String() string { return proto.CompactTextString(m) }
func (*RequestUtilization) ProtoMessage() {}
func (*RequestUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
func (m *RequestUtilization) Reset() { *m = RequestUtilization{} }
func (m *RequestUtilization) String() string { return proto.CompactTextString(m) }
func (*RequestUtilization) ProtoMessage() {}
func (*RequestUtilization) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{5}
}
func (m *RequestUtilization) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RequestUtilization.Unmarshal(m, b)
}
func (m *RequestUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RequestUtilization.Marshal(b, m, deterministic)
}
func (dst *RequestUtilization) XXX_Merge(src proto.Message) {
xxx_messageInfo_RequestUtilization.Merge(dst, src)
}
func (m *RequestUtilization) XXX_Size() int {
return xxx_messageInfo_RequestUtilization.Size(m)
}
func (m *RequestUtilization) XXX_DiscardUnknown() {
xxx_messageInfo_RequestUtilization.DiscardUnknown(m)
}
var xxx_messageInfo_RequestUtilization proto.InternalMessageInfo
func (m *RequestUtilization) GetTargetRequestCountPerSecond() int32 {
if m != nil {
@ -776,19 +922,41 @@ func (m *RequestUtilization) GetTargetConcurrentRequests() int32 {
// Target scaling by disk usage. Only applicable for VM runtimes.
type DiskUtilization struct {
// Target bytes written per second.
TargetWriteBytesPerSecond int32 `protobuf:"varint,14,opt,name=target_write_bytes_per_second,json=targetWriteBytesPerSecond" json:"target_write_bytes_per_second,omitempty"`
TargetWriteBytesPerSecond int32 `protobuf:"varint,14,opt,name=target_write_bytes_per_second,json=targetWriteBytesPerSecond,proto3" json:"target_write_bytes_per_second,omitempty"`
// Target ops written per second.
TargetWriteOpsPerSecond int32 `protobuf:"varint,15,opt,name=target_write_ops_per_second,json=targetWriteOpsPerSecond" json:"target_write_ops_per_second,omitempty"`
TargetWriteOpsPerSecond int32 `protobuf:"varint,15,opt,name=target_write_ops_per_second,json=targetWriteOpsPerSecond,proto3" json:"target_write_ops_per_second,omitempty"`
// Target bytes read per second.
TargetReadBytesPerSecond int32 `protobuf:"varint,16,opt,name=target_read_bytes_per_second,json=targetReadBytesPerSecond" json:"target_read_bytes_per_second,omitempty"`
TargetReadBytesPerSecond int32 `protobuf:"varint,16,opt,name=target_read_bytes_per_second,json=targetReadBytesPerSecond,proto3" json:"target_read_bytes_per_second,omitempty"`
// Target ops read per seconds.
TargetReadOpsPerSecond int32 `protobuf:"varint,17,opt,name=target_read_ops_per_second,json=targetReadOpsPerSecond" json:"target_read_ops_per_second,omitempty"`
TargetReadOpsPerSecond int32 `protobuf:"varint,17,opt,name=target_read_ops_per_second,json=targetReadOpsPerSecond,proto3" json:"target_read_ops_per_second,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DiskUtilization) Reset() { *m = DiskUtilization{} }
func (m *DiskUtilization) String() string { return proto.CompactTextString(m) }
func (*DiskUtilization) ProtoMessage() {}
func (*DiskUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
func (m *DiskUtilization) Reset() { *m = DiskUtilization{} }
func (m *DiskUtilization) String() string { return proto.CompactTextString(m) }
func (*DiskUtilization) ProtoMessage() {}
func (*DiskUtilization) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{6}
}
func (m *DiskUtilization) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DiskUtilization.Unmarshal(m, b)
}
func (m *DiskUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DiskUtilization.Marshal(b, m, deterministic)
}
func (dst *DiskUtilization) XXX_Merge(src proto.Message) {
xxx_messageInfo_DiskUtilization.Merge(dst, src)
}
func (m *DiskUtilization) XXX_Size() int {
return xxx_messageInfo_DiskUtilization.Size(m)
}
func (m *DiskUtilization) XXX_DiscardUnknown() {
xxx_messageInfo_DiskUtilization.DiscardUnknown(m)
}
var xxx_messageInfo_DiskUtilization proto.InternalMessageInfo
func (m *DiskUtilization) GetTargetWriteBytesPerSecond() int32 {
if m != nil {
@ -821,19 +989,41 @@ func (m *DiskUtilization) GetTargetReadOpsPerSecond() int32 {
// Target scaling by network usage. Only applicable for VM runtimes.
type NetworkUtilization struct {
// Target bytes sent per second.
TargetSentBytesPerSecond int32 `protobuf:"varint,1,opt,name=target_sent_bytes_per_second,json=targetSentBytesPerSecond" json:"target_sent_bytes_per_second,omitempty"`
TargetSentBytesPerSecond int32 `protobuf:"varint,1,opt,name=target_sent_bytes_per_second,json=targetSentBytesPerSecond,proto3" json:"target_sent_bytes_per_second,omitempty"`
// Target packets sent per second.
TargetSentPacketsPerSecond int32 `protobuf:"varint,11,opt,name=target_sent_packets_per_second,json=targetSentPacketsPerSecond" json:"target_sent_packets_per_second,omitempty"`
TargetSentPacketsPerSecond int32 `protobuf:"varint,11,opt,name=target_sent_packets_per_second,json=targetSentPacketsPerSecond,proto3" json:"target_sent_packets_per_second,omitempty"`
// Target bytes received per second.
TargetReceivedBytesPerSecond int32 `protobuf:"varint,12,opt,name=target_received_bytes_per_second,json=targetReceivedBytesPerSecond" json:"target_received_bytes_per_second,omitempty"`
TargetReceivedBytesPerSecond int32 `protobuf:"varint,12,opt,name=target_received_bytes_per_second,json=targetReceivedBytesPerSecond,proto3" json:"target_received_bytes_per_second,omitempty"`
// Target packets received per second.
TargetReceivedPacketsPerSecond int32 `protobuf:"varint,13,opt,name=target_received_packets_per_second,json=targetReceivedPacketsPerSecond" json:"target_received_packets_per_second,omitempty"`
TargetReceivedPacketsPerSecond int32 `protobuf:"varint,13,opt,name=target_received_packets_per_second,json=targetReceivedPacketsPerSecond,proto3" json:"target_received_packets_per_second,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NetworkUtilization) Reset() { *m = NetworkUtilization{} }
func (m *NetworkUtilization) String() string { return proto.CompactTextString(m) }
func (*NetworkUtilization) ProtoMessage() {}
func (*NetworkUtilization) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
func (m *NetworkUtilization) Reset() { *m = NetworkUtilization{} }
func (m *NetworkUtilization) String() string { return proto.CompactTextString(m) }
func (*NetworkUtilization) ProtoMessage() {}
func (*NetworkUtilization) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{7}
}
func (m *NetworkUtilization) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkUtilization.Unmarshal(m, b)
}
func (m *NetworkUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NetworkUtilization.Marshal(b, m, deterministic)
}
func (dst *NetworkUtilization) XXX_Merge(src proto.Message) {
xxx_messageInfo_NetworkUtilization.Merge(dst, src)
}
func (m *NetworkUtilization) XXX_Size() int {
return xxx_messageInfo_NetworkUtilization.Size(m)
}
func (m *NetworkUtilization) XXX_DiscardUnknown() {
xxx_messageInfo_NetworkUtilization.DiscardUnknown(m)
}
var xxx_messageInfo_NetworkUtilization proto.InternalMessageInfo
func (m *NetworkUtilization) GetTargetSentBytesPerSecond() int32 {
if m != nil {
@ -867,20 +1057,42 @@ func (m *NetworkUtilization) GetTargetReceivedPacketsPerSecond() int32 {
type Network struct {
// List of ports, or port pairs, to forward from the virtual machine to the
// application container.
ForwardedPorts []string `protobuf:"bytes,1,rep,name=forwarded_ports,json=forwardedPorts" json:"forwarded_ports,omitempty"`
ForwardedPorts []string `protobuf:"bytes,1,rep,name=forwarded_ports,json=forwardedPorts,proto3" json:"forwarded_ports,omitempty"`
// Tag to apply to the VM instance during creation.
InstanceTag string `protobuf:"bytes,2,opt,name=instance_tag,json=instanceTag" json:"instance_tag,omitempty"`
InstanceTag string `protobuf:"bytes,2,opt,name=instance_tag,json=instanceTag,proto3" json:"instance_tag,omitempty"`
// Google Cloud Platform network where the virtual machines are created.
// Specify the short name, not the resource path.
//
// Defaults to `default`.
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Network) Reset() { *m = Network{} }
func (m *Network) String() string { return proto.CompactTextString(m) }
func (*Network) ProtoMessage() {}
func (*Network) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
func (m *Network) Reset() { *m = Network{} }
func (m *Network) String() string { return proto.CompactTextString(m) }
func (*Network) ProtoMessage() {}
func (*Network) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{8}
}
func (m *Network) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Network.Unmarshal(m, b)
}
func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Network.Marshal(b, m, deterministic)
}
func (dst *Network) XXX_Merge(src proto.Message) {
xxx_messageInfo_Network.Merge(dst, src)
}
func (m *Network) XXX_Size() int {
return xxx_messageInfo_Network.Size(m)
}
func (m *Network) XXX_DiscardUnknown() {
xxx_messageInfo_Network.DiscardUnknown(m)
}
var xxx_messageInfo_Network proto.InternalMessageInfo
func (m *Network) GetForwardedPorts() []string {
if m != nil {
@ -906,17 +1118,39 @@ func (m *Network) GetName() string {
// Machine resources for a version.
type Resources struct {
// Number of CPU cores needed.
Cpu float64 `protobuf:"fixed64,1,opt,name=cpu" json:"cpu,omitempty"`
Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
// Disk size (GB) needed.
DiskGb float64 `protobuf:"fixed64,2,opt,name=disk_gb,json=diskGb" json:"disk_gb,omitempty"`
DiskGb float64 `protobuf:"fixed64,2,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
// Memory (GB) needed.
MemoryGb float64 `protobuf:"fixed64,3,opt,name=memory_gb,json=memoryGb" json:"memory_gb,omitempty"`
MemoryGb float64 `protobuf:"fixed64,3,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Resources) Reset() { *m = Resources{} }
func (m *Resources) String() string { return proto.CompactTextString(m) }
func (*Resources) ProtoMessage() {}
func (*Resources) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
func (m *Resources) Reset() { *m = Resources{} }
func (m *Resources) String() string { return proto.CompactTextString(m) }
func (*Resources) ProtoMessage() {}
func (*Resources) Descriptor() ([]byte, []int) {
return fileDescriptor_version_8b240e3827c1f1f0, []int{9}
}
func (m *Resources) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Resources.Unmarshal(m, b)
}
func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Resources.Marshal(b, m, deterministic)
}
func (dst *Resources) XXX_Merge(src proto.Message) {
xxx_messageInfo_Resources.Merge(dst, src)
}
func (m *Resources) XXX_Size() int {
return xxx_messageInfo_Resources.Size(m)
}
func (m *Resources) XXX_DiscardUnknown() {
xxx_messageInfo_Resources.DiscardUnknown(m)
}
var xxx_messageInfo_Resources proto.InternalMessageInfo
func (m *Resources) GetCpu() float64 {
if m != nil {
@ -941,6 +1175,8 @@ func (m *Resources) GetMemoryGb() float64 {
func init() {
proto.RegisterType((*Version)(nil), "google.appengine.v1.Version")
proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.Version.BetaSettingsEntry")
proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.Version.EnvVariablesEntry")
proto.RegisterType((*AutomaticScaling)(nil), "google.appengine.v1.AutomaticScaling")
proto.RegisterType((*BasicScaling)(nil), "google.appengine.v1.BasicScaling")
proto.RegisterType((*ManualScaling)(nil), "google.appengine.v1.ManualScaling")
@ -954,9 +1190,11 @@ func init() {
proto.RegisterEnum("google.appengine.v1.ServingStatus", ServingStatus_name, ServingStatus_value)
}
func init() { proto.RegisterFile("google/appengine/v1/version.proto", fileDescriptor9) }
func init() {
proto.RegisterFile("google/appengine/v1/version.proto", fileDescriptor_version_8b240e3827c1f1f0)
}
var fileDescriptor9 = []byte{
var fileDescriptor_version_8b240e3827c1f1f0 = []byte{
// 1767 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x5d, 0x73, 0xdb, 0xc6,
0x15, 0x0d, 0x29, 0x4b, 0x14, 0x2f, 0x3f, 0x04, 0xad, 0xd3, 0x08, 0x96, 0x64, 0x89, 0x66, 0x92,