Bumping k8s dependencies to 1.13
This commit is contained in:
530
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
530
vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go
generated
vendored
@@ -3,18 +3,26 @@
|
||||
|
||||
package appengine
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
duration "github.com/golang/protobuf/ptypes/duration"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Available inbound services.
|
||||
type InboundServiceType int32
|
||||
|
||||
@@ -51,6 +59,7 @@ var InboundServiceType_name = map[int32]string{
|
||||
7: "INBOUND_SERVICE_CHANNEL_PRESENCE",
|
||||
9: "INBOUND_SERVICE_WARMUP",
|
||||
}
|
||||
|
||||
var InboundServiceType_value = map[string]int32{
|
||||
"INBOUND_SERVICE_UNSPECIFIED": 0,
|
||||
"INBOUND_SERVICE_MAIL": 1,
|
||||
@@ -66,7 +75,10 @@ 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_fbe3eca208d62f7c, []int{0}
|
||||
}
|
||||
|
||||
// Run states of a version.
|
||||
type ServingStatus int32
|
||||
@@ -88,6 +100,7 @@ var ServingStatus_name = map[int32]string{
|
||||
1: "SERVING",
|
||||
2: "STOPPED",
|
||||
}
|
||||
|
||||
var ServingStatus_value = map[string]int32{
|
||||
"SERVING_STATUS_UNSPECIFIED": 0,
|
||||
"SERVING": 1,
|
||||
@@ -97,7 +110,10 @@ 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_fbe3eca208d62f7c, []int{1}
|
||||
}
|
||||
|
||||
// A Version resource is a specific set of source code and configuration files
|
||||
// that are deployed into a service.
|
||||
@@ -106,11 +122,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 +138,129 @@ 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_fbe3eca208d62f7c, []int{0}
|
||||
}
|
||||
|
||||
type Version_AutomaticScaling struct {
|
||||
AutomaticScaling *AutomaticScaling `protobuf:"bytes,3,opt,name=automatic_scaling,json=automaticScaling,oneof"`
|
||||
func (m *Version) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Version.Unmarshal(m, b)
|
||||
}
|
||||
type Version_BasicScaling struct {
|
||||
BasicScaling *BasicScaling `protobuf:"bytes,4,opt,name=basic_scaling,json=basicScaling,oneof"`
|
||||
func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Version.Marshal(b, m, deterministic)
|
||||
}
|
||||
type Version_ManualScaling struct {
|
||||
ManualScaling *ManualScaling `protobuf:"bytes,5,opt,name=manual_scaling,json=manualScaling,oneof"`
|
||||
func (m *Version) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Version.Merge(m, src)
|
||||
}
|
||||
func (m *Version) XXX_Size() int {
|
||||
return xxx_messageInfo_Version.Size(m)
|
||||
}
|
||||
func (m *Version) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Version.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
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 +276,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 +403,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 +452,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 +560,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 +587,67 @@ 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_fbe3eca208d62f7c, []int{1}
|
||||
}
|
||||
|
||||
func (m *AutomaticScaling) GetCoolDownPeriod() *google_protobuf1.Duration {
|
||||
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 (m *AutomaticScaling) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AutomaticScaling.Merge(m, src)
|
||||
}
|
||||
func (m *AutomaticScaling) XXX_Size() int {
|
||||
return xxx_messageInfo_AutomaticScaling.Size(m)
|
||||
}
|
||||
func (m *AutomaticScaling) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AutomaticScaling.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AutomaticScaling proto.InternalMessageInfo
|
||||
|
||||
func (m *AutomaticScaling) GetCoolDownPeriod() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.CoolDownPeriod
|
||||
}
|
||||
@@ -616,7 +682,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 +703,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 +738,40 @@ 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_fbe3eca208d62f7c, []int{2}
|
||||
}
|
||||
|
||||
func (m *BasicScaling) GetIdleTimeout() *google_protobuf1.Duration {
|
||||
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 (m *BasicScaling) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BasicScaling.Merge(m, src)
|
||||
}
|
||||
func (m *BasicScaling) XXX_Size() int {
|
||||
return xxx_messageInfo_BasicScaling.Size(m)
|
||||
}
|
||||
func (m *BasicScaling) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BasicScaling.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BasicScaling proto.InternalMessageInfo
|
||||
|
||||
func (m *BasicScaling) GetIdleTimeout() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.IdleTimeout
|
||||
}
|
||||
@@ -703,13 +792,36 @@ 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_fbe3eca208d62f7c, []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 (m *ManualScaling) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ManualScaling.Merge(m, 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 +833,41 @@ 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_fbe3eca208d62f7c, []int{4}
|
||||
}
|
||||
|
||||
func (m *CpuUtilization) GetAggregationWindowLength() *google_protobuf1.Duration {
|
||||
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 (m *CpuUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CpuUtilization.Merge(m, src)
|
||||
}
|
||||
func (m *CpuUtilization) XXX_Size() int {
|
||||
return xxx_messageInfo_CpuUtilization.Size(m)
|
||||
}
|
||||
func (m *CpuUtilization) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CpuUtilization.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CpuUtilization proto.InternalMessageInfo
|
||||
|
||||
func (m *CpuUtilization) GetAggregationWindowLength() *duration.Duration {
|
||||
if m != nil {
|
||||
return m.AggregationWindowLength
|
||||
}
|
||||
@@ -749,15 +884,38 @@ 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_fbe3eca208d62f7c, []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 (m *RequestUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_RequestUtilization.Merge(m, 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 +934,42 @@ 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_fbe3eca208d62f7c, []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 (m *DiskUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DiskUtilization.Merge(m, 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 +1002,42 @@ 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_fbe3eca208d62f7c, []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 (m *NetworkUtilization) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NetworkUtilization.Merge(m, 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 +1071,43 @@ 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_fbe3eca208d62f7c, []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 (m *Network) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Network.Merge(m, 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 +1133,40 @@ 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_fbe3eca208d62f7c, []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 (m *Resources) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Resources.Merge(m, 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 {
|
||||
@@ -940,7 +1190,11 @@ func (m *Resources) GetMemoryGb() float64 {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.appengine.v1.InboundServiceType", InboundServiceType_name, InboundServiceType_value)
|
||||
proto.RegisterEnum("google.appengine.v1.ServingStatus", ServingStatus_name, ServingStatus_value)
|
||||
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")
|
||||
@@ -950,13 +1204,11 @@ func init() {
|
||||
proto.RegisterType((*NetworkUtilization)(nil), "google.appengine.v1.NetworkUtilization")
|
||||
proto.RegisterType((*Network)(nil), "google.appengine.v1.Network")
|
||||
proto.RegisterType((*Resources)(nil), "google.appengine.v1.Resources")
|
||||
proto.RegisterEnum("google.appengine.v1.InboundServiceType", InboundServiceType_name, InboundServiceType_value)
|
||||
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_fbe3eca208d62f7c) }
|
||||
|
||||
var fileDescriptor9 = []byte{
|
||||
var fileDescriptor_fbe3eca208d62f7c = []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,
|
||||
|
Reference in New Issue
Block a user