| {{$fam}} | - - {{range $j, $bucket := $.Buckets}} - {{$n := index $.Counts $i $j}} -- {{if $n}}{{end}} - [{{$n}} {{$bucket.String}}] - {{if $n}}{{end}} - | - {{end}} - -
| When | Elapsed | |
|---|---|---|
| {{$el.When}} | -{{$el.ElapsedTime}} | -{{$el.Title}} - |
| - | - | {{$el.Stack|trimSpace}} |
-
| {{.WhenString}} | -{{elapsed .Elapsed}} | -.{{if .IsErr}}E{{else}}.{{end}}. {{.What}} | -
| Count: {{.Count}} | -Mean: {{printf "%.0f" .Mean}} | -StdDev: {{printf "%.0f" .StandardDeviation}} | -Median: {{.Median}} | -
| [ | -{{.Lower}}, | -{{.Upper}}) | -{{.N}} | -{{printf "%#.3f" .Pct}}% | -{{printf "%#.3f" .CumulativePct}}% | -- |
| {{$fam}} | - - {{$n := index $.ActiveTraceCount $fam}} -- {{if $n}}{{end}} - [{{$n}} active] - {{if $n}}{{end}} - | - - {{$f := index $.CompletedTraces $fam}} - {{range $i, $b := $f.Buckets}} - {{$empty := $b.Empty}} -- {{if not $empty}}{{end}} - [{{.Cond}}] - {{if not $empty}}{{end}} - | - {{end}} - - {{$nb := len $f.Buckets}} -- [minute] - | -- [hour] - | -- [total] - | - -
Showing {{len $.Traces}} of {{$.Total}} traces.
-{{end}} - -| When | Elapsed (s) | |
|---|---|---|
| {{$tr.When}} | -{{$tr.ElapsedTime}} | -{{$tr.Title}} | - {{/* TODO: include traceID/spanID */}} -
| {{.WhenString}} | -{{elapsed .Elapsed}} | -{{if or $.ShowSensitive (not .Sensitive)}}... {{.What}}{{else}}[redacted]{{end}} | -
minCpuPlatform: "Intel Haswell" or
- // minCpuPlatform: "Intel Sandy Bridge". For more
- // information, read [how to specify min CPU
- // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
- MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NodeConfig) Reset() { *m = NodeConfig{} }
-func (m *NodeConfig) String() string { return proto.CompactTextString(m) }
-func (*NodeConfig) ProtoMessage() {}
-func (*NodeConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{0}
-}
-
-func (m *NodeConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NodeConfig.Unmarshal(m, b)
-}
-func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NodeConfig.Marshal(b, m, deterministic)
-}
-func (m *NodeConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NodeConfig.Merge(m, src)
-}
-func (m *NodeConfig) XXX_Size() int {
- return xxx_messageInfo_NodeConfig.Size(m)
-}
-func (m *NodeConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_NodeConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NodeConfig proto.InternalMessageInfo
-
-func (m *NodeConfig) GetMachineType() string {
- if m != nil {
- return m.MachineType
- }
- return ""
-}
-
-func (m *NodeConfig) GetDiskSizeGb() int32 {
- if m != nil {
- return m.DiskSizeGb
- }
- return 0
-}
-
-func (m *NodeConfig) GetOauthScopes() []string {
- if m != nil {
- return m.OauthScopes
- }
- return nil
-}
-
-func (m *NodeConfig) GetServiceAccount() string {
- if m != nil {
- return m.ServiceAccount
- }
- return ""
-}
-
-func (m *NodeConfig) GetMetadata() map[string]string {
- if m != nil {
- return m.Metadata
- }
- return nil
-}
-
-func (m *NodeConfig) GetImageType() string {
- if m != nil {
- return m.ImageType
- }
- return ""
-}
-
-func (m *NodeConfig) GetLabels() map[string]string {
- if m != nil {
- return m.Labels
- }
- return nil
-}
-
-func (m *NodeConfig) GetLocalSsdCount() int32 {
- if m != nil {
- return m.LocalSsdCount
- }
- return 0
-}
-
-func (m *NodeConfig) GetTags() []string {
- if m != nil {
- return m.Tags
- }
- return nil
-}
-
-func (m *NodeConfig) GetPreemptible() bool {
- if m != nil {
- return m.Preemptible
- }
- return false
-}
-
-func (m *NodeConfig) GetAccelerators() []*AcceleratorConfig {
- if m != nil {
- return m.Accelerators
- }
- return nil
-}
-
-func (m *NodeConfig) GetDiskType() string {
- if m != nil {
- return m.DiskType
- }
- return ""
-}
-
-func (m *NodeConfig) GetMinCpuPlatform() string {
- if m != nil {
- return m.MinCpuPlatform
- }
- return ""
-}
-
-// The authentication information for accessing the master endpoint.
-// Authentication can be done using HTTP basic auth or using client
-// certificates.
-type MasterAuth struct {
- // The username to use for HTTP basic authentication to the master endpoint.
- // For clusters v1.6.0 and later, you can disable basic authentication by
- // providing an empty username.
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
- // The password to use for HTTP basic authentication to the master endpoint.
- // Because the master endpoint is open to the Internet, you should create a
- // strong password. If a password is provided for cluster creation, username
- // must be non-empty.
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
- // Configuration for client certificate authentication on the cluster. For
- // clusters before v1.12, if no configuration is specified, a client
- // certificate is issued.
- ClientCertificateConfig *ClientCertificateConfig `protobuf:"bytes,3,opt,name=client_certificate_config,json=clientCertificateConfig,proto3" json:"client_certificate_config,omitempty"`
- // [Output only] Base64-encoded public certificate that is the root of
- // trust for the cluster.
- ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
- // [Output only] Base64-encoded public certificate used by clients to
- // authenticate to the cluster endpoint.
- ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
- // [Output only] Base64-encoded private key used by clients to authenticate
- // to the cluster endpoint.
- ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *MasterAuth) Reset() { *m = MasterAuth{} }
-func (m *MasterAuth) String() string { return proto.CompactTextString(m) }
-func (*MasterAuth) ProtoMessage() {}
-func (*MasterAuth) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{1}
-}
-
-func (m *MasterAuth) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MasterAuth.Unmarshal(m, b)
-}
-func (m *MasterAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MasterAuth.Marshal(b, m, deterministic)
-}
-func (m *MasterAuth) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MasterAuth.Merge(m, src)
-}
-func (m *MasterAuth) XXX_Size() int {
- return xxx_messageInfo_MasterAuth.Size(m)
-}
-func (m *MasterAuth) XXX_DiscardUnknown() {
- xxx_messageInfo_MasterAuth.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MasterAuth proto.InternalMessageInfo
-
-func (m *MasterAuth) GetUsername() string {
- if m != nil {
- return m.Username
- }
- return ""
-}
-
-func (m *MasterAuth) GetPassword() string {
- if m != nil {
- return m.Password
- }
- return ""
-}
-
-func (m *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig {
- if m != nil {
- return m.ClientCertificateConfig
- }
- return nil
-}
-
-func (m *MasterAuth) GetClusterCaCertificate() string {
- if m != nil {
- return m.ClusterCaCertificate
- }
- return ""
-}
-
-func (m *MasterAuth) GetClientCertificate() string {
- if m != nil {
- return m.ClientCertificate
- }
- return ""
-}
-
-func (m *MasterAuth) GetClientKey() string {
- if m != nil {
- return m.ClientKey
- }
- return ""
-}
-
-// Configuration for client certificates on the cluster.
-type ClientCertificateConfig struct {
- // Issue a client certificate.
- IssueClientCertificate bool `protobuf:"varint,1,opt,name=issue_client_certificate,json=issueClientCertificate,proto3" json:"issue_client_certificate,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ClientCertificateConfig) Reset() { *m = ClientCertificateConfig{} }
-func (m *ClientCertificateConfig) String() string { return proto.CompactTextString(m) }
-func (*ClientCertificateConfig) ProtoMessage() {}
-func (*ClientCertificateConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{2}
-}
-
-func (m *ClientCertificateConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClientCertificateConfig.Unmarshal(m, b)
-}
-func (m *ClientCertificateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClientCertificateConfig.Marshal(b, m, deterministic)
-}
-func (m *ClientCertificateConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClientCertificateConfig.Merge(m, src)
-}
-func (m *ClientCertificateConfig) XXX_Size() int {
- return xxx_messageInfo_ClientCertificateConfig.Size(m)
-}
-func (m *ClientCertificateConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_ClientCertificateConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ClientCertificateConfig proto.InternalMessageInfo
-
-func (m *ClientCertificateConfig) GetIssueClientCertificate() bool {
- if m != nil {
- return m.IssueClientCertificate
- }
- return false
-}
-
-// Configuration for the addons that can be automatically spun up in the
-// cluster, enabling additional functionality.
-type AddonsConfig struct {
- // Configuration for the HTTP (L7) load balancing controller addon, which
- // makes it easy to set up HTTP load balancers for services in a cluster.
- HttpLoadBalancing *HttpLoadBalancing `protobuf:"bytes,1,opt,name=http_load_balancing,json=httpLoadBalancing,proto3" json:"http_load_balancing,omitempty"`
- // Configuration for the horizontal pod autoscaling feature, which
- // increases or decreases the number of replica pods a replication controller
- // has based on the resource usage of the existing pods.
- HorizontalPodAutoscaling *HorizontalPodAutoscaling `protobuf:"bytes,2,opt,name=horizontal_pod_autoscaling,json=horizontalPodAutoscaling,proto3" json:"horizontal_pod_autoscaling,omitempty"`
- // Configuration for the Kubernetes Dashboard.
- KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"`
- // Configuration for NetworkPolicy. This only tracks whether the addon
- // is enabled or not on the Master, it does not track whether network policy
- // is enabled for the nodes.
- NetworkPolicyConfig *NetworkPolicyConfig `protobuf:"bytes,4,opt,name=network_policy_config,json=networkPolicyConfig,proto3" json:"network_policy_config,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AddonsConfig) Reset() { *m = AddonsConfig{} }
-func (m *AddonsConfig) String() string { return proto.CompactTextString(m) }
-func (*AddonsConfig) ProtoMessage() {}
-func (*AddonsConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{3}
-}
-
-func (m *AddonsConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AddonsConfig.Unmarshal(m, b)
-}
-func (m *AddonsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AddonsConfig.Marshal(b, m, deterministic)
-}
-func (m *AddonsConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AddonsConfig.Merge(m, src)
-}
-func (m *AddonsConfig) XXX_Size() int {
- return xxx_messageInfo_AddonsConfig.Size(m)
-}
-func (m *AddonsConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_AddonsConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AddonsConfig proto.InternalMessageInfo
-
-func (m *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing {
- if m != nil {
- return m.HttpLoadBalancing
- }
- return nil
-}
-
-func (m *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling {
- if m != nil {
- return m.HorizontalPodAutoscaling
- }
- return nil
-}
-
-func (m *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard {
- if m != nil {
- return m.KubernetesDashboard
- }
- return nil
-}
-
-func (m *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig {
- if m != nil {
- return m.NetworkPolicyConfig
- }
- return nil
-}
-
-// Configuration options for the HTTP (L7) load balancing controller addon,
-// which makes it easy to set up HTTP load balancers for services in a cluster.
-type HttpLoadBalancing struct {
- // Whether the HTTP Load Balancing controller is enabled in the cluster.
- // When enabled, it runs a small pod in the cluster that manages the load
- // balancers.
- Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *HttpLoadBalancing) Reset() { *m = HttpLoadBalancing{} }
-func (m *HttpLoadBalancing) String() string { return proto.CompactTextString(m) }
-func (*HttpLoadBalancing) ProtoMessage() {}
-func (*HttpLoadBalancing) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{4}
-}
-
-func (m *HttpLoadBalancing) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_HttpLoadBalancing.Unmarshal(m, b)
-}
-func (m *HttpLoadBalancing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_HttpLoadBalancing.Marshal(b, m, deterministic)
-}
-func (m *HttpLoadBalancing) XXX_Merge(src proto.Message) {
- xxx_messageInfo_HttpLoadBalancing.Merge(m, src)
-}
-func (m *HttpLoadBalancing) XXX_Size() int {
- return xxx_messageInfo_HttpLoadBalancing.Size(m)
-}
-func (m *HttpLoadBalancing) XXX_DiscardUnknown() {
- xxx_messageInfo_HttpLoadBalancing.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_HttpLoadBalancing proto.InternalMessageInfo
-
-func (m *HttpLoadBalancing) GetDisabled() bool {
- if m != nil {
- return m.Disabled
- }
- return false
-}
-
-// Configuration options for the horizontal pod autoscaling feature, which
-// increases or decreases the number of replica pods a replication controller
-// has based on the resource usage of the existing pods.
-type HorizontalPodAutoscaling struct {
- // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
- // When enabled, it ensures that a Heapster pod is running in the cluster,
- // which is also used by the Cloud Monitoring service.
- Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *HorizontalPodAutoscaling) Reset() { *m = HorizontalPodAutoscaling{} }
-func (m *HorizontalPodAutoscaling) String() string { return proto.CompactTextString(m) }
-func (*HorizontalPodAutoscaling) ProtoMessage() {}
-func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{5}
-}
-
-func (m *HorizontalPodAutoscaling) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_HorizontalPodAutoscaling.Unmarshal(m, b)
-}
-func (m *HorizontalPodAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_HorizontalPodAutoscaling.Marshal(b, m, deterministic)
-}
-func (m *HorizontalPodAutoscaling) XXX_Merge(src proto.Message) {
- xxx_messageInfo_HorizontalPodAutoscaling.Merge(m, src)
-}
-func (m *HorizontalPodAutoscaling) XXX_Size() int {
- return xxx_messageInfo_HorizontalPodAutoscaling.Size(m)
-}
-func (m *HorizontalPodAutoscaling) XXX_DiscardUnknown() {
- xxx_messageInfo_HorizontalPodAutoscaling.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_HorizontalPodAutoscaling proto.InternalMessageInfo
-
-func (m *HorizontalPodAutoscaling) GetDisabled() bool {
- if m != nil {
- return m.Disabled
- }
- return false
-}
-
-// Configuration for the Kubernetes Dashboard.
-type KubernetesDashboard struct {
- // Whether the Kubernetes Dashboard is enabled for this cluster.
- Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *KubernetesDashboard) Reset() { *m = KubernetesDashboard{} }
-func (m *KubernetesDashboard) String() string { return proto.CompactTextString(m) }
-func (*KubernetesDashboard) ProtoMessage() {}
-func (*KubernetesDashboard) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{6}
-}
-
-func (m *KubernetesDashboard) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_KubernetesDashboard.Unmarshal(m, b)
-}
-func (m *KubernetesDashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_KubernetesDashboard.Marshal(b, m, deterministic)
-}
-func (m *KubernetesDashboard) XXX_Merge(src proto.Message) {
- xxx_messageInfo_KubernetesDashboard.Merge(m, src)
-}
-func (m *KubernetesDashboard) XXX_Size() int {
- return xxx_messageInfo_KubernetesDashboard.Size(m)
-}
-func (m *KubernetesDashboard) XXX_DiscardUnknown() {
- xxx_messageInfo_KubernetesDashboard.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_KubernetesDashboard proto.InternalMessageInfo
-
-func (m *KubernetesDashboard) GetDisabled() bool {
- if m != nil {
- return m.Disabled
- }
- return false
-}
-
-// Configuration for NetworkPolicy. This only tracks whether the addon
-// is enabled or not on the Master, it does not track whether network policy
-// is enabled for the nodes.
-type NetworkPolicyConfig struct {
- // Whether NetworkPolicy is enabled for this cluster.
- Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NetworkPolicyConfig) Reset() { *m = NetworkPolicyConfig{} }
-func (m *NetworkPolicyConfig) String() string { return proto.CompactTextString(m) }
-func (*NetworkPolicyConfig) ProtoMessage() {}
-func (*NetworkPolicyConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{7}
-}
-
-func (m *NetworkPolicyConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NetworkPolicyConfig.Unmarshal(m, b)
-}
-func (m *NetworkPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NetworkPolicyConfig.Marshal(b, m, deterministic)
-}
-func (m *NetworkPolicyConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NetworkPolicyConfig.Merge(m, src)
-}
-func (m *NetworkPolicyConfig) XXX_Size() int {
- return xxx_messageInfo_NetworkPolicyConfig.Size(m)
-}
-func (m *NetworkPolicyConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_NetworkPolicyConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NetworkPolicyConfig proto.InternalMessageInfo
-
-func (m *NetworkPolicyConfig) GetDisabled() bool {
- if m != nil {
- return m.Disabled
- }
- return false
-}
-
-// Configuration options for private clusters.
-type PrivateClusterConfig struct {
- // Whether nodes have internal IP addresses only. If enabled, all nodes are
- // given only RFC 1918 private addresses and communicate with the master via
- // private networking.
- EnablePrivateNodes bool `protobuf:"varint,1,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3" json:"enable_private_nodes,omitempty"`
- // Whether the master's internal IP address is used as the cluster endpoint.
- EnablePrivateEndpoint bool `protobuf:"varint,2,opt,name=enable_private_endpoint,json=enablePrivateEndpoint,proto3" json:"enable_private_endpoint,omitempty"`
- // The IP range in CIDR notation to use for the hosted master network. This
- // range will be used for assigning internal IP addresses to the master or
- // set of masters, as well as the ILB VIP. This range must not overlap with
- // any other ranges in use within the cluster's network.
- MasterIpv4CidrBlock string `protobuf:"bytes,3,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"`
- // Output only. The internal IP address of this cluster's master endpoint.
- PrivateEndpoint string `protobuf:"bytes,4,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"`
- // Output only. The external IP address of this cluster's master endpoint.
- PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PrivateClusterConfig) Reset() { *m = PrivateClusterConfig{} }
-func (m *PrivateClusterConfig) String() string { return proto.CompactTextString(m) }
-func (*PrivateClusterConfig) ProtoMessage() {}
-func (*PrivateClusterConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{8}
-}
-
-func (m *PrivateClusterConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PrivateClusterConfig.Unmarshal(m, b)
-}
-func (m *PrivateClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PrivateClusterConfig.Marshal(b, m, deterministic)
-}
-func (m *PrivateClusterConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PrivateClusterConfig.Merge(m, src)
-}
-func (m *PrivateClusterConfig) XXX_Size() int {
- return xxx_messageInfo_PrivateClusterConfig.Size(m)
-}
-func (m *PrivateClusterConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_PrivateClusterConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PrivateClusterConfig proto.InternalMessageInfo
-
-func (m *PrivateClusterConfig) GetEnablePrivateNodes() bool {
- if m != nil {
- return m.EnablePrivateNodes
- }
- return false
-}
-
-func (m *PrivateClusterConfig) GetEnablePrivateEndpoint() bool {
- if m != nil {
- return m.EnablePrivateEndpoint
- }
- return false
-}
-
-func (m *PrivateClusterConfig) GetMasterIpv4CidrBlock() string {
- if m != nil {
- return m.MasterIpv4CidrBlock
- }
- return ""
-}
-
-func (m *PrivateClusterConfig) GetPrivateEndpoint() string {
- if m != nil {
- return m.PrivateEndpoint
- }
- return ""
-}
-
-func (m *PrivateClusterConfig) GetPublicEndpoint() string {
- if m != nil {
- return m.PublicEndpoint
- }
- return ""
-}
-
-// Configuration options for the master authorized networks feature. Enabled
-// master authorized networks will disallow all external traffic to access
-// Kubernetes master through HTTPS except traffic from the given CIDR blocks,
-// Google Compute Engine Public IPs and Google Prod IPs.
-type MasterAuthorizedNetworksConfig struct {
- // Whether or not master authorized networks is enabled.
- Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- // cidr_blocks define up to 10 external networks that could access
- // Kubernetes master through HTTPS.
- CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *MasterAuthorizedNetworksConfig) Reset() { *m = MasterAuthorizedNetworksConfig{} }
-func (m *MasterAuthorizedNetworksConfig) String() string { return proto.CompactTextString(m) }
-func (*MasterAuthorizedNetworksConfig) ProtoMessage() {}
-func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{9}
-}
-
-func (m *MasterAuthorizedNetworksConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MasterAuthorizedNetworksConfig.Unmarshal(m, b)
-}
-func (m *MasterAuthorizedNetworksConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MasterAuthorizedNetworksConfig.Marshal(b, m, deterministic)
-}
-func (m *MasterAuthorizedNetworksConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MasterAuthorizedNetworksConfig.Merge(m, src)
-}
-func (m *MasterAuthorizedNetworksConfig) XXX_Size() int {
- return xxx_messageInfo_MasterAuthorizedNetworksConfig.Size(m)
-}
-func (m *MasterAuthorizedNetworksConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_MasterAuthorizedNetworksConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MasterAuthorizedNetworksConfig proto.InternalMessageInfo
-
-func (m *MasterAuthorizedNetworksConfig) GetEnabled() bool {
- if m != nil {
- return m.Enabled
- }
- return false
-}
-
-func (m *MasterAuthorizedNetworksConfig) GetCidrBlocks() []*MasterAuthorizedNetworksConfig_CidrBlock {
- if m != nil {
- return m.CidrBlocks
- }
- return nil
-}
-
-// CidrBlock contains an optional name and one CIDR block.
-type MasterAuthorizedNetworksConfig_CidrBlock struct {
- // display_name is an optional field for users to identify CIDR blocks.
- DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // cidr_block must be specified in CIDR notation.
- CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) Reset() {
- *m = MasterAuthorizedNetworksConfig_CidrBlock{}
-}
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) String() string { return proto.CompactTextString(m) }
-func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage() {}
-func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{9, 0}
-}
-
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Unmarshal(m, b)
-}
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Marshal(b, m, deterministic)
-}
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Merge(m, src)
-}
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Size() int {
- return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Size(m)
-}
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_DiscardUnknown() {
- xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock proto.InternalMessageInfo
-
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock() string {
- if m != nil {
- return m.CidrBlock
- }
- return ""
-}
-
-// Configuration for the legacy Attribute Based Access Control authorization
-// mode.
-type LegacyAbac struct {
- // Whether the ABAC authorizer is enabled for this cluster. When enabled,
- // identities in the system, including service accounts, nodes, and
- // controllers, will have statically granted permissions beyond those
- // provided by the RBAC configuration or IAM.
- Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LegacyAbac) Reset() { *m = LegacyAbac{} }
-func (m *LegacyAbac) String() string { return proto.CompactTextString(m) }
-func (*LegacyAbac) ProtoMessage() {}
-func (*LegacyAbac) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{10}
-}
-
-func (m *LegacyAbac) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LegacyAbac.Unmarshal(m, b)
-}
-func (m *LegacyAbac) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LegacyAbac.Marshal(b, m, deterministic)
-}
-func (m *LegacyAbac) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LegacyAbac.Merge(m, src)
-}
-func (m *LegacyAbac) XXX_Size() int {
- return xxx_messageInfo_LegacyAbac.Size(m)
-}
-func (m *LegacyAbac) XXX_DiscardUnknown() {
- xxx_messageInfo_LegacyAbac.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LegacyAbac proto.InternalMessageInfo
-
-func (m *LegacyAbac) GetEnabled() bool {
- if m != nil {
- return m.Enabled
- }
- return false
-}
-
-// Configuration options for the NetworkPolicy feature.
-// https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
-type NetworkPolicy struct {
- // The selected network policy provider.
- Provider NetworkPolicy_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.container.v1.NetworkPolicy_Provider" json:"provider,omitempty"`
- // Whether network policy is enabled on the cluster.
- Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
-func (m *NetworkPolicy) String() string { return proto.CompactTextString(m) }
-func (*NetworkPolicy) ProtoMessage() {}
-func (*NetworkPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{11}
-}
-
-func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NetworkPolicy.Unmarshal(m, b)
-}
-func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NetworkPolicy.Marshal(b, m, deterministic)
-}
-func (m *NetworkPolicy) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NetworkPolicy.Merge(m, src)
-}
-func (m *NetworkPolicy) XXX_Size() int {
- return xxx_messageInfo_NetworkPolicy.Size(m)
-}
-func (m *NetworkPolicy) XXX_DiscardUnknown() {
- xxx_messageInfo_NetworkPolicy.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo
-
-func (m *NetworkPolicy) GetProvider() NetworkPolicy_Provider {
- if m != nil {
- return m.Provider
- }
- return NetworkPolicy_PROVIDER_UNSPECIFIED
-}
-
-func (m *NetworkPolicy) GetEnabled() bool {
- if m != nil {
- return m.Enabled
- }
- return false
-}
-
-// Configuration for controlling how IPs are allocated in the cluster.
-type IPAllocationPolicy struct {
- // Whether alias IPs will be used for pod IPs in the cluster.
- UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"`
- // Whether a new subnetwork will be created automatically for the cluster.
- //
- // This field is only applicable when `use_ip_aliases` is true.
- CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"`
- // A custom subnetwork name to be used if `create_subnetwork` is true. If
- // this field is empty, then an automatic name will be chosen for the new
- // subnetwork.
- SubnetworkName string `protobuf:"bytes,3,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"`
- // This field is deprecated, use cluster_ipv4_cidr_block.
- ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` // Deprecated: Do not use.
- // This field is deprecated, use node_ipv4_cidr_block.
- NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"` // Deprecated: Do not use.
- // This field is deprecated, use services_ipv4_cidr_block.
- ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` // Deprecated: Do not use.
- // The name of the secondary range to be used for the cluster CIDR
- // block. The secondary range will be used for pod IP
- // addresses. This must be an existing secondary range associated
- // with the cluster subnetwork.
- //
- // This field is only applicable with use_ip_aliases is true and
- // create_subnetwork is false.
- ClusterSecondaryRangeName string `protobuf:"bytes,7,opt,name=cluster_secondary_range_name,json=clusterSecondaryRangeName,proto3" json:"cluster_secondary_range_name,omitempty"`
- // The name of the secondary range to be used as for the services
- // CIDR block. The secondary range will be used for service
- // ClusterIPs. This must be an existing secondary range associated
- // with the cluster subnetwork.
- //
- // This field is only applicable with use_ip_aliases is true and
- // create_subnetwork is false.
- ServicesSecondaryRangeName string `protobuf:"bytes,8,opt,name=services_secondary_range_name,json=servicesSecondaryRangeName,proto3" json:"services_secondary_range_name,omitempty"`
- // The IP address range for the cluster pod IPs. If this field is set, then
- // `cluster.cluster_ipv4_cidr` must be left blank.
- //
- // This field is only applicable when `use_ip_aliases` is true.
- //
- // Set to blank to have a range chosen with the default size.
- //
- // Set to /netmask (e.g. `/14`) to have a range chosen with a specific
- // netmask.
- //
- // Set to a
- // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
- // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
- // to use.
- ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"`
- // The IP address range of the instance IPs in this cluster.
- //
- // This is applicable only if `create_subnetwork` is true.
- //
- // Set to blank to have a range chosen with the default size.
- //
- // Set to /netmask (e.g. `/14`) to have a range chosen with a specific
- // netmask.
- //
- // Set to a
- // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
- // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
- // to use.
- NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"`
- // The IP address range of the services IPs in this cluster. If blank, a range
- // will be automatically chosen with the default size.
- //
- // This field is only applicable when `use_ip_aliases` is true.
- //
- // Set to blank to have a range chosen with the default size.
- //
- // Set to /netmask (e.g. `/14`) to have a range chosen with a specific
- // netmask.
- //
- // Set to a
- // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
- // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
- // to use.
- ServicesIpv4CidrBlock string `protobuf:"bytes,11,opt,name=services_ipv4_cidr_block,json=servicesIpv4CidrBlock,proto3" json:"services_ipv4_cidr_block,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *IPAllocationPolicy) Reset() { *m = IPAllocationPolicy{} }
-func (m *IPAllocationPolicy) String() string { return proto.CompactTextString(m) }
-func (*IPAllocationPolicy) ProtoMessage() {}
-func (*IPAllocationPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{12}
-}
-
-func (m *IPAllocationPolicy) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IPAllocationPolicy.Unmarshal(m, b)
-}
-func (m *IPAllocationPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IPAllocationPolicy.Marshal(b, m, deterministic)
-}
-func (m *IPAllocationPolicy) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IPAllocationPolicy.Merge(m, src)
-}
-func (m *IPAllocationPolicy) XXX_Size() int {
- return xxx_messageInfo_IPAllocationPolicy.Size(m)
-}
-func (m *IPAllocationPolicy) XXX_DiscardUnknown() {
- xxx_messageInfo_IPAllocationPolicy.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IPAllocationPolicy proto.InternalMessageInfo
-
-func (m *IPAllocationPolicy) GetUseIpAliases() bool {
- if m != nil {
- return m.UseIpAliases
- }
- return false
-}
-
-func (m *IPAllocationPolicy) GetCreateSubnetwork() bool {
- if m != nil {
- return m.CreateSubnetwork
- }
- return false
-}
-
-func (m *IPAllocationPolicy) GetSubnetworkName() string {
- if m != nil {
- return m.SubnetworkName
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string {
- if m != nil {
- return m.ClusterIpv4Cidr
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string {
- if m != nil {
- return m.NodeIpv4Cidr
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *IPAllocationPolicy) GetServicesIpv4Cidr() string {
- if m != nil {
- return m.ServicesIpv4Cidr
- }
- return ""
-}
-
-func (m *IPAllocationPolicy) GetClusterSecondaryRangeName() string {
- if m != nil {
- return m.ClusterSecondaryRangeName
- }
- return ""
-}
-
-func (m *IPAllocationPolicy) GetServicesSecondaryRangeName() string {
- if m != nil {
- return m.ServicesSecondaryRangeName
- }
- return ""
-}
-
-func (m *IPAllocationPolicy) GetClusterIpv4CidrBlock() string {
- if m != nil {
- return m.ClusterIpv4CidrBlock
- }
- return ""
-}
-
-func (m *IPAllocationPolicy) GetNodeIpv4CidrBlock() string {
- if m != nil {
- return m.NodeIpv4CidrBlock
- }
- return ""
-}
-
-func (m *IPAllocationPolicy) GetServicesIpv4CidrBlock() string {
- if m != nil {
- return m.ServicesIpv4CidrBlock
- }
- return ""
-}
-
-// A Google Kubernetes Engine cluster.
-type Cluster struct {
- // The name of this cluster. The name must be unique within this project
- // and zone, and can be up to 40 characters with the following restrictions:
- //
- // * Lowercase letters, numbers, and hyphens only.
- // * Must start with a letter.
- // * Must end with a number or a letter.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // An optional description of this cluster.
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // The number of nodes to create in this cluster. You must ensure that your
- // Compute Engine resource quota
- // is sufficient for this number of instances. You must also have available
- // firewall and routes quota.
- // For requests, this field should only be used in lieu of a
- // "node_pool" object, since this configuration (along with the
- // "node_config") will be used to create a "NodePool" object with an
- // auto-generated name. Do not use this and a node_pool at the same time.
- InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"`
- // Parameters used in creating the cluster's nodes.
- // See `nodeConfig` for the description of its properties.
- // For requests, this field should only be used in lieu of a
- // "node_pool" object, since this configuration (along with the
- // "initial_node_count") will be used to create a "NodePool" object with an
- // auto-generated name. Do not use this and a node_pool at the same time.
- // For responses, this field will be populated with the node configuration of
- // the first node pool.
- //
- // If unspecified, the defaults are used.
- NodeConfig *NodeConfig `protobuf:"bytes,4,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
- // The authentication information for accessing the master endpoint.
- MasterAuth *MasterAuth `protobuf:"bytes,5,opt,name=master_auth,json=masterAuth,proto3" json:"master_auth,omitempty"`
- // The logging service the cluster should use to write logs.
- // Currently available options:
- //
- // * `logging.googleapis.com` - the Google Cloud Logging service.
- // * `none` - no logs will be exported from the cluster.
- // * if left as an empty string,`logging.googleapis.com` will be used.
- LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
- // The monitoring service the cluster should use to write metrics.
- // Currently available options:
- //
- // * `monitoring.googleapis.com` - the Google Cloud Monitoring service.
- // * `none` - no metrics will be exported from the cluster.
- // * if left as an empty string, `monitoring.googleapis.com` will be used.
- MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
- // The name of the Google Compute Engine
- // [network](/compute/docs/networks-and-firewalls#networks) to which the
- // cluster is connected. If left unspecified, the `default` network
- // will be used.
- Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
- // The IP address range of the container pods in this cluster, in
- // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- // notation (e.g. `10.96.0.0/14`). Leave blank to have
- // one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
- ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"`
- // Configurations for the various addons available to run in the cluster.
- AddonsConfig *AddonsConfig `protobuf:"bytes,10,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
- // The name of the Google Compute Engine
- // [subnetwork](/compute/docs/subnetworks) to which the
- // cluster is connected.
- Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
- // The node pools associated with this cluster.
- // This field should not be set if "node_config" or "initial_node_count" are
- // specified.
- NodePools []*NodePool `protobuf:"bytes,12,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
- // The list of Google Compute Engine
- // [locations](/compute/docs/zones#available) in which the cluster's nodes
- // should be located.
- Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
- // Kubernetes alpha features are enabled on this cluster. This includes alpha
- // API groups (e.g. v1alpha1) and features that may not be production ready in
- // the kubernetes version of the master and nodes.
- // The cluster has no SLA for uptime and master/node upgrades are disabled.
- // Alpha enabled clusters are automatically deleted thirty days after
- // creation.
- EnableKubernetesAlpha bool `protobuf:"varint,14,opt,name=enable_kubernetes_alpha,json=enableKubernetesAlpha,proto3" json:"enable_kubernetes_alpha,omitempty"`
- // The resource labels for the cluster to use to annotate any related
- // Google Compute Engine resources.
- ResourceLabels map[string]string `protobuf:"bytes,15,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // The fingerprint of the set of labels for this cluster.
- LabelFingerprint string `protobuf:"bytes,16,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
- // Configuration for the legacy ABAC authorization mode.
- LegacyAbac *LegacyAbac `protobuf:"bytes,18,opt,name=legacy_abac,json=legacyAbac,proto3" json:"legacy_abac,omitempty"`
- // Configuration options for the NetworkPolicy feature.
- NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
- // Configuration for cluster IP allocation.
- IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"`
- // The configuration options for master authorized networks feature.
- MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,22,opt,name=master_authorized_networks_config,json=masterAuthorizedNetworksConfig,proto3" json:"master_authorized_networks_config,omitempty"`
- // Configure the maintenance policy for this cluster.
- MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,23,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
- // Configuration for cluster networking.
- NetworkConfig *NetworkConfig `protobuf:"bytes,27,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
- // Configuration for private cluster.
- PrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,37,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"`
- // [Output only] Server-defined URL for the resource.
- SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
- // [Output only] The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field is deprecated, use location instead.
- Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // [Output only] The IP address of this cluster's master endpoint.
- // The endpoint can be accessed from the internet at
- // `https://username:password@endpoint/`.
- //
- // See the `masterAuth` property of this resource for username and
- // password information.
- Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
- // The initial Kubernetes version for this cluster. Valid versions are those
- // found in validMasterVersions returned by getServerConfig. The version can
- // be upgraded over time; such upgrades are reflected in
- // currentMasterVersion and currentNodeVersion.
- //
- // Users may specify either explicit versions offered by
- // Kubernetes Engine or version aliases, which have the following behavior:
- //
- // - "latest": picks the highest valid Kubernetes version
- // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- // - "1.X.Y-gke.N": picks an explicit Kubernetes version
- // - "","-": picks the default Kubernetes version
- InitialClusterVersion string `protobuf:"bytes,103,opt,name=initial_cluster_version,json=initialClusterVersion,proto3" json:"initial_cluster_version,omitempty"`
- // [Output only] The current software version of the master endpoint.
- CurrentMasterVersion string `protobuf:"bytes,104,opt,name=current_master_version,json=currentMasterVersion,proto3" json:"current_master_version,omitempty"`
- // [Output only] Deprecated, use
- // [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool)
- // instead. The current version of the node software components. If they are
- // currently at multiple versions because they're in the process of being
- // upgraded, this reflects the minimum version of all nodes.
- CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"` // Deprecated: Do not use.
- // [Output only] The time the cluster was created, in
- // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
- CreateTime string `protobuf:"bytes,106,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
- // [Output only] The current status of this cluster.
- Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1.Cluster_Status" json:"status,omitempty"`
- // [Output only] Additional information about the current status of this
- // cluster, if available.
- StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
- // [Output only] The size of the address space on each node for hosting
- // containers. This is provisioned from within the `container_ipv4_cidr`
- // range.
- NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"`
- // [Output only] The IP address range of the Kubernetes services in
- // this cluster, in
- // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- // notation (e.g. `1.2.3.4/29`). Service addresses are
- // typically put in the last `/16` from the container CIDR.
- ServicesIpv4Cidr string `protobuf:"bytes,110,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"`
- // Deprecated. Use node_pools.instance_group_urls.
- InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` // Deprecated: Do not use.
- // [Output only] The number of nodes currently in the cluster.
- CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"`
- // [Output only] The time the cluster will be automatically
- // deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
- ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
- // [Output only] The name of the Google Compute Engine
- // [zone](/compute/docs/regions-zones/regions-zones#available) or
- // [region](/compute/docs/regions-zones/regions-zones#available) in which
- // the cluster resides.
- Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Cluster) Reset() { *m = Cluster{} }
-func (m *Cluster) String() string { return proto.CompactTextString(m) }
-func (*Cluster) ProtoMessage() {}
-func (*Cluster) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{13}
-}
-
-func (m *Cluster) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Cluster.Unmarshal(m, b)
-}
-func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Cluster.Marshal(b, m, deterministic)
-}
-func (m *Cluster) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Cluster.Merge(m, src)
-}
-func (m *Cluster) XXX_Size() int {
- return xxx_messageInfo_Cluster.Size(m)
-}
-func (m *Cluster) XXX_DiscardUnknown() {
- xxx_messageInfo_Cluster.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Cluster proto.InternalMessageInfo
-
-func (m *Cluster) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *Cluster) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
-}
-
-func (m *Cluster) GetInitialNodeCount() int32 {
- if m != nil {
- return m.InitialNodeCount
- }
- return 0
-}
-
-func (m *Cluster) GetNodeConfig() *NodeConfig {
- if m != nil {
- return m.NodeConfig
- }
- return nil
-}
-
-func (m *Cluster) GetMasterAuth() *MasterAuth {
- if m != nil {
- return m.MasterAuth
- }
- return nil
-}
-
-func (m *Cluster) GetLoggingService() string {
- if m != nil {
- return m.LoggingService
- }
- return ""
-}
-
-func (m *Cluster) GetMonitoringService() string {
- if m != nil {
- return m.MonitoringService
- }
- return ""
-}
-
-func (m *Cluster) GetNetwork() string {
- if m != nil {
- return m.Network
- }
- return ""
-}
-
-func (m *Cluster) GetClusterIpv4Cidr() string {
- if m != nil {
- return m.ClusterIpv4Cidr
- }
- return ""
-}
-
-func (m *Cluster) GetAddonsConfig() *AddonsConfig {
- if m != nil {
- return m.AddonsConfig
- }
- return nil
-}
-
-func (m *Cluster) GetSubnetwork() string {
- if m != nil {
- return m.Subnetwork
- }
- return ""
-}
-
-func (m *Cluster) GetNodePools() []*NodePool {
- if m != nil {
- return m.NodePools
- }
- return nil
-}
-
-func (m *Cluster) GetLocations() []string {
- if m != nil {
- return m.Locations
- }
- return nil
-}
-
-func (m *Cluster) GetEnableKubernetesAlpha() bool {
- if m != nil {
- return m.EnableKubernetesAlpha
- }
- return false
-}
-
-func (m *Cluster) GetResourceLabels() map[string]string {
- if m != nil {
- return m.ResourceLabels
- }
- return nil
-}
-
-func (m *Cluster) GetLabelFingerprint() string {
- if m != nil {
- return m.LabelFingerprint
- }
- return ""
-}
-
-func (m *Cluster) GetLegacyAbac() *LegacyAbac {
- if m != nil {
- return m.LegacyAbac
- }
- return nil
-}
-
-func (m *Cluster) GetNetworkPolicy() *NetworkPolicy {
- if m != nil {
- return m.NetworkPolicy
- }
- return nil
-}
-
-func (m *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy {
- if m != nil {
- return m.IpAllocationPolicy
- }
- return nil
-}
-
-func (m *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig {
- if m != nil {
- return m.MasterAuthorizedNetworksConfig
- }
- return nil
-}
-
-func (m *Cluster) GetMaintenancePolicy() *MaintenancePolicy {
- if m != nil {
- return m.MaintenancePolicy
- }
- return nil
-}
-
-func (m *Cluster) GetNetworkConfig() *NetworkConfig {
- if m != nil {
- return m.NetworkConfig
- }
- return nil
-}
-
-func (m *Cluster) GetPrivateClusterConfig() *PrivateClusterConfig {
- if m != nil {
- return m.PrivateClusterConfig
- }
- return nil
-}
-
-func (m *Cluster) GetSelfLink() string {
- if m != nil {
- return m.SelfLink
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *Cluster) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-func (m *Cluster) GetEndpoint() string {
- if m != nil {
- return m.Endpoint
- }
- return ""
-}
-
-func (m *Cluster) GetInitialClusterVersion() string {
- if m != nil {
- return m.InitialClusterVersion
- }
- return ""
-}
-
-func (m *Cluster) GetCurrentMasterVersion() string {
- if m != nil {
- return m.CurrentMasterVersion
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *Cluster) GetCurrentNodeVersion() string {
- if m != nil {
- return m.CurrentNodeVersion
- }
- return ""
-}
-
-func (m *Cluster) GetCreateTime() string {
- if m != nil {
- return m.CreateTime
- }
- return ""
-}
-
-func (m *Cluster) GetStatus() Cluster_Status {
- if m != nil {
- return m.Status
- }
- return Cluster_STATUS_UNSPECIFIED
-}
-
-func (m *Cluster) GetStatusMessage() string {
- if m != nil {
- return m.StatusMessage
- }
- return ""
-}
-
-func (m *Cluster) GetNodeIpv4CidrSize() int32 {
- if m != nil {
- return m.NodeIpv4CidrSize
- }
- return 0
-}
-
-func (m *Cluster) GetServicesIpv4Cidr() string {
- if m != nil {
- return m.ServicesIpv4Cidr
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *Cluster) GetInstanceGroupUrls() []string {
- if m != nil {
- return m.InstanceGroupUrls
- }
- return nil
-}
-
-func (m *Cluster) GetCurrentNodeCount() int32 {
- if m != nil {
- return m.CurrentNodeCount
- }
- return 0
-}
-
-func (m *Cluster) GetExpireTime() string {
- if m != nil {
- return m.ExpireTime
- }
- return ""
-}
-
-func (m *Cluster) GetLocation() string {
- if m != nil {
- return m.Location
- }
- return ""
-}
-
-// ClusterUpdate describes an update to the cluster. Exactly one update can
-// be applied to a cluster with each request, so at most one field can be
-// provided.
-type ClusterUpdate struct {
- // The Kubernetes version to change the nodes to (typically an
- // upgrade).
- //
- // Users may specify either explicit versions offered by
- // Kubernetes Engine or version aliases, which have the following behavior:
- //
- // - "latest": picks the highest valid Kubernetes version
- // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- // - "1.X.Y-gke.N": picks an explicit Kubernetes version
- // - "-": picks the Kubernetes master version
- DesiredNodeVersion string `protobuf:"bytes,4,opt,name=desired_node_version,json=desiredNodeVersion,proto3" json:"desired_node_version,omitempty"`
- // The monitoring service the cluster should use to write metrics.
- // Currently available options:
- //
- // * "monitoring.googleapis.com" - the Google Cloud Monitoring service
- // * "none" - no metrics will be exported from the cluster
- DesiredMonitoringService string `protobuf:"bytes,5,opt,name=desired_monitoring_service,json=desiredMonitoringService,proto3" json:"desired_monitoring_service,omitempty"`
- // Configurations for the various addons available to run in the cluster.
- DesiredAddonsConfig *AddonsConfig `protobuf:"bytes,6,opt,name=desired_addons_config,json=desiredAddonsConfig,proto3" json:"desired_addons_config,omitempty"`
- // The node pool to be upgraded. This field is mandatory if
- // "desired_node_version", "desired_image_family" or
- // "desired_node_pool_autoscaling" is specified and there is more than one
- // node pool on the cluster.
- DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"`
- // The desired image type for the node pool.
- // NOTE: Set the "desired_node_pool" field as well.
- DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"`
- // Autoscaler configuration for the node pool specified in
- // desired_node_pool_id. If there is only one pool in the
- // cluster and desired_node_pool_id is not provided then
- // the change applies to that single node pool.
- DesiredNodePoolAutoscaling *NodePoolAutoscaling `protobuf:"bytes,9,opt,name=desired_node_pool_autoscaling,json=desiredNodePoolAutoscaling,proto3" json:"desired_node_pool_autoscaling,omitempty"`
- // The desired list of Google Compute Engine
- // [locations](/compute/docs/zones#available) in which the cluster's nodes
- // should be located. Changing the locations a cluster is in will result
- // in nodes being either created or removed from the cluster, depending on
- // whether locations are being added or removed.
- //
- // This list must always include the cluster's primary zone.
- DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"`
- // The desired configuration options for master authorized networks feature.
- DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,12,opt,name=desired_master_authorized_networks_config,json=desiredMasterAuthorizedNetworksConfig,proto3" json:"desired_master_authorized_networks_config,omitempty"`
- // The Kubernetes version to change the master to.
- //
- // Users may specify either explicit versions offered by
- // Kubernetes Engine or version aliases, which have the following behavior:
- //
- // - "latest": picks the highest valid Kubernetes version
- // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- // - "1.X.Y-gke.N": picks an explicit Kubernetes version
- // - "-": picks the default Kubernetes version
- DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion,proto3" json:"desired_master_version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ClusterUpdate) Reset() { *m = ClusterUpdate{} }
-func (m *ClusterUpdate) String() string { return proto.CompactTextString(m) }
-func (*ClusterUpdate) ProtoMessage() {}
-func (*ClusterUpdate) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{14}
-}
-
-func (m *ClusterUpdate) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClusterUpdate.Unmarshal(m, b)
-}
-func (m *ClusterUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClusterUpdate.Marshal(b, m, deterministic)
-}
-func (m *ClusterUpdate) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClusterUpdate.Merge(m, src)
-}
-func (m *ClusterUpdate) XXX_Size() int {
- return xxx_messageInfo_ClusterUpdate.Size(m)
-}
-func (m *ClusterUpdate) XXX_DiscardUnknown() {
- xxx_messageInfo_ClusterUpdate.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ClusterUpdate proto.InternalMessageInfo
-
-func (m *ClusterUpdate) GetDesiredNodeVersion() string {
- if m != nil {
- return m.DesiredNodeVersion
- }
- return ""
-}
-
-func (m *ClusterUpdate) GetDesiredMonitoringService() string {
- if m != nil {
- return m.DesiredMonitoringService
- }
- return ""
-}
-
-func (m *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig {
- if m != nil {
- return m.DesiredAddonsConfig
- }
- return nil
-}
-
-func (m *ClusterUpdate) GetDesiredNodePoolId() string {
- if m != nil {
- return m.DesiredNodePoolId
- }
- return ""
-}
-
-func (m *ClusterUpdate) GetDesiredImageType() string {
- if m != nil {
- return m.DesiredImageType
- }
- return ""
-}
-
-func (m *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling {
- if m != nil {
- return m.DesiredNodePoolAutoscaling
- }
- return nil
-}
-
-func (m *ClusterUpdate) GetDesiredLocations() []string {
- if m != nil {
- return m.DesiredLocations
- }
- return nil
-}
-
-func (m *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig {
- if m != nil {
- return m.DesiredMasterAuthorizedNetworksConfig
- }
- return nil
-}
-
-func (m *ClusterUpdate) GetDesiredMasterVersion() string {
- if m != nil {
- return m.DesiredMasterVersion
- }
- return ""
-}
-
-// This operation resource represents operations that may have happened or are
-// happening on the cluster. All fields are output only.
-type Operation struct {
- // The server-assigned ID for the operation.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the operation
- // is taking place.
- // This field is deprecated, use location instead.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // The operation type.
- OperationType Operation_Type `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.container.v1.Operation_Type" json:"operation_type,omitempty"`
- // The current status of the operation.
- Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1.Operation_Status" json:"status,omitempty"`
- // Detailed operation progress, if available.
- Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"`
- // If an error has occurred, a textual description of the error.
- StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
- // Server-defined URL for the resource.
- SelfLink string `protobuf:"bytes,6,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
- // Server-defined URL for the target of the operation.
- TargetLink string `protobuf:"bytes,7,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"`
- // [Output only] The name of the Google Compute Engine
- // [zone](/compute/docs/regions-zones/regions-zones#available) or
- // [region](/compute/docs/regions-zones/regions-zones#available) in which
- // the cluster resides.
- Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
- // [Output only] The time the operation started, in
- // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
- StartTime string `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // [Output only] The time the operation completed, in
- // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
- EndTime string `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Operation) Reset() { *m = Operation{} }
-func (m *Operation) String() string { return proto.CompactTextString(m) }
-func (*Operation) ProtoMessage() {}
-func (*Operation) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{15}
-}
-
-func (m *Operation) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Operation.Unmarshal(m, b)
-}
-func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Operation.Marshal(b, m, deterministic)
-}
-func (m *Operation) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Operation.Merge(m, src)
-}
-func (m *Operation) XXX_Size() int {
- return xxx_messageInfo_Operation.Size(m)
-}
-func (m *Operation) XXX_DiscardUnknown() {
- xxx_messageInfo_Operation.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Operation proto.InternalMessageInfo
-
-func (m *Operation) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *Operation) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-func (m *Operation) GetOperationType() Operation_Type {
- if m != nil {
- return m.OperationType
- }
- return Operation_TYPE_UNSPECIFIED
-}
-
-func (m *Operation) GetStatus() Operation_Status {
- if m != nil {
- return m.Status
- }
- return Operation_STATUS_UNSPECIFIED
-}
-
-func (m *Operation) GetDetail() string {
- if m != nil {
- return m.Detail
- }
- return ""
-}
-
-func (m *Operation) GetStatusMessage() string {
- if m != nil {
- return m.StatusMessage
- }
- return ""
-}
-
-func (m *Operation) GetSelfLink() string {
- if m != nil {
- return m.SelfLink
- }
- return ""
-}
-
-func (m *Operation) GetTargetLink() string {
- if m != nil {
- return m.TargetLink
- }
- return ""
-}
-
-func (m *Operation) GetLocation() string {
- if m != nil {
- return m.Location
- }
- return ""
-}
-
-func (m *Operation) GetStartTime() string {
- if m != nil {
- return m.StartTime
- }
- return ""
-}
-
-func (m *Operation) GetEndTime() string {
- if m != nil {
- return m.EndTime
- }
- return ""
-}
-
-// CreateClusterRequest creates a cluster.
-type CreateClusterRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the parent field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the parent field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // A [cluster
- // resource](/container-engine/reference/rest/v1/projects.zones.clusters)
- Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
- // The parent (project and location) where the cluster will be created.
- // Specified in the format 'projects/*/locations/*'.
- Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} }
-func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateClusterRequest) ProtoMessage() {}
-func (*CreateClusterRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{16}
-}
-
-func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b)
-}
-func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateClusterRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateClusterRequest.Merge(m, src)
-}
-func (m *CreateClusterRequest) XXX_Size() int {
- return xxx_messageInfo_CreateClusterRequest.Size(m)
-}
-func (m *CreateClusterRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *CreateClusterRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *CreateClusterRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-func (m *CreateClusterRequest) GetCluster() *Cluster {
- if m != nil {
- return m.Cluster
- }
- return nil
-}
-
-func (m *CreateClusterRequest) GetParent() string {
- if m != nil {
- return m.Parent
- }
- return ""
-}
-
-// GetClusterRequest gets the settings of a cluster.
-type GetClusterRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to retrieve.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, cluster) of the cluster to retrieve.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} }
-func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) }
-func (*GetClusterRequest) ProtoMessage() {}
-func (*GetClusterRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{17}
-}
-
-func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b)
-}
-func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic)
-}
-func (m *GetClusterRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetClusterRequest.Merge(m, src)
-}
-func (m *GetClusterRequest) XXX_Size() int {
- return xxx_messageInfo_GetClusterRequest.Size(m)
-}
-func (m *GetClusterRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetClusterRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *GetClusterRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetClusterRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetClusterRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *GetClusterRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// UpdateClusterRequest updates the settings of a cluster.
-type UpdateClusterRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // A description of the update.
- Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update,proto3" json:"update,omitempty"`
- // The name (project, location, cluster) of the cluster to update.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} }
-func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) }
-func (*UpdateClusterRequest) ProtoMessage() {}
-func (*UpdateClusterRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{18}
-}
-
-func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b)
-}
-func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic)
-}
-func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateClusterRequest.Merge(m, src)
-}
-func (m *UpdateClusterRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateClusterRequest.Size(m)
-}
-func (m *UpdateClusterRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *UpdateClusterRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *UpdateClusterRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *UpdateClusterRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *UpdateClusterRequest) GetUpdate() *ClusterUpdate {
- if m != nil {
- return m.Update
- }
- return nil
-}
-
-func (m *UpdateClusterRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// UpdateNodePoolRequests update a node pool's image and/or version.
-type UpdateNodePoolRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the node pool to upgrade.
- // This field has been deprecated and replaced by the name field.
- NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use.
- // The Kubernetes version to change the nodes to (typically an
- // upgrade).
- //
- // Users may specify either explicit versions offered by Kubernetes Engine or
- // version aliases, which have the following behavior:
- //
- // - "latest": picks the highest valid Kubernetes version
- // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- // - "1.X.Y-gke.N": picks an explicit Kubernetes version
- // - "-": picks the Kubernetes master version
- NodeVersion string `protobuf:"bytes,5,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
- // The desired image type for the node pool.
- ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
- // The name (project, location, cluster, node pool) of the node pool to
- // update. Specified in the format
- // 'projects/*/locations/*/clusters/*/nodePools/*'.
- Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UpdateNodePoolRequest) Reset() { *m = UpdateNodePoolRequest{} }
-func (m *UpdateNodePoolRequest) String() string { return proto.CompactTextString(m) }
-func (*UpdateNodePoolRequest) ProtoMessage() {}
-func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{19}
-}
-
-func (m *UpdateNodePoolRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateNodePoolRequest.Unmarshal(m, b)
-}
-func (m *UpdateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateNodePoolRequest.Marshal(b, m, deterministic)
-}
-func (m *UpdateNodePoolRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateNodePoolRequest.Merge(m, src)
-}
-func (m *UpdateNodePoolRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateNodePoolRequest.Size(m)
-}
-func (m *UpdateNodePoolRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateNodePoolRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UpdateNodePoolRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *UpdateNodePoolRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *UpdateNodePoolRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *UpdateNodePoolRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *UpdateNodePoolRequest) GetNodePoolId() string {
- if m != nil {
- return m.NodePoolId
- }
- return ""
-}
-
-func (m *UpdateNodePoolRequest) GetNodeVersion() string {
- if m != nil {
- return m.NodeVersion
- }
- return ""
-}
-
-func (m *UpdateNodePoolRequest) GetImageType() string {
- if m != nil {
- return m.ImageType
- }
- return ""
-}
-
-func (m *UpdateNodePoolRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
-type SetNodePoolAutoscalingRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the node pool to upgrade.
- // This field has been deprecated and replaced by the name field.
- NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use.
- // Autoscaling configuration for the node pool.
- Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
- // The name (project, location, cluster, node pool) of the node pool to set
- // autoscaler settings. Specified in the format
- // 'projects/*/locations/*/clusters/*/nodePools/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetNodePoolAutoscalingRequest) Reset() { *m = SetNodePoolAutoscalingRequest{} }
-func (m *SetNodePoolAutoscalingRequest) String() string { return proto.CompactTextString(m) }
-func (*SetNodePoolAutoscalingRequest) ProtoMessage() {}
-func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{20}
-}
-
-func (m *SetNodePoolAutoscalingRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetNodePoolAutoscalingRequest.Unmarshal(m, b)
-}
-func (m *SetNodePoolAutoscalingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetNodePoolAutoscalingRequest.Marshal(b, m, deterministic)
-}
-func (m *SetNodePoolAutoscalingRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetNodePoolAutoscalingRequest.Merge(m, src)
-}
-func (m *SetNodePoolAutoscalingRequest) XXX_Size() int {
- return xxx_messageInfo_SetNodePoolAutoscalingRequest.Size(m)
-}
-func (m *SetNodePoolAutoscalingRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetNodePoolAutoscalingRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetNodePoolAutoscalingRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetNodePoolAutoscalingRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolAutoscalingRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolAutoscalingRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolAutoscalingRequest) GetNodePoolId() string {
- if m != nil {
- return m.NodePoolId
- }
- return ""
-}
-
-func (m *SetNodePoolAutoscalingRequest) GetAutoscaling() *NodePoolAutoscaling {
- if m != nil {
- return m.Autoscaling
- }
- return nil
-}
-
-func (m *SetNodePoolAutoscalingRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetLoggingServiceRequest sets the logging service of a cluster.
-type SetLoggingServiceRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The logging service the cluster should use to write metrics.
- // Currently available options:
- //
- // * "logging.googleapis.com" - the Google Cloud Logging service
- // * "none" - no metrics will be exported from the cluster
- LoggingService string `protobuf:"bytes,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
- // The name (project, location, cluster) of the cluster to set logging.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetLoggingServiceRequest) Reset() { *m = SetLoggingServiceRequest{} }
-func (m *SetLoggingServiceRequest) String() string { return proto.CompactTextString(m) }
-func (*SetLoggingServiceRequest) ProtoMessage() {}
-func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{21}
-}
-
-func (m *SetLoggingServiceRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetLoggingServiceRequest.Unmarshal(m, b)
-}
-func (m *SetLoggingServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetLoggingServiceRequest.Marshal(b, m, deterministic)
-}
-func (m *SetLoggingServiceRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetLoggingServiceRequest.Merge(m, src)
-}
-func (m *SetLoggingServiceRequest) XXX_Size() int {
- return xxx_messageInfo_SetLoggingServiceRequest.Size(m)
-}
-func (m *SetLoggingServiceRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetLoggingServiceRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetLoggingServiceRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetLoggingServiceRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-func (m *SetLoggingServiceRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetLoggingServiceRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetLoggingServiceRequest) GetLoggingService() string {
- if m != nil {
- return m.LoggingService
- }
- return ""
-}
-
-func (m *SetLoggingServiceRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetMonitoringServiceRequest sets the monitoring service of a cluster.
-type SetMonitoringServiceRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The monitoring service the cluster should use to write metrics.
- // Currently available options:
- //
- // * "monitoring.googleapis.com" - the Google Cloud Monitoring service
- // * "none" - no metrics will be exported from the cluster
- MonitoringService string `protobuf:"bytes,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
- // The name (project, location, cluster) of the cluster to set monitoring.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetMonitoringServiceRequest) Reset() { *m = SetMonitoringServiceRequest{} }
-func (m *SetMonitoringServiceRequest) String() string { return proto.CompactTextString(m) }
-func (*SetMonitoringServiceRequest) ProtoMessage() {}
-func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{22}
-}
-
-func (m *SetMonitoringServiceRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetMonitoringServiceRequest.Unmarshal(m, b)
-}
-func (m *SetMonitoringServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetMonitoringServiceRequest.Marshal(b, m, deterministic)
-}
-func (m *SetMonitoringServiceRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetMonitoringServiceRequest.Merge(m, src)
-}
-func (m *SetMonitoringServiceRequest) XXX_Size() int {
- return xxx_messageInfo_SetMonitoringServiceRequest.Size(m)
-}
-func (m *SetMonitoringServiceRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetMonitoringServiceRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetMonitoringServiceRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetMonitoringServiceRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetMonitoringServiceRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetMonitoringServiceRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetMonitoringServiceRequest) GetMonitoringService() string {
- if m != nil {
- return m.MonitoringService
- }
- return ""
-}
-
-func (m *SetMonitoringServiceRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetAddonsConfigRequest sets the addons associated with the cluster.
-type SetAddonsConfigRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The desired configurations for the various addons available to run in the
- // cluster.
- AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
- // The name (project, location, cluster) of the cluster to set addons.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetAddonsConfigRequest) Reset() { *m = SetAddonsConfigRequest{} }
-func (m *SetAddonsConfigRequest) String() string { return proto.CompactTextString(m) }
-func (*SetAddonsConfigRequest) ProtoMessage() {}
-func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{23}
-}
-
-func (m *SetAddonsConfigRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetAddonsConfigRequest.Unmarshal(m, b)
-}
-func (m *SetAddonsConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetAddonsConfigRequest.Marshal(b, m, deterministic)
-}
-func (m *SetAddonsConfigRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetAddonsConfigRequest.Merge(m, src)
-}
-func (m *SetAddonsConfigRequest) XXX_Size() int {
- return xxx_messageInfo_SetAddonsConfigRequest.Size(m)
-}
-func (m *SetAddonsConfigRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetAddonsConfigRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetAddonsConfigRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetAddonsConfigRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetAddonsConfigRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetAddonsConfigRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig {
- if m != nil {
- return m.AddonsConfig
- }
- return nil
-}
-
-func (m *SetAddonsConfigRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetLocationsRequest sets the locations of the cluster.
-type SetLocationsRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The desired list of Google Compute Engine
- // [locations](/compute/docs/zones#available) in which the cluster's nodes
- // should be located. Changing the locations a cluster is in will result
- // in nodes being either created or removed from the cluster, depending on
- // whether locations are being added or removed.
- //
- // This list must always include the cluster's primary zone.
- Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"`
- // The name (project, location, cluster) of the cluster to set locations.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetLocationsRequest) Reset() { *m = SetLocationsRequest{} }
-func (m *SetLocationsRequest) String() string { return proto.CompactTextString(m) }
-func (*SetLocationsRequest) ProtoMessage() {}
-func (*SetLocationsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{24}
-}
-
-func (m *SetLocationsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetLocationsRequest.Unmarshal(m, b)
-}
-func (m *SetLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetLocationsRequest.Marshal(b, m, deterministic)
-}
-func (m *SetLocationsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetLocationsRequest.Merge(m, src)
-}
-func (m *SetLocationsRequest) XXX_Size() int {
- return xxx_messageInfo_SetLocationsRequest.Size(m)
-}
-func (m *SetLocationsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetLocationsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetLocationsRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetLocationsRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetLocationsRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetLocationsRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetLocationsRequest) GetLocations() []string {
- if m != nil {
- return m.Locations
- }
- return nil
-}
-
-func (m *SetLocationsRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// UpdateMasterRequest updates the master of the cluster.
-type UpdateMasterRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The Kubernetes version to change the master to.
- //
- // Users may specify either explicit versions offered by Kubernetes Engine or
- // version aliases, which have the following behavior:
- //
- // - "latest": picks the highest valid Kubernetes version
- // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- // - "1.X.Y-gke.N": picks an explicit Kubernetes version
- // - "-": picks the default Kubernetes version
- MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"`
- // The name (project, location, cluster) of the cluster to update.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UpdateMasterRequest) Reset() { *m = UpdateMasterRequest{} }
-func (m *UpdateMasterRequest) String() string { return proto.CompactTextString(m) }
-func (*UpdateMasterRequest) ProtoMessage() {}
-func (*UpdateMasterRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{25}
-}
-
-func (m *UpdateMasterRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateMasterRequest.Unmarshal(m, b)
-}
-func (m *UpdateMasterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateMasterRequest.Marshal(b, m, deterministic)
-}
-func (m *UpdateMasterRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateMasterRequest.Merge(m, src)
-}
-func (m *UpdateMasterRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateMasterRequest.Size(m)
-}
-func (m *UpdateMasterRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateMasterRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UpdateMasterRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *UpdateMasterRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *UpdateMasterRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *UpdateMasterRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *UpdateMasterRequest) GetMasterVersion() string {
- if m != nil {
- return m.MasterVersion
- }
- return ""
-}
-
-func (m *UpdateMasterRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetMasterAuthRequest updates the admin password of a cluster.
-type SetMasterAuthRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to upgrade.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The exact form of action to be taken on the master auth.
- Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1.SetMasterAuthRequest_Action" json:"action,omitempty"`
- // A description of the update.
- Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"`
- // The name (project, location, cluster) of the cluster to set auth.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} }
-func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) }
-func (*SetMasterAuthRequest) ProtoMessage() {}
-func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{26}
-}
-
-func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b)
-}
-func (m *SetMasterAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetMasterAuthRequest.Marshal(b, m, deterministic)
-}
-func (m *SetMasterAuthRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetMasterAuthRequest.Merge(m, src)
-}
-func (m *SetMasterAuthRequest) XXX_Size() int {
- return xxx_messageInfo_SetMasterAuthRequest.Size(m)
-}
-func (m *SetMasterAuthRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetMasterAuthRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetMasterAuthRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetMasterAuthRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetMasterAuthRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetMasterAuthRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action {
- if m != nil {
- return m.Action
- }
- return SetMasterAuthRequest_UNKNOWN
-}
-
-func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth {
- if m != nil {
- return m.Update
- }
- return nil
-}
-
-func (m *SetMasterAuthRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// DeleteClusterRequest deletes a cluster.
-type DeleteClusterRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to delete.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, cluster) of the cluster to delete.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} }
-func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteClusterRequest) ProtoMessage() {}
-func (*DeleteClusterRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{27}
-}
-
-func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b)
-}
-func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic)
-}
-func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteClusterRequest.Merge(m, src)
-}
-func (m *DeleteClusterRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteClusterRequest.Size(m)
-}
-func (m *DeleteClusterRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *DeleteClusterRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *DeleteClusterRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *DeleteClusterRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *DeleteClusterRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// ListClustersRequest lists clusters.
-type ListClustersRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the parent field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides, or "-" for all zones.
- // This field has been deprecated and replaced by the parent field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // The parent (project and location) where the clusters will be listed.
- // Specified in the format 'projects/*/locations/*'.
- // Location "-" matches all zones and all regions.
- Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} }
-func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) }
-func (*ListClustersRequest) ProtoMessage() {}
-func (*ListClustersRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{28}
-}
-
-func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b)
-}
-func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic)
-}
-func (m *ListClustersRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListClustersRequest.Merge(m, src)
-}
-func (m *ListClustersRequest) XXX_Size() int {
- return xxx_messageInfo_ListClustersRequest.Size(m)
-}
-func (m *ListClustersRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListClustersRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *ListClustersRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *ListClustersRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-func (m *ListClustersRequest) GetParent() string {
- if m != nil {
- return m.Parent
- }
- return ""
-}
-
-// ListClustersResponse is the result of ListClustersRequest.
-type ListClustersResponse struct {
- // A list of clusters in the project in the specified zone, or
- // across all ones.
- Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
- // If any zones are listed here, the list of clusters returned
- // may be missing those zones.
- MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} }
-func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) }
-func (*ListClustersResponse) ProtoMessage() {}
-func (*ListClustersResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{29}
-}
-
-func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b)
-}
-func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic)
-}
-func (m *ListClustersResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListClustersResponse.Merge(m, src)
-}
-func (m *ListClustersResponse) XXX_Size() int {
- return xxx_messageInfo_ListClustersResponse.Size(m)
-}
-func (m *ListClustersResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListClustersResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo
-
-func (m *ListClustersResponse) GetClusters() []*Cluster {
- if m != nil {
- return m.Clusters
- }
- return nil
-}
-
-func (m *ListClustersResponse) GetMissingZones() []string {
- if m != nil {
- return m.MissingZones
- }
- return nil
-}
-
-// GetOperationRequest gets a single operation.
-type GetOperationRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The server-assigned `name` of the operation.
- // This field has been deprecated and replaced by the name field.
- OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, operation id) of the operation to get.
- // Specified in the format 'projects/*/locations/*/operations/*'.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetOperationRequest) Reset() { *m = GetOperationRequest{} }
-func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) }
-func (*GetOperationRequest) ProtoMessage() {}
-func (*GetOperationRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{30}
-}
-
-func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b)
-}
-func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic)
-}
-func (m *GetOperationRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetOperationRequest.Merge(m, src)
-}
-func (m *GetOperationRequest) XXX_Size() int {
- return xxx_messageInfo_GetOperationRequest.Size(m)
-}
-func (m *GetOperationRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetOperationRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *GetOperationRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetOperationRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetOperationRequest) GetOperationId() string {
- if m != nil {
- return m.OperationId
- }
- return ""
-}
-
-func (m *GetOperationRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// ListOperationsRequest lists operations.
-type ListOperationsRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the parent field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) to return operations for, or `-` for
- // all zones. This field has been deprecated and replaced by the parent field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // The parent (project and location) where the operations will be listed.
- // Specified in the format 'projects/*/locations/*'.
- // Location "-" matches all zones and all regions.
- Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} }
-func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListOperationsRequest) ProtoMessage() {}
-func (*ListOperationsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{31}
-}
-
-func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b)
-}
-func (m *ListOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListOperationsRequest.Marshal(b, m, deterministic)
-}
-func (m *ListOperationsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListOperationsRequest.Merge(m, src)
-}
-func (m *ListOperationsRequest) XXX_Size() int {
- return xxx_messageInfo_ListOperationsRequest.Size(m)
-}
-func (m *ListOperationsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListOperationsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *ListOperationsRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *ListOperationsRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-func (m *ListOperationsRequest) GetParent() string {
- if m != nil {
- return m.Parent
- }
- return ""
-}
-
-// CancelOperationRequest cancels a single operation.
-type CancelOperationRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the operation resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The server-assigned `name` of the operation.
- // This field has been deprecated and replaced by the name field.
- OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, operation id) of the operation to cancel.
- // Specified in the format 'projects/*/locations/*/operations/*'.
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} }
-func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) }
-func (*CancelOperationRequest) ProtoMessage() {}
-func (*CancelOperationRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{32}
-}
-
-func (m *CancelOperationRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CancelOperationRequest.Unmarshal(m, b)
-}
-func (m *CancelOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CancelOperationRequest.Marshal(b, m, deterministic)
-}
-func (m *CancelOperationRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CancelOperationRequest.Merge(m, src)
-}
-func (m *CancelOperationRequest) XXX_Size() int {
- return xxx_messageInfo_CancelOperationRequest.Size(m)
-}
-func (m *CancelOperationRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CancelOperationRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CancelOperationRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *CancelOperationRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *CancelOperationRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *CancelOperationRequest) GetOperationId() string {
- if m != nil {
- return m.OperationId
- }
- return ""
-}
-
-func (m *CancelOperationRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// ListOperationsResponse is the result of ListOperationsRequest.
-type ListOperationsResponse struct {
- // A list of operations in the project in the specified zone.
- Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
- // If any zones are listed here, the list of operations returned
- // may be missing the operations from those zones.
- MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListOperationsResponse) Reset() { *m = ListOperationsResponse{} }
-func (m *ListOperationsResponse) String() string { return proto.CompactTextString(m) }
-func (*ListOperationsResponse) ProtoMessage() {}
-func (*ListOperationsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{33}
-}
-
-func (m *ListOperationsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListOperationsResponse.Unmarshal(m, b)
-}
-func (m *ListOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListOperationsResponse.Marshal(b, m, deterministic)
-}
-func (m *ListOperationsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListOperationsResponse.Merge(m, src)
-}
-func (m *ListOperationsResponse) XXX_Size() int {
- return xxx_messageInfo_ListOperationsResponse.Size(m)
-}
-func (m *ListOperationsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListOperationsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListOperationsResponse proto.InternalMessageInfo
-
-func (m *ListOperationsResponse) GetOperations() []*Operation {
- if m != nil {
- return m.Operations
- }
- return nil
-}
-
-func (m *ListOperationsResponse) GetMissingZones() []string {
- if m != nil {
- return m.MissingZones
- }
- return nil
-}
-
-// Gets the current Kubernetes Engine service configuration.
-type GetServerConfigRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) to return operations for.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // The name (project and location) of the server config to get
- // Specified in the format 'projects/*/locations/*'.
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetServerConfigRequest) Reset() { *m = GetServerConfigRequest{} }
-func (m *GetServerConfigRequest) String() string { return proto.CompactTextString(m) }
-func (*GetServerConfigRequest) ProtoMessage() {}
-func (*GetServerConfigRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{34}
-}
-
-func (m *GetServerConfigRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetServerConfigRequest.Unmarshal(m, b)
-}
-func (m *GetServerConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetServerConfigRequest.Marshal(b, m, deterministic)
-}
-func (m *GetServerConfigRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetServerConfigRequest.Merge(m, src)
-}
-func (m *GetServerConfigRequest) XXX_Size() int {
- return xxx_messageInfo_GetServerConfigRequest.Size(m)
-}
-func (m *GetServerConfigRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetServerConfigRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetServerConfigRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *GetServerConfigRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetServerConfigRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-func (m *GetServerConfigRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// Kubernetes Engine service configuration.
-type ServerConfig struct {
- // Version of Kubernetes the service deploys by default.
- DefaultClusterVersion string `protobuf:"bytes,1,opt,name=default_cluster_version,json=defaultClusterVersion,proto3" json:"default_cluster_version,omitempty"`
- // List of valid node upgrade target versions.
- ValidNodeVersions []string `protobuf:"bytes,3,rep,name=valid_node_versions,json=validNodeVersions,proto3" json:"valid_node_versions,omitempty"`
- // Default image type.
- DefaultImageType string `protobuf:"bytes,4,opt,name=default_image_type,json=defaultImageType,proto3" json:"default_image_type,omitempty"`
- // List of valid image types.
- ValidImageTypes []string `protobuf:"bytes,5,rep,name=valid_image_types,json=validImageTypes,proto3" json:"valid_image_types,omitempty"`
- // List of valid master versions.
- ValidMasterVersions []string `protobuf:"bytes,6,rep,name=valid_master_versions,json=validMasterVersions,proto3" json:"valid_master_versions,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ServerConfig) Reset() { *m = ServerConfig{} }
-func (m *ServerConfig) String() string { return proto.CompactTextString(m) }
-func (*ServerConfig) ProtoMessage() {}
-func (*ServerConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{35}
-}
-
-func (m *ServerConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ServerConfig.Unmarshal(m, b)
-}
-func (m *ServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ServerConfig.Marshal(b, m, deterministic)
-}
-func (m *ServerConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ServerConfig.Merge(m, src)
-}
-func (m *ServerConfig) XXX_Size() int {
- return xxx_messageInfo_ServerConfig.Size(m)
-}
-func (m *ServerConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_ServerConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ServerConfig proto.InternalMessageInfo
-
-func (m *ServerConfig) GetDefaultClusterVersion() string {
- if m != nil {
- return m.DefaultClusterVersion
- }
- return ""
-}
-
-func (m *ServerConfig) GetValidNodeVersions() []string {
- if m != nil {
- return m.ValidNodeVersions
- }
- return nil
-}
-
-func (m *ServerConfig) GetDefaultImageType() string {
- if m != nil {
- return m.DefaultImageType
- }
- return ""
-}
-
-func (m *ServerConfig) GetValidImageTypes() []string {
- if m != nil {
- return m.ValidImageTypes
- }
- return nil
-}
-
-func (m *ServerConfig) GetValidMasterVersions() []string {
- if m != nil {
- return m.ValidMasterVersions
- }
- return nil
-}
-
-// CreateNodePoolRequest creates a node pool for a cluster.
-type CreateNodePoolRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the parent field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the parent field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the parent field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The node pool to create.
- NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"`
- // The parent (project, location, cluster id) where the node pool will be
- // created. Specified in the format
- // 'projects/*/locations/*/clusters/*'.
- Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateNodePoolRequest) Reset() { *m = CreateNodePoolRequest{} }
-func (m *CreateNodePoolRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateNodePoolRequest) ProtoMessage() {}
-func (*CreateNodePoolRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{36}
-}
-
-func (m *CreateNodePoolRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateNodePoolRequest.Unmarshal(m, b)
-}
-func (m *CreateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateNodePoolRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateNodePoolRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateNodePoolRequest.Merge(m, src)
-}
-func (m *CreateNodePoolRequest) XXX_Size() int {
- return xxx_messageInfo_CreateNodePoolRequest.Size(m)
-}
-func (m *CreateNodePoolRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateNodePoolRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateNodePoolRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *CreateNodePoolRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *CreateNodePoolRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *CreateNodePoolRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *CreateNodePoolRequest) GetNodePool() *NodePool {
- if m != nil {
- return m.NodePool
- }
- return nil
-}
-
-func (m *CreateNodePoolRequest) GetParent() string {
- if m != nil {
- return m.Parent
- }
- return ""
-}
-
-// DeleteNodePoolRequest deletes a node pool for a cluster.
-type DeleteNodePoolRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the node pool to delete.
- // This field has been deprecated and replaced by the name field.
- NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, cluster, node pool id) of the node pool to
- // delete. Specified in the format
- // 'projects/*/locations/*/clusters/*/nodePools/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *DeleteNodePoolRequest) Reset() { *m = DeleteNodePoolRequest{} }
-func (m *DeleteNodePoolRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteNodePoolRequest) ProtoMessage() {}
-func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{37}
-}
-
-func (m *DeleteNodePoolRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteNodePoolRequest.Unmarshal(m, b)
-}
-func (m *DeleteNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteNodePoolRequest.Marshal(b, m, deterministic)
-}
-func (m *DeleteNodePoolRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteNodePoolRequest.Merge(m, src)
-}
-func (m *DeleteNodePoolRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteNodePoolRequest.Size(m)
-}
-func (m *DeleteNodePoolRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteNodePoolRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteNodePoolRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *DeleteNodePoolRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *DeleteNodePoolRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *DeleteNodePoolRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *DeleteNodePoolRequest) GetNodePoolId() string {
- if m != nil {
- return m.NodePoolId
- }
- return ""
-}
-
-func (m *DeleteNodePoolRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// ListNodePoolsRequest lists the node pool(s) for a cluster.
-type ListNodePoolsRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the parent field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the parent field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the parent field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The parent (project, location, cluster id) where the node pools will be
- // listed. Specified in the format 'projects/*/locations/*/clusters/*'.
- Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListNodePoolsRequest) Reset() { *m = ListNodePoolsRequest{} }
-func (m *ListNodePoolsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListNodePoolsRequest) ProtoMessage() {}
-func (*ListNodePoolsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{38}
-}
-
-func (m *ListNodePoolsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListNodePoolsRequest.Unmarshal(m, b)
-}
-func (m *ListNodePoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListNodePoolsRequest.Marshal(b, m, deterministic)
-}
-func (m *ListNodePoolsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListNodePoolsRequest.Merge(m, src)
-}
-func (m *ListNodePoolsRequest) XXX_Size() int {
- return xxx_messageInfo_ListNodePoolsRequest.Size(m)
-}
-func (m *ListNodePoolsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListNodePoolsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListNodePoolsRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *ListNodePoolsRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *ListNodePoolsRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *ListNodePoolsRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *ListNodePoolsRequest) GetParent() string {
- if m != nil {
- return m.Parent
- }
- return ""
-}
-
-// GetNodePoolRequest retrieves a node pool for a cluster.
-type GetNodePoolRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the node pool.
- // This field has been deprecated and replaced by the name field.
- NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, cluster, node pool id) of the node pool to
- // get. Specified in the format
- // 'projects/*/locations/*/clusters/*/nodePools/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetNodePoolRequest) Reset() { *m = GetNodePoolRequest{} }
-func (m *GetNodePoolRequest) String() string { return proto.CompactTextString(m) }
-func (*GetNodePoolRequest) ProtoMessage() {}
-func (*GetNodePoolRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{39}
-}
-
-func (m *GetNodePoolRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetNodePoolRequest.Unmarshal(m, b)
-}
-func (m *GetNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetNodePoolRequest.Marshal(b, m, deterministic)
-}
-func (m *GetNodePoolRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetNodePoolRequest.Merge(m, src)
-}
-func (m *GetNodePoolRequest) XXX_Size() int {
- return xxx_messageInfo_GetNodePoolRequest.Size(m)
-}
-func (m *GetNodePoolRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetNodePoolRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetNodePoolRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *GetNodePoolRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetNodePoolRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetNodePoolRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *GetNodePoolRequest) GetNodePoolId() string {
- if m != nil {
- return m.NodePoolId
- }
- return ""
-}
-
-func (m *GetNodePoolRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// NodePool contains the name and configuration for a cluster's node pool.
-// Node pools are a set of nodes (i.e. VM's), with a common configuration and
-// specification, under the control of the cluster master. They may have a set
-// of Kubernetes labels applied to them, which may be used to reference them
-// during pod scheduling. They may also be resized up or down, to accommodate
-// the workload.
-type NodePool struct {
- // The name of the node pool.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The node configuration of the pool.
- Config *NodeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
- // The initial node count for the pool. You must ensure that your
- // Compute Engine resource quota
- // is sufficient for this number of instances. You must also have available
- // firewall and routes quota.
- InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"`
- // [Output only] Server-defined URL for the resource.
- SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
- // The version of the Kubernetes of this node.
- Version string `protobuf:"bytes,101,opt,name=version,proto3" json:"version,omitempty"`
- // [Output only] The resource URLs of the [managed instance
- // groups](/compute/docs/instance-groups/creating-groups-of-managed-instances)
- // associated with this node pool.
- InstanceGroupUrls []string `protobuf:"bytes,102,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"`
- // [Output only] The status of the nodes in this pool instance.
- Status NodePool_Status `protobuf:"varint,103,opt,name=status,proto3,enum=google.container.v1.NodePool_Status" json:"status,omitempty"`
- // [Output only] Additional information about the current status of this
- // node pool instance, if available.
- StatusMessage string `protobuf:"bytes,104,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
- // Autoscaler configuration for this NodePool. Autoscaler is enabled
- // only if a valid configuration is present.
- Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
- // NodeManagement configuration for this NodePool.
- Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NodePool) Reset() { *m = NodePool{} }
-func (m *NodePool) String() string { return proto.CompactTextString(m) }
-func (*NodePool) ProtoMessage() {}
-func (*NodePool) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{40}
-}
-
-func (m *NodePool) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NodePool.Unmarshal(m, b)
-}
-func (m *NodePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NodePool.Marshal(b, m, deterministic)
-}
-func (m *NodePool) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NodePool.Merge(m, src)
-}
-func (m *NodePool) XXX_Size() int {
- return xxx_messageInfo_NodePool.Size(m)
-}
-func (m *NodePool) XXX_DiscardUnknown() {
- xxx_messageInfo_NodePool.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NodePool proto.InternalMessageInfo
-
-func (m *NodePool) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *NodePool) GetConfig() *NodeConfig {
- if m != nil {
- return m.Config
- }
- return nil
-}
-
-func (m *NodePool) GetInitialNodeCount() int32 {
- if m != nil {
- return m.InitialNodeCount
- }
- return 0
-}
-
-func (m *NodePool) GetSelfLink() string {
- if m != nil {
- return m.SelfLink
- }
- return ""
-}
-
-func (m *NodePool) GetVersion() string {
- if m != nil {
- return m.Version
- }
- return ""
-}
-
-func (m *NodePool) GetInstanceGroupUrls() []string {
- if m != nil {
- return m.InstanceGroupUrls
- }
- return nil
-}
-
-func (m *NodePool) GetStatus() NodePool_Status {
- if m != nil {
- return m.Status
- }
- return NodePool_STATUS_UNSPECIFIED
-}
-
-func (m *NodePool) GetStatusMessage() string {
- if m != nil {
- return m.StatusMessage
- }
- return ""
-}
-
-func (m *NodePool) GetAutoscaling() *NodePoolAutoscaling {
- if m != nil {
- return m.Autoscaling
- }
- return nil
-}
-
-func (m *NodePool) GetManagement() *NodeManagement {
- if m != nil {
- return m.Management
- }
- return nil
-}
-
-// NodeManagement defines the set of node management services turned on for the
-// node pool.
-type NodeManagement struct {
- // A flag that specifies whether node auto-upgrade is enabled for the node
- // pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
- // up to date with the latest release version of Kubernetes.
- AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"`
- // A flag that specifies whether the node auto-repair is enabled for the node
- // pool. If enabled, the nodes in this node pool will be monitored and, if
- // they fail health checks too many times, an automatic repair action will be
- // triggered.
- AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"`
- // Specifies the Auto Upgrade knobs for the node pool.
- UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions,proto3" json:"upgrade_options,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NodeManagement) Reset() { *m = NodeManagement{} }
-func (m *NodeManagement) String() string { return proto.CompactTextString(m) }
-func (*NodeManagement) ProtoMessage() {}
-func (*NodeManagement) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{41}
-}
-
-func (m *NodeManagement) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NodeManagement.Unmarshal(m, b)
-}
-func (m *NodeManagement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NodeManagement.Marshal(b, m, deterministic)
-}
-func (m *NodeManagement) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NodeManagement.Merge(m, src)
-}
-func (m *NodeManagement) XXX_Size() int {
- return xxx_messageInfo_NodeManagement.Size(m)
-}
-func (m *NodeManagement) XXX_DiscardUnknown() {
- xxx_messageInfo_NodeManagement.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NodeManagement proto.InternalMessageInfo
-
-func (m *NodeManagement) GetAutoUpgrade() bool {
- if m != nil {
- return m.AutoUpgrade
- }
- return false
-}
-
-func (m *NodeManagement) GetAutoRepair() bool {
- if m != nil {
- return m.AutoRepair
- }
- return false
-}
-
-func (m *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions {
- if m != nil {
- return m.UpgradeOptions
- }
- return nil
-}
-
-// AutoUpgradeOptions defines the set of options for the user to control how
-// the Auto Upgrades will proceed.
-type AutoUpgradeOptions struct {
- // [Output only] This field is set when upgrades are about to commence
- // with the approximate start time for the upgrades, in
- // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
- AutoUpgradeStartTime string `protobuf:"bytes,1,opt,name=auto_upgrade_start_time,json=autoUpgradeStartTime,proto3" json:"auto_upgrade_start_time,omitempty"`
- // [Output only] This field is set when upgrades are about to commence
- // with the description of the upgrade.
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AutoUpgradeOptions) Reset() { *m = AutoUpgradeOptions{} }
-func (m *AutoUpgradeOptions) String() string { return proto.CompactTextString(m) }
-func (*AutoUpgradeOptions) ProtoMessage() {}
-func (*AutoUpgradeOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{42}
-}
-
-func (m *AutoUpgradeOptions) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AutoUpgradeOptions.Unmarshal(m, b)
-}
-func (m *AutoUpgradeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AutoUpgradeOptions.Marshal(b, m, deterministic)
-}
-func (m *AutoUpgradeOptions) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AutoUpgradeOptions.Merge(m, src)
-}
-func (m *AutoUpgradeOptions) XXX_Size() int {
- return xxx_messageInfo_AutoUpgradeOptions.Size(m)
-}
-func (m *AutoUpgradeOptions) XXX_DiscardUnknown() {
- xxx_messageInfo_AutoUpgradeOptions.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AutoUpgradeOptions proto.InternalMessageInfo
-
-func (m *AutoUpgradeOptions) GetAutoUpgradeStartTime() string {
- if m != nil {
- return m.AutoUpgradeStartTime
- }
- return ""
-}
-
-func (m *AutoUpgradeOptions) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
-}
-
-// MaintenancePolicy defines the maintenance policy to be used for the cluster.
-type MaintenancePolicy struct {
- // Specifies the maintenance window in which maintenance may be performed.
- Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *MaintenancePolicy) Reset() { *m = MaintenancePolicy{} }
-func (m *MaintenancePolicy) String() string { return proto.CompactTextString(m) }
-func (*MaintenancePolicy) ProtoMessage() {}
-func (*MaintenancePolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{43}
-}
-
-func (m *MaintenancePolicy) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MaintenancePolicy.Unmarshal(m, b)
-}
-func (m *MaintenancePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MaintenancePolicy.Marshal(b, m, deterministic)
-}
-func (m *MaintenancePolicy) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MaintenancePolicy.Merge(m, src)
-}
-func (m *MaintenancePolicy) XXX_Size() int {
- return xxx_messageInfo_MaintenancePolicy.Size(m)
-}
-func (m *MaintenancePolicy) XXX_DiscardUnknown() {
- xxx_messageInfo_MaintenancePolicy.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MaintenancePolicy proto.InternalMessageInfo
-
-func (m *MaintenancePolicy) GetWindow() *MaintenanceWindow {
- if m != nil {
- return m.Window
- }
- return nil
-}
-
-// MaintenanceWindow defines the maintenance window to be used for the cluster.
-type MaintenanceWindow struct {
- // Types that are valid to be assigned to Policy:
- // *MaintenanceWindow_DailyMaintenanceWindow
- Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *MaintenanceWindow) Reset() { *m = MaintenanceWindow{} }
-func (m *MaintenanceWindow) String() string { return proto.CompactTextString(m) }
-func (*MaintenanceWindow) ProtoMessage() {}
-func (*MaintenanceWindow) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{44}
-}
-
-func (m *MaintenanceWindow) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MaintenanceWindow.Unmarshal(m, b)
-}
-func (m *MaintenanceWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MaintenanceWindow.Marshal(b, m, deterministic)
-}
-func (m *MaintenanceWindow) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MaintenanceWindow.Merge(m, src)
-}
-func (m *MaintenanceWindow) XXX_Size() int {
- return xxx_messageInfo_MaintenanceWindow.Size(m)
-}
-func (m *MaintenanceWindow) XXX_DiscardUnknown() {
- xxx_messageInfo_MaintenanceWindow.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MaintenanceWindow proto.InternalMessageInfo
-
-type isMaintenanceWindow_Policy interface {
- isMaintenanceWindow_Policy()
-}
-
-type MaintenanceWindow_DailyMaintenanceWindow struct {
- DailyMaintenanceWindow *DailyMaintenanceWindow `protobuf:"bytes,2,opt,name=daily_maintenance_window,json=dailyMaintenanceWindow,proto3,oneof"`
-}
-
-func (*MaintenanceWindow_DailyMaintenanceWindow) isMaintenanceWindow_Policy() {}
-
-func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy {
- if m != nil {
- return m.Policy
- }
- return nil
-}
-
-func (m *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow {
- if x, ok := m.GetPolicy().(*MaintenanceWindow_DailyMaintenanceWindow); ok {
- return x.DailyMaintenanceWindow
- }
- return nil
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*MaintenanceWindow) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*MaintenanceWindow_DailyMaintenanceWindow)(nil),
- }
-}
-
-// Time window specified for daily maintenance operations.
-type DailyMaintenanceWindow struct {
- // Time within the maintenance window to start the maintenance operations.
- // Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
- // format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT.
- StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // [Output only] Duration of the time window, automatically chosen to be
- // smallest possible in the given scenario.
- // Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
- // format "PTnHnMnS".
- Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *DailyMaintenanceWindow) Reset() { *m = DailyMaintenanceWindow{} }
-func (m *DailyMaintenanceWindow) String() string { return proto.CompactTextString(m) }
-func (*DailyMaintenanceWindow) ProtoMessage() {}
-func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{45}
-}
-
-func (m *DailyMaintenanceWindow) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DailyMaintenanceWindow.Unmarshal(m, b)
-}
-func (m *DailyMaintenanceWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DailyMaintenanceWindow.Marshal(b, m, deterministic)
-}
-func (m *DailyMaintenanceWindow) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyMaintenanceWindow.Merge(m, src)
-}
-func (m *DailyMaintenanceWindow) XXX_Size() int {
- return xxx_messageInfo_DailyMaintenanceWindow.Size(m)
-}
-func (m *DailyMaintenanceWindow) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyMaintenanceWindow.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DailyMaintenanceWindow proto.InternalMessageInfo
-
-func (m *DailyMaintenanceWindow) GetStartTime() string {
- if m != nil {
- return m.StartTime
- }
- return ""
-}
-
-func (m *DailyMaintenanceWindow) GetDuration() string {
- if m != nil {
- return m.Duration
- }
- return ""
-}
-
-// SetNodePoolManagementRequest sets the node management properties of a node
-// pool.
-type SetNodePoolManagementRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to update.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the node pool to update.
- // This field has been deprecated and replaced by the name field.
- NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use.
- // NodeManagement configuration for the node pool.
- Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"`
- // The name (project, location, cluster, node pool id) of the node pool to set
- // management properties. Specified in the format
- // 'projects/*/locations/*/clusters/*/nodePools/*'.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetNodePoolManagementRequest) Reset() { *m = SetNodePoolManagementRequest{} }
-func (m *SetNodePoolManagementRequest) String() string { return proto.CompactTextString(m) }
-func (*SetNodePoolManagementRequest) ProtoMessage() {}
-func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{46}
-}
-
-func (m *SetNodePoolManagementRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetNodePoolManagementRequest.Unmarshal(m, b)
-}
-func (m *SetNodePoolManagementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetNodePoolManagementRequest.Marshal(b, m, deterministic)
-}
-func (m *SetNodePoolManagementRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetNodePoolManagementRequest.Merge(m, src)
-}
-func (m *SetNodePoolManagementRequest) XXX_Size() int {
- return xxx_messageInfo_SetNodePoolManagementRequest.Size(m)
-}
-func (m *SetNodePoolManagementRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetNodePoolManagementRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetNodePoolManagementRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetNodePoolManagementRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolManagementRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolManagementRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolManagementRequest) GetNodePoolId() string {
- if m != nil {
- return m.NodePoolId
- }
- return ""
-}
-
-func (m *SetNodePoolManagementRequest) GetManagement() *NodeManagement {
- if m != nil {
- return m.Management
- }
- return nil
-}
-
-func (m *SetNodePoolManagementRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetNodePoolSizeRequest sets the size a node
-// pool.
-type SetNodePoolSizeRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to update.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the node pool to update.
- // This field has been deprecated and replaced by the name field.
- NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use.
- // The desired node count for the pool.
- NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
- // The name (project, location, cluster, node pool id) of the node pool to set
- // size.
- // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetNodePoolSizeRequest) Reset() { *m = SetNodePoolSizeRequest{} }
-func (m *SetNodePoolSizeRequest) String() string { return proto.CompactTextString(m) }
-func (*SetNodePoolSizeRequest) ProtoMessage() {}
-func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{47}
-}
-
-func (m *SetNodePoolSizeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetNodePoolSizeRequest.Unmarshal(m, b)
-}
-func (m *SetNodePoolSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetNodePoolSizeRequest.Marshal(b, m, deterministic)
-}
-func (m *SetNodePoolSizeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetNodePoolSizeRequest.Merge(m, src)
-}
-func (m *SetNodePoolSizeRequest) XXX_Size() int {
- return xxx_messageInfo_SetNodePoolSizeRequest.Size(m)
-}
-func (m *SetNodePoolSizeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetNodePoolSizeRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetNodePoolSizeRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetNodePoolSizeRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolSizeRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolSizeRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNodePoolSizeRequest) GetNodePoolId() string {
- if m != nil {
- return m.NodePoolId
- }
- return ""
-}
-
-func (m *SetNodePoolSizeRequest) GetNodeCount() int32 {
- if m != nil {
- return m.NodeCount
- }
- return 0
-}
-
-func (m *SetNodePoolSizeRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
-// NodePool upgrade. This will be an no-op if the last upgrade successfully
-// completed.
-type RollbackNodePoolUpgradeRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to rollback.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the node pool to rollback.
- // This field has been deprecated and replaced by the name field.
- NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, cluster, node pool id) of the node poll to
- // rollback upgrade.
- // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *RollbackNodePoolUpgradeRequest) Reset() { *m = RollbackNodePoolUpgradeRequest{} }
-func (m *RollbackNodePoolUpgradeRequest) String() string { return proto.CompactTextString(m) }
-func (*RollbackNodePoolUpgradeRequest) ProtoMessage() {}
-func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{48}
-}
-
-func (m *RollbackNodePoolUpgradeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Unmarshal(m, b)
-}
-func (m *RollbackNodePoolUpgradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Marshal(b, m, deterministic)
-}
-func (m *RollbackNodePoolUpgradeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RollbackNodePoolUpgradeRequest.Merge(m, src)
-}
-func (m *RollbackNodePoolUpgradeRequest) XXX_Size() int {
- return xxx_messageInfo_RollbackNodePoolUpgradeRequest.Size(m)
-}
-func (m *RollbackNodePoolUpgradeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_RollbackNodePoolUpgradeRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_RollbackNodePoolUpgradeRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *RollbackNodePoolUpgradeRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string {
- if m != nil {
- return m.NodePoolId
- }
- return ""
-}
-
-func (m *RollbackNodePoolUpgradeRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// ListNodePoolsResponse is the result of ListNodePoolsRequest.
-type ListNodePoolsResponse struct {
- // A list of node pools for a cluster.
- NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} }
-func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) }
-func (*ListNodePoolsResponse) ProtoMessage() {}
-func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{49}
-}
-
-func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b)
-}
-func (m *ListNodePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListNodePoolsResponse.Marshal(b, m, deterministic)
-}
-func (m *ListNodePoolsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListNodePoolsResponse.Merge(m, src)
-}
-func (m *ListNodePoolsResponse) XXX_Size() int {
- return xxx_messageInfo_ListNodePoolsResponse.Size(m)
-}
-func (m *ListNodePoolsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListNodePoolsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListNodePoolsResponse proto.InternalMessageInfo
-
-func (m *ListNodePoolsResponse) GetNodePools() []*NodePool {
- if m != nil {
- return m.NodePools
- }
- return nil
-}
-
-// NodePoolAutoscaling contains information required by cluster autoscaler to
-// adjust the size of the node pool to the current cluster usage.
-type NodePoolAutoscaling struct {
- // Is autoscaling enabled for this node pool.
- Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- // Minimum number of nodes in the NodePool. Must be >= 1 and <=
- // max_node_count.
- MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
- // Maximum number of nodes in the NodePool. Must be >= min_node_count. There
- // has to enough quota to scale up the cluster.
- MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NodePoolAutoscaling) Reset() { *m = NodePoolAutoscaling{} }
-func (m *NodePoolAutoscaling) String() string { return proto.CompactTextString(m) }
-func (*NodePoolAutoscaling) ProtoMessage() {}
-func (*NodePoolAutoscaling) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{50}
-}
-
-func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b)
-}
-func (m *NodePoolAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NodePoolAutoscaling.Marshal(b, m, deterministic)
-}
-func (m *NodePoolAutoscaling) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NodePoolAutoscaling.Merge(m, src)
-}
-func (m *NodePoolAutoscaling) XXX_Size() int {
- return xxx_messageInfo_NodePoolAutoscaling.Size(m)
-}
-func (m *NodePoolAutoscaling) XXX_DiscardUnknown() {
- xxx_messageInfo_NodePoolAutoscaling.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NodePoolAutoscaling proto.InternalMessageInfo
-
-func (m *NodePoolAutoscaling) GetEnabled() bool {
- if m != nil {
- return m.Enabled
- }
- return false
-}
-
-func (m *NodePoolAutoscaling) GetMinNodeCount() int32 {
- if m != nil {
- return m.MinNodeCount
- }
- return 0
-}
-
-func (m *NodePoolAutoscaling) GetMaxNodeCount() int32 {
- if m != nil {
- return m.MaxNodeCount
- }
- return 0
-}
-
-// SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
-// Engine cluster, which will in turn set them for Google Compute Engine
-// resources used by that cluster
-type SetLabelsRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The labels to set for that cluster.
- ResourceLabels map[string]string `protobuf:"bytes,4,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // The fingerprint of the previous set of labels for this resource,
- // used to detect conflicts. The fingerprint is initially generated by
- // Kubernetes Engine and changes after every request to modify or update
- // labels. You must always provide an up-to-date fingerprint hash when
- // updating or changing labels. Make a get() request to the
- // resource to get the latest fingerprint.
- LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
- // The name (project, location, cluster id) of the cluster to set labels.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} }
-func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) }
-func (*SetLabelsRequest) ProtoMessage() {}
-func (*SetLabelsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{51}
-}
-
-func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b)
-}
-func (m *SetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetLabelsRequest.Marshal(b, m, deterministic)
-}
-func (m *SetLabelsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetLabelsRequest.Merge(m, src)
-}
-func (m *SetLabelsRequest) XXX_Size() int {
- return xxx_messageInfo_SetLabelsRequest.Size(m)
-}
-func (m *SetLabelsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetLabelsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetLabelsRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetLabelsRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetLabelsRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetLabelsRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetLabelsRequest) GetResourceLabels() map[string]string {
- if m != nil {
- return m.ResourceLabels
- }
- return nil
-}
-
-func (m *SetLabelsRequest) GetLabelFingerprint() string {
- if m != nil {
- return m.LabelFingerprint
- }
- return ""
-}
-
-func (m *SetLabelsRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
-// a cluster.
-type SetLegacyAbacRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster to update.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Whether ABAC authorization will be enabled in the cluster.
- Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
- // The name (project, location, cluster id) of the cluster to set legacy abac.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetLegacyAbacRequest) Reset() { *m = SetLegacyAbacRequest{} }
-func (m *SetLegacyAbacRequest) String() string { return proto.CompactTextString(m) }
-func (*SetLegacyAbacRequest) ProtoMessage() {}
-func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{52}
-}
-
-func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b)
-}
-func (m *SetLegacyAbacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetLegacyAbacRequest.Marshal(b, m, deterministic)
-}
-func (m *SetLegacyAbacRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetLegacyAbacRequest.Merge(m, src)
-}
-func (m *SetLegacyAbacRequest) XXX_Size() int {
- return xxx_messageInfo_SetLegacyAbacRequest.Size(m)
-}
-func (m *SetLegacyAbacRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetLegacyAbacRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetLegacyAbacRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetLegacyAbacRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetLegacyAbacRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetLegacyAbacRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetLegacyAbacRequest) GetEnabled() bool {
- if m != nil {
- return m.Enabled
- }
- return false
-}
-
-func (m *SetLegacyAbacRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// StartIPRotationRequest creates a new IP for the cluster and then performs
-// a node upgrade on each node pool to point to the new IP.
-type StartIPRotationRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, cluster id) of the cluster to start IP
- // rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- // Whether to rotate credentials during IP rotation.
- RotateCredentials bool `protobuf:"varint,7,opt,name=rotate_credentials,json=rotateCredentials,proto3" json:"rotate_credentials,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *StartIPRotationRequest) Reset() { *m = StartIPRotationRequest{} }
-func (m *StartIPRotationRequest) String() string { return proto.CompactTextString(m) }
-func (*StartIPRotationRequest) ProtoMessage() {}
-func (*StartIPRotationRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{53}
-}
-
-func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b)
-}
-func (m *StartIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_StartIPRotationRequest.Marshal(b, m, deterministic)
-}
-func (m *StartIPRotationRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_StartIPRotationRequest.Merge(m, src)
-}
-func (m *StartIPRotationRequest) XXX_Size() int {
- return xxx_messageInfo_StartIPRotationRequest.Size(m)
-}
-func (m *StartIPRotationRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_StartIPRotationRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_StartIPRotationRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *StartIPRotationRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *StartIPRotationRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *StartIPRotationRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *StartIPRotationRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *StartIPRotationRequest) GetRotateCredentials() bool {
- if m != nil {
- return m.RotateCredentials
- }
- return false
-}
-
-// CompleteIPRotationRequest moves the cluster master back into single-IP mode.
-type CompleteIPRotationRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // The name (project, location, cluster id) of the cluster to complete IP
- // rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompleteIPRotationRequest) Reset() { *m = CompleteIPRotationRequest{} }
-func (m *CompleteIPRotationRequest) String() string { return proto.CompactTextString(m) }
-func (*CompleteIPRotationRequest) ProtoMessage() {}
-func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{54}
-}
-
-func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b)
-}
-func (m *CompleteIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompleteIPRotationRequest.Marshal(b, m, deterministic)
-}
-func (m *CompleteIPRotationRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompleteIPRotationRequest.Merge(m, src)
-}
-func (m *CompleteIPRotationRequest) XXX_Size() int {
- return xxx_messageInfo_CompleteIPRotationRequest.Size(m)
-}
-func (m *CompleteIPRotationRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CompleteIPRotationRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompleteIPRotationRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *CompleteIPRotationRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *CompleteIPRotationRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *CompleteIPRotationRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *CompleteIPRotationRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// AcceleratorConfig represents a Hardware Accelerator request.
-type AcceleratorConfig struct {
- // The number of the accelerator cards exposed to an instance.
- AcceleratorCount int64 `protobuf:"varint,1,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"`
- // The accelerator type resource name. List of supported accelerators
- // [here](/compute/docs/gpus/#Introduction)
- AcceleratorType string `protobuf:"bytes,2,opt,name=accelerator_type,json=acceleratorType,proto3" json:"accelerator_type,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} }
-func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) }
-func (*AcceleratorConfig) ProtoMessage() {}
-func (*AcceleratorConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{55}
-}
-
-func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b)
-}
-func (m *AcceleratorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AcceleratorConfig.Marshal(b, m, deterministic)
-}
-func (m *AcceleratorConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AcceleratorConfig.Merge(m, src)
-}
-func (m *AcceleratorConfig) XXX_Size() int {
- return xxx_messageInfo_AcceleratorConfig.Size(m)
-}
-func (m *AcceleratorConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_AcceleratorConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AcceleratorConfig proto.InternalMessageInfo
-
-func (m *AcceleratorConfig) GetAcceleratorCount() int64 {
- if m != nil {
- return m.AcceleratorCount
- }
- return 0
-}
-
-func (m *AcceleratorConfig) GetAcceleratorType() string {
- if m != nil {
- return m.AcceleratorType
- }
- return ""
-}
-
-// SetNetworkPolicyRequest enables/disables network policy for a cluster.
-type SetNetworkPolicyRequest struct {
- // Deprecated. The Google Developers Console [project ID or project
- // number](https://developers.google.com/console/help/new/#projectnumber).
- // This field has been deprecated and replaced by the name field.
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- // This field has been deprecated and replaced by the name field.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated: Do not use.
- // Deprecated. The name of the cluster.
- // This field has been deprecated and replaced by the name field.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated: Do not use.
- // Configuration options for the NetworkPolicy feature.
- NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
- // The name (project, location, cluster id) of the cluster to set networking
- // policy. Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetNetworkPolicyRequest) Reset() { *m = SetNetworkPolicyRequest{} }
-func (m *SetNetworkPolicyRequest) String() string { return proto.CompactTextString(m) }
-func (*SetNetworkPolicyRequest) ProtoMessage() {}
-func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{56}
-}
-
-func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b)
-}
-func (m *SetNetworkPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetNetworkPolicyRequest.Marshal(b, m, deterministic)
-}
-func (m *SetNetworkPolicyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetNetworkPolicyRequest.Merge(m, src)
-}
-func (m *SetNetworkPolicyRequest) XXX_Size() int {
- return xxx_messageInfo_SetNetworkPolicyRequest.Size(m)
-}
-func (m *SetNetworkPolicyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetNetworkPolicyRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetNetworkPolicyRequest proto.InternalMessageInfo
-
-// Deprecated: Do not use.
-func (m *SetNetworkPolicyRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNetworkPolicyRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-// Deprecated: Do not use.
-func (m *SetNetworkPolicyRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy {
- if m != nil {
- return m.NetworkPolicy
- }
- return nil
-}
-
-func (m *SetNetworkPolicyRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
-type SetMaintenancePolicyRequest struct {
- // The Google Developers Console [project ID or project
- // number](https://support.google.com/cloud/answer/6158840).
- ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
- // The name of the Google Compute Engine
- // [zone](/compute/docs/zones#available) in which the cluster
- // resides.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
- // The name of the cluster to update.
- ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
- // The maintenance policy to be set for the cluster. An empty field
- // clears the existing maintenance policy.
- MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
- // The name (project, location, cluster id) of the cluster to set maintenance
- // policy.
- // Specified in the format 'projects/*/locations/*/clusters/*'.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetMaintenancePolicyRequest) Reset() { *m = SetMaintenancePolicyRequest{} }
-func (m *SetMaintenancePolicyRequest) String() string { return proto.CompactTextString(m) }
-func (*SetMaintenancePolicyRequest) ProtoMessage() {}
-func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{57}
-}
-
-func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b)
-}
-func (m *SetMaintenancePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetMaintenancePolicyRequest.Marshal(b, m, deterministic)
-}
-func (m *SetMaintenancePolicyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetMaintenancePolicyRequest.Merge(m, src)
-}
-func (m *SetMaintenancePolicyRequest) XXX_Size() int {
- return xxx_messageInfo_SetMaintenancePolicyRequest.Size(m)
-}
-func (m *SetMaintenancePolicyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetMaintenancePolicyRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetMaintenancePolicyRequest proto.InternalMessageInfo
-
-func (m *SetMaintenancePolicyRequest) GetProjectId() string {
- if m != nil {
- return m.ProjectId
- }
- return ""
-}
-
-func (m *SetMaintenancePolicyRequest) GetZone() string {
- if m != nil {
- return m.Zone
- }
- return ""
-}
-
-func (m *SetMaintenancePolicyRequest) GetClusterId() string {
- if m != nil {
- return m.ClusterId
- }
- return ""
-}
-
-func (m *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy {
- if m != nil {
- return m.MaintenancePolicy
- }
- return nil
-}
-
-func (m *SetMaintenancePolicyRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// NetworkConfig reports the relative names of network & subnetwork.
-type NetworkConfig struct {
- // Output only. The relative name of the Google Compute Engine
- // [network][google.container.v1.NetworkConfig.network](/compute/docs/networks-and-firewalls#networks) to which
- // the cluster is connected.
- // Example: projects/my-project/global/networks/my-network
- Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
- // Output only. The relative name of the Google Compute Engine
- // [subnetwork](/compute/docs/vpc) to which the cluster is connected.
- // Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
- Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NetworkConfig) Reset() { *m = NetworkConfig{} }
-func (m *NetworkConfig) String() string { return proto.CompactTextString(m) }
-func (*NetworkConfig) ProtoMessage() {}
-func (*NetworkConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c7f18b1699f357a, []int{58}
-}
-
-func (m *NetworkConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NetworkConfig.Unmarshal(m, b)
-}
-func (m *NetworkConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NetworkConfig.Marshal(b, m, deterministic)
-}
-func (m *NetworkConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NetworkConfig.Merge(m, src)
-}
-func (m *NetworkConfig) XXX_Size() int {
- return xxx_messageInfo_NetworkConfig.Size(m)
-}
-func (m *NetworkConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_NetworkConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NetworkConfig proto.InternalMessageInfo
-
-func (m *NetworkConfig) GetNetwork() string {
- if m != nil {
- return m.Network
- }
- return ""
-}
-
-func (m *NetworkConfig) GetSubnetwork() string {
- if m != nil {
- return m.Subnetwork
- }
- return ""
-}
-
-func init() {
- proto.RegisterEnum("google.container.v1.NetworkPolicy_Provider", NetworkPolicy_Provider_name, NetworkPolicy_Provider_value)
- proto.RegisterEnum("google.container.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value)
- proto.RegisterEnum("google.container.v1.Operation_Status", Operation_Status_name, Operation_Status_value)
- proto.RegisterEnum("google.container.v1.Operation_Type", Operation_Type_name, Operation_Type_value)
- proto.RegisterEnum("google.container.v1.SetMasterAuthRequest_Action", SetMasterAuthRequest_Action_name, SetMasterAuthRequest_Action_value)
- proto.RegisterEnum("google.container.v1.NodePool_Status", NodePool_Status_name, NodePool_Status_value)
- proto.RegisterType((*NodeConfig)(nil), "google.container.v1.NodeConfig")
- proto.RegisterMapType((map[string]string)(nil), "google.container.v1.NodeConfig.LabelsEntry")
- proto.RegisterMapType((map[string]string)(nil), "google.container.v1.NodeConfig.MetadataEntry")
- proto.RegisterType((*MasterAuth)(nil), "google.container.v1.MasterAuth")
- proto.RegisterType((*ClientCertificateConfig)(nil), "google.container.v1.ClientCertificateConfig")
- proto.RegisterType((*AddonsConfig)(nil), "google.container.v1.AddonsConfig")
- proto.RegisterType((*HttpLoadBalancing)(nil), "google.container.v1.HttpLoadBalancing")
- proto.RegisterType((*HorizontalPodAutoscaling)(nil), "google.container.v1.HorizontalPodAutoscaling")
- proto.RegisterType((*KubernetesDashboard)(nil), "google.container.v1.KubernetesDashboard")
- proto.RegisterType((*NetworkPolicyConfig)(nil), "google.container.v1.NetworkPolicyConfig")
- proto.RegisterType((*PrivateClusterConfig)(nil), "google.container.v1.PrivateClusterConfig")
- proto.RegisterType((*MasterAuthorizedNetworksConfig)(nil), "google.container.v1.MasterAuthorizedNetworksConfig")
- proto.RegisterType((*MasterAuthorizedNetworksConfig_CidrBlock)(nil), "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock")
- proto.RegisterType((*LegacyAbac)(nil), "google.container.v1.LegacyAbac")
- proto.RegisterType((*NetworkPolicy)(nil), "google.container.v1.NetworkPolicy")
- proto.RegisterType((*IPAllocationPolicy)(nil), "google.container.v1.IPAllocationPolicy")
- proto.RegisterType((*Cluster)(nil), "google.container.v1.Cluster")
- proto.RegisterMapType((map[string]string)(nil), "google.container.v1.Cluster.ResourceLabelsEntry")
- proto.RegisterType((*ClusterUpdate)(nil), "google.container.v1.ClusterUpdate")
- proto.RegisterType((*Operation)(nil), "google.container.v1.Operation")
- proto.RegisterType((*CreateClusterRequest)(nil), "google.container.v1.CreateClusterRequest")
- proto.RegisterType((*GetClusterRequest)(nil), "google.container.v1.GetClusterRequest")
- proto.RegisterType((*UpdateClusterRequest)(nil), "google.container.v1.UpdateClusterRequest")
- proto.RegisterType((*UpdateNodePoolRequest)(nil), "google.container.v1.UpdateNodePoolRequest")
- proto.RegisterType((*SetNodePoolAutoscalingRequest)(nil), "google.container.v1.SetNodePoolAutoscalingRequest")
- proto.RegisterType((*SetLoggingServiceRequest)(nil), "google.container.v1.SetLoggingServiceRequest")
- proto.RegisterType((*SetMonitoringServiceRequest)(nil), "google.container.v1.SetMonitoringServiceRequest")
- proto.RegisterType((*SetAddonsConfigRequest)(nil), "google.container.v1.SetAddonsConfigRequest")
- proto.RegisterType((*SetLocationsRequest)(nil), "google.container.v1.SetLocationsRequest")
- proto.RegisterType((*UpdateMasterRequest)(nil), "google.container.v1.UpdateMasterRequest")
- proto.RegisterType((*SetMasterAuthRequest)(nil), "google.container.v1.SetMasterAuthRequest")
- proto.RegisterType((*DeleteClusterRequest)(nil), "google.container.v1.DeleteClusterRequest")
- proto.RegisterType((*ListClustersRequest)(nil), "google.container.v1.ListClustersRequest")
- proto.RegisterType((*ListClustersResponse)(nil), "google.container.v1.ListClustersResponse")
- proto.RegisterType((*GetOperationRequest)(nil), "google.container.v1.GetOperationRequest")
- proto.RegisterType((*ListOperationsRequest)(nil), "google.container.v1.ListOperationsRequest")
- proto.RegisterType((*CancelOperationRequest)(nil), "google.container.v1.CancelOperationRequest")
- proto.RegisterType((*ListOperationsResponse)(nil), "google.container.v1.ListOperationsResponse")
- proto.RegisterType((*GetServerConfigRequest)(nil), "google.container.v1.GetServerConfigRequest")
- proto.RegisterType((*ServerConfig)(nil), "google.container.v1.ServerConfig")
- proto.RegisterType((*CreateNodePoolRequest)(nil), "google.container.v1.CreateNodePoolRequest")
- proto.RegisterType((*DeleteNodePoolRequest)(nil), "google.container.v1.DeleteNodePoolRequest")
- proto.RegisterType((*ListNodePoolsRequest)(nil), "google.container.v1.ListNodePoolsRequest")
- proto.RegisterType((*GetNodePoolRequest)(nil), "google.container.v1.GetNodePoolRequest")
- proto.RegisterType((*NodePool)(nil), "google.container.v1.NodePool")
- proto.RegisterType((*NodeManagement)(nil), "google.container.v1.NodeManagement")
- proto.RegisterType((*AutoUpgradeOptions)(nil), "google.container.v1.AutoUpgradeOptions")
- proto.RegisterType((*MaintenancePolicy)(nil), "google.container.v1.MaintenancePolicy")
- proto.RegisterType((*MaintenanceWindow)(nil), "google.container.v1.MaintenanceWindow")
- proto.RegisterType((*DailyMaintenanceWindow)(nil), "google.container.v1.DailyMaintenanceWindow")
- proto.RegisterType((*SetNodePoolManagementRequest)(nil), "google.container.v1.SetNodePoolManagementRequest")
- proto.RegisterType((*SetNodePoolSizeRequest)(nil), "google.container.v1.SetNodePoolSizeRequest")
- proto.RegisterType((*RollbackNodePoolUpgradeRequest)(nil), "google.container.v1.RollbackNodePoolUpgradeRequest")
- proto.RegisterType((*ListNodePoolsResponse)(nil), "google.container.v1.ListNodePoolsResponse")
- proto.RegisterType((*NodePoolAutoscaling)(nil), "google.container.v1.NodePoolAutoscaling")
- proto.RegisterType((*SetLabelsRequest)(nil), "google.container.v1.SetLabelsRequest")
- proto.RegisterMapType((map[string]string)(nil), "google.container.v1.SetLabelsRequest.ResourceLabelsEntry")
- proto.RegisterType((*SetLegacyAbacRequest)(nil), "google.container.v1.SetLegacyAbacRequest")
- proto.RegisterType((*StartIPRotationRequest)(nil), "google.container.v1.StartIPRotationRequest")
- proto.RegisterType((*CompleteIPRotationRequest)(nil), "google.container.v1.CompleteIPRotationRequest")
- proto.RegisterType((*AcceleratorConfig)(nil), "google.container.v1.AcceleratorConfig")
- proto.RegisterType((*SetNetworkPolicyRequest)(nil), "google.container.v1.SetNetworkPolicyRequest")
- proto.RegisterType((*SetMaintenancePolicyRequest)(nil), "google.container.v1.SetMaintenancePolicyRequest")
- proto.RegisterType((*NetworkConfig)(nil), "google.container.v1.NetworkConfig")
-}
-
-func init() {
- proto.RegisterFile("google/container/v1/cluster_service.proto", fileDescriptor_1c7f18b1699f357a)
-}
-
-var fileDescriptor_1c7f18b1699f357a = []byte{
- // 5271 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3c, 0x6d, 0x8c, 0x24, 0xd7,
- 0x51, 0xe9, 0xd9, 0xd9, 0xd9, 0x9d, 0x9a, 0xd9, 0xd9, 0xd9, 0xb7, 0x1f, 0x37, 0x1e, 0xdf, 0xd9,
- 0x77, 0x1d, 0x9f, 0x7d, 0xb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
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// ClusterManagerClient is the client API for ClusterManager service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type ClusterManagerClient interface {
- // Lists all clusters owned by a project in either the specified zone or all
- // zones.
- ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
- // Gets the details of a specific cluster.
- GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
- // Creates a cluster, consisting of the specified number and type of Google
- // Compute Engine instances.
- //
- // By default, the cluster is created in the project's
- // [default network](/compute/docs/networks-and-firewalls#networks).
- //
- // One firewall is added for the cluster. After cluster creation,
- // the cluster creates routes for each node to allow the containers
- // on that node to communicate with all other instances in the
- // cluster.
- //
- // Finally, an entry is added to the project's global metadata indicating
- // which CIDR range is being used by the cluster.
- CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error)
- // Updates the settings of a specific cluster.
- UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error)
- // Updates the version and/or image type for a specific node pool.
- UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the autoscaling settings for a specific node pool.
- SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the logging service for a specific cluster.
- SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the monitoring service for a specific cluster.
- SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the addons for a specific cluster.
- SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the locations for a specific cluster.
- SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error)
- // Updates the master for a specific cluster.
- UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error)
- // Used to set master auth materials. Currently supports :-
- // Changing the admin password for a specific cluster.
- // This can be either via password generation or explicitly set the password.
- SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error)
- // Deletes the cluster, including the Kubernetes endpoint and all worker
- // nodes.
- //
- // Firewalls and routes that were configured during cluster creation
- // are also deleted.
- //
- // Other Google Compute Engine resources that might be in use by the cluster
- // (e.g. load balancer resources) will not be deleted if they weren't present
- // at the initial create time.
- DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error)
- // Lists all operations in a project in a specific zone or all zones.
- ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error)
- // Gets the specified operation.
- GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error)
- // Cancels the specified operation.
- CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- // Returns configuration info about the Kubernetes Engine service.
- GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error)
- // Lists the node pools for a cluster.
- ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error)
- // Retrieves the node pool requested.
- GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error)
- // Creates a node pool for a cluster.
- CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error)
- // Deletes a node pool from a cluster.
- DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error)
- // Roll back the previously Aborted or Failed NodePool upgrade.
- // This will be an no-op if the last upgrade successfully completed.
- RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the NodeManagement options for a node pool.
- SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets labels on a cluster.
- SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error)
- // Enables or disables the ABAC authorization mechanism on a cluster.
- SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error)
- // Start master IP rotation.
- StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error)
- // Completes master IP rotation.
- CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the size for a specific node pool.
- SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error)
- // Enables/Disables Network Policy for a cluster.
- SetNetworkPolicy(ctx context.Context, in *SetNetworkPolicyRequest, opts ...grpc.CallOption) (*Operation, error)
- // Sets the maintenance policy for a cluster.
- SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error)
-}
-
-type clusterManagerClient struct {
- cc *grpc.ClientConn
-}
-
-func NewClusterManagerClient(cc *grpc.ClientConn) ClusterManagerClient {
- return &clusterManagerClient{cc}
-}
-
-func (c *clusterManagerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) {
- out := new(ListClustersResponse)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/ListClusters", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
- out := new(Cluster)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetCluster", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CreateCluster", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/UpdateCluster", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/UpdateNodePool", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetNodePoolAutoscaling", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetLoggingService", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetMonitoringService", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetAddonsConfig", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetLocations", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/UpdateMaster", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetMasterAuth", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/DeleteCluster", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) {
- out := new(ListOperationsResponse)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/ListOperations", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetOperation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CancelOperation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) {
- out := new(ServerConfig)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetServerConfig", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) {
- out := new(ListNodePoolsResponse)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/ListNodePools", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) {
- out := new(NodePool)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetNodePool", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CreateNodePool", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/DeleteNodePool", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/RollbackNodePoolUpgrade", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetNodePoolManagement", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetLabels", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetLegacyAbac", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/StartIPRotation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CompleteIPRotation", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetNodePoolSize", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetNetworkPolicy(ctx context.Context, in *SetNetworkPolicyRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetNetworkPolicy", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *clusterManagerClient) SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error) {
- out := new(Operation)
- err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetMaintenancePolicy", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// ClusterManagerServer is the server API for ClusterManager service.
-type ClusterManagerServer interface {
- // Lists all clusters owned by a project in either the specified zone or all
- // zones.
- ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
- // Gets the details of a specific cluster.
- GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
- // Creates a cluster, consisting of the specified number and type of Google
- // Compute Engine instances.
- //
- // By default, the cluster is created in the project's
- // [default network](/compute/docs/networks-and-firewalls#networks).
- //
- // One firewall is added for the cluster. After cluster creation,
- // the cluster creates routes for each node to allow the containers
- // on that node to communicate with all other instances in the
- // cluster.
- //
- // Finally, an entry is added to the project's global metadata indicating
- // which CIDR range is being used by the cluster.
- CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error)
- // Updates the settings of a specific cluster.
- UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error)
- // Updates the version and/or image type for a specific node pool.
- UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error)
- // Sets the autoscaling settings for a specific node pool.
- SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error)
- // Sets the logging service for a specific cluster.
- SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error)
- // Sets the monitoring service for a specific cluster.
- SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error)
- // Sets the addons for a specific cluster.
- SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error)
- // Sets the locations for a specific cluster.
- SetLocations(context.Context, *SetLocationsRequest) (*Operation, error)
- // Updates the master for a specific cluster.
- UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error)
- // Used to set master auth materials. Currently supports :-
- // Changing the admin password for a specific cluster.
- // This can be either via password generation or explicitly set the password.
- SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error)
- // Deletes the cluster, including the Kubernetes endpoint and all worker
- // nodes.
- //
- // Firewalls and routes that were configured during cluster creation
- // are also deleted.
- //
- // Other Google Compute Engine resources that might be in use by the cluster
- // (e.g. load balancer resources) will not be deleted if they weren't present
- // at the initial create time.
- DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error)
- // Lists all operations in a project in a specific zone or all zones.
- ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
- // Gets the specified operation.
- GetOperation(context.Context, *GetOperationRequest) (*Operation, error)
- // Cancels the specified operation.
- CancelOperation(context.Context, *CancelOperationRequest) (*empty.Empty, error)
- // Returns configuration info about the Kubernetes Engine service.
- GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)
- // Lists the node pools for a cluster.
- ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error)
- // Retrieves the node pool requested.
- GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error)
- // Creates a node pool for a cluster.
- CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error)
- // Deletes a node pool from a cluster.
- DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error)
- // Roll back the previously Aborted or Failed NodePool upgrade.
- // This will be an no-op if the last upgrade successfully completed.
- RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error)
- // Sets the NodeManagement options for a node pool.
- SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error)
- // Sets labels on a cluster.
- SetLabels(context.Context, *SetLabelsRequest) (*Operation, error)
- // Enables or disables the ABAC authorization mechanism on a cluster.
- SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error)
- // Start master IP rotation.
- StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error)
- // Completes master IP rotation.
- CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error)
- // Sets the size for a specific node pool.
- SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error)
- // Enables/Disables Network Policy for a cluster.
- SetNetworkPolicy(context.Context, *SetNetworkPolicyRequest) (*Operation, error)
- // Sets the maintenance policy for a cluster.
- SetMaintenancePolicy(context.Context, *SetMaintenancePolicyRequest) (*Operation, error)
-}
-
-func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer) {
- s.RegisterService(&_ClusterManager_serviceDesc, srv)
-}
-
-func _ClusterManager_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListClustersRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).ListClusters(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/ListClusters",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).ListClusters(ctx, req.(*ListClustersRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetClusterRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).GetCluster(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/GetCluster",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).GetCluster(ctx, req.(*GetClusterRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateClusterRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).CreateCluster(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/CreateCluster",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).CreateCluster(ctx, req.(*CreateClusterRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateClusterRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).UpdateCluster(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/UpdateCluster",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_UpdateNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateNodePoolRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).UpdateNodePool(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/UpdateNodePool",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).UpdateNodePool(ctx, req.(*UpdateNodePoolRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetNodePoolAutoscaling_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetNodePoolAutoscalingRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetNodePoolAutoscaling(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetNodePoolAutoscaling",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetNodePoolAutoscaling(ctx, req.(*SetNodePoolAutoscalingRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetLoggingService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetLoggingServiceRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetLoggingService(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetLoggingService",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetLoggingService(ctx, req.(*SetLoggingServiceRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetMonitoringService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetMonitoringServiceRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetMonitoringService(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetMonitoringService",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetMonitoringService(ctx, req.(*SetMonitoringServiceRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetAddonsConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetAddonsConfigRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetAddonsConfig(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetAddonsConfig",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetAddonsConfig(ctx, req.(*SetAddonsConfigRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetLocationsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetLocations(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetLocations",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetLocations(ctx, req.(*SetLocationsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_UpdateMaster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateMasterRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).UpdateMaster(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/UpdateMaster",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).UpdateMaster(ctx, req.(*UpdateMasterRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetMasterAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetMasterAuthRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetMasterAuth(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetMasterAuth",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetMasterAuth(ctx, req.(*SetMasterAuthRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteClusterRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).DeleteCluster(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/DeleteCluster",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListOperationsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).ListOperations(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/ListOperations",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).ListOperations(ctx, req.(*ListOperationsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_GetOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetOperationRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).GetOperation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/GetOperation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).GetOperation(ctx, req.(*GetOperationRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_CancelOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CancelOperationRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).CancelOperation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/CancelOperation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).CancelOperation(ctx, req.(*CancelOperationRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_GetServerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetServerConfigRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).GetServerConfig(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/GetServerConfig",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).GetServerConfig(ctx, req.(*GetServerConfigRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_ListNodePools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListNodePoolsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).ListNodePools(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/ListNodePools",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).ListNodePools(ctx, req.(*ListNodePoolsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_GetNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetNodePoolRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).GetNodePool(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/GetNodePool",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).GetNodePool(ctx, req.(*GetNodePoolRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_CreateNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateNodePoolRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).CreateNodePool(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/CreateNodePool",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).CreateNodePool(ctx, req.(*CreateNodePoolRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_DeleteNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteNodePoolRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).DeleteNodePool(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/DeleteNodePool",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).DeleteNodePool(ctx, req.(*DeleteNodePoolRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_RollbackNodePoolUpgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RollbackNodePoolUpgradeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/RollbackNodePoolUpgrade",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, req.(*RollbackNodePoolUpgradeRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetNodePoolManagement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetNodePoolManagementRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetNodePoolManagement",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, req.(*SetNodePoolManagementRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetLabelsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetLabels(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetLabels",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetLabels(ctx, req.(*SetLabelsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetLegacyAbac_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetLegacyAbacRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetLegacyAbac(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetLegacyAbac",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetLegacyAbac(ctx, req.(*SetLegacyAbacRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_StartIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(StartIPRotationRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).StartIPRotation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/StartIPRotation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).StartIPRotation(ctx, req.(*StartIPRotationRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_CompleteIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CompleteIPRotationRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).CompleteIPRotation(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/CompleteIPRotation",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).CompleteIPRotation(ctx, req.(*CompleteIPRotationRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetNodePoolSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetNodePoolSizeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetNodePoolSize(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetNodePoolSize",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetNodePoolSize(ctx, req.(*SetNodePoolSizeRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetNetworkPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetNetworkPolicyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetNetworkPolicy",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, req.(*SetNetworkPolicyRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _ClusterManager_SetMaintenancePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetMaintenancePolicyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.container.v1.ClusterManager/SetMaintenancePolicy",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, req.(*SetMaintenancePolicyRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-var _ClusterManager_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.container.v1.ClusterManager",
- HandlerType: (*ClusterManagerServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "ListClusters",
- Handler: _ClusterManager_ListClusters_Handler,
- },
- {
- MethodName: "GetCluster",
- Handler: _ClusterManager_GetCluster_Handler,
- },
- {
- MethodName: "CreateCluster",
- Handler: _ClusterManager_CreateCluster_Handler,
- },
- {
- MethodName: "UpdateCluster",
- Handler: _ClusterManager_UpdateCluster_Handler,
- },
- {
- MethodName: "UpdateNodePool",
- Handler: _ClusterManager_UpdateNodePool_Handler,
- },
- {
- MethodName: "SetNodePoolAutoscaling",
- Handler: _ClusterManager_SetNodePoolAutoscaling_Handler,
- },
- {
- MethodName: "SetLoggingService",
- Handler: _ClusterManager_SetLoggingService_Handler,
- },
- {
- MethodName: "SetMonitoringService",
- Handler: _ClusterManager_SetMonitoringService_Handler,
- },
- {
- MethodName: "SetAddonsConfig",
- Handler: _ClusterManager_SetAddonsConfig_Handler,
- },
- {
- MethodName: "SetLocations",
- Handler: _ClusterManager_SetLocations_Handler,
- },
- {
- MethodName: "UpdateMaster",
- Handler: _ClusterManager_UpdateMaster_Handler,
- },
- {
- MethodName: "SetMasterAuth",
- Handler: _ClusterManager_SetMasterAuth_Handler,
- },
- {
- MethodName: "DeleteCluster",
- Handler: _ClusterManager_DeleteCluster_Handler,
- },
- {
- MethodName: "ListOperations",
- Handler: _ClusterManager_ListOperations_Handler,
- },
- {
- MethodName: "GetOperation",
- Handler: _ClusterManager_GetOperation_Handler,
- },
- {
- MethodName: "CancelOperation",
- Handler: _ClusterManager_CancelOperation_Handler,
- },
- {
- MethodName: "GetServerConfig",
- Handler: _ClusterManager_GetServerConfig_Handler,
- },
- {
- MethodName: "ListNodePools",
- Handler: _ClusterManager_ListNodePools_Handler,
- },
- {
- MethodName: "GetNodePool",
- Handler: _ClusterManager_GetNodePool_Handler,
- },
- {
- MethodName: "CreateNodePool",
- Handler: _ClusterManager_CreateNodePool_Handler,
- },
- {
- MethodName: "DeleteNodePool",
- Handler: _ClusterManager_DeleteNodePool_Handler,
- },
- {
- MethodName: "RollbackNodePoolUpgrade",
- Handler: _ClusterManager_RollbackNodePoolUpgrade_Handler,
- },
- {
- MethodName: "SetNodePoolManagement",
- Handler: _ClusterManager_SetNodePoolManagement_Handler,
- },
- {
- MethodName: "SetLabels",
- Handler: _ClusterManager_SetLabels_Handler,
- },
- {
- MethodName: "SetLegacyAbac",
- Handler: _ClusterManager_SetLegacyAbac_Handler,
- },
- {
- MethodName: "StartIPRotation",
- Handler: _ClusterManager_StartIPRotation_Handler,
- },
- {
- MethodName: "CompleteIPRotation",
- Handler: _ClusterManager_CompleteIPRotation_Handler,
- },
- {
- MethodName: "SetNodePoolSize",
- Handler: _ClusterManager_SetNodePoolSize_Handler,
- },
- {
- MethodName: "SetNetworkPolicy",
- Handler: _ClusterManager_SetNetworkPolicy_Handler,
- },
- {
- MethodName: "SetMaintenancePolicy",
- Handler: _ClusterManager_SetMaintenancePolicy_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/container/v1/cluster_service.proto",
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go
deleted file mode 100644
index 15e73796f..000000000
--- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go
+++ /dev/null
@@ -1,1268 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/devtools/cloudtrace/v2/trace.proto
-
-package cloudtrace
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- timestamp "github.com/golang/protobuf/ptypes/timestamp"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- status "google.golang.org/genproto/googleapis/rpc/status"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// Indicates whether the message was sent or received.
-type Span_TimeEvent_MessageEvent_Type int32
-
-const (
- // Unknown event type.
- Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED Span_TimeEvent_MessageEvent_Type = 0
- // Indicates a sent message.
- Span_TimeEvent_MessageEvent_SENT Span_TimeEvent_MessageEvent_Type = 1
- // Indicates a received message.
- Span_TimeEvent_MessageEvent_RECEIVED Span_TimeEvent_MessageEvent_Type = 2
-)
-
-var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
- 0: "TYPE_UNSPECIFIED",
- 1: "SENT",
- 2: "RECEIVED",
-}
-
-var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
- "TYPE_UNSPECIFIED": 0,
- "SENT": 1,
- "RECEIVED": 2,
-}
-
-func (x Span_TimeEvent_MessageEvent_Type) String() string {
- return proto.EnumName(Span_TimeEvent_MessageEvent_Type_name, int32(x))
-}
-
-func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 1, 1, 0}
-}
-
-// The relationship of the current span relative to the linked span: child,
-// parent, or unspecified.
-type Span_Link_Type int32
-
-const (
- // The relationship of the two spans is unknown.
- Span_Link_TYPE_UNSPECIFIED Span_Link_Type = 0
- // The linked span is a child of the current span.
- Span_Link_CHILD_LINKED_SPAN Span_Link_Type = 1
- // The linked span is a parent of the current span.
- Span_Link_PARENT_LINKED_SPAN Span_Link_Type = 2
-)
-
-var Span_Link_Type_name = map[int32]string{
- 0: "TYPE_UNSPECIFIED",
- 1: "CHILD_LINKED_SPAN",
- 2: "PARENT_LINKED_SPAN",
-}
-
-var Span_Link_Type_value = map[string]int32{
- "TYPE_UNSPECIFIED": 0,
- "CHILD_LINKED_SPAN": 1,
- "PARENT_LINKED_SPAN": 2,
-}
-
-func (x Span_Link_Type) String() string {
- return proto.EnumName(Span_Link_Type_name, int32(x))
-}
-
-func (Span_Link_Type) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 3, 0}
-}
-
-// A span represents a single operation within a trace. Spans can be
-// nested to form a trace tree. Often, a trace contains a root span
-// that describes the end-to-end latency, and one or more subspans for
-// its sub-operations. A trace can also contain multiple root spans,
-// or none at all. Spans do not need to be contiguous—there may be
-// gaps or overlaps between spans in a trace.
-type Span struct {
- // The resource name of the span in the following format:
- //
- // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
- //
- // [TRACE_ID] is a unique identifier for a trace within a project;
- // it is a 32-character hexadecimal encoding of a 16-byte array.
- //
- // [SPAN_ID] is a unique identifier for a span within a trace; it
- // is a 16-character hexadecimal encoding of an 8-byte array.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The [SPAN_ID] portion of the span's resource name.
- SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
- // The [SPAN_ID] of this span's parent span. If this is a root span,
- // then this field must be empty.
- ParentSpanId string `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
- // A description of the span's operation (up to 128 bytes).
- // Stackdriver Trace displays the description in the
- // {% dynamic print site_values.console_name %}.
- // For example, the display name can be a qualified method name or a file name
- // and a line number where the operation is called. A best practice is to use
- // the same display name within an application and at the same call point.
- // This makes it easier to correlate spans in different traces.
- DisplayName *TruncatableString `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // The start time of the span. On the client side, this is the time kept by
- // the local machine where the span execution starts. On the server side, this
- // is the time when the server's application handler starts running.
- StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // The end time of the span. On the client side, this is the time kept by
- // the local machine where the span execution ends. On the server side, this
- // is the time when the server application handler stops running.
- EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // A set of attributes on the span. You can have up to 32 attributes per
- // span.
- Attributes *Span_Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
- // Stack trace captured at the start of the span.
- StackTrace *StackTrace `protobuf:"bytes,8,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
- // A set of time events. You can have up to 32 annotations and 128 message
- // events per span.
- TimeEvents *Span_TimeEvents `protobuf:"bytes,9,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"`
- // Links associated with the span. You can have up to 128 links per Span.
- Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"`
- // An optional final status for this span.
- Status *status.Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
- // (Optional) Set this parameter to indicate whether this span is in
- // the same process as its parent. If you do not set this parameter,
- // Stackdriver Trace is unable to take advantage of this helpful
- // information.
- SameProcessAsParentSpan *wrappers.BoolValue `protobuf:"bytes,12,opt,name=same_process_as_parent_span,json=sameProcessAsParentSpan,proto3" json:"same_process_as_parent_span,omitempty"`
- // An optional number of child spans that were generated while this span
- // was active. If set, allows implementation to detect missing child spans.
- ChildSpanCount *wrappers.Int32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount,proto3" json:"child_span_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span) Reset() { *m = Span{} }
-func (m *Span) String() string { return proto.CompactTextString(m) }
-func (*Span) ProtoMessage() {}
-func (*Span) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0}
-}
-
-func (m *Span) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span.Unmarshal(m, b)
-}
-func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span.Marshal(b, m, deterministic)
-}
-func (m *Span) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span.Merge(m, src)
-}
-func (m *Span) XXX_Size() int {
- return xxx_messageInfo_Span.Size(m)
-}
-func (m *Span) XXX_DiscardUnknown() {
- xxx_messageInfo_Span.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span proto.InternalMessageInfo
-
-func (m *Span) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *Span) GetSpanId() string {
- if m != nil {
- return m.SpanId
- }
- return ""
-}
-
-func (m *Span) GetParentSpanId() string {
- if m != nil {
- return m.ParentSpanId
- }
- return ""
-}
-
-func (m *Span) GetDisplayName() *TruncatableString {
- if m != nil {
- return m.DisplayName
- }
- return nil
-}
-
-func (m *Span) GetStartTime() *timestamp.Timestamp {
- if m != nil {
- return m.StartTime
- }
- return nil
-}
-
-func (m *Span) GetEndTime() *timestamp.Timestamp {
- if m != nil {
- return m.EndTime
- }
- return nil
-}
-
-func (m *Span) GetAttributes() *Span_Attributes {
- if m != nil {
- return m.Attributes
- }
- return nil
-}
-
-func (m *Span) GetStackTrace() *StackTrace {
- if m != nil {
- return m.StackTrace
- }
- return nil
-}
-
-func (m *Span) GetTimeEvents() *Span_TimeEvents {
- if m != nil {
- return m.TimeEvents
- }
- return nil
-}
-
-func (m *Span) GetLinks() *Span_Links {
- if m != nil {
- return m.Links
- }
- return nil
-}
-
-func (m *Span) GetStatus() *status.Status {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-func (m *Span) GetSameProcessAsParentSpan() *wrappers.BoolValue {
- if m != nil {
- return m.SameProcessAsParentSpan
- }
- return nil
-}
-
-func (m *Span) GetChildSpanCount() *wrappers.Int32Value {
- if m != nil {
- return m.ChildSpanCount
- }
- return nil
-}
-
-// A set of attributes, each in the format `[KEY]:[VALUE]`.
-type Span_Attributes struct {
- // The set of attributes. Each attribute's key can be up to 128 bytes
- // long. The value can be a string up to 256 bytes, an integer, or the
- // Boolean values `true` and `false`. For example:
- //
- // "/instance_id": "my-instance"
- // "/http/user_agent": ""
- // "/http/request_bytes": 300
- // "abc.com/myattribute": true
- AttributeMap map[string]*AttributeValue `protobuf:"bytes,1,rep,name=attribute_map,json=attributeMap,proto3" json:"attribute_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // The number of attributes that were discarded. Attributes can be discarded
- // because their keys are too long or because there are too many attributes.
- // If this value is 0 then all attributes are valid.
- DroppedAttributesCount int32 `protobuf:"varint,2,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span_Attributes) Reset() { *m = Span_Attributes{} }
-func (m *Span_Attributes) String() string { return proto.CompactTextString(m) }
-func (*Span_Attributes) ProtoMessage() {}
-func (*Span_Attributes) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 0}
-}
-
-func (m *Span_Attributes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span_Attributes.Unmarshal(m, b)
-}
-func (m *Span_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span_Attributes.Marshal(b, m, deterministic)
-}
-func (m *Span_Attributes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span_Attributes.Merge(m, src)
-}
-func (m *Span_Attributes) XXX_Size() int {
- return xxx_messageInfo_Span_Attributes.Size(m)
-}
-func (m *Span_Attributes) XXX_DiscardUnknown() {
- xxx_messageInfo_Span_Attributes.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span_Attributes proto.InternalMessageInfo
-
-func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue {
- if m != nil {
- return m.AttributeMap
- }
- return nil
-}
-
-func (m *Span_Attributes) GetDroppedAttributesCount() int32 {
- if m != nil {
- return m.DroppedAttributesCount
- }
- return 0
-}
-
-// A time-stamped annotation or message event in the Span.
-type Span_TimeEvent struct {
- // The timestamp indicating the time the event occurred.
- Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
- // A `TimeEvent` can contain either an `Annotation` object or a
- // `MessageEvent` object, but not both.
- //
- // Types that are valid to be assigned to Value:
- // *Span_TimeEvent_Annotation_
- // *Span_TimeEvent_MessageEvent_
- Value isSpan_TimeEvent_Value `protobuf_oneof:"value"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span_TimeEvent) Reset() { *m = Span_TimeEvent{} }
-func (m *Span_TimeEvent) String() string { return proto.CompactTextString(m) }
-func (*Span_TimeEvent) ProtoMessage() {}
-func (*Span_TimeEvent) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 1}
-}
-
-func (m *Span_TimeEvent) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span_TimeEvent.Unmarshal(m, b)
-}
-func (m *Span_TimeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span_TimeEvent.Marshal(b, m, deterministic)
-}
-func (m *Span_TimeEvent) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span_TimeEvent.Merge(m, src)
-}
-func (m *Span_TimeEvent) XXX_Size() int {
- return xxx_messageInfo_Span_TimeEvent.Size(m)
-}
-func (m *Span_TimeEvent) XXX_DiscardUnknown() {
- xxx_messageInfo_Span_TimeEvent.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span_TimeEvent proto.InternalMessageInfo
-
-func (m *Span_TimeEvent) GetTime() *timestamp.Timestamp {
- if m != nil {
- return m.Time
- }
- return nil
-}
-
-type isSpan_TimeEvent_Value interface {
- isSpan_TimeEvent_Value()
-}
-
-type Span_TimeEvent_Annotation_ struct {
- Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,proto3,oneof"`
-}
-
-type Span_TimeEvent_MessageEvent_ struct {
- MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,proto3,oneof"`
-}
-
-func (*Span_TimeEvent_Annotation_) isSpan_TimeEvent_Value() {}
-
-func (*Span_TimeEvent_MessageEvent_) isSpan_TimeEvent_Value() {}
-
-func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation {
- if x, ok := m.GetValue().(*Span_TimeEvent_Annotation_); ok {
- return x.Annotation
- }
- return nil
-}
-
-func (m *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent {
- if x, ok := m.GetValue().(*Span_TimeEvent_MessageEvent_); ok {
- return x.MessageEvent
- }
- return nil
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*Span_TimeEvent) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*Span_TimeEvent_Annotation_)(nil),
- (*Span_TimeEvent_MessageEvent_)(nil),
- }
-}
-
-// Text annotation with a set of attributes.
-type Span_TimeEvent_Annotation struct {
- // A user-supplied message describing the event. The maximum length for
- // the description is 256 bytes.
- Description *TruncatableString `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- // A set of attributes on the annotation. You can have up to 4 attributes
- // per Annotation.
- Attributes *Span_Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span_TimeEvent_Annotation) Reset() { *m = Span_TimeEvent_Annotation{} }
-func (m *Span_TimeEvent_Annotation) String() string { return proto.CompactTextString(m) }
-func (*Span_TimeEvent_Annotation) ProtoMessage() {}
-func (*Span_TimeEvent_Annotation) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 1, 0}
-}
-
-func (m *Span_TimeEvent_Annotation) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span_TimeEvent_Annotation.Unmarshal(m, b)
-}
-func (m *Span_TimeEvent_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span_TimeEvent_Annotation.Marshal(b, m, deterministic)
-}
-func (m *Span_TimeEvent_Annotation) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span_TimeEvent_Annotation.Merge(m, src)
-}
-func (m *Span_TimeEvent_Annotation) XXX_Size() int {
- return xxx_messageInfo_Span_TimeEvent_Annotation.Size(m)
-}
-func (m *Span_TimeEvent_Annotation) XXX_DiscardUnknown() {
- xxx_messageInfo_Span_TimeEvent_Annotation.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span_TimeEvent_Annotation proto.InternalMessageInfo
-
-func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString {
- if m != nil {
- return m.Description
- }
- return nil
-}
-
-func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes {
- if m != nil {
- return m.Attributes
- }
- return nil
-}
-
-// An event describing a message sent/received between Spans.
-type Span_TimeEvent_MessageEvent struct {
- // Type of MessageEvent. Indicates whether the message was sent or
- // received.
- Type Span_TimeEvent_MessageEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.cloudtrace.v2.Span_TimeEvent_MessageEvent_Type" json:"type,omitempty"`
- // An identifier for the MessageEvent's message that can be used to match
- // SENT and RECEIVED MessageEvents. It is recommended to be unique within
- // a Span.
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
- // The number of uncompressed bytes sent or received.
- UncompressedSizeBytes int64 `protobuf:"varint,3,opt,name=uncompressed_size_bytes,json=uncompressedSizeBytes,proto3" json:"uncompressed_size_bytes,omitempty"`
- // The number of compressed bytes sent or received. If missing assumed to
- // be the same size as uncompressed.
- CompressedSizeBytes int64 `protobuf:"varint,4,opt,name=compressed_size_bytes,json=compressedSizeBytes,proto3" json:"compressed_size_bytes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span_TimeEvent_MessageEvent) Reset() { *m = Span_TimeEvent_MessageEvent{} }
-func (m *Span_TimeEvent_MessageEvent) String() string { return proto.CompactTextString(m) }
-func (*Span_TimeEvent_MessageEvent) ProtoMessage() {}
-func (*Span_TimeEvent_MessageEvent) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 1, 1}
-}
-
-func (m *Span_TimeEvent_MessageEvent) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span_TimeEvent_MessageEvent.Unmarshal(m, b)
-}
-func (m *Span_TimeEvent_MessageEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span_TimeEvent_MessageEvent.Marshal(b, m, deterministic)
-}
-func (m *Span_TimeEvent_MessageEvent) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span_TimeEvent_MessageEvent.Merge(m, src)
-}
-func (m *Span_TimeEvent_MessageEvent) XXX_Size() int {
- return xxx_messageInfo_Span_TimeEvent_MessageEvent.Size(m)
-}
-func (m *Span_TimeEvent_MessageEvent) XXX_DiscardUnknown() {
- xxx_messageInfo_Span_TimeEvent_MessageEvent.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span_TimeEvent_MessageEvent proto.InternalMessageInfo
-
-func (m *Span_TimeEvent_MessageEvent) GetType() Span_TimeEvent_MessageEvent_Type {
- if m != nil {
- return m.Type
- }
- return Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED
-}
-
-func (m *Span_TimeEvent_MessageEvent) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
-}
-
-func (m *Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes() int64 {
- if m != nil {
- return m.UncompressedSizeBytes
- }
- return 0
-}
-
-func (m *Span_TimeEvent_MessageEvent) GetCompressedSizeBytes() int64 {
- if m != nil {
- return m.CompressedSizeBytes
- }
- return 0
-}
-
-// A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
-// on the span, consisting of either user-supplied key:value pairs, or
-// details of a message sent/received between Spans.
-type Span_TimeEvents struct {
- // A collection of `TimeEvent`s.
- TimeEvent []*Span_TimeEvent `protobuf:"bytes,1,rep,name=time_event,json=timeEvent,proto3" json:"time_event,omitempty"`
- // The number of dropped annotations in all the included time events.
- // If the value is 0, then no annotations were dropped.
- DroppedAnnotationsCount int32 `protobuf:"varint,2,opt,name=dropped_annotations_count,json=droppedAnnotationsCount,proto3" json:"dropped_annotations_count,omitempty"`
- // The number of dropped message events in all the included time events.
- // If the value is 0, then no message events were dropped.
- DroppedMessageEventsCount int32 `protobuf:"varint,3,opt,name=dropped_message_events_count,json=droppedMessageEventsCount,proto3" json:"dropped_message_events_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span_TimeEvents) Reset() { *m = Span_TimeEvents{} }
-func (m *Span_TimeEvents) String() string { return proto.CompactTextString(m) }
-func (*Span_TimeEvents) ProtoMessage() {}
-func (*Span_TimeEvents) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 2}
-}
-
-func (m *Span_TimeEvents) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span_TimeEvents.Unmarshal(m, b)
-}
-func (m *Span_TimeEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span_TimeEvents.Marshal(b, m, deterministic)
-}
-func (m *Span_TimeEvents) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span_TimeEvents.Merge(m, src)
-}
-func (m *Span_TimeEvents) XXX_Size() int {
- return xxx_messageInfo_Span_TimeEvents.Size(m)
-}
-func (m *Span_TimeEvents) XXX_DiscardUnknown() {
- xxx_messageInfo_Span_TimeEvents.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span_TimeEvents proto.InternalMessageInfo
-
-func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent {
- if m != nil {
- return m.TimeEvent
- }
- return nil
-}
-
-func (m *Span_TimeEvents) GetDroppedAnnotationsCount() int32 {
- if m != nil {
- return m.DroppedAnnotationsCount
- }
- return 0
-}
-
-func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32 {
- if m != nil {
- return m.DroppedMessageEventsCount
- }
- return 0
-}
-
-// A pointer from the current span to another span in the same trace or in a
-// different trace. For example, this can be used in batching operations,
-// where a single batch handler processes multiple requests from different
-// traces or when the handler receives a request from a different project.
-type Span_Link struct {
- // The [TRACE_ID] for a trace within a project.
- TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
- // The [SPAN_ID] for a span within a trace.
- SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
- // The relationship of the current span relative to the linked span.
- Type Span_Link_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.devtools.cloudtrace.v2.Span_Link_Type" json:"type,omitempty"`
- // A set of attributes on the link. You have have up to 32 attributes per
- // link.
- Attributes *Span_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span_Link) Reset() { *m = Span_Link{} }
-func (m *Span_Link) String() string { return proto.CompactTextString(m) }
-func (*Span_Link) ProtoMessage() {}
-func (*Span_Link) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 3}
-}
-
-func (m *Span_Link) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span_Link.Unmarshal(m, b)
-}
-func (m *Span_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span_Link.Marshal(b, m, deterministic)
-}
-func (m *Span_Link) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span_Link.Merge(m, src)
-}
-func (m *Span_Link) XXX_Size() int {
- return xxx_messageInfo_Span_Link.Size(m)
-}
-func (m *Span_Link) XXX_DiscardUnknown() {
- xxx_messageInfo_Span_Link.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span_Link proto.InternalMessageInfo
-
-func (m *Span_Link) GetTraceId() string {
- if m != nil {
- return m.TraceId
- }
- return ""
-}
-
-func (m *Span_Link) GetSpanId() string {
- if m != nil {
- return m.SpanId
- }
- return ""
-}
-
-func (m *Span_Link) GetType() Span_Link_Type {
- if m != nil {
- return m.Type
- }
- return Span_Link_TYPE_UNSPECIFIED
-}
-
-func (m *Span_Link) GetAttributes() *Span_Attributes {
- if m != nil {
- return m.Attributes
- }
- return nil
-}
-
-// A collection of links, which are references from this span to a span
-// in the same or different trace.
-type Span_Links struct {
- // A collection of links.
- Link []*Span_Link `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
- // The number of dropped links after the maximum size was enforced. If
- // this value is 0, then no links were dropped.
- DroppedLinksCount int32 `protobuf:"varint,2,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Span_Links) Reset() { *m = Span_Links{} }
-func (m *Span_Links) String() string { return proto.CompactTextString(m) }
-func (*Span_Links) ProtoMessage() {}
-func (*Span_Links) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{0, 4}
-}
-
-func (m *Span_Links) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Span_Links.Unmarshal(m, b)
-}
-func (m *Span_Links) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Span_Links.Marshal(b, m, deterministic)
-}
-func (m *Span_Links) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Span_Links.Merge(m, src)
-}
-func (m *Span_Links) XXX_Size() int {
- return xxx_messageInfo_Span_Links.Size(m)
-}
-func (m *Span_Links) XXX_DiscardUnknown() {
- xxx_messageInfo_Span_Links.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Span_Links proto.InternalMessageInfo
-
-func (m *Span_Links) GetLink() []*Span_Link {
- if m != nil {
- return m.Link
- }
- return nil
-}
-
-func (m *Span_Links) GetDroppedLinksCount() int32 {
- if m != nil {
- return m.DroppedLinksCount
- }
- return 0
-}
-
-// The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
-type AttributeValue struct {
- // The type of the value.
- //
- // Types that are valid to be assigned to Value:
- // *AttributeValue_StringValue
- // *AttributeValue_IntValue
- // *AttributeValue_BoolValue
- Value isAttributeValue_Value `protobuf_oneof:"value"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AttributeValue) Reset() { *m = AttributeValue{} }
-func (m *AttributeValue) String() string { return proto.CompactTextString(m) }
-func (*AttributeValue) ProtoMessage() {}
-func (*AttributeValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{1}
-}
-
-func (m *AttributeValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AttributeValue.Unmarshal(m, b)
-}
-func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AttributeValue.Marshal(b, m, deterministic)
-}
-func (m *AttributeValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AttributeValue.Merge(m, src)
-}
-func (m *AttributeValue) XXX_Size() int {
- return xxx_messageInfo_AttributeValue.Size(m)
-}
-func (m *AttributeValue) XXX_DiscardUnknown() {
- xxx_messageInfo_AttributeValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AttributeValue proto.InternalMessageInfo
-
-type isAttributeValue_Value interface {
- isAttributeValue_Value()
-}
-
-type AttributeValue_StringValue struct {
- StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
-}
-
-type AttributeValue_IntValue struct {
- IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
-}
-
-type AttributeValue_BoolValue struct {
- BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
-}
-
-func (*AttributeValue_StringValue) isAttributeValue_Value() {}
-
-func (*AttributeValue_IntValue) isAttributeValue_Value() {}
-
-func (*AttributeValue_BoolValue) isAttributeValue_Value() {}
-
-func (m *AttributeValue) GetValue() isAttributeValue_Value {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-func (m *AttributeValue) GetStringValue() *TruncatableString {
- if x, ok := m.GetValue().(*AttributeValue_StringValue); ok {
- return x.StringValue
- }
- return nil
-}
-
-func (m *AttributeValue) GetIntValue() int64 {
- if x, ok := m.GetValue().(*AttributeValue_IntValue); ok {
- return x.IntValue
- }
- return 0
-}
-
-func (m *AttributeValue) GetBoolValue() bool {
- if x, ok := m.GetValue().(*AttributeValue_BoolValue); ok {
- return x.BoolValue
- }
- return false
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*AttributeValue) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*AttributeValue_StringValue)(nil),
- (*AttributeValue_IntValue)(nil),
- (*AttributeValue_BoolValue)(nil),
- }
-}
-
-// A call stack appearing in a trace.
-type StackTrace struct {
- // Stack frames in this stack trace. A maximum of 128 frames are allowed.
- StackFrames *StackTrace_StackFrames `protobuf:"bytes,1,opt,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"`
- // The hash ID is used to conserve network bandwidth for duplicate
- // stack traces within a single trace.
- //
- // Often multiple spans will have identical stack traces.
- // The first occurrence of a stack trace should contain both the
- // `stackFrame` content and a value in `stackTraceHashId`.
- //
- // Subsequent spans within the same request can refer
- // to that stack trace by only setting `stackTraceHashId`.
- StackTraceHashId int64 `protobuf:"varint,2,opt,name=stack_trace_hash_id,json=stackTraceHashId,proto3" json:"stack_trace_hash_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *StackTrace) Reset() { *m = StackTrace{} }
-func (m *StackTrace) String() string { return proto.CompactTextString(m) }
-func (*StackTrace) ProtoMessage() {}
-func (*StackTrace) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{2}
-}
-
-func (m *StackTrace) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_StackTrace.Unmarshal(m, b)
-}
-func (m *StackTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_StackTrace.Marshal(b, m, deterministic)
-}
-func (m *StackTrace) XXX_Merge(src proto.Message) {
- xxx_messageInfo_StackTrace.Merge(m, src)
-}
-func (m *StackTrace) XXX_Size() int {
- return xxx_messageInfo_StackTrace.Size(m)
-}
-func (m *StackTrace) XXX_DiscardUnknown() {
- xxx_messageInfo_StackTrace.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_StackTrace proto.InternalMessageInfo
-
-func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames {
- if m != nil {
- return m.StackFrames
- }
- return nil
-}
-
-func (m *StackTrace) GetStackTraceHashId() int64 {
- if m != nil {
- return m.StackTraceHashId
- }
- return 0
-}
-
-// Represents a single stack frame in a stack trace.
-type StackTrace_StackFrame struct {
- // The fully-qualified name that uniquely identifies the function or
- // method that is active in this frame (up to 1024 bytes).
- FunctionName *TruncatableString `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
- // An un-mangled function name, if `function_name` is
- // [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
- // be fully-qualified (up to 1024 bytes).
- OriginalFunctionName *TruncatableString `protobuf:"bytes,2,opt,name=original_function_name,json=originalFunctionName,proto3" json:"original_function_name,omitempty"`
- // The name of the source file where the function call appears (up to 256
- // bytes).
- FileName *TruncatableString `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
- // The line number in `file_name` where the function call appears.
- LineNumber int64 `protobuf:"varint,4,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
- // The column number where the function call appears, if available.
- // This is important in JavaScript because of its anonymous functions.
- ColumnNumber int64 `protobuf:"varint,5,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"`
- // The binary module from where the code was loaded.
- LoadModule *Module `protobuf:"bytes,6,opt,name=load_module,json=loadModule,proto3" json:"load_module,omitempty"`
- // The version of the deployed source code (up to 128 bytes).
- SourceVersion *TruncatableString `protobuf:"bytes,7,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *StackTrace_StackFrame) Reset() { *m = StackTrace_StackFrame{} }
-func (m *StackTrace_StackFrame) String() string { return proto.CompactTextString(m) }
-func (*StackTrace_StackFrame) ProtoMessage() {}
-func (*StackTrace_StackFrame) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{2, 0}
-}
-
-func (m *StackTrace_StackFrame) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_StackTrace_StackFrame.Unmarshal(m, b)
-}
-func (m *StackTrace_StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_StackTrace_StackFrame.Marshal(b, m, deterministic)
-}
-func (m *StackTrace_StackFrame) XXX_Merge(src proto.Message) {
- xxx_messageInfo_StackTrace_StackFrame.Merge(m, src)
-}
-func (m *StackTrace_StackFrame) XXX_Size() int {
- return xxx_messageInfo_StackTrace_StackFrame.Size(m)
-}
-func (m *StackTrace_StackFrame) XXX_DiscardUnknown() {
- xxx_messageInfo_StackTrace_StackFrame.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_StackTrace_StackFrame proto.InternalMessageInfo
-
-func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString {
- if m != nil {
- return m.FunctionName
- }
- return nil
-}
-
-func (m *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString {
- if m != nil {
- return m.OriginalFunctionName
- }
- return nil
-}
-
-func (m *StackTrace_StackFrame) GetFileName() *TruncatableString {
- if m != nil {
- return m.FileName
- }
- return nil
-}
-
-func (m *StackTrace_StackFrame) GetLineNumber() int64 {
- if m != nil {
- return m.LineNumber
- }
- return 0
-}
-
-func (m *StackTrace_StackFrame) GetColumnNumber() int64 {
- if m != nil {
- return m.ColumnNumber
- }
- return 0
-}
-
-func (m *StackTrace_StackFrame) GetLoadModule() *Module {
- if m != nil {
- return m.LoadModule
- }
- return nil
-}
-
-func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString {
- if m != nil {
- return m.SourceVersion
- }
- return nil
-}
-
-// A collection of stack frames, which can be truncated.
-type StackTrace_StackFrames struct {
- // Stack frames in this call stack.
- Frame []*StackTrace_StackFrame `protobuf:"bytes,1,rep,name=frame,proto3" json:"frame,omitempty"`
- // The number of stack frames that were dropped because there
- // were too many stack frames.
- // If this value is 0, then no stack frames were dropped.
- DroppedFramesCount int32 `protobuf:"varint,2,opt,name=dropped_frames_count,json=droppedFramesCount,proto3" json:"dropped_frames_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *StackTrace_StackFrames) Reset() { *m = StackTrace_StackFrames{} }
-func (m *StackTrace_StackFrames) String() string { return proto.CompactTextString(m) }
-func (*StackTrace_StackFrames) ProtoMessage() {}
-func (*StackTrace_StackFrames) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{2, 1}
-}
-
-func (m *StackTrace_StackFrames) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_StackTrace_StackFrames.Unmarshal(m, b)
-}
-func (m *StackTrace_StackFrames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_StackTrace_StackFrames.Marshal(b, m, deterministic)
-}
-func (m *StackTrace_StackFrames) XXX_Merge(src proto.Message) {
- xxx_messageInfo_StackTrace_StackFrames.Merge(m, src)
-}
-func (m *StackTrace_StackFrames) XXX_Size() int {
- return xxx_messageInfo_StackTrace_StackFrames.Size(m)
-}
-func (m *StackTrace_StackFrames) XXX_DiscardUnknown() {
- xxx_messageInfo_StackTrace_StackFrames.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_StackTrace_StackFrames proto.InternalMessageInfo
-
-func (m *StackTrace_StackFrames) GetFrame() []*StackTrace_StackFrame {
- if m != nil {
- return m.Frame
- }
- return nil
-}
-
-func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32 {
- if m != nil {
- return m.DroppedFramesCount
- }
- return 0
-}
-
-// Binary module.
-type Module struct {
- // For example: main binary, kernel modules, and dynamic libraries
- // such as libc.so, sharedlib.so (up to 256 bytes).
- Module *TruncatableString `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
- // A unique identifier for the module, usually a hash of its
- // contents (up to 128 bytes).
- BuildId *TruncatableString `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Module) Reset() { *m = Module{} }
-func (m *Module) String() string { return proto.CompactTextString(m) }
-func (*Module) ProtoMessage() {}
-func (*Module) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{3}
-}
-
-func (m *Module) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Module.Unmarshal(m, b)
-}
-func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Module.Marshal(b, m, deterministic)
-}
-func (m *Module) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Module.Merge(m, src)
-}
-func (m *Module) XXX_Size() int {
- return xxx_messageInfo_Module.Size(m)
-}
-func (m *Module) XXX_DiscardUnknown() {
- xxx_messageInfo_Module.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Module proto.InternalMessageInfo
-
-func (m *Module) GetModule() *TruncatableString {
- if m != nil {
- return m.Module
- }
- return nil
-}
-
-func (m *Module) GetBuildId() *TruncatableString {
- if m != nil {
- return m.BuildId
- }
- return nil
-}
-
-// Represents a string that might be shortened to a specified length.
-type TruncatableString struct {
- // The shortened string. For example, if the original string is 500
- // bytes long and the limit of the string is 128 bytes, then
- // `value` contains the first 128 bytes of the 500-byte string.
- //
- // Truncation always happens on a UTF8 character boundary. If there
- // are multi-byte characters in the string, then the length of the
- // shortened string might be less than the size limit.
- Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- // The number of bytes removed from the original string. If this
- // value is 0, then the string was not shortened.
- TruncatedByteCount int32 `protobuf:"varint,2,opt,name=truncated_byte_count,json=truncatedByteCount,proto3" json:"truncated_byte_count,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TruncatableString) Reset() { *m = TruncatableString{} }
-func (m *TruncatableString) String() string { return proto.CompactTextString(m) }
-func (*TruncatableString) ProtoMessage() {}
-func (*TruncatableString) Descriptor() ([]byte, []int) {
- return fileDescriptor_29869cc16dc8ce61, []int{4}
-}
-
-func (m *TruncatableString) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TruncatableString.Unmarshal(m, b)
-}
-func (m *TruncatableString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TruncatableString.Marshal(b, m, deterministic)
-}
-func (m *TruncatableString) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TruncatableString.Merge(m, src)
-}
-func (m *TruncatableString) XXX_Size() int {
- return xxx_messageInfo_TruncatableString.Size(m)
-}
-func (m *TruncatableString) XXX_DiscardUnknown() {
- xxx_messageInfo_TruncatableString.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_TruncatableString proto.InternalMessageInfo
-
-func (m *TruncatableString) GetValue() string {
- if m != nil {
- return m.Value
- }
- return ""
-}
-
-func (m *TruncatableString) GetTruncatedByteCount() int32 {
- if m != nil {
- return m.TruncatedByteCount
- }
- return 0
-}
-
-func init() {
- proto.RegisterEnum("google.devtools.cloudtrace.v2.Span_TimeEvent_MessageEvent_Type", Span_TimeEvent_MessageEvent_Type_name, Span_TimeEvent_MessageEvent_Type_value)
- proto.RegisterEnum("google.devtools.cloudtrace.v2.Span_Link_Type", Span_Link_Type_name, Span_Link_Type_value)
- proto.RegisterType((*Span)(nil), "google.devtools.cloudtrace.v2.Span")
- proto.RegisterType((*Span_Attributes)(nil), "google.devtools.cloudtrace.v2.Span.Attributes")
- proto.RegisterMapType((map[string]*AttributeValue)(nil), "google.devtools.cloudtrace.v2.Span.Attributes.AttributeMapEntry")
- proto.RegisterType((*Span_TimeEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent")
- proto.RegisterType((*Span_TimeEvent_Annotation)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation")
- proto.RegisterType((*Span_TimeEvent_MessageEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent")
- proto.RegisterType((*Span_TimeEvents)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvents")
- proto.RegisterType((*Span_Link)(nil), "google.devtools.cloudtrace.v2.Span.Link")
- proto.RegisterType((*Span_Links)(nil), "google.devtools.cloudtrace.v2.Span.Links")
- proto.RegisterType((*AttributeValue)(nil), "google.devtools.cloudtrace.v2.AttributeValue")
- proto.RegisterType((*StackTrace)(nil), "google.devtools.cloudtrace.v2.StackTrace")
- proto.RegisterType((*StackTrace_StackFrame)(nil), "google.devtools.cloudtrace.v2.StackTrace.StackFrame")
- proto.RegisterType((*StackTrace_StackFrames)(nil), "google.devtools.cloudtrace.v2.StackTrace.StackFrames")
- proto.RegisterType((*Module)(nil), "google.devtools.cloudtrace.v2.Module")
- proto.RegisterType((*TruncatableString)(nil), "google.devtools.cloudtrace.v2.TruncatableString")
-}
-
-func init() {
- proto.RegisterFile("google/devtools/cloudtrace/v2/trace.proto", fileDescriptor_29869cc16dc8ce61)
-}
-
-var fileDescriptor_29869cc16dc8ce61 = []byte{
- // 1425 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4b, 0x6f, 0xdb, 0xc6,
- 0x16, 0x36, 0xf5, 0xd6, 0x91, 0x6c, 0xc8, 0x13, 0x3b, 0x56, 0x94, 0xe4, 0x26, 0xd7, 0xf7, 0x16,
- 0x70, 0x0a, 0x98, 0x0a, 0x94, 0xa4, 0x48, 0xd3,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, 0xf5, 0x1f, 0x60, 0xf9, 0x1d, 0x29, 0x5a,
- 0x89, 0x67, 0x43, 0xd9, 0x1b, 0xe4, 0x86, 0xbb, 0xcf, 0xa4, 0x2a, 0xb1, 0x45, 0x13, 0x9e, 0x75,
- 0x3f, 0x91, 0xf1, 0x26, 0x2c, 0xdc, 0xdf, 0x7e, 0xad, 0xc1, 0x7f, 0x2d, 0x7f, 0xf2, 0x71, 0xeb,
- 0xb6, 0x41, 0xdc, 0x77, 0x9f, 0x4f, 0x88, 0x7d, 0xed, 0xf9, 0x23, 0xa5, 0x3c, 0xf6, 0x5d, 0xec,
- 0x8d, 0x75, 0x3f, 0x1c, 0x37, 0xc7, 0xc4, 0x13, 0xf3, 0x63, 0x53, 0x8a, 0x70, 0xe0, 0xd0, 0x0f,
- 0xfc, 0x6d, 0x7f, 0x95, 0xee, 0x5e, 0x67, 0x56, 0x1f, 0x49, 0xa6, 0x1d, 0x7e, 0xa6, 0xcb, 0x47,
- 0x3d, 0x6c, 0xfd, 0x19, 0x9f, 0xbf, 0x10, 0xe7, 0x2f, 0xc4, 0xf9, 0x8b, 0xc3, 0xd6, 0xa8, 0x20,
- 0xbe, 0x71, 0xe7, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x3c, 0x8a, 0x77, 0xd0, 0x0f, 0x00,
- 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go
deleted file mode 100644
index 5bfabefd8..000000000
--- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go
+++ /dev/null
@@ -1,228 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/devtools/cloudtrace/v2/tracing.proto
-
-package cloudtrace
-
-import (
- context "context"
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- empty "github.com/golang/protobuf/ptypes/empty"
- _ "github.com/golang/protobuf/ptypes/timestamp"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- grpc "google.golang.org/grpc"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// The request message for the `BatchWriteSpans` method.
-type BatchWriteSpansRequest struct {
- // Required. The name of the project where the spans belong. The format is
- // `projects/[PROJECT_ID]`.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // A list of new spans. The span names must not match existing
- // spans, or the results are undefined.
- Spans []*Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *BatchWriteSpansRequest) Reset() { *m = BatchWriteSpansRequest{} }
-func (m *BatchWriteSpansRequest) String() string { return proto.CompactTextString(m) }
-func (*BatchWriteSpansRequest) ProtoMessage() {}
-func (*BatchWriteSpansRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_d1f9b588db05fdc6, []int{0}
-}
-
-func (m *BatchWriteSpansRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BatchWriteSpansRequest.Unmarshal(m, b)
-}
-func (m *BatchWriteSpansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BatchWriteSpansRequest.Marshal(b, m, deterministic)
-}
-func (m *BatchWriteSpansRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BatchWriteSpansRequest.Merge(m, src)
-}
-func (m *BatchWriteSpansRequest) XXX_Size() int {
- return xxx_messageInfo_BatchWriteSpansRequest.Size(m)
-}
-func (m *BatchWriteSpansRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_BatchWriteSpansRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BatchWriteSpansRequest proto.InternalMessageInfo
-
-func (m *BatchWriteSpansRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *BatchWriteSpansRequest) GetSpans() []*Span {
- if m != nil {
- return m.Spans
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*BatchWriteSpansRequest)(nil), "google.devtools.cloudtrace.v2.BatchWriteSpansRequest")
-}
-
-func init() {
- proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor_d1f9b588db05fdc6)
-}
-
-var fileDescriptor_d1f9b588db05fdc6 = []byte{
- // 404 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x6a, 0xdb, 0x30,
- 0x14, 0x46, 0xde, 0x0f, 0x4c, 0x1b, 0x0c, 0x04, 0x0b, 0xc1, 0xdb, 0x58, 0xe6, 0x0d, 0x96, 0x64,
- 0x43, 0x02, 0x8f, 0x5d, 0x2c, 0x63, 0x37, 0x09, 0x23, 0xb7, 0x21, 0x19, 0x19, 0x8c, 0xdc, 0x28,
- 0x8e, 0xa6, 0x69, 0xd8, 0x92, 0x67, 0x29, 0x86, 0x52, 0x7a, 0xd3, 0x9b, 0x3e, 0x40, 0xfb, 0x14,
- 0xa5, 0xd0, 0xf7, 0xe8, 0x6d, 0x5f, 0xa1, 0x0f, 0x52, 0x24, 0xd9, 0x0d, 0x84, 0x34, 0xc9, 0x9d,
- 0xce, 0x39, 0xdf, 0xf9, 0xce, 0xf7, 0x7d, 0x36, 0xfc, 0xc8, 0x95, 0xe2, 0x29, 0x23, 0x0b, 0x56,
- 0x1a, 0xa5, 0x52, 0x4d, 0x92, 0x54, 0x2d, 0x17, 0xa6, 0xa0, 0x09, 0x23, 0x65, 0x4c, 0xec, 0x43,
- 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80, 0x70, 0x50, 0x30, 0xea, 0x4f, 0xa0, 0x7d, 0x2c, 0x86, 0xfb, 0x80,
- 0x22, 0xe2, 0xc4, 0x74, 0xa2, 0xf7, 0x9b, 0xc4, 0x54, 0x5a, 0xac, 0x2a, 0x17, 0x57, 0x0f, 0x74,
- 0xfb, 0x17, 0x00, 0xbe, 0x4d, 0x54, 0xb6, 0x9d, 0xbb, 0xef, 0x42, 0x15, 0x92, 0x8f, 0xac, 0xf5,
- 0x11, 0xf8, 0x3d, 0xac, 0xe0, 0x5c, 0xa5, 0x54, 0x72, 0xac, 0x0a, 0x4e, 0x38, 0x93, 0x2e, 0x18,
- 0xe2, 0x47, 0x34, 0x17, 0xfa, 0x9e, 0x1f, 0xeb, 0xdb, 0xaa, 0x3a, 0x0f, 0x5e, 0x0c, 0x3d, 0xd3,
- 0xc0, 0xf6, 0xb0, 0xfb, 0x76, 0x78, 0x1a, 0x5f, 0xd5, 0xfd, 0x99, 0xeb, 0xcf, 0x5c, 0x7f, 0x36,
- 0x8d, 0xe7, 0x8f, 0xdd, 0x8d, 0xcf, 0xb7, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x94, 0x51, 0x1d,
- 0x25, 0x03, 0x00, 0x00,
-}
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// TraceServiceClient is the client API for TraceService service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type TraceServiceClient interface {
- // Sends new spans to new or existing traces. You cannot update
- // existing spans.
- BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- // Creates a new span.
- CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error)
-}
-
-type traceServiceClient struct {
- cc *grpc.ClientConn
-}
-
-func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient {
- return &traceServiceClient{cc}
-}
-
-func (c *traceServiceClient) BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *traceServiceClient) CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error) {
- out := new(Span)
- err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/CreateSpan", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// TraceServiceServer is the server API for TraceService service.
-type TraceServiceServer interface {
- // Sends new spans to new or existing traces. You cannot update
- // existing spans.
- BatchWriteSpans(context.Context, *BatchWriteSpansRequest) (*empty.Empty, error)
- // Creates a new span.
- CreateSpan(context.Context, *Span) (*Span, error)
-}
-
-func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) {
- s.RegisterService(&_TraceService_serviceDesc, srv)
-}
-
-func _TraceService_BatchWriteSpans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(BatchWriteSpansRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TraceServiceServer).BatchWriteSpans(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TraceServiceServer).BatchWriteSpans(ctx, req.(*BatchWriteSpansRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _TraceService_CreateSpan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Span)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TraceServiceServer).CreateSpan(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.devtools.cloudtrace.v2.TraceService/CreateSpan",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TraceServiceServer).CreateSpan(ctx, req.(*Span))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-var _TraceService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.devtools.cloudtrace.v2.TraceService",
- HandlerType: (*TraceServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "BatchWriteSpans",
- Handler: _TraceService_BatchWriteSpans_Handler,
- },
- {
- MethodName: "CreateSpan",
- Handler: _TraceService_CreateSpan_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/devtools/cloudtrace/v2/tracing.proto",
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go
deleted file mode 100644
index 311f4b3c1..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go
+++ /dev/null
@@ -1,849 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/alert.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- duration "github.com/golang/protobuf/ptypes/duration"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- _ "google.golang.org/genproto/googleapis/api/annotations"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// Operators for combining conditions.
-type AlertPolicy_ConditionCombinerType int32
-
-const (
- // An unspecified combiner.
- AlertPolicy_COMBINE_UNSPECIFIED AlertPolicy_ConditionCombinerType = 0
- // Combine conditions using the logical `AND` operator. An
- // incident is created only if all conditions are met
- // simultaneously. This combiner is satisfied if all conditions are
- // met, even if they are met on completely different resources.
- AlertPolicy_AND AlertPolicy_ConditionCombinerType = 1
- // Combine conditions using the logical `OR` operator. An incident
- // is created if any of the listed conditions is met.
- AlertPolicy_OR AlertPolicy_ConditionCombinerType = 2
- // Combine conditions using logical `AND` operator, but unlike the regular
- // `AND` option, an incident is created only if all conditions are met
- // simultaneously on at least one resource.
- AlertPolicy_AND_WITH_MATCHING_RESOURCE AlertPolicy_ConditionCombinerType = 3
-)
-
-var AlertPolicy_ConditionCombinerType_name = map[int32]string{
- 0: "COMBINE_UNSPECIFIED",
- 1: "AND",
- 2: "OR",
- 3: "AND_WITH_MATCHING_RESOURCE",
-}
-
-var AlertPolicy_ConditionCombinerType_value = map[string]int32{
- "COMBINE_UNSPECIFIED": 0,
- "AND": 1,
- "OR": 2,
- "AND_WITH_MATCHING_RESOURCE": 3,
-}
-
-func (x AlertPolicy_ConditionCombinerType) String() string {
- return proto.EnumName(AlertPolicy_ConditionCombinerType_name, int32(x))
-}
-
-func (AlertPolicy_ConditionCombinerType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_014ef0e1a0f00a00, []int{0, 0}
-}
-
-// A description of the conditions under which some aspect of your system is
-// considered to be "unhealthy" and the ways to notify people or services about
-// this state. For an overview of alert policies, see
-// [Introduction to Alerting](/monitoring/alerts/).
-type AlertPolicy struct {
- // Required if the policy exists. The resource name for this policy. The
- // syntax is:
- //
- // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
- //
- // `[ALERT_POLICY_ID]` is assigned by Stackdriver Monitoring when the policy
- // is created. When calling the
- // [alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
- // method, do not include the `name` field in the alerting policy passed as
- // part of the request.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // A short name or phrase used to identify the policy in dashboards,
- // notifications, and incidents. To avoid confusion, don't use the same
- // display name for multiple policies in the same project. The name is
- // limited to 512 Unicode characters.
- DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // Documentation that is included with notifications and incidents related to
- // this policy. Best practice is for the documentation to include information
- // to help responders understand, mitigate, escalate, and correct the
- // underlying problems detected by the alerting policy. Notification channels
- // that have limited capacity might not show this documentation.
- Documentation *AlertPolicy_Documentation `protobuf:"bytes,13,opt,name=documentation,proto3" json:"documentation,omitempty"`
- // User-supplied key/value data to be used for organizing and
- // identifying the `AlertPolicy` objects.
- //
- // The field can contain up to 64 entries. Each key and value is limited to
- // 63 Unicode characters or 128 bytes, whichever is smaller. Labels and
- // values can contain only lowercase letters, numerals, underscores, and
- // dashes. Keys must begin with a letter.
- UserLabels map[string]string `protobuf:"bytes,16,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // A list of conditions for the policy. The conditions are combined by AND or
- // OR according to the `combiner` field. If the combined conditions evaluate
- // to true, then an incident is created. A policy can have from one to six
- // conditions.
- Conditions []*AlertPolicy_Condition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"`
- // How to combine the results of multiple conditions
- // to determine if an incident should be opened.
- Combiner AlertPolicy_ConditionCombinerType `protobuf:"varint,6,opt,name=combiner,proto3,enum=google.monitoring.v3.AlertPolicy_ConditionCombinerType" json:"combiner,omitempty"`
- // Whether or not the policy is enabled. On write, the default interpretation
- // if unset is that the policy is enabled. On read, clients should not make
- // any assumption about the state if it has not been populated. The
- // field should always be populated on List and Get operations, unless
- // a field projection has been specified that strips it out.
- Enabled *wrappers.BoolValue `protobuf:"bytes,17,opt,name=enabled,proto3" json:"enabled,omitempty"`
- // Identifies the notification channels to which notifications should be sent
- // when incidents are opened or closed or when new violations occur on
- // an already opened incident. Each element of this array corresponds to
- // the `name` field in each of the
- // [`NotificationChannel`][google.monitoring.v3.NotificationChannel]
- // objects that are returned from the [`ListNotificationChannels`]
- // [google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
- // method. The syntax of the entries in this field is:
- //
- // projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
- NotificationChannels []string `protobuf:"bytes,14,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
- // A read-only record of the creation of the alerting policy. If provided
- // in a call to create or update, this field will be ignored.
- CreationRecord *MutationRecord `protobuf:"bytes,10,opt,name=creation_record,json=creationRecord,proto3" json:"creation_record,omitempty"`
- // A read-only record of the most recent change to the alerting policy. If
- // provided in a call to create or update, this field will be ignored.
- MutationRecord *MutationRecord `protobuf:"bytes,11,opt,name=mutation_record,json=mutationRecord,proto3" json:"mutation_record,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AlertPolicy) Reset() { *m = AlertPolicy{} }
-func (m *AlertPolicy) String() string { return proto.CompactTextString(m) }
-func (*AlertPolicy) ProtoMessage() {}
-func (*AlertPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_014ef0e1a0f00a00, []int{0}
-}
-
-func (m *AlertPolicy) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlertPolicy.Unmarshal(m, b)
-}
-func (m *AlertPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlertPolicy.Marshal(b, m, deterministic)
-}
-func (m *AlertPolicy) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlertPolicy.Merge(m, src)
-}
-func (m *AlertPolicy) XXX_Size() int {
- return xxx_messageInfo_AlertPolicy.Size(m)
-}
-func (m *AlertPolicy) XXX_DiscardUnknown() {
- xxx_messageInfo_AlertPolicy.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AlertPolicy proto.InternalMessageInfo
-
-func (m *AlertPolicy) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *AlertPolicy) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-func (m *AlertPolicy) GetDocumentation() *AlertPolicy_Documentation {
- if m != nil {
- return m.Documentation
- }
- return nil
-}
-
-func (m *AlertPolicy) GetUserLabels() map[string]string {
- if m != nil {
- return m.UserLabels
- }
- return nil
-}
-
-func (m *AlertPolicy) GetConditions() []*AlertPolicy_Condition {
- if m != nil {
- return m.Conditions
- }
- return nil
-}
-
-func (m *AlertPolicy) GetCombiner() AlertPolicy_ConditionCombinerType {
- if m != nil {
- return m.Combiner
- }
- return AlertPolicy_COMBINE_UNSPECIFIED
-}
-
-func (m *AlertPolicy) GetEnabled() *wrappers.BoolValue {
- if m != nil {
- return m.Enabled
- }
- return nil
-}
-
-func (m *AlertPolicy) GetNotificationChannels() []string {
- if m != nil {
- return m.NotificationChannels
- }
- return nil
-}
-
-func (m *AlertPolicy) GetCreationRecord() *MutationRecord {
- if m != nil {
- return m.CreationRecord
- }
- return nil
-}
-
-func (m *AlertPolicy) GetMutationRecord() *MutationRecord {
- if m != nil {
- return m.MutationRecord
- }
- return nil
-}
-
-// A content string and a MIME type that describes the content string's
-// format.
-type AlertPolicy_Documentation struct {
- // The text of the documentation, interpreted according to `mime_type`.
- // The content may not exceed 8,192 Unicode characters and may not exceed
- // more than 10,240 bytes when encoded in UTF-8 format, whichever is
- // smaller.
- Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
- // The format of the `content` field. Presently, only the value
- // `"text/markdown"` is supported. See
- // [Markdown](https://en.wikipedia.org/wiki/Markdown) for more information.
- MimeType string `protobuf:"bytes,2,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 *AlertPolicy_Documentation) Reset() { *m = AlertPolicy_Documentation{} }
-func (m *AlertPolicy_Documentation) String() string { return proto.CompactTextString(m) }
-func (*AlertPolicy_Documentation) ProtoMessage() {}
-func (*AlertPolicy_Documentation) Descriptor() ([]byte, []int) {
- return fileDescriptor_014ef0e1a0f00a00, []int{0, 0}
-}
-
-func (m *AlertPolicy_Documentation) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlertPolicy_Documentation.Unmarshal(m, b)
-}
-func (m *AlertPolicy_Documentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlertPolicy_Documentation.Marshal(b, m, deterministic)
-}
-func (m *AlertPolicy_Documentation) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlertPolicy_Documentation.Merge(m, src)
-}
-func (m *AlertPolicy_Documentation) XXX_Size() int {
- return xxx_messageInfo_AlertPolicy_Documentation.Size(m)
-}
-func (m *AlertPolicy_Documentation) XXX_DiscardUnknown() {
- xxx_messageInfo_AlertPolicy_Documentation.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AlertPolicy_Documentation proto.InternalMessageInfo
-
-func (m *AlertPolicy_Documentation) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
-}
-
-func (m *AlertPolicy_Documentation) GetMimeType() string {
- if m != nil {
- return m.MimeType
- }
- return ""
-}
-
-// A condition is a true/false test that determines when an alerting policy
-// should open an incident. If a condition evaluates to true, it signifies
-// that something is wrong.
-type AlertPolicy_Condition struct {
- // Required if the condition exists. The unique resource name for this
- // condition. Its syntax is:
- //
- // projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
- //
- // `[CONDITION_ID]` is assigned by Stackdriver Monitoring when the
- // condition is created as part of a new or updated alerting policy.
- //
- // When calling the
- // [alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
- // method, do not include the `name` field in the conditions of the
- // requested alerting policy. Stackdriver Monitoring creates the
- // condition identifiers and includes them in the new policy.
- //
- // When calling the
- // [alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy]
- // method to update a policy, including a condition `name` causes the
- // existing condition to be updated. Conditions without names are added to
- // the updated policy. Existing conditions are deleted if they are not
- // updated.
- //
- // Best practice is to preserve `[CONDITION_ID]` if you make only small
- // changes, such as those to condition thresholds, durations, or trigger
- // values. Otherwise, treat the change as a new condition and let the
- // existing condition be deleted.
- Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`
- // A short name or phrase used to identify the condition in dashboards,
- // notifications, and incidents. To avoid confusion, don't use the same
- // display name for multiple conditions in the same policy.
- DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // Only one of the following condition types will be specified.
- //
- // Types that are valid to be assigned to Condition:
- // *AlertPolicy_Condition_ConditionThreshold
- // *AlertPolicy_Condition_ConditionAbsent
- Condition isAlertPolicy_Condition_Condition `protobuf_oneof:"condition"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AlertPolicy_Condition) Reset() { *m = AlertPolicy_Condition{} }
-func (m *AlertPolicy_Condition) String() string { return proto.CompactTextString(m) }
-func (*AlertPolicy_Condition) ProtoMessage() {}
-func (*AlertPolicy_Condition) Descriptor() ([]byte, []int) {
- return fileDescriptor_014ef0e1a0f00a00, []int{0, 1}
-}
-
-func (m *AlertPolicy_Condition) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlertPolicy_Condition.Unmarshal(m, b)
-}
-func (m *AlertPolicy_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlertPolicy_Condition.Marshal(b, m, deterministic)
-}
-func (m *AlertPolicy_Condition) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlertPolicy_Condition.Merge(m, src)
-}
-func (m *AlertPolicy_Condition) XXX_Size() int {
- return xxx_messageInfo_AlertPolicy_Condition.Size(m)
-}
-func (m *AlertPolicy_Condition) XXX_DiscardUnknown() {
- xxx_messageInfo_AlertPolicy_Condition.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AlertPolicy_Condition proto.InternalMessageInfo
-
-func (m *AlertPolicy_Condition) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *AlertPolicy_Condition) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-type isAlertPolicy_Condition_Condition interface {
- isAlertPolicy_Condition_Condition()
-}
-
-type AlertPolicy_Condition_ConditionThreshold struct {
- ConditionThreshold *AlertPolicy_Condition_MetricThreshold `protobuf:"bytes,1,opt,name=condition_threshold,json=conditionThreshold,proto3,oneof"`
-}
-
-type AlertPolicy_Condition_ConditionAbsent struct {
- ConditionAbsent *AlertPolicy_Condition_MetricAbsence `protobuf:"bytes,2,opt,name=condition_absent,json=conditionAbsent,proto3,oneof"`
-}
-
-func (*AlertPolicy_Condition_ConditionThreshold) isAlertPolicy_Condition_Condition() {}
-
-func (*AlertPolicy_Condition_ConditionAbsent) isAlertPolicy_Condition_Condition() {}
-
-func (m *AlertPolicy_Condition) GetCondition() isAlertPolicy_Condition_Condition {
- if m != nil {
- return m.Condition
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition) GetConditionThreshold() *AlertPolicy_Condition_MetricThreshold {
- if x, ok := m.GetCondition().(*AlertPolicy_Condition_ConditionThreshold); ok {
- return x.ConditionThreshold
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition) GetConditionAbsent() *AlertPolicy_Condition_MetricAbsence {
- if x, ok := m.GetCondition().(*AlertPolicy_Condition_ConditionAbsent); ok {
- return x.ConditionAbsent
- }
- return nil
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*AlertPolicy_Condition) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*AlertPolicy_Condition_ConditionThreshold)(nil),
- (*AlertPolicy_Condition_ConditionAbsent)(nil),
- }
-}
-
-// Specifies how many time series must fail a predicate to trigger a
-// condition. If not specified, then a `{count: 1}` trigger is used.
-type AlertPolicy_Condition_Trigger struct {
- // A type of trigger.
- //
- // Types that are valid to be assigned to Type:
- // *AlertPolicy_Condition_Trigger_Count
- // *AlertPolicy_Condition_Trigger_Percent
- Type isAlertPolicy_Condition_Trigger_Type `protobuf_oneof:"type"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AlertPolicy_Condition_Trigger) Reset() { *m = AlertPolicy_Condition_Trigger{} }
-func (m *AlertPolicy_Condition_Trigger) String() string { return proto.CompactTextString(m) }
-func (*AlertPolicy_Condition_Trigger) ProtoMessage() {}
-func (*AlertPolicy_Condition_Trigger) Descriptor() ([]byte, []int) {
- return fileDescriptor_014ef0e1a0f00a00, []int{0, 1, 0}
-}
-
-func (m *AlertPolicy_Condition_Trigger) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlertPolicy_Condition_Trigger.Unmarshal(m, b)
-}
-func (m *AlertPolicy_Condition_Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlertPolicy_Condition_Trigger.Marshal(b, m, deterministic)
-}
-func (m *AlertPolicy_Condition_Trigger) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlertPolicy_Condition_Trigger.Merge(m, src)
-}
-func (m *AlertPolicy_Condition_Trigger) XXX_Size() int {
- return xxx_messageInfo_AlertPolicy_Condition_Trigger.Size(m)
-}
-func (m *AlertPolicy_Condition_Trigger) XXX_DiscardUnknown() {
- xxx_messageInfo_AlertPolicy_Condition_Trigger.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AlertPolicy_Condition_Trigger proto.InternalMessageInfo
-
-type isAlertPolicy_Condition_Trigger_Type interface {
- isAlertPolicy_Condition_Trigger_Type()
-}
-
-type AlertPolicy_Condition_Trigger_Count struct {
- Count int32 `protobuf:"varint,1,opt,name=count,proto3,oneof"`
-}
-
-type AlertPolicy_Condition_Trigger_Percent struct {
- Percent float64 `protobuf:"fixed64,2,opt,name=percent,proto3,oneof"`
-}
-
-func (*AlertPolicy_Condition_Trigger_Count) isAlertPolicy_Condition_Trigger_Type() {}
-
-func (*AlertPolicy_Condition_Trigger_Percent) isAlertPolicy_Condition_Trigger_Type() {}
-
-func (m *AlertPolicy_Condition_Trigger) GetType() isAlertPolicy_Condition_Trigger_Type {
- if m != nil {
- return m.Type
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition_Trigger) GetCount() int32 {
- if x, ok := m.GetType().(*AlertPolicy_Condition_Trigger_Count); ok {
- return x.Count
- }
- return 0
-}
-
-func (m *AlertPolicy_Condition_Trigger) GetPercent() float64 {
- if x, ok := m.GetType().(*AlertPolicy_Condition_Trigger_Percent); ok {
- return x.Percent
- }
- return 0
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*AlertPolicy_Condition_Trigger) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*AlertPolicy_Condition_Trigger_Count)(nil),
- (*AlertPolicy_Condition_Trigger_Percent)(nil),
- }
-}
-
-// A condition type that compares a collection of time series
-// against a threshold.
-type AlertPolicy_Condition_MetricThreshold struct {
- // A [filter](/monitoring/api/v3/filters) that
- // identifies which time series should be compared with the threshold.
- //
- // The filter is similar to the one that is specified in the
- // [`MetricService.ListTimeSeries`
- // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that
- // call is useful to verify the time series that will be retrieved /
- // processed) and must specify the metric type and optionally may contain
- // restrictions on resource type, resource labels, and metric labels.
- // This field may not exceed 2048 Unicode characters in length.
- Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
- // Specifies the alignment of data points in individual time series as
- // well as how to combine the retrieved time series together (such as
- // when aggregating multiple streams on each resource to a single
- // stream for each resource or when aggregating streams across all
- // members of a group of resrouces). Multiple aggregations
- // are applied in the order specified.
- //
- // This field is similar to the one in the
- // [`MetricService.ListTimeSeries`
- // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It
- // is advisable to use the `ListTimeSeries` method when debugging this
- // field.
- Aggregations []*Aggregation `protobuf:"bytes,8,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
- // A [filter](/monitoring/api/v3/filters) that identifies a time
- // series that should be used as the denominator of a ratio that will be
- // compared with the threshold. If a `denominator_filter` is specified,
- // the time series specified by the `filter` field will be used as the
- // numerator.
- //
- // The filter is similar to the one that is specified in the
- // [`MetricService.ListTimeSeries`
- // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that
- // call is useful to verify the time series that will be retrieved /
- // processed) and must specify the metric type and optionally may contain
- // restrictions on resource type, resource labels, and metric labels.
- // This field may not exceed 2048 Unicode characters in length.
- DenominatorFilter string `protobuf:"bytes,9,opt,name=denominator_filter,json=denominatorFilter,proto3" json:"denominator_filter,omitempty"`
- // Specifies the alignment of data points in individual time series
- // selected by `denominatorFilter` as
- // well as how to combine the retrieved time series together (such as
- // when aggregating multiple streams on each resource to a single
- // stream for each resource or when aggregating streams across all
- // members of a group of resources).
- //
- // When computing ratios, the `aggregations` and
- // `denominator_aggregations` fields must use the same alignment period
- // and produce time series that have the same periodicity and labels.
- //
- // This field is similar to the one in the
- // [`MetricService.ListTimeSeries`
- // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It
- // is advisable to use the `ListTimeSeries` method when debugging this
- // field.
- DenominatorAggregations []*Aggregation `protobuf:"bytes,10,rep,name=denominator_aggregations,json=denominatorAggregations,proto3" json:"denominator_aggregations,omitempty"`
- // The comparison to apply between the time series (indicated by `filter`
- // and `aggregation`) and the threshold (indicated by `threshold_value`).
- // The comparison is applied on each time series, with the time series
- // on the left-hand side and the threshold on the right-hand side.
- //
- // Only `COMPARISON_LT` and `COMPARISON_GT` are supported currently.
- Comparison ComparisonType `protobuf:"varint,4,opt,name=comparison,proto3,enum=google.monitoring.v3.ComparisonType" json:"comparison,omitempty"`
- // A value against which to compare the time series.
- ThresholdValue float64 `protobuf:"fixed64,5,opt,name=threshold_value,json=thresholdValue,proto3" json:"threshold_value,omitempty"`
- // The amount of time that a time series must violate the
- // threshold to be considered failing. Currently, only values
- // that are a multiple of a minute--e.g., 0, 60, 120, or 300
- // seconds--are supported. If an invalid value is given, an
- // error will be returned. When choosing a duration, it is useful to
- // keep in mind the frequency of the underlying time series data
- // (which may also be affected by any alignments specified in the
- // `aggregations` field); a good duration is long enough so that a single
- // outlier does not generate spurious alerts, but short enough that
- // unhealthy states are detected and alerted on quickly.
- Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
- // The number/percent of time series for which the comparison must hold
- // in order for the condition to trigger. If unspecified, then the
- // condition will trigger if the comparison is true for any of the
- // time series that have been identified by `filter` and `aggregations`,
- // or by the ratio, if `denominator_filter` and `denominator_aggregations`
- // are specified.
- Trigger *AlertPolicy_Condition_Trigger `protobuf:"bytes,7,opt,name=trigger,proto3" json:"trigger,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) Reset() { *m = AlertPolicy_Condition_MetricThreshold{} }
-func (m *AlertPolicy_Condition_MetricThreshold) String() string { return proto.CompactTextString(m) }
-func (*AlertPolicy_Condition_MetricThreshold) ProtoMessage() {}
-func (*AlertPolicy_Condition_MetricThreshold) Descriptor() ([]byte, []int) {
- return fileDescriptor_014ef0e1a0f00a00, []int{0, 1, 1}
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Unmarshal(m, b)
-}
-func (m *AlertPolicy_Condition_MetricThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Marshal(b, m, deterministic)
-}
-func (m *AlertPolicy_Condition_MetricThreshold) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Merge(m, src)
-}
-func (m *AlertPolicy_Condition_MetricThreshold) XXX_Size() int {
- return xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Size(m)
-}
-func (m *AlertPolicy_Condition_MetricThreshold) XXX_DiscardUnknown() {
- xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AlertPolicy_Condition_MetricThreshold proto.InternalMessageInfo
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetAggregations() []*Aggregation {
- if m != nil {
- return m.Aggregations
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter() string {
- if m != nil {
- return m.DenominatorFilter
- }
- return ""
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetDenominatorAggregations() []*Aggregation {
- if m != nil {
- return m.DenominatorAggregations
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetComparison() ComparisonType {
- if m != nil {
- return m.Comparison
- }
- return ComparisonType_COMPARISON_UNSPECIFIED
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetThresholdValue() float64 {
- if m != nil {
- return m.ThresholdValue
- }
- return 0
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetDuration() *duration.Duration {
- if m != nil {
- return m.Duration
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition_MetricThreshold) GetTrigger() *AlertPolicy_Condition_Trigger {
- if m != nil {
- return m.Trigger
- }
- return nil
-}
-
-// A condition type that checks that monitored resources
-// are reporting data. The configuration defines a metric and
-// a set of monitored resources. The predicate is considered in violation
-// when a time series for the specified metric of a monitored
-// resource does not include any data in the specified `duration`.
-type AlertPolicy_Condition_MetricAbsence struct {
- // A [filter](/monitoring/api/v3/filters) that
- // identifies which time series should be compared with the threshold.
- //
- // The filter is similar to the one that is specified in the
- // [`MetricService.ListTimeSeries`
- // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that
- // call is useful to verify the time series that will be retrieved /
- // processed) and must specify the metric type and optionally may contain
- // restrictions on resource type, resource labels, and metric labels.
- // This field may not exceed 2048 Unicode characters in length.
- Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
- // Specifies the alignment of data points in individual time series as
- // well as how to combine the retrieved time series together (such as
- // when aggregating multiple streams on each resource to a single
- // stream for each resource or when aggregating streams across all
- // members of a group of resrouces). Multiple aggregations
- // are applied in the order specified.
- //
- // This field is similar to the
- // one in the [`MetricService.ListTimeSeries`
- // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It
- // is advisable to use the `ListTimeSeries` method when debugging this
- // field.
- Aggregations []*Aggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
- // The amount of time that a time series must fail to report new
- // data to be considered failing. Currently, only values that
- // are a multiple of a minute--e.g. 60, 120, or 300
- // seconds--are supported. If an invalid value is given, an
- // error will be returned. The `Duration.nanos` field is
- // ignored.
- Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
- // The number/percent of time series for which the comparison must hold
- // in order for the condition to trigger. If unspecified, then the
- // condition will trigger if the comparison is true for any of the
- // time series that have been identified by `filter` and `aggregations`.
- Trigger *AlertPolicy_Condition_Trigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AlertPolicy_Condition_MetricAbsence) Reset() { *m = AlertPolicy_Condition_MetricAbsence{} }
-func (m *AlertPolicy_Condition_MetricAbsence) String() string { return proto.CompactTextString(m) }
-func (*AlertPolicy_Condition_MetricAbsence) ProtoMessage() {}
-func (*AlertPolicy_Condition_MetricAbsence) Descriptor() ([]byte, []int) {
- return fileDescriptor_014ef0e1a0f00a00, []int{0, 1, 2}
-}
-
-func (m *AlertPolicy_Condition_MetricAbsence) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Unmarshal(m, b)
-}
-func (m *AlertPolicy_Condition_MetricAbsence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Marshal(b, m, deterministic)
-}
-func (m *AlertPolicy_Condition_MetricAbsence) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Merge(m, src)
-}
-func (m *AlertPolicy_Condition_MetricAbsence) XXX_Size() int {
- return xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Size(m)
-}
-func (m *AlertPolicy_Condition_MetricAbsence) XXX_DiscardUnknown() {
- xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AlertPolicy_Condition_MetricAbsence proto.InternalMessageInfo
-
-func (m *AlertPolicy_Condition_MetricAbsence) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *AlertPolicy_Condition_MetricAbsence) GetAggregations() []*Aggregation {
- if m != nil {
- return m.Aggregations
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition_MetricAbsence) GetDuration() *duration.Duration {
- if m != nil {
- return m.Duration
- }
- return nil
-}
-
-func (m *AlertPolicy_Condition_MetricAbsence) GetTrigger() *AlertPolicy_Condition_Trigger {
- if m != nil {
- return m.Trigger
- }
- return nil
-}
-
-func init() {
- proto.RegisterEnum("google.monitoring.v3.AlertPolicy_ConditionCombinerType", AlertPolicy_ConditionCombinerType_name, AlertPolicy_ConditionCombinerType_value)
- proto.RegisterType((*AlertPolicy)(nil), "google.monitoring.v3.AlertPolicy")
- proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.AlertPolicy.UserLabelsEntry")
- proto.RegisterType((*AlertPolicy_Documentation)(nil), "google.monitoring.v3.AlertPolicy.Documentation")
- proto.RegisterType((*AlertPolicy_Condition)(nil), "google.monitoring.v3.AlertPolicy.Condition")
- proto.RegisterType((*AlertPolicy_Condition_Trigger)(nil), "google.monitoring.v3.AlertPolicy.Condition.Trigger")
- proto.RegisterType((*AlertPolicy_Condition_MetricThreshold)(nil), "google.monitoring.v3.AlertPolicy.Condition.MetricThreshold")
- proto.RegisterType((*AlertPolicy_Condition_MetricAbsence)(nil), "google.monitoring.v3.AlertPolicy.Condition.MetricAbsence")
-}
-
-func init() { proto.RegisterFile("google/monitoring/v3/alert.proto", fileDescriptor_014ef0e1a0f00a00) }
-
-var fileDescriptor_014ef0e1a0f00a00 = []byte{
- // 941 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xeb, 0x6e, 0xe3, 0x44,
- 0x14, 0xae, 0x93, 0xe6, 0x76, 0xd2, 0x36, 0xd9, 0xd9, 0xee, 0xae, 0x31, 0x68, 0x95, 0xae, 0x90,
- 0x88, 0x40, 0x38, 0x22, 0x01, 0x71, 0x59, 0x81, 0x94, 0x5b, 0x37, 0x11, 0x24, 0xad, 0xa6, 0x69,
- 0x91, 0x50, 0x25, 0xcb, 0x71, 0xa6, 0xae, 0x85, 0x3d, 0x63, 0x4d, 0xec, 0xa2, 0xbc, 0x0e, 0x3f,
- 0x79, 0x14, 0x1e, 0x81, 0x7f, 0xbc, 0x02, 0xe2, 0x01, 0x90, 0xc7, 0x63, 0xc7, 0xe9, 0xa6, 0xbb,
- 0x64, 0xf7, 0x5f, 0xce, 0x9c, 0xef, 0x7c, 0xe7, 0xf6, 0xcd, 0x38, 0xd0, 0xb0, 0x19, 0xb3, 0x5d,
- 0xd2, 0xf2, 0x18, 0x75, 0x02, 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c, 0xd7, 0x73, 0xe8, 0x39, 0x68, 0xdd, 0xe9, 0xc0,
- 0xf8, 0x79, 0x3c, 0x1b, 0x19, 0x93, 0xee, 0xac, 0x3f, 0x1a, 0x4f, 0x5f, 0x19, 0x78, 0x78, 0x71,
- 0x76, 0x89, 0xfb, 0xc3, 0x7a, 0xbe, 0xf7, 0xbb, 0x02, 0xaa, 0xc5, 0xbc, 0xad, 0x2d, 0xf7, 0x20,
- 0xee, 0x39, 0x1a, 0xde, 0xb9, 0xf2, 0xcb, 0x0f, 0x12, 0x63, 0x33, 0xd7, 0xa4, 0xb6, 0xce, 0xb8,
- 0xdd, 0xb2, 0x09, 0x15, 0xa3, 0x6d, 0xc5, 0x2e, 0xd3, 0x77, 0x96, 0x9b, 0xff, 0x4c, 0x5e, 0xae,
- 0xad, 0x3f, 0x72, 0xda, 0xab, 0x98, 0xa0, 0xef, 0xb2, 0x70, 0xa1, 0x4f, 0xd6, 0xa9, 0xae, 0x3a,
- 0x7f, 0x26, 0xce, 0x6b, 0xe1, 0xbc, 0x5e, 0x3b, 0xaf, 0xaf, 0x3a, 0xf3, 0xa2, 0x48, 0xd2, 0xf9,
- 0x2f, 0x00, 0x00, 0xff, 0xff, 0x66, 0xb5, 0x16, 0x64, 0x76, 0x09, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go
deleted file mode 100644
index 7f102f0ad..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go
+++ /dev/null
@@ -1,673 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/alert_service.proto
-
-package monitoring
-
-import (
- context "context"
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- empty "github.com/golang/protobuf/ptypes/empty"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- field_mask "google.golang.org/genproto/protobuf/field_mask"
- grpc "google.golang.org/grpc"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// The protocol for the `CreateAlertPolicy` request.
-type CreateAlertPolicyRequest struct {
- // The project in which to create the alerting policy. The format is
- // `projects/[PROJECT_ID]`.
- //
- // Note that this field names the parent container in which the alerting
- // policy will be written, not the name of the created policy. The alerting
- // policy that is returned will have a name that contains a normalized
- // representation of this name as a prefix but adds a suffix of the form
- // `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- // The requested alerting policy. You should omit the `name` field in this
- // policy. The name will be returned in the new policy, including
- // a new [ALERT_POLICY_ID] value.
- AlertPolicy *AlertPolicy `protobuf:"bytes,2,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateAlertPolicyRequest) Reset() { *m = CreateAlertPolicyRequest{} }
-func (m *CreateAlertPolicyRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateAlertPolicyRequest) ProtoMessage() {}
-func (*CreateAlertPolicyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c45362b2a456d1bf, []int{0}
-}
-
-func (m *CreateAlertPolicyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateAlertPolicyRequest.Unmarshal(m, b)
-}
-func (m *CreateAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateAlertPolicyRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateAlertPolicyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateAlertPolicyRequest.Merge(m, src)
-}
-func (m *CreateAlertPolicyRequest) XXX_Size() int {
- return xxx_messageInfo_CreateAlertPolicyRequest.Size(m)
-}
-func (m *CreateAlertPolicyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateAlertPolicyRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateAlertPolicyRequest proto.InternalMessageInfo
-
-func (m *CreateAlertPolicyRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *CreateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy {
- if m != nil {
- return m.AlertPolicy
- }
- return nil
-}
-
-// The protocol for the `GetAlertPolicy` request.
-type GetAlertPolicyRequest struct {
- // The alerting policy to retrieve. The format is
- //
- // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
- 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 *GetAlertPolicyRequest) Reset() { *m = GetAlertPolicyRequest{} }
-func (m *GetAlertPolicyRequest) String() string { return proto.CompactTextString(m) }
-func (*GetAlertPolicyRequest) ProtoMessage() {}
-func (*GetAlertPolicyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c45362b2a456d1bf, []int{1}
-}
-
-func (m *GetAlertPolicyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetAlertPolicyRequest.Unmarshal(m, b)
-}
-func (m *GetAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetAlertPolicyRequest.Marshal(b, m, deterministic)
-}
-func (m *GetAlertPolicyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetAlertPolicyRequest.Merge(m, src)
-}
-func (m *GetAlertPolicyRequest) XXX_Size() int {
- return xxx_messageInfo_GetAlertPolicyRequest.Size(m)
-}
-func (m *GetAlertPolicyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetAlertPolicyRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetAlertPolicyRequest proto.InternalMessageInfo
-
-func (m *GetAlertPolicyRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The protocol for the `ListAlertPolicies` request.
-type ListAlertPoliciesRequest struct {
- // The project whose alert policies are to be listed. The format is
- //
- // projects/[PROJECT_ID]
- //
- // Note that this field names the parent container in which the alerting
- // policies to be listed are stored. To retrieve a single alerting policy
- // by name, use the
- // [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy]
- // operation, instead.
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
- // If provided, this field specifies the criteria that must be met by
- // alert policies to be included in the response.
- //
- // For more details, see [sorting and
- // filtering](/monitoring/api/v3/sorting-and-filtering).
- Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
- // A comma-separated list of fields by which to sort the result. Supports
- // the same set of field references as the `filter` field. Entries can be
- // prefixed with a minus sign to sort by the field in descending order.
- //
- // For more details, see [sorting and
- // filtering](/monitoring/api/v3/sorting-and-filtering).
- OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
- // The maximum number of results to return in a single response.
- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If this field is not empty then it must contain the `nextPageToken` value
- // returned by a previous call to this method. Using this field causes the
- // method to return more results from the previous method call.
- PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListAlertPoliciesRequest) Reset() { *m = ListAlertPoliciesRequest{} }
-func (m *ListAlertPoliciesRequest) String() string { return proto.CompactTextString(m) }
-func (*ListAlertPoliciesRequest) ProtoMessage() {}
-func (*ListAlertPoliciesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c45362b2a456d1bf, []int{2}
-}
-
-func (m *ListAlertPoliciesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListAlertPoliciesRequest.Unmarshal(m, b)
-}
-func (m *ListAlertPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListAlertPoliciesRequest.Marshal(b, m, deterministic)
-}
-func (m *ListAlertPoliciesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListAlertPoliciesRequest.Merge(m, src)
-}
-func (m *ListAlertPoliciesRequest) XXX_Size() int {
- return xxx_messageInfo_ListAlertPoliciesRequest.Size(m)
-}
-func (m *ListAlertPoliciesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListAlertPoliciesRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListAlertPoliciesRequest proto.InternalMessageInfo
-
-func (m *ListAlertPoliciesRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ListAlertPoliciesRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *ListAlertPoliciesRequest) GetOrderBy() string {
- if m != nil {
- return m.OrderBy
- }
- return ""
-}
-
-func (m *ListAlertPoliciesRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListAlertPoliciesRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-// The protocol for the `ListAlertPolicies` response.
-type ListAlertPoliciesResponse struct {
- // The returned alert policies.
- AlertPolicies []*AlertPolicy `protobuf:"bytes,3,rep,name=alert_policies,json=alertPolicies,proto3" json:"alert_policies,omitempty"`
- // If there might be more results than were returned, then this field is set
- // to a non-empty value. To see the additional results,
- // use that value as `pageToken` in the next call to this method.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListAlertPoliciesResponse) Reset() { *m = ListAlertPoliciesResponse{} }
-func (m *ListAlertPoliciesResponse) String() string { return proto.CompactTextString(m) }
-func (*ListAlertPoliciesResponse) ProtoMessage() {}
-func (*ListAlertPoliciesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_c45362b2a456d1bf, []int{3}
-}
-
-func (m *ListAlertPoliciesResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListAlertPoliciesResponse.Unmarshal(m, b)
-}
-func (m *ListAlertPoliciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListAlertPoliciesResponse.Marshal(b, m, deterministic)
-}
-func (m *ListAlertPoliciesResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListAlertPoliciesResponse.Merge(m, src)
-}
-func (m *ListAlertPoliciesResponse) XXX_Size() int {
- return xxx_messageInfo_ListAlertPoliciesResponse.Size(m)
-}
-func (m *ListAlertPoliciesResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListAlertPoliciesResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListAlertPoliciesResponse proto.InternalMessageInfo
-
-func (m *ListAlertPoliciesResponse) GetAlertPolicies() []*AlertPolicy {
- if m != nil {
- return m.AlertPolicies
- }
- return nil
-}
-
-func (m *ListAlertPoliciesResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-// The protocol for the `UpdateAlertPolicy` request.
-type UpdateAlertPolicyRequest struct {
- // Optional. A list of alerting policy field names. If this field is not
- // empty, each listed field in the existing alerting policy is set to the
- // value of the corresponding field in the supplied policy (`alert_policy`),
- // or to the field's default value if the field is not in the supplied
- // alerting policy. Fields not listed retain their previous value.
- //
- // Examples of valid field masks include `display_name`, `documentation`,
- // `documentation.content`, `documentation.mime_type`, `user_labels`,
- // `user_label.nameofkey`, `enabled`, `conditions`, `combiner`, etc.
- //
- // If this field is empty, then the supplied alerting policy replaces the
- // existing policy. It is the same as deleting the existing policy and
- // adding the supplied policy, except for the following:
- //
- // + The new policy will have the same `[ALERT_POLICY_ID]` as the former
- // policy. This gives you continuity with the former policy in your
- // notifications and incidents.
- // + Conditions in the new policy will keep their former `[CONDITION_ID]` if
- // the supplied condition includes the `name` field with that
- // `[CONDITION_ID]`. If the supplied condition omits the `name` field,
- // then a new `[CONDITION_ID]` is created.
- UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
- // Required. The updated alerting policy or the updated values for the
- // fields listed in `update_mask`.
- // If `update_mask` is not empty, any fields in this policy that are
- // not in `update_mask` are ignored.
- AlertPolicy *AlertPolicy `protobuf:"bytes,3,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UpdateAlertPolicyRequest) Reset() { *m = UpdateAlertPolicyRequest{} }
-func (m *UpdateAlertPolicyRequest) String() string { return proto.CompactTextString(m) }
-func (*UpdateAlertPolicyRequest) ProtoMessage() {}
-func (*UpdateAlertPolicyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c45362b2a456d1bf, []int{4}
-}
-
-func (m *UpdateAlertPolicyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateAlertPolicyRequest.Unmarshal(m, b)
-}
-func (m *UpdateAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateAlertPolicyRequest.Marshal(b, m, deterministic)
-}
-func (m *UpdateAlertPolicyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateAlertPolicyRequest.Merge(m, src)
-}
-func (m *UpdateAlertPolicyRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateAlertPolicyRequest.Size(m)
-}
-func (m *UpdateAlertPolicyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateAlertPolicyRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UpdateAlertPolicyRequest proto.InternalMessageInfo
-
-func (m *UpdateAlertPolicyRequest) GetUpdateMask() *field_mask.FieldMask {
- if m != nil {
- return m.UpdateMask
- }
- return nil
-}
-
-func (m *UpdateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy {
- if m != nil {
- return m.AlertPolicy
- }
- return nil
-}
-
-// The protocol for the `DeleteAlertPolicy` request.
-type DeleteAlertPolicyRequest struct {
- // The alerting policy to delete. The format is:
- //
- // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
- //
- // For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
- 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 *DeleteAlertPolicyRequest) Reset() { *m = DeleteAlertPolicyRequest{} }
-func (m *DeleteAlertPolicyRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteAlertPolicyRequest) ProtoMessage() {}
-func (*DeleteAlertPolicyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_c45362b2a456d1bf, []int{5}
-}
-
-func (m *DeleteAlertPolicyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteAlertPolicyRequest.Unmarshal(m, b)
-}
-func (m *DeleteAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteAlertPolicyRequest.Marshal(b, m, deterministic)
-}
-func (m *DeleteAlertPolicyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteAlertPolicyRequest.Merge(m, src)
-}
-func (m *DeleteAlertPolicyRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteAlertPolicyRequest.Size(m)
-}
-func (m *DeleteAlertPolicyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteAlertPolicyRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteAlertPolicyRequest proto.InternalMessageInfo
-
-func (m *DeleteAlertPolicyRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func init() {
- proto.RegisterType((*CreateAlertPolicyRequest)(nil), "google.monitoring.v3.CreateAlertPolicyRequest")
- proto.RegisterType((*GetAlertPolicyRequest)(nil), "google.monitoring.v3.GetAlertPolicyRequest")
- proto.RegisterType((*ListAlertPoliciesRequest)(nil), "google.monitoring.v3.ListAlertPoliciesRequest")
- proto.RegisterType((*ListAlertPoliciesResponse)(nil), "google.monitoring.v3.ListAlertPoliciesResponse")
- proto.RegisterType((*UpdateAlertPolicyRequest)(nil), "google.monitoring.v3.UpdateAlertPolicyRequest")
- proto.RegisterType((*DeleteAlertPolicyRequest)(nil), "google.monitoring.v3.DeleteAlertPolicyRequest")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/alert_service.proto", fileDescriptor_c45362b2a456d1bf)
-}
-
-var fileDescriptor_c45362b2a456d1bf = []byte{
- // 656 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x6f, 0xd3, 0x4c,
- 0x10, 0x95, 0x93, 0x36, 0x5f, 0xbb, 0xfd, 0x5a, 0x94, 0x15, 0x54, 0xae, 0x0b, 0x52, 0x30, 0x2a,
- 0x54, 0xad, 0xb0, 0xa5, 0xf8, 0x04, 0x15, 0x48, 0xa4, 0x85, 0xf6, 0x40, 0xa5, 0x28, 0x85, 0x1e,
- 0x50, 0xa4, 0x68, 0x93, 0x4c, 0xac, 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x6f, 0x9b, 0x36, 0xb8, 0x52, 0x38, 0x33, 0x4c, 0x11, 0x8f, 0xf2, 0xe4,
- 0xbf, 0xd0, 0xde, 0x3c, 0xfa, 0x5e, 0xd2, 0x0e, 0xc3, 0x02, 0xfb, 0x0e, 0x1b, 0xf7, 0x8d, 0xe3,
- 0x79, 0xc7, 0x53, 0xeb, 0xd7, 0x2c, 0xd9, 0x96, 0xc9, 0xf6, 0x3c, 0xd9, 0x3e, 0xb5, 0xba, 0x15,
- 0xd9, 0xc4, 0xfa, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x1f, 0xe6, 0xf0, 0x47, 0x07, 0x00, 0x00,
-}
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// AlertPolicyServiceClient is the client API for AlertPolicyService service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type AlertPolicyServiceClient interface {
- // Lists the existing alerting policies for the project.
- ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error)
- // Gets a single alerting policy.
- GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
- // Creates a new alerting policy.
- CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
- // Deletes an alerting policy.
- DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- // Updates an alerting policy. You can either replace the entire policy with
- // a new one or replace only certain fields in the current alerting policy by
- // specifying the fields to be updated via `updateMask`. Returns the
- // updated alerting policy.
- UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error)
-}
-
-type alertPolicyServiceClient struct {
- cc *grpc.ClientConn
-}
-
-func NewAlertPolicyServiceClient(cc *grpc.ClientConn) AlertPolicyServiceClient {
- return &alertPolicyServiceClient{cc}
-}
-
-func (c *alertPolicyServiceClient) ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error) {
- out := new(ListAlertPoliciesResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *alertPolicyServiceClient) GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) {
- out := new(AlertPolicy)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *alertPolicyServiceClient) CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) {
- out := new(AlertPolicy)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *alertPolicyServiceClient) DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *alertPolicyServiceClient) UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) {
- out := new(AlertPolicy)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// AlertPolicyServiceServer is the server API for AlertPolicyService service.
-type AlertPolicyServiceServer interface {
- // Lists the existing alerting policies for the project.
- ListAlertPolicies(context.Context, *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error)
- // Gets a single alerting policy.
- GetAlertPolicy(context.Context, *GetAlertPolicyRequest) (*AlertPolicy, error)
- // Creates a new alerting policy.
- CreateAlertPolicy(context.Context, *CreateAlertPolicyRequest) (*AlertPolicy, error)
- // Deletes an alerting policy.
- DeleteAlertPolicy(context.Context, *DeleteAlertPolicyRequest) (*empty.Empty, error)
- // Updates an alerting policy. You can either replace the entire policy with
- // a new one or replace only certain fields in the current alerting policy by
- // specifying the fields to be updated via `updateMask`. Returns the
- // updated alerting policy.
- UpdateAlertPolicy(context.Context, *UpdateAlertPolicyRequest) (*AlertPolicy, error)
-}
-
-func RegisterAlertPolicyServiceServer(s *grpc.Server, srv AlertPolicyServiceServer) {
- s.RegisterService(&_AlertPolicyService_serviceDesc, srv)
-}
-
-func _AlertPolicyService_ListAlertPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListAlertPoliciesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, req.(*ListAlertPoliciesRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AlertPolicyService_GetAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetAlertPolicyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, req.(*GetAlertPolicyRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AlertPolicyService_CreateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateAlertPolicyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, req.(*CreateAlertPolicyRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AlertPolicyService_DeleteAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteAlertPolicyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, req.(*DeleteAlertPolicyRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AlertPolicyService_UpdateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateAlertPolicyRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, req.(*UpdateAlertPolicyRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-var _AlertPolicyService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.monitoring.v3.AlertPolicyService",
- HandlerType: (*AlertPolicyServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "ListAlertPolicies",
- Handler: _AlertPolicyService_ListAlertPolicies_Handler,
- },
- {
- MethodName: "GetAlertPolicy",
- Handler: _AlertPolicyService_GetAlertPolicy_Handler,
- },
- {
- MethodName: "CreateAlertPolicy",
- Handler: _AlertPolicyService_CreateAlertPolicy_Handler,
- },
- {
- MethodName: "DeleteAlertPolicy",
- Handler: _AlertPolicyService_DeleteAlertPolicy_Handler,
- },
- {
- MethodName: "UpdateAlertPolicy",
- Handler: _AlertPolicyService_UpdateAlertPolicy_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/monitoring/v3/alert_service.proto",
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go
deleted file mode 100644
index 5f2ef318f..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go
+++ /dev/null
@@ -1,797 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/common.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- 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"
- distribution "google.golang.org/genproto/googleapis/api/distribution"
-)
-
-// 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.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// Specifies an ordering relationship on two arguments, here called left and
-// right.
-type ComparisonType int32
-
-const (
- // No ordering relationship is specified.
- ComparisonType_COMPARISON_UNSPECIFIED ComparisonType = 0
- // The left argument is greater than the right argument.
- ComparisonType_COMPARISON_GT ComparisonType = 1
- // The left argument is greater than or equal to the right argument.
- ComparisonType_COMPARISON_GE ComparisonType = 2
- // The left argument is less than the right argument.
- ComparisonType_COMPARISON_LT ComparisonType = 3
- // The left argument is less than or equal to the right argument.
- ComparisonType_COMPARISON_LE ComparisonType = 4
- // The left argument is equal to the right argument.
- ComparisonType_COMPARISON_EQ ComparisonType = 5
- // The left argument is not equal to the right argument.
- ComparisonType_COMPARISON_NE ComparisonType = 6
-)
-
-var ComparisonType_name = map[int32]string{
- 0: "COMPARISON_UNSPECIFIED",
- 1: "COMPARISON_GT",
- 2: "COMPARISON_GE",
- 3: "COMPARISON_LT",
- 4: "COMPARISON_LE",
- 5: "COMPARISON_EQ",
- 6: "COMPARISON_NE",
-}
-
-var ComparisonType_value = map[string]int32{
- "COMPARISON_UNSPECIFIED": 0,
- "COMPARISON_GT": 1,
- "COMPARISON_GE": 2,
- "COMPARISON_LT": 3,
- "COMPARISON_LE": 4,
- "COMPARISON_EQ": 5,
- "COMPARISON_NE": 6,
-}
-
-func (x ComparisonType) String() string {
- return proto.EnumName(ComparisonType_name, int32(x))
-}
-
-func (ComparisonType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_013c57c1dcbb8d65, []int{0}
-}
-
-// The tier of service for a Workspace. Please see the
-// [service tiers
-// documentation](https://cloud.google.com/monitoring/workspaces/tiers) for more
-// details.
-type ServiceTier int32 // Deprecated: Do not use.
-const (
- // An invalid sentinel value, used to indicate that a tier has not
- // been provided explicitly.
- ServiceTier_SERVICE_TIER_UNSPECIFIED ServiceTier = 0
- // The Stackdriver Basic tier, a free tier of service that provides basic
- // features, a moderate allotment of logs, and access to built-in metrics.
- // A number of features are not available in this tier. For more details,
- // see [the service tiers
- // documentation](https://cloud.google.com/monitoring/workspaces/tiers).
- ServiceTier_SERVICE_TIER_BASIC ServiceTier = 1
- // The Stackdriver Premium tier, a higher, more expensive tier of service
- // that provides access to all Stackdriver features, lets you use Stackdriver
- // with AWS accounts, and has a larger allotments for logs and metrics. For
- // more details, see [the service tiers
- // documentation](https://cloud.google.com/monitoring/workspaces/tiers).
- ServiceTier_SERVICE_TIER_PREMIUM ServiceTier = 2
-)
-
-var ServiceTier_name = map[int32]string{
- 0: "SERVICE_TIER_UNSPECIFIED",
- 1: "SERVICE_TIER_BASIC",
- 2: "SERVICE_TIER_PREMIUM",
-}
-
-var ServiceTier_value = map[string]int32{
- "SERVICE_TIER_UNSPECIFIED": 0,
- "SERVICE_TIER_BASIC": 1,
- "SERVICE_TIER_PREMIUM": 2,
-}
-
-func (x ServiceTier) String() string {
- return proto.EnumName(ServiceTier_name, int32(x))
-}
-
-func (ServiceTier) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_013c57c1dcbb8d65, []int{1}
-}
-
-// The Aligner describes how to bring the data points in a single
-// time series into temporal alignment.
-type Aggregation_Aligner int32
-
-const (
- // No alignment. Raw data is returned. Not valid if cross-time
- // series reduction is requested. The value type of the result is
- // the same as the value type of the input.
- Aggregation_ALIGN_NONE Aggregation_Aligner = 0
- // Align and convert to delta metric type. This alignment is valid
- // for cumulative metrics and delta metrics. Aligning an existing
- // delta metric to a delta metric requires that the alignment
- // period be increased. The value type of the result is the same
- // as the value type of the input.
- //
- // One can think of this aligner as a rate but without time units; that
- // is, the output is conceptually (second_point - first_point).
- Aggregation_ALIGN_DELTA Aggregation_Aligner = 1
- // Align and convert to a rate. This alignment is valid for
- // cumulative metrics and delta metrics with numeric values. The output is a
- // gauge metric with value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- //
- // One can think of this aligner as conceptually providing the slope of
- // the line that passes through the value at the start and end of the
- // window. In other words, this is conceptually ((y1 - y0)/(t1 - t0)),
- // and the output unit is one that has a "/time" dimension.
- //
- // If, by rate, you are looking for percentage change, see the
- // `ALIGN_PERCENT_CHANGE` aligner option.
- Aggregation_ALIGN_RATE Aggregation_Aligner = 2
- // Align by interpolating between adjacent points around the
- // period boundary. This alignment is valid for gauge
- // metrics with numeric values. The value type of the result is the same
- // as the value type of the input.
- Aggregation_ALIGN_INTERPOLATE Aggregation_Aligner = 3
- // Align by shifting the oldest data point before the period
- // boundary to the boundary. This alignment is valid for gauge
- // metrics. The value type of the result is the same as the
- // value type of the input.
- Aggregation_ALIGN_NEXT_OLDER Aggregation_Aligner = 4
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the minimum of all data points in the
- // period. This alignment is valid for gauge and delta metrics with numeric
- // values. The value type of the result is the same as the value
- // type of the input.
- Aggregation_ALIGN_MIN Aggregation_Aligner = 10
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the maximum of all data points in the
- // period. This alignment is valid for gauge and delta metrics with numeric
- // values. The value type of the result is the same as the value
- // type of the input.
- Aggregation_ALIGN_MAX Aggregation_Aligner = 11
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the average or arithmetic mean of all
- // data points in the period. This alignment is valid for gauge and delta
- // metrics with numeric values. The value type of the output is
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_MEAN Aggregation_Aligner = 12
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the count of all data points in the
- // period. This alignment is valid for gauge and delta metrics with numeric
- // or Boolean values. The value type of the output is
- // [INT64][google.api.MetricDescriptor.ValueType.INT64].
- Aggregation_ALIGN_COUNT Aggregation_Aligner = 13
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the sum of all data points in the
- // period. This alignment is valid for gauge and delta metrics with numeric
- // and distribution values. The value type of the output is the
- // same as the value type of the input.
- Aggregation_ALIGN_SUM Aggregation_Aligner = 14
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the standard deviation of all data
- // points in the period. This alignment is valid for gauge and delta metrics
- // with numeric values. The value type of the output is
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_STDDEV Aggregation_Aligner = 15
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the count of True-valued data points in the
- // period. This alignment is valid for gauge metrics with
- // Boolean values. The value type of the output is
- // [INT64][google.api.MetricDescriptor.ValueType.INT64].
- Aggregation_ALIGN_COUNT_TRUE Aggregation_Aligner = 16
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the count of False-valued data points in the
- // period. This alignment is valid for gauge metrics with
- // Boolean values. The value type of the output is
- // [INT64][google.api.MetricDescriptor.ValueType.INT64].
- Aggregation_ALIGN_COUNT_FALSE Aggregation_Aligner = 24
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the fraction of True-valued data points in the
- // period. This alignment is valid for gauge metrics with Boolean values.
- // The output value is in the range [0, 1] and has value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_FRACTION_TRUE Aggregation_Aligner = 17
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the 99th percentile of all data
- // points in the period. This alignment is valid for gauge and delta metrics
- // with distribution values. The output is a gauge metric with value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_PERCENTILE_99 Aggregation_Aligner = 18
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the 95th percentile of all data
- // points in the period. This alignment is valid for gauge and delta metrics
- // with distribution values. The output is a gauge metric with value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_PERCENTILE_95 Aggregation_Aligner = 19
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the 50th percentile of all data
- // points in the period. This alignment is valid for gauge and delta metrics
- // with distribution values. The output is a gauge metric with value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_PERCENTILE_50 Aggregation_Aligner = 20
- // Align time series via aggregation. The resulting data point in
- // the alignment period is the 5th percentile of all data
- // points in the period. This alignment is valid for gauge and delta metrics
- // with distribution values. The output is a gauge metric with value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_PERCENTILE_05 Aggregation_Aligner = 21
- // Align and convert to a percentage change. This alignment is valid for
- // gauge and delta metrics with numeric values. This alignment conceptually
- // computes the equivalent of "((current - previous)/previous)*100"
- // where previous value is determined based on the alignmentPeriod.
- // In the event that previous is 0 the calculated value is infinity with the
- // exception that if both (current - previous) and previous are 0 the
- // calculated value is 0.
- // A 10 minute moving mean is computed at each point of the time window
- // prior to the above calculation to smooth the metric and prevent false
- // positives from very short lived spikes.
- // Only applicable for data that is >= 0. Any values < 0 are treated as
- // no data. While delta metrics are accepted by this alignment special care
- // should be taken that the values for the metric will always be positive.
- // The output is a gauge metric with value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_ALIGN_PERCENT_CHANGE Aggregation_Aligner = 23
-)
-
-var Aggregation_Aligner_name = map[int32]string{
- 0: "ALIGN_NONE",
- 1: "ALIGN_DELTA",
- 2: "ALIGN_RATE",
- 3: "ALIGN_INTERPOLATE",
- 4: "ALIGN_NEXT_OLDER",
- 10: "ALIGN_MIN",
- 11: "ALIGN_MAX",
- 12: "ALIGN_MEAN",
- 13: "ALIGN_COUNT",
- 14: "ALIGN_SUM",
- 15: "ALIGN_STDDEV",
- 16: "ALIGN_COUNT_TRUE",
- 24: "ALIGN_COUNT_FALSE",
- 17: "ALIGN_FRACTION_TRUE",
- 18: "ALIGN_PERCENTILE_99",
- 19: "ALIGN_PERCENTILE_95",
- 20: "ALIGN_PERCENTILE_50",
- 21: "ALIGN_PERCENTILE_05",
- 23: "ALIGN_PERCENT_CHANGE",
-}
-
-var Aggregation_Aligner_value = map[string]int32{
- "ALIGN_NONE": 0,
- "ALIGN_DELTA": 1,
- "ALIGN_RATE": 2,
- "ALIGN_INTERPOLATE": 3,
- "ALIGN_NEXT_OLDER": 4,
- "ALIGN_MIN": 10,
- "ALIGN_MAX": 11,
- "ALIGN_MEAN": 12,
- "ALIGN_COUNT": 13,
- "ALIGN_SUM": 14,
- "ALIGN_STDDEV": 15,
- "ALIGN_COUNT_TRUE": 16,
- "ALIGN_COUNT_FALSE": 24,
- "ALIGN_FRACTION_TRUE": 17,
- "ALIGN_PERCENTILE_99": 18,
- "ALIGN_PERCENTILE_95": 19,
- "ALIGN_PERCENTILE_50": 20,
- "ALIGN_PERCENTILE_05": 21,
- "ALIGN_PERCENT_CHANGE": 23,
-}
-
-func (x Aggregation_Aligner) String() string {
- return proto.EnumName(Aggregation_Aligner_name, int32(x))
-}
-
-func (Aggregation_Aligner) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_013c57c1dcbb8d65, []int{2, 0}
-}
-
-// A Reducer describes how to aggregate data points from multiple
-// time series into a single time series.
-type Aggregation_Reducer int32
-
-const (
- // No cross-time series reduction. The output of the aligner is
- // returned.
- Aggregation_REDUCE_NONE Aggregation_Reducer = 0
- // Reduce by computing the mean across time series for each
- // alignment period. This reducer is valid for delta and
- // gauge metrics with numeric or distribution values. The value type of the
- // output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_REDUCE_MEAN Aggregation_Reducer = 1
- // Reduce by computing the minimum across time series for each
- // alignment period. This reducer is valid for delta and
- // gauge metrics with numeric values. The value type of the output
- // is the same as the value type of the input.
- Aggregation_REDUCE_MIN Aggregation_Reducer = 2
- // Reduce by computing the maximum across time series for each
- // alignment period. This reducer is valid for delta and
- // gauge metrics with numeric values. The value type of the output
- // is the same as the value type of the input.
- Aggregation_REDUCE_MAX Aggregation_Reducer = 3
- // Reduce by computing the sum across time series for each
- // alignment period. This reducer is valid for delta and
- // gauge metrics with numeric and distribution values. The value type of
- // the output is the same as the value type of the input.
- Aggregation_REDUCE_SUM Aggregation_Reducer = 4
- // Reduce by computing the standard deviation across time series
- // for each alignment period. This reducer is valid for delta
- // and gauge metrics with numeric or distribution values. The value type of
- // the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_REDUCE_STDDEV Aggregation_Reducer = 5
- // Reduce by computing the count of data points across time series
- // for each alignment period. This reducer is valid for delta
- // and gauge metrics of numeric, Boolean, distribution, and string value
- // type. The value type of the output is
- // [INT64][google.api.MetricDescriptor.ValueType.INT64].
- Aggregation_REDUCE_COUNT Aggregation_Reducer = 6
- // Reduce by computing the count of True-valued data points across time
- // series for each alignment period. This reducer is valid for delta
- // and gauge metrics of Boolean value type. The value type of
- // the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
- Aggregation_REDUCE_COUNT_TRUE Aggregation_Reducer = 7
- // Reduce by computing the count of False-valued data points across time
- // series for each alignment period. This reducer is valid for delta
- // and gauge metrics of Boolean value type. The value type of
- // the output is [INT64][google.api.MetricDescriptor.ValueType.INT64].
- Aggregation_REDUCE_COUNT_FALSE Aggregation_Reducer = 15
- // Reduce by computing the fraction of True-valued data points across time
- // series for each alignment period. This reducer is valid for delta
- // and gauge metrics of Boolean value type. The output value is in the
- // range [0, 1] and has value type
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE].
- Aggregation_REDUCE_FRACTION_TRUE Aggregation_Reducer = 8
- // Reduce by computing 99th percentile of data points across time series
- // for each alignment period. This reducer is valid for gauge and delta
- // metrics of numeric and distribution type. The value of the output is
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
- Aggregation_REDUCE_PERCENTILE_99 Aggregation_Reducer = 9
- // Reduce by computing 95th percentile of data points across time series
- // for each alignment period. This reducer is valid for gauge and delta
- // metrics of numeric and distribution type. The value of the output is
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
- Aggregation_REDUCE_PERCENTILE_95 Aggregation_Reducer = 10
- // Reduce by computing 50th percentile of data points across time series
- // for each alignment period. This reducer is valid for gauge and delta
- // metrics of numeric and distribution type. The value of the output is
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
- Aggregation_REDUCE_PERCENTILE_50 Aggregation_Reducer = 11
- // Reduce by computing 5th percentile of data points across time series
- // for each alignment period. This reducer is valid for gauge and delta
- // metrics of numeric and distribution type. The value of the output is
- // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]
- Aggregation_REDUCE_PERCENTILE_05 Aggregation_Reducer = 12
-)
-
-var Aggregation_Reducer_name = map[int32]string{
- 0: "REDUCE_NONE",
- 1: "REDUCE_MEAN",
- 2: "REDUCE_MIN",
- 3: "REDUCE_MAX",
- 4: "REDUCE_SUM",
- 5: "REDUCE_STDDEV",
- 6: "REDUCE_COUNT",
- 7: "REDUCE_COUNT_TRUE",
- 15: "REDUCE_COUNT_FALSE",
- 8: "REDUCE_FRACTION_TRUE",
- 9: "REDUCE_PERCENTILE_99",
- 10: "REDUCE_PERCENTILE_95",
- 11: "REDUCE_PERCENTILE_50",
- 12: "REDUCE_PERCENTILE_05",
-}
-
-var Aggregation_Reducer_value = map[string]int32{
- "REDUCE_NONE": 0,
- "REDUCE_MEAN": 1,
- "REDUCE_MIN": 2,
- "REDUCE_MAX": 3,
- "REDUCE_SUM": 4,
- "REDUCE_STDDEV": 5,
- "REDUCE_COUNT": 6,
- "REDUCE_COUNT_TRUE": 7,
- "REDUCE_COUNT_FALSE": 15,
- "REDUCE_FRACTION_TRUE": 8,
- "REDUCE_PERCENTILE_99": 9,
- "REDUCE_PERCENTILE_95": 10,
- "REDUCE_PERCENTILE_50": 11,
- "REDUCE_PERCENTILE_05": 12,
-}
-
-func (x Aggregation_Reducer) String() string {
- return proto.EnumName(Aggregation_Reducer_name, int32(x))
-}
-
-func (Aggregation_Reducer) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_013c57c1dcbb8d65, []int{2, 1}
-}
-
-// A single strongly-typed value.
-type TypedValue struct {
- // The typed value field.
- //
- // Types that are valid to be assigned to Value:
- // *TypedValue_BoolValue
- // *TypedValue_Int64Value
- // *TypedValue_DoubleValue
- // *TypedValue_StringValue
- // *TypedValue_DistributionValue
- Value isTypedValue_Value `protobuf_oneof:"value"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TypedValue) Reset() { *m = TypedValue{} }
-func (m *TypedValue) String() string { return proto.CompactTextString(m) }
-func (*TypedValue) ProtoMessage() {}
-func (*TypedValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_013c57c1dcbb8d65, []int{0}
-}
-
-func (m *TypedValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TypedValue.Unmarshal(m, b)
-}
-func (m *TypedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TypedValue.Marshal(b, m, deterministic)
-}
-func (m *TypedValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TypedValue.Merge(m, src)
-}
-func (m *TypedValue) XXX_Size() int {
- return xxx_messageInfo_TypedValue.Size(m)
-}
-func (m *TypedValue) XXX_DiscardUnknown() {
- xxx_messageInfo_TypedValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_TypedValue proto.InternalMessageInfo
-
-type isTypedValue_Value interface {
- isTypedValue_Value()
-}
-
-type TypedValue_BoolValue struct {
- BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
-}
-
-type TypedValue_Int64Value struct {
- Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
-}
-
-type TypedValue_DoubleValue struct {
- DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
-}
-
-type TypedValue_StringValue struct {
- StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
-}
-
-type TypedValue_DistributionValue struct {
- DistributionValue *distribution.Distribution `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,proto3,oneof"`
-}
-
-func (*TypedValue_BoolValue) isTypedValue_Value() {}
-
-func (*TypedValue_Int64Value) isTypedValue_Value() {}
-
-func (*TypedValue_DoubleValue) isTypedValue_Value() {}
-
-func (*TypedValue_StringValue) isTypedValue_Value() {}
-
-func (*TypedValue_DistributionValue) isTypedValue_Value() {}
-
-func (m *TypedValue) GetValue() isTypedValue_Value {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-func (m *TypedValue) GetBoolValue() bool {
- if x, ok := m.GetValue().(*TypedValue_BoolValue); ok {
- return x.BoolValue
- }
- return false
-}
-
-func (m *TypedValue) GetInt64Value() int64 {
- if x, ok := m.GetValue().(*TypedValue_Int64Value); ok {
- return x.Int64Value
- }
- return 0
-}
-
-func (m *TypedValue) GetDoubleValue() float64 {
- if x, ok := m.GetValue().(*TypedValue_DoubleValue); ok {
- return x.DoubleValue
- }
- return 0
-}
-
-func (m *TypedValue) GetStringValue() string {
- if x, ok := m.GetValue().(*TypedValue_StringValue); ok {
- return x.StringValue
- }
- return ""
-}
-
-func (m *TypedValue) GetDistributionValue() *distribution.Distribution {
- if x, ok := m.GetValue().(*TypedValue_DistributionValue); ok {
- return x.DistributionValue
- }
- return nil
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*TypedValue) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*TypedValue_BoolValue)(nil),
- (*TypedValue_Int64Value)(nil),
- (*TypedValue_DoubleValue)(nil),
- (*TypedValue_StringValue)(nil),
- (*TypedValue_DistributionValue)(nil),
- }
-}
-
-// A time interval extending just after a start time through an end time.
-// If the start time is the same as the end time, then the interval
-// represents a single point in time.
-type TimeInterval struct {
- // Required. The end of the time interval.
- EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // Optional. The beginning of the time interval. The default value
- // for the start time is the end time. The start time must not be
- // later than the end time.
- StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TimeInterval) Reset() { *m = TimeInterval{} }
-func (m *TimeInterval) String() string { return proto.CompactTextString(m) }
-func (*TimeInterval) ProtoMessage() {}
-func (*TimeInterval) Descriptor() ([]byte, []int) {
- return fileDescriptor_013c57c1dcbb8d65, []int{1}
-}
-
-func (m *TimeInterval) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TimeInterval.Unmarshal(m, b)
-}
-func (m *TimeInterval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TimeInterval.Marshal(b, m, deterministic)
-}
-func (m *TimeInterval) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TimeInterval.Merge(m, src)
-}
-func (m *TimeInterval) XXX_Size() int {
- return xxx_messageInfo_TimeInterval.Size(m)
-}
-func (m *TimeInterval) XXX_DiscardUnknown() {
- xxx_messageInfo_TimeInterval.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_TimeInterval proto.InternalMessageInfo
-
-func (m *TimeInterval) GetEndTime() *timestamp.Timestamp {
- if m != nil {
- return m.EndTime
- }
- return nil
-}
-
-func (m *TimeInterval) GetStartTime() *timestamp.Timestamp {
- if m != nil {
- return m.StartTime
- }
- return nil
-}
-
-// Describes how to combine multiple time series to provide different views of
-// the data. Aggregation consists of an alignment step on individual time
-// series (`alignment_period` and `per_series_aligner`) followed by an optional
-// reduction step of the data across the aligned time series
-// (`cross_series_reducer` and `group_by_fields`). For more details, see
-// [Aggregation](/monitoring/api/learn_more#aggregation).
-type Aggregation struct {
- // The alignment period for per-[time series][google.monitoring.v3.TimeSeries]
- // alignment. If present, `alignmentPeriod` must be at least 60
- // seconds. After per-time series alignment, each time series will
- // contain data points only on the period boundaries. If
- // `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
- // this field is ignored. If `perSeriesAligner` is specified and
- // does not equal `ALIGN_NONE`, then this field must be defined;
- // otherwise an error is returned.
- AlignmentPeriod *duration.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod,proto3" json:"alignment_period,omitempty"`
- // The approach to be used to align individual time series. Not all
- // alignment functions may be applied to all time series, depending
- // on the metric type and value type of the original time
- // series. Alignment may change the metric type or the value type of
- // the time series.
- //
- // Time series data must be aligned in order to perform cross-time
- // series reduction. If `crossSeriesReducer` is specified, then
- // `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
- // and `alignmentPeriod` must be specified; otherwise, an error is
- // returned.
- PerSeriesAligner Aggregation_Aligner `protobuf:"varint,2,opt,name=per_series_aligner,json=perSeriesAligner,proto3,enum=google.monitoring.v3.Aggregation_Aligner" json:"per_series_aligner,omitempty"`
- // The approach to be used to combine time series. Not all reducer
- // functions may be applied to all time series, depending on the
- // metric type and the value type of the original time
- // series. Reduction may change the metric type of value type of the
- // time series.
- //
- // Time series data must be aligned in order to perform cross-time
- // series reduction. If `crossSeriesReducer` is specified, then
- // `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
- // and `alignmentPeriod` must be specified; otherwise, an error is
- // returned.
- CrossSeriesReducer Aggregation_Reducer `protobuf:"varint,4,opt,name=cross_series_reducer,json=crossSeriesReducer,proto3,enum=google.monitoring.v3.Aggregation_Reducer" json:"cross_series_reducer,omitempty"`
- // The set of fields to preserve when `crossSeriesReducer` is
- // specified. The `groupByFields` determine how the time series are
- // partitioned into subsets prior to applying the aggregation
- // function. Each subset contains time series that have the same
- // value for each of the grouping fields. Each individual time
- // series is a member of exactly one subset. The
- // `crossSeriesReducer` is applied to each subset of time series.
- // It is not possible to reduce across different resource types, so
- // this field implicitly contains `resource.type`. Fields not
- // specified in `groupByFields` are aggregated away. If
- // `groupByFields` is not specified and all the time series have
- // the same resource type, then the time series are aggregated into
- // a single output time series. If `crossSeriesReducer` is not
- // defined, this field is ignored.
- GroupByFields []string `protobuf:"bytes,5,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Aggregation) Reset() { *m = Aggregation{} }
-func (m *Aggregation) String() string { return proto.CompactTextString(m) }
-func (*Aggregation) ProtoMessage() {}
-func (*Aggregation) Descriptor() ([]byte, []int) {
- return fileDescriptor_013c57c1dcbb8d65, []int{2}
-}
-
-func (m *Aggregation) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Aggregation.Unmarshal(m, b)
-}
-func (m *Aggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Aggregation.Marshal(b, m, deterministic)
-}
-func (m *Aggregation) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Aggregation.Merge(m, src)
-}
-func (m *Aggregation) XXX_Size() int {
- return xxx_messageInfo_Aggregation.Size(m)
-}
-func (m *Aggregation) XXX_DiscardUnknown() {
- xxx_messageInfo_Aggregation.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Aggregation proto.InternalMessageInfo
-
-func (m *Aggregation) GetAlignmentPeriod() *duration.Duration {
- if m != nil {
- return m.AlignmentPeriod
- }
- return nil
-}
-
-func (m *Aggregation) GetPerSeriesAligner() Aggregation_Aligner {
- if m != nil {
- return m.PerSeriesAligner
- }
- return Aggregation_ALIGN_NONE
-}
-
-func (m *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer {
- if m != nil {
- return m.CrossSeriesReducer
- }
- return Aggregation_REDUCE_NONE
-}
-
-func (m *Aggregation) GetGroupByFields() []string {
- if m != nil {
- return m.GroupByFields
- }
- return nil
-}
-
-func init() {
- proto.RegisterEnum("google.monitoring.v3.ComparisonType", ComparisonType_name, ComparisonType_value)
- proto.RegisterEnum("google.monitoring.v3.ServiceTier", ServiceTier_name, ServiceTier_value)
- proto.RegisterEnum("google.monitoring.v3.Aggregation_Aligner", Aggregation_Aligner_name, Aggregation_Aligner_value)
- proto.RegisterEnum("google.monitoring.v3.Aggregation_Reducer", Aggregation_Reducer_name, Aggregation_Reducer_value)
- proto.RegisterType((*TypedValue)(nil), "google.monitoring.v3.TypedValue")
- proto.RegisterType((*TimeInterval)(nil), "google.monitoring.v3.TimeInterval")
- proto.RegisterType((*Aggregation)(nil), "google.monitoring.v3.Aggregation")
-}
-
-func init() { proto.RegisterFile("google/monitoring/v3/common.proto", fileDescriptor_013c57c1dcbb8d65) }
-
-var fileDescriptor_013c57c1dcbb8d65 = []byte{
- // 957 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xc1, 0x6e, 0xe3, 0x44,
- 0x18, 0xc7, 0xe3, 0x64, 0xdb, 0x34, 0x9f, 0xdb, 0x66, 0x3a, 0xdb, 0xed, 0x86, 0x68, 0x61, 0xb3,
- 0x45, 0x42, 0x61, 0x0f, 0x4e, 0xd5, 0x12, 0xa4, 0x0a, 0x09, 0xc9, 0x75, 0xa6, 0xad, 0xa5, 0xc4,
- 0x09, 0x13, 0xa7, 0x54, 0x50, 0xc9, 0x72, 0x9a, 0x59, 0xcb, 0x52, 0xe2, 0xb1, 0x6c, 0xa7, 0x52,
- 0x6f, 0xdc, 0x79, 0x07, 0x2e, 0xdc, 0xb8, 0xf1, 0x1a, 0x3c, 0x0c, 0x17, 0x5e, 0x00, 0x79, 0xc6,
- 0x59, 0x3b, 0x21, 0x08, 0x8e, 0xdf, 0xef, 0xff, 0xff, 0xbe, 0x99, 0xf9, 0x8f, 0x35, 0x86, 0x77,
- 0x1e, 0xe7, 0xde, 0x9c, 0x75, 0x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xb3, 0xe8, 0xc9, 0x7f, 0x64, 0xb6, 0xcf, 0x22, 0xfc, 0x06, 0x1a, 0x63, 0x42,
- 0xef, 0x4c, 0x83, 0x38, 0xb6, 0x49, 0xe8, 0xc6, 0xf6, 0x4e, 0x00, 0xaf, 0xa9, 0x57, 0xfa, 0xd8,
- 0x34, 0x90, 0x92, 0x9e, 0x7f, 0x8d, 0x8f, 0x28, 0x19, 0x98, 0x93, 0x01, 0x2a, 0x37, 0xcb, 0x0d,
- 0xe5, 0xea, 0x57, 0x05, 0x1a, 0x8f, 0x7c, 0xb1, 0xf5, 0xc9, 0xb8, 0x52, 0x0d, 0xf1, 0xb3, 0x1c,
- 0xa5, 0x4f, 0xdd, 0x48, 0xf9, 0xe1, 0xdb, 0xcc, 0xe4, 0xf1, 0xb9, 0x1b, 0x78, 0x1a, 0x8f, 0xbc,
- 0x8e, 0xc7, 0x02, 0xf1, 0x10, 0x76, 0xa4, 0xe4, 0x86, 0x7e, 0xbc, 0xfe, 0xbf, 0xfd, 0x26, 0xaf,
- 0x7e, 0x2b, 0x37, 0x6f, 0xe4, 0x00, 0x63, 0xce, 0x97, 0x33, 0x6d, 0x90, 0xaf, 0x75, 0x77, 0xf1,
- 0xc7, 0x4a, 0x7c, 0x10, 0xe2, 0x43, 0x2e, 0x3e, 0xdc, 0x5d, 0x4c, 0x77, 0xc5, 0x22, 0x17, 0x7f,
- 0x07, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x78, 0xd9, 0x96, 0xd3, 0x07, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go
deleted file mode 100644
index f69db89c8..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/dropped_labels.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- _ "google.golang.org/genproto/googleapis/api/annotations"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// A set of (label, value) pairs which were dropped during aggregation, attached
-// to google.api.Distribution.Exemplars in google.api.Distribution values during
-// aggregation.
-//
-// These values are used in combination with the label values that remain on the
-// aggregated Distribution timeseries to construct the full label set for the
-// exemplar values. The resulting full label set may be used to identify the
-// specific task/job/instance (for example) which may be contributing to a
-// long-tail, while allowing the storage savings of only storing aggregated
-// distribution values for a large group.
-//
-// Note that there are no guarantees on ordering of the labels from
-// exemplar-to-exemplar and from distribution-to-distribution in the same
-// stream, and there may be duplicates. It is up to clients to resolve any
-// ambiguities.
-type DroppedLabels struct {
- // Map from label to its value, for all labels dropped in any aggregation.
- Label map[string]string `protobuf:"bytes,1,rep,name=label,proto3" json:"label,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 *DroppedLabels) Reset() { *m = DroppedLabels{} }
-func (m *DroppedLabels) String() string { return proto.CompactTextString(m) }
-func (*DroppedLabels) ProtoMessage() {}
-func (*DroppedLabels) Descriptor() ([]byte, []int) {
- return fileDescriptor_15749142c06d7f43, []int{0}
-}
-
-func (m *DroppedLabels) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DroppedLabels.Unmarshal(m, b)
-}
-func (m *DroppedLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DroppedLabels.Marshal(b, m, deterministic)
-}
-func (m *DroppedLabels) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DroppedLabels.Merge(m, src)
-}
-func (m *DroppedLabels) XXX_Size() int {
- return xxx_messageInfo_DroppedLabels.Size(m)
-}
-func (m *DroppedLabels) XXX_DiscardUnknown() {
- xxx_messageInfo_DroppedLabels.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DroppedLabels proto.InternalMessageInfo
-
-func (m *DroppedLabels) GetLabel() map[string]string {
- if m != nil {
- return m.Label
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*DroppedLabels)(nil), "google.monitoring.v3.DroppedLabels")
- proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.DroppedLabels.LabelEntry")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/dropped_labels.proto", fileDescriptor_15749142c06d7f43)
-}
-
-var fileDescriptor_15749142c06d7f43 = []byte{
- // 235 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x31, 0x4b, 0x43, 0x31,
- 0x10, 0xc7, 0x49, 0x4b, 0x05, 0x4f, 0x04, 0x09, 0x1d, 0x42, 0x71, 0x28, 0x4e, 0x75, 0xb9, 0x80,
- 0x6f, 0x29, 0x0a, 0x0e, 0xa5, 0x6e, 0x0e, 0xa5, 0xa3, 0x8b, 0xa4, 0x36, 0x84, 0x60, 0x7a, 0x17,
- 0xd2, 0xf8, 0xa0, 0x9f, 0xc2, 0xaf, 0x5c, 0x9a, 0x3c, 0x78, 0x3c, 0xe8, 0x94, 0xdc, 0xe5, 0xf7,
- 0xff, 0x1d, 0x17, 0x78, 0x76, 0xcc, 0x2e, 0x58, 0x7d, 0x60, 0xf2, 0x99, 0x93, 0x27, 0xa7, 0xdb,
- 0x46, 0xef, 0x13, 0xc7, 0x68, 0xf7, 0xdf, 0xc1, 0xec, 0x6c, 0x38, 0x62, 0x4c, 0x9c, 0x59, 0x4e,
- 0x2b, 0x8a, 0x3d, 0x8a, 0x6d, 0x33, 0x7b, 0xec, 0x04, 0x26, 0x7a, 0x6d, 0x88, 0x38, 0x9b, 0xec,
- 0x99, 0xba, 0xcc, 0xd3, 0xbf, 0x80, 0xfb, 0x75, 0x95, 0x7d, 0x16, 0x97, 0x5c, 0xc3, 0xa4, 0x58,
- 0x95, 0x98, 0x8f, 0x17, 0x77, 0x2f, 0x88, 0xd7, 0xac, 0x38, 0xc8, 0x60, 0x39, 0x3e, 0x28, 0xa7,
- 0xd3, 0xb6, 0x86, 0x67, 0x4b, 0x80, 0xbe, 0x29, 0x1f, 0x60, 0xfc, 0x6b, 0x4f, 0x4a, 0xcc, 0xc5,
- 0xe2, 0x76, 0x7b, 0xb9, 0xca, 0x29, 0x4c, 0x5a, 0x13, 0xfe, 0xac, 0x1a, 0x95, 0x5e, 0x2d, 0x5e,
- 0x47, 0x4b, 0xb1, 0x8a, 0xa0, 0x7e, 0xf8, 0x70, 0x75, 0xea, 0x4a, 0x0e, 0xc6, 0x6e, 0x2e, 0x1b,
- 0x6c, 0xc4, 0xd7, 0x7b, 0xc7, 0x3a, 0x0e, 0x86, 0x1c, 0x72, 0x72, 0xda, 0x59, 0x2a, 0xfb, 0xe9,
- 0xfa, 0x64, 0xa2, 0x3f, 0x0e, 0x7f, 0xf0, 0xad, 0xaf, 0x76, 0x37, 0x05, 0x6d, 0xce, 0x01, 0x00,
- 0x00, 0xff, 0xff, 0x41, 0xd0, 0x8d, 0xe9, 0x6b, 0x01, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go
deleted file mode 100644
index 6ac567171..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go
+++ /dev/null
@@ -1,159 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/group.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
-)
-
-// 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.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// The description of a dynamic collection of monitored resources. Each group
-// has a filter that is matched against monitored resources and their associated
-// metadata. If a group's filter matches an available monitored resource, then
-// that resource is a member of that group. Groups can contain any number of
-// monitored resources, and each monitored resource can be a member of any
-// number of groups.
-//
-// Groups can be nested in parent-child hierarchies. The `parentName` field
-// identifies an optional parent for each group. If a group has a parent, then
-// the only monitored resources available to be matched by the group's filter
-// are the resources contained in the parent group. In other words, a group
-// contains the monitored resources that match its filter and the filters of all
-// the group's ancestors. A group without a parent can contain any monitored
-// resource.
-//
-// For example, consider an infrastructure running a set of instances with two
-// user-defined tags: `"environment"` and `"role"`. A parent group has a filter,
-// `environment="production"`. A child of that parent group has a filter,
-// `role="transcoder"`. The parent group contains all instances in the
-// production environment, regardless of their roles. The child group contains
-// instances that have the transcoder role *and* are in the production
-// environment.
-//
-// The monitored resources contained in a group can change at any moment,
-// depending on what resources exist and what filters are associated with the
-// group and its ancestors.
-type Group struct {
- // Output only. The name of this group. The format is
- // `"projects/{project_id_or_number}/groups/{group_id}"`.
- // When creating a group, this field is ignored and a new name is created
- // consisting of the project specified in the call to `CreateGroup`
- // and a unique `{group_id}` that is generated automatically.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // A user-assigned name for this group, used only for display purposes.
- DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // The name of the group's parent, if it has one.
- // The format is `"projects/{project_id_or_number}/groups/{group_id}"`.
- // For groups with no parent, `parentName` is the empty string, `""`.
- ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
- // The filter used to determine which monitored resources belong to this
- // group.
- Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
- // If true, the members of this group are considered to be a cluster.
- // The system can perform additional analysis on groups that are clusters.
- IsCluster bool `protobuf:"varint,6,opt,name=is_cluster,json=isCluster,proto3" json:"is_cluster,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Group) Reset() { *m = Group{} }
-func (m *Group) String() string { return proto.CompactTextString(m) }
-func (*Group) ProtoMessage() {}
-func (*Group) Descriptor() ([]byte, []int) {
- return fileDescriptor_907e30c1f087271d, []int{0}
-}
-
-func (m *Group) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Group.Unmarshal(m, b)
-}
-func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Group.Marshal(b, m, deterministic)
-}
-func (m *Group) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Group.Merge(m, src)
-}
-func (m *Group) XXX_Size() int {
- return xxx_messageInfo_Group.Size(m)
-}
-func (m *Group) XXX_DiscardUnknown() {
- xxx_messageInfo_Group.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Group proto.InternalMessageInfo
-
-func (m *Group) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *Group) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-func (m *Group) GetParentName() string {
- if m != nil {
- return m.ParentName
- }
- return ""
-}
-
-func (m *Group) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *Group) GetIsCluster() bool {
- if m != nil {
- return m.IsCluster
- }
- return false
-}
-
-func init() {
- proto.RegisterType((*Group)(nil), "google.monitoring.v3.Group")
-}
-
-func init() { proto.RegisterFile("google/monitoring/v3/group.proto", fileDescriptor_907e30c1f087271d) }
-
-var fileDescriptor_907e30c1f087271d = []byte{
- // 261 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xcf, 0x4a, 0x2b, 0x31,
- 0x14, 0x87, 0x49, 0xef, 0xed, 0x60, 0x4f, 0x5d, 0x0d, 0x22, 0x83, 0x20, 0x8e, 0xae, 0xba, 0xca,
- 0x2c, 0xb2, 0x14, 0x5c, 0xb4, 0x8b, 0xae, 0x94, 0xd2, 0x45, 0x17, 0x32, 0x50, 0x62, 0x1b, 0x43,
- 0x20, 0x93, 0x13, 0x92, 0x99, 0x82, 0x2f, 0xe2, 0x03, 0xb8, 0xf4, 0x51, 0x7c, 0x2a, 0x99, 0x93,
- 0x91, 0x41, 0x70, 0x97, 0xf3, 0xfb, 0x3e, 0x72, 0xfe, 0x40, 0xa9, 0x11, 0xb5, 0x55, 0x55, 0x83,
- 0xce, 0xb4, 0x18, 0x8c, 0xd3, 0xd5, 0x49, 0x54, 0x3a, 0x60, 0xe7, 0xb9, 0x0f, 0xd8, 0x62, 0x7e,
- 0x91, 0x0c, 0x3e, 0x1a, 0xfc, 0x24, 0xee, 0xde, 0x19, 0x4c, 0xd7, 0xbd, 0x95, 0xe7, 0xf0, 0xdf,
- 0xc9, 0x46, 0x15, 0xac, 0x64, 0x8b, 0xd9, 0x96, 0xde, 0xf9, 0x2d, 0x9c, 0x1f, 0x4d, 0xf4, 0x56,
- 0xbe, 0xed, 0x89, 0x4d, 0x88, 0xcd, 0x87, 0xec, 0xa9, 0x57, 0x6e, 0x60, 0xee, 0x65, 0x50, 0xae,
- 0x4d, 0xc6, 0x3f, 0x32, 0x20, 0x45, 0x24, 0x5c, 0x42, 0xf6, 0x6a, 0x6c, 0xab, 0x42, 0x31, 0x25,
- 0x36, 0x54, 0xf9, 0x35, 0x80, 0x89, 0xfb, 0x83, 0xed, 0x62, 0xcf, 0xb2, 0x92, 0x2d, 0xce, 0xb6,
- 0x33, 0x13, 0x57, 0x29, 0x58, 0x7e, 0x30, 0x28, 0x0e, 0xd8, 0xf0, 0xbf, 0xa6, 0x5e, 0x02, 0x8d,
- 0xbc, 0xe9, 0xf7, 0xda, 0xb0, 0xe7, 0x87, 0xc1, 0xd1, 0x68, 0xa5, 0xd3, 0x1c, 0x83, 0xae, 0xb4,
- 0x72, 0xb4, 0x75, 0x95, 0x90, 0xf4, 0x26, 0xfe, 0x3e, 0xcd, 0xfd, 0x58, 0x7d, 0x4e, 0xae, 0xd6,
- 0xe9, 0x83, 0x95, 0xc5, 0xee, 0xc8, 0x1f, 0xc7, 0x56, 0x3b, 0xf1, 0xf5, 0x03, 0x6b, 0x82, 0xf5,
- 0x08, 0xeb, 0x9d, 0x78, 0xc9, 0xa8, 0x89, 0xf8, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x95, 0xd1, 0xa1,
- 0x34, 0x7e, 0x01, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go
deleted file mode 100644
index fb8034ed2..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go
+++ /dev/null
@@ -1,877 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/group_service.proto
-
-package monitoring
-
-import (
- context "context"
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- empty "github.com/golang/protobuf/ptypes/empty"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
- grpc "google.golang.org/grpc"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// The `ListGroup` request.
-type ListGroupsRequest struct {
- // The project whose groups are to be listed. The format is
- // `"projects/{project_id_or_number}"`.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- // An optional filter consisting of a single group name. The filters limit
- // the groups returned based on their parent-child relationship with the
- // specified group. If no filter is specified, all groups are returned.
- //
- // Types that are valid to be assigned to Filter:
- // *ListGroupsRequest_ChildrenOfGroup
- // *ListGroupsRequest_AncestorsOfGroup
- // *ListGroupsRequest_DescendantsOfGroup
- Filter isListGroupsRequest_Filter `protobuf_oneof:"filter"`
- // A positive number that is the maximum number of results to return.
- PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If this field is not empty then it must contain the `nextPageToken` value
- // returned by a previous call to this method. Using this field causes the
- // method to return additional results from the previous method call.
- PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListGroupsRequest) Reset() { *m = ListGroupsRequest{} }
-func (m *ListGroupsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListGroupsRequest) ProtoMessage() {}
-func (*ListGroupsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{0}
-}
-
-func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListGroupsRequest.Unmarshal(m, b)
-}
-func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListGroupsRequest.Marshal(b, m, deterministic)
-}
-func (m *ListGroupsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListGroupsRequest.Merge(m, src)
-}
-func (m *ListGroupsRequest) XXX_Size() int {
- return xxx_messageInfo_ListGroupsRequest.Size(m)
-}
-func (m *ListGroupsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListGroupsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListGroupsRequest proto.InternalMessageInfo
-
-func (m *ListGroupsRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-type isListGroupsRequest_Filter interface {
- isListGroupsRequest_Filter()
-}
-
-type ListGroupsRequest_ChildrenOfGroup struct {
- ChildrenOfGroup string `protobuf:"bytes,2,opt,name=children_of_group,json=childrenOfGroup,proto3,oneof"`
-}
-
-type ListGroupsRequest_AncestorsOfGroup struct {
- AncestorsOfGroup string `protobuf:"bytes,3,opt,name=ancestors_of_group,json=ancestorsOfGroup,proto3,oneof"`
-}
-
-type ListGroupsRequest_DescendantsOfGroup struct {
- DescendantsOfGroup string `protobuf:"bytes,4,opt,name=descendants_of_group,json=descendantsOfGroup,proto3,oneof"`
-}
-
-func (*ListGroupsRequest_ChildrenOfGroup) isListGroupsRequest_Filter() {}
-
-func (*ListGroupsRequest_AncestorsOfGroup) isListGroupsRequest_Filter() {}
-
-func (*ListGroupsRequest_DescendantsOfGroup) isListGroupsRequest_Filter() {}
-
-func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter {
- if m != nil {
- return m.Filter
- }
- return nil
-}
-
-func (m *ListGroupsRequest) GetChildrenOfGroup() string {
- if x, ok := m.GetFilter().(*ListGroupsRequest_ChildrenOfGroup); ok {
- return x.ChildrenOfGroup
- }
- return ""
-}
-
-func (m *ListGroupsRequest) GetAncestorsOfGroup() string {
- if x, ok := m.GetFilter().(*ListGroupsRequest_AncestorsOfGroup); ok {
- return x.AncestorsOfGroup
- }
- return ""
-}
-
-func (m *ListGroupsRequest) GetDescendantsOfGroup() string {
- if x, ok := m.GetFilter().(*ListGroupsRequest_DescendantsOfGroup); ok {
- return x.DescendantsOfGroup
- }
- return ""
-}
-
-func (m *ListGroupsRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListGroupsRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*ListGroupsRequest) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*ListGroupsRequest_ChildrenOfGroup)(nil),
- (*ListGroupsRequest_AncestorsOfGroup)(nil),
- (*ListGroupsRequest_DescendantsOfGroup)(nil),
- }
-}
-
-// The `ListGroups` response.
-type ListGroupsResponse struct {
- // The groups that match the specified filters.
- Group []*Group `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"`
- // If there are more results than have been returned, then this field is set
- // to a non-empty value. To see the additional results,
- // use that value as `pageToken` in the next call to this method.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListGroupsResponse) Reset() { *m = ListGroupsResponse{} }
-func (m *ListGroupsResponse) String() string { return proto.CompactTextString(m) }
-func (*ListGroupsResponse) ProtoMessage() {}
-func (*ListGroupsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{1}
-}
-
-func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListGroupsResponse.Unmarshal(m, b)
-}
-func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListGroupsResponse.Marshal(b, m, deterministic)
-}
-func (m *ListGroupsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListGroupsResponse.Merge(m, src)
-}
-func (m *ListGroupsResponse) XXX_Size() int {
- return xxx_messageInfo_ListGroupsResponse.Size(m)
-}
-func (m *ListGroupsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListGroupsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListGroupsResponse proto.InternalMessageInfo
-
-func (m *ListGroupsResponse) GetGroup() []*Group {
- if m != nil {
- return m.Group
- }
- return nil
-}
-
-func (m *ListGroupsResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-// The `GetGroup` request.
-type GetGroupRequest struct {
- // The group to retrieve. The format is
- // `"projects/{project_id_or_number}/groups/{group_id}"`.
- 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 *GetGroupRequest) Reset() { *m = GetGroupRequest{} }
-func (m *GetGroupRequest) String() string { return proto.CompactTextString(m) }
-func (*GetGroupRequest) ProtoMessage() {}
-func (*GetGroupRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{2}
-}
-
-func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupRequest.Unmarshal(m, b)
-}
-func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupRequest.Marshal(b, m, deterministic)
-}
-func (m *GetGroupRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupRequest.Merge(m, src)
-}
-func (m *GetGroupRequest) XXX_Size() int {
- return xxx_messageInfo_GetGroupRequest.Size(m)
-}
-func (m *GetGroupRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetGroupRequest proto.InternalMessageInfo
-
-func (m *GetGroupRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `CreateGroup` request.
-type CreateGroupRequest struct {
- // The project in which to create the group. The format is
- // `"projects/{project_id_or_number}"`.
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
- // A group definition. It is an error to define the `name` field because
- // the system assigns the name.
- Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
- // If true, validate this request but do not create the group.
- ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateGroupRequest) Reset() { *m = CreateGroupRequest{} }
-func (m *CreateGroupRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateGroupRequest) ProtoMessage() {}
-func (*CreateGroupRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{3}
-}
-
-func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateGroupRequest.Unmarshal(m, b)
-}
-func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateGroupRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateGroupRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateGroupRequest.Merge(m, src)
-}
-func (m *CreateGroupRequest) XXX_Size() int {
- return xxx_messageInfo_CreateGroupRequest.Size(m)
-}
-func (m *CreateGroupRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateGroupRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateGroupRequest proto.InternalMessageInfo
-
-func (m *CreateGroupRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *CreateGroupRequest) GetGroup() *Group {
- if m != nil {
- return m.Group
- }
- return nil
-}
-
-func (m *CreateGroupRequest) GetValidateOnly() bool {
- if m != nil {
- return m.ValidateOnly
- }
- return false
-}
-
-// The `UpdateGroup` request.
-type UpdateGroupRequest struct {
- // The new definition of the group. All fields of the existing group,
- // excepting `name`, are replaced with the corresponding fields of this group.
- Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
- // If true, validate this request but do not update the existing group.
- ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UpdateGroupRequest) Reset() { *m = UpdateGroupRequest{} }
-func (m *UpdateGroupRequest) String() string { return proto.CompactTextString(m) }
-func (*UpdateGroupRequest) ProtoMessage() {}
-func (*UpdateGroupRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{4}
-}
-
-func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateGroupRequest.Unmarshal(m, b)
-}
-func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateGroupRequest.Marshal(b, m, deterministic)
-}
-func (m *UpdateGroupRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateGroupRequest.Merge(m, src)
-}
-func (m *UpdateGroupRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateGroupRequest.Size(m)
-}
-func (m *UpdateGroupRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateGroupRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UpdateGroupRequest proto.InternalMessageInfo
-
-func (m *UpdateGroupRequest) GetGroup() *Group {
- if m != nil {
- return m.Group
- }
- return nil
-}
-
-func (m *UpdateGroupRequest) GetValidateOnly() bool {
- if m != nil {
- return m.ValidateOnly
- }
- return false
-}
-
-// The `DeleteGroup` request. You can only delete a group if it has no children.
-type DeleteGroupRequest struct {
- // The group to delete. The format is
- // `"projects/{project_id_or_number}/groups/{group_id}"`.
- 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 *DeleteGroupRequest) Reset() { *m = DeleteGroupRequest{} }
-func (m *DeleteGroupRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteGroupRequest) ProtoMessage() {}
-func (*DeleteGroupRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{5}
-}
-
-func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteGroupRequest.Unmarshal(m, b)
-}
-func (m *DeleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteGroupRequest.Marshal(b, m, deterministic)
-}
-func (m *DeleteGroupRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteGroupRequest.Merge(m, src)
-}
-func (m *DeleteGroupRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteGroupRequest.Size(m)
-}
-func (m *DeleteGroupRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteGroupRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteGroupRequest proto.InternalMessageInfo
-
-func (m *DeleteGroupRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `ListGroupMembers` request.
-type ListGroupMembersRequest struct {
- // The group whose members are listed. The format is
- // `"projects/{project_id_or_number}/groups/{group_id}"`.
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- // A positive number that is the maximum number of results to return.
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If this field is not empty then it must contain the `nextPageToken` value
- // returned by a previous call to this method. Using this field causes the
- // method to return additional results from the previous method call.
- PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- // An optional [list filter](/monitoring/api/learn_more#filtering) describing
- // the members to be returned. The filter may reference the type, labels, and
- // metadata of monitored resources that comprise the group.
- // For example, to return only resources representing Compute Engine VM
- // instances, use this filter:
- //
- // resource.type = "gce_instance"
- Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
- // An optional time interval for which results should be returned. Only
- // members that were part of the group during the specified interval are
- // included in the response. If no interval is provided then the group
- // membership over the last minute is returned.
- Interval *TimeInterval `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListGroupMembersRequest) Reset() { *m = ListGroupMembersRequest{} }
-func (m *ListGroupMembersRequest) String() string { return proto.CompactTextString(m) }
-func (*ListGroupMembersRequest) ProtoMessage() {}
-func (*ListGroupMembersRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{6}
-}
-
-func (m *ListGroupMembersRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListGroupMembersRequest.Unmarshal(m, b)
-}
-func (m *ListGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListGroupMembersRequest.Marshal(b, m, deterministic)
-}
-func (m *ListGroupMembersRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListGroupMembersRequest.Merge(m, src)
-}
-func (m *ListGroupMembersRequest) XXX_Size() int {
- return xxx_messageInfo_ListGroupMembersRequest.Size(m)
-}
-func (m *ListGroupMembersRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListGroupMembersRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListGroupMembersRequest proto.InternalMessageInfo
-
-func (m *ListGroupMembersRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ListGroupMembersRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListGroupMembersRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-func (m *ListGroupMembersRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *ListGroupMembersRequest) GetInterval() *TimeInterval {
- if m != nil {
- return m.Interval
- }
- return nil
-}
-
-// The `ListGroupMembers` response.
-type ListGroupMembersResponse struct {
- // A set of monitored resources in the group.
- Members []*monitoredres.MonitoredResource `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
- // If there are more results than have been returned, then this field is
- // set to a non-empty value. To see the additional results, use that value as
- // `pageToken` in the next call to this method.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- // The total number of elements matching this request.
- TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListGroupMembersResponse) Reset() { *m = ListGroupMembersResponse{} }
-func (m *ListGroupMembersResponse) String() string { return proto.CompactTextString(m) }
-func (*ListGroupMembersResponse) ProtoMessage() {}
-func (*ListGroupMembersResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_21ad21d0ed55c55a, []int{7}
-}
-
-func (m *ListGroupMembersResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListGroupMembersResponse.Unmarshal(m, b)
-}
-func (m *ListGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListGroupMembersResponse.Marshal(b, m, deterministic)
-}
-func (m *ListGroupMembersResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListGroupMembersResponse.Merge(m, src)
-}
-func (m *ListGroupMembersResponse) XXX_Size() int {
- return xxx_messageInfo_ListGroupMembersResponse.Size(m)
-}
-func (m *ListGroupMembersResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListGroupMembersResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListGroupMembersResponse proto.InternalMessageInfo
-
-func (m *ListGroupMembersResponse) GetMembers() []*monitoredres.MonitoredResource {
- if m != nil {
- return m.Members
- }
- return nil
-}
-
-func (m *ListGroupMembersResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-func (m *ListGroupMembersResponse) GetTotalSize() int32 {
- if m != nil {
- return m.TotalSize
- }
- return 0
-}
-
-func init() {
- proto.RegisterType((*ListGroupsRequest)(nil), "google.monitoring.v3.ListGroupsRequest")
- proto.RegisterType((*ListGroupsResponse)(nil), "google.monitoring.v3.ListGroupsResponse")
- proto.RegisterType((*GetGroupRequest)(nil), "google.monitoring.v3.GetGroupRequest")
- proto.RegisterType((*CreateGroupRequest)(nil), "google.monitoring.v3.CreateGroupRequest")
- proto.RegisterType((*UpdateGroupRequest)(nil), "google.monitoring.v3.UpdateGroupRequest")
- proto.RegisterType((*DeleteGroupRequest)(nil), "google.monitoring.v3.DeleteGroupRequest")
- proto.RegisterType((*ListGroupMembersRequest)(nil), "google.monitoring.v3.ListGroupMembersRequest")
- proto.RegisterType((*ListGroupMembersResponse)(nil), "google.monitoring.v3.ListGroupMembersResponse")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/group_service.proto", fileDescriptor_21ad21d0ed55c55a)
-}
-
-var fileDescriptor_21ad21d0ed55c55a = []byte{
- // 826 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xd3, 0x4c,
- 0x10, 0x7e, 0xdd, 0xa4, 0x69, 0xb2, 0x69, 0xd5, 0x76, 0x55, 0xf5, 0x8d, 0xdc, 0x0f, 0x05, 0xf7,
- 0x83, 0xa8, 0x50, 0x5b, 0x24, 0x07, 0x24, 0x10, 0x3d, 0xb4, 0xa0, 0x82, 0x44, 0xd5, 0xca, 0x2d,
- 0x3d, 0xa0, 0x4a, 0x91, 0x9b, 0x4c, 0x8c, 0xc1, 0xde,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b, 0xf9, 0xf7, 0x6d, 0x4c, 0xdd,
- 0x8d, 0x3f, 0xb0, 0xe3, 0xd2, 0x66, 0x5d, 0x2e, 0x88, 0x88, 0xf1, 0xb8, 0xf2, 0x53, 0x06, 0x4f,
- 0x78, 0xf0, 0xa4, 0x13, 0x3c, 0x39, 0xae, 0x9c, 0x66, 0x38, 0x49, 0xe5, 0x6f, 0x00, 0x00, 0x00,
- 0xff, 0xff, 0x86, 0x94, 0xf2, 0xde, 0xed, 0x08, 0x00, 0x00,
-}
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// GroupServiceClient is the client API for GroupService service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type GroupServiceClient interface {
- // Lists the existing groups.
- ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
- // Gets a single group.
- GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error)
- // Creates a new group.
- CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error)
- // Updates an existing group.
- // You can change any group attributes except `name`.
- UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*Group, error)
- // Deletes an existing group.
- DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- // Lists the monitored resources that are members of a group.
- ListGroupMembers(ctx context.Context, in *ListGroupMembersRequest, opts ...grpc.CallOption) (*ListGroupMembersResponse, error)
-}
-
-type groupServiceClient struct {
- cc *grpc.ClientConn
-}
-
-func NewGroupServiceClient(cc *grpc.ClientConn) GroupServiceClient {
- return &groupServiceClient{cc}
-}
-
-func (c *groupServiceClient) ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) {
- out := new(ListGroupsResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroups", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *groupServiceClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error) {
- out := new(Group)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/GetGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *groupServiceClient) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) {
- out := new(Group)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/CreateGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *groupServiceClient) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*Group, error) {
- out := new(Group)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/UpdateGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *groupServiceClient) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/DeleteGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *groupServiceClient) ListGroupMembers(ctx context.Context, in *ListGroupMembersRequest, opts ...grpc.CallOption) (*ListGroupMembersResponse, error) {
- out := new(ListGroupMembersResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroupMembers", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// GroupServiceServer is the server API for GroupService service.
-type GroupServiceServer interface {
- // Lists the existing groups.
- ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
- // Gets a single group.
- GetGroup(context.Context, *GetGroupRequest) (*Group, error)
- // Creates a new group.
- CreateGroup(context.Context, *CreateGroupRequest) (*Group, error)
- // Updates an existing group.
- // You can change any group attributes except `name`.
- UpdateGroup(context.Context, *UpdateGroupRequest) (*Group, error)
- // Deletes an existing group.
- DeleteGroup(context.Context, *DeleteGroupRequest) (*empty.Empty, error)
- // Lists the monitored resources that are members of a group.
- ListGroupMembers(context.Context, *ListGroupMembersRequest) (*ListGroupMembersResponse, error)
-}
-
-func RegisterGroupServiceServer(s *grpc.Server, srv GroupServiceServer) {
- s.RegisterService(&_GroupService_serviceDesc, srv)
-}
-
-func _GroupService_ListGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListGroupsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GroupServiceServer).ListGroups(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.GroupService/ListGroups",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GroupServiceServer).ListGroups(ctx, req.(*ListGroupsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _GroupService_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetGroupRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GroupServiceServer).GetGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.GroupService/GetGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GroupServiceServer).GetGroup(ctx, req.(*GetGroupRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _GroupService_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateGroupRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GroupServiceServer).CreateGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.GroupService/CreateGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GroupServiceServer).CreateGroup(ctx, req.(*CreateGroupRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _GroupService_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateGroupRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GroupServiceServer).UpdateGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.GroupService/UpdateGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GroupServiceServer).UpdateGroup(ctx, req.(*UpdateGroupRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _GroupService_DeleteGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteGroupRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GroupServiceServer).DeleteGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.GroupService/DeleteGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GroupServiceServer).DeleteGroup(ctx, req.(*DeleteGroupRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _GroupService_ListGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListGroupMembersRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GroupServiceServer).ListGroupMembers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.GroupService/ListGroupMembers",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GroupServiceServer).ListGroupMembers(ctx, req.(*ListGroupMembersRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-var _GroupService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.monitoring.v3.GroupService",
- HandlerType: (*GroupServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "ListGroups",
- Handler: _GroupService_ListGroups_Handler,
- },
- {
- MethodName: "GetGroup",
- Handler: _GroupService_GetGroup_Handler,
- },
- {
- MethodName: "CreateGroup",
- Handler: _GroupService_CreateGroup_Handler,
- },
- {
- MethodName: "UpdateGroup",
- Handler: _GroupService_UpdateGroup_Handler,
- },
- {
- MethodName: "DeleteGroup",
- Handler: _GroupService_DeleteGroup_Handler,
- },
- {
- MethodName: "ListGroupMembers",
- Handler: _GroupService_ListGroupMembers_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/monitoring/v3/group_service.proto",
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go
deleted file mode 100644
index 03d63f511..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go
+++ /dev/null
@@ -1,235 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/metric.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- _ "google.golang.org/genproto/googleapis/api/label"
- metric "google.golang.org/genproto/googleapis/api/metric"
- monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
-)
-
-// 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.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// A single data point in a time series.
-type Point struct {
- // The time interval to which the data point applies. For `GAUGE` metrics,
- // only the end time of the interval is used. For `DELTA` metrics, the start
- // and end time should specify a non-zero interval, with subsequent points
- // specifying contiguous and non-overlapping intervals. For `CUMULATIVE`
- // metrics, the start and end time should specify a non-zero interval, with
- // subsequent points specifying the same start time and increasing end times,
- // until an event resets the cumulative value to zero and sets a new start
- // time for the following points.
- Interval *TimeInterval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
- // The value of the data point.
- Value *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Point) Reset() { *m = Point{} }
-func (m *Point) String() string { return proto.CompactTextString(m) }
-func (*Point) ProtoMessage() {}
-func (*Point) Descriptor() ([]byte, []int) {
- return fileDescriptor_c76199a3d2c4c21e, []int{0}
-}
-
-func (m *Point) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Point.Unmarshal(m, b)
-}
-func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Point.Marshal(b, m, deterministic)
-}
-func (m *Point) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Point.Merge(m, src)
-}
-func (m *Point) XXX_Size() int {
- return xxx_messageInfo_Point.Size(m)
-}
-func (m *Point) XXX_DiscardUnknown() {
- xxx_messageInfo_Point.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Point proto.InternalMessageInfo
-
-func (m *Point) GetInterval() *TimeInterval {
- if m != nil {
- return m.Interval
- }
- return nil
-}
-
-func (m *Point) GetValue() *TypedValue {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-// A collection of data points that describes the time-varying values
-// of a metric. A time series is identified by a combination of a
-// fully-specified monitored resource and a fully-specified metric.
-// This type is used for both listing and creating time series.
-type TimeSeries struct {
- // The associated metric. A fully-specified metric used to identify the time
- // series.
- Metric *metric.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
- // The associated monitored resource. Custom metrics can use only certain
- // monitored resource types in their time series data.
- Resource *monitoredres.MonitoredResource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
- // Output only. The associated monitored resource metadata. When reading a
- // a timeseries, this field will include metadata labels that are explicitly
- // named in the reduction. When creating a timeseries, this field is ignored.
- Metadata *monitoredres.MonitoredResourceMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
- // The metric kind of the time series. When listing time series, this metric
- // kind might be different from the metric kind of the associated metric if
- // this time series is an alignment or reduction of other time series.
- //
- // When creating a time series, this field is optional. If present, it must be
- // the same as the metric kind of the associated metric. If the associated
- // metric's descriptor must be auto-created, then this field specifies the
- // metric kind of the new descriptor and must be either `GAUGE` (the default)
- // or `CUMULATIVE`.
- MetricKind metric.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"`
- // The value type of the time series. When listing time series, this value
- // type might be different from the value type of the associated metric if
- // this time series is an alignment or reduction of other time series.
- //
- // When creating a time series, this field is optional. If present, it must be
- // the same as the type of the data in the `points` field.
- ValueType metric.MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"`
- // The data points of this time series. When listing time series, points are
- // returned in reverse time order.
- //
- // When creating a time series, this field must contain exactly one point and
- // the point's type must be the same as the value type of the associated
- // metric. If the associated metric's descriptor must be auto-created, then
- // the value type of the descriptor is determined by the point's type, which
- // must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
- Points []*Point `protobuf:"bytes,5,rep,name=points,proto3" json:"points,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TimeSeries) Reset() { *m = TimeSeries{} }
-func (m *TimeSeries) String() string { return proto.CompactTextString(m) }
-func (*TimeSeries) ProtoMessage() {}
-func (*TimeSeries) Descriptor() ([]byte, []int) {
- return fileDescriptor_c76199a3d2c4c21e, []int{1}
-}
-
-func (m *TimeSeries) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TimeSeries.Unmarshal(m, b)
-}
-func (m *TimeSeries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TimeSeries.Marshal(b, m, deterministic)
-}
-func (m *TimeSeries) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TimeSeries.Merge(m, src)
-}
-func (m *TimeSeries) XXX_Size() int {
- return xxx_messageInfo_TimeSeries.Size(m)
-}
-func (m *TimeSeries) XXX_DiscardUnknown() {
- xxx_messageInfo_TimeSeries.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_TimeSeries proto.InternalMessageInfo
-
-func (m *TimeSeries) GetMetric() *metric.Metric {
- if m != nil {
- return m.Metric
- }
- return nil
-}
-
-func (m *TimeSeries) GetResource() *monitoredres.MonitoredResource {
- if m != nil {
- return m.Resource
- }
- return nil
-}
-
-func (m *TimeSeries) GetMetadata() *monitoredres.MonitoredResourceMetadata {
- if m != nil {
- return m.Metadata
- }
- return nil
-}
-
-func (m *TimeSeries) GetMetricKind() metric.MetricDescriptor_MetricKind {
- if m != nil {
- return m.MetricKind
- }
- return metric.MetricDescriptor_METRIC_KIND_UNSPECIFIED
-}
-
-func (m *TimeSeries) GetValueType() metric.MetricDescriptor_ValueType {
- if m != nil {
- return m.ValueType
- }
- return metric.MetricDescriptor_VALUE_TYPE_UNSPECIFIED
-}
-
-func (m *TimeSeries) GetPoints() []*Point {
- if m != nil {
- return m.Points
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*Point)(nil), "google.monitoring.v3.Point")
- proto.RegisterType((*TimeSeries)(nil), "google.monitoring.v3.TimeSeries")
-}
-
-func init() { proto.RegisterFile("google/monitoring/v3/metric.proto", fileDescriptor_c76199a3d2c4c21e) }
-
-var fileDescriptor_c76199a3d2c4c21e = []byte{
- // 441 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x51, 0xab, 0xd3, 0x30,
- 0x14, 0xc7, 0xe9, 0xae, 0x9b, 0x33, 0x03, 0x1f, 0x82, 0x68, 0x99, 0x0a, 0x73, 0xa2, 0x0e, 0x1f,
- 0x5a, 0x58, 0x41, 0x10, 0xe1, 0x82, 0x57, 0x45, 0x45, 0x2e, 0x8c, 0x28, 0x7b, 0x90, 0xc1, 0xc8,
- 0x6d, 0x0f, 0x25, 0xd8, 0xe4, 0x84, 0x34, 0x2b, 0xdc, 0x27, 0x3f, 0x8c, 0x6f, 0x7e, 0x14, 0x3f,
- 0x93, 0x0f, 0xd2, 0x24, 0xdd, 0x76, 0xb1, 0xf7, 0xbe, 0xb5, 0xf9, 0xff, 0xfe, 0xe7, 0x7f, 0x72,
- 0x72, 0xc8, 0x93, 0x12, 0xb1, 0xac, 0x20, 0x95, 0xa8, 0x84, 0x45, 0x23, 0x54, 0x99, 0x36, 0x59,
- 0x2a, 0xc1, 0x1a, 0x91, 0x27, 0xda, 0xa0, 0x45, 0x7a, 0xcf, 0x23, 0xc9, 0x01, 0x49, 0x9a, 0x6c,
- 0xfa, 0x28, 0x18, 0xb9, 0x16, 0x29, 0x57, 0x0a, 0x2d, 0xb7, 0x02, 0x55, 0xed, 0x3d, 0xd3, 0xfb,
- 0x47, 0x6a, 0xc5, 0x2f, 0xa0, 0x0a, 0xe7, 0x0f, 0x8e, 0xce, 0x8f, 0x43, 0x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6f, 0xb9, 0x42, 0xcf, 0x6f, 0x2c, 0xe4, 0x26, 0xd8, 0xce, 0x92, 0xdd, 0x69, 0xba, 0x4f,
- 0x9a, 0x91, 0x91, 0x6e, 0x9f, 0xb2, 0x8e, 0x87, 0xb3, 0x93, 0xc5, 0x64, 0xf9, 0xb0, 0xff, 0x09,
- 0xdc, 0x73, 0xb3, 0x80, 0x9e, 0xfd, 0x8a, 0x48, 0x9c, 0xa3, 0xec, 0x45, 0xcf, 0x26, 0x3e, 0x78,
- 0xd5, 0x6e, 0xca, 0x2a, 0xfa, 0x7e, 0x1a, 0xa0, 0x12, 0x2b, 0xae, 0xca, 0x04, 0x4d, 0x99, 0x96,
- 0xa0, 0xdc, 0x1e, 0xa5, 0x5e, 0xe2, 0x5a, 0xd4, 0x57, 0xb7, 0xed, 0xcd, 0xe1, 0xef, 0xf7, 0x60,
- 0xfa, 0xd1, 0x17, 0x78, 0x57, 0xe1, 0xae, 0xe8, 0x86, 0xdc, 0x66, 0xad, 0xb3, 0x3f, 0x9d, 0xb8,
- 0x71, 0xe2, 0xe6, 0x20, 0x6e, 0xd6, 0xd9, 0xc5, 0xc8, 0x85, 0x64, 0xff, 0x02, 0x00, 0x00, 0xff,
- 0xff, 0x5a, 0x88, 0xc9, 0x0b, 0x7e, 0x03, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go
deleted file mode 100644
index 69502b517..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go
+++ /dev/null
@@ -1,1232 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/metric_service.proto
-
-package monitoring
-
-import (
- context "context"
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- _ "github.com/golang/protobuf/ptypes/duration"
- empty "github.com/golang/protobuf/ptypes/empty"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- metric "google.golang.org/genproto/googleapis/api/metric"
- monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
- status "google.golang.org/genproto/googleapis/rpc/status"
- grpc "google.golang.org/grpc"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// Controls which fields are returned by `ListTimeSeries`.
-type ListTimeSeriesRequest_TimeSeriesView int32
-
-const (
- // Returns the identity of the metric(s), the time series,
- // and the time series data.
- ListTimeSeriesRequest_FULL ListTimeSeriesRequest_TimeSeriesView = 0
- // Returns the identity of the metric and the time series resource,
- // but not the time series data.
- ListTimeSeriesRequest_HEADERS ListTimeSeriesRequest_TimeSeriesView = 1
-)
-
-var ListTimeSeriesRequest_TimeSeriesView_name = map[int32]string{
- 0: "FULL",
- 1: "HEADERS",
-}
-
-var ListTimeSeriesRequest_TimeSeriesView_value = map[string]int32{
- "FULL": 0,
- "HEADERS": 1,
-}
-
-func (x ListTimeSeriesRequest_TimeSeriesView) String() string {
- return proto.EnumName(ListTimeSeriesRequest_TimeSeriesView_name, int32(x))
-}
-
-func (ListTimeSeriesRequest_TimeSeriesView) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{8, 0}
-}
-
-// The `ListMonitoredResourceDescriptors` request.
-type ListMonitoredResourceDescriptorsRequest struct {
- // The project on which to execute the request. The format is
- // `"projects/{project_id_or_number}"`.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- // An optional [filter](/monitoring/api/v3/filters) describing
- // the descriptors to be returned. The filter can reference
- // the descriptor's type and labels. For example, the
- // following filter returns only Google Compute Engine descriptors
- // that have an `id` label:
- //
- // resource.type = starts_with("gce_") AND resource.label:id
- Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
- // A positive number that is the maximum number of results to return.
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If this field is not empty then it must contain the `nextPageToken` value
- // returned by a previous call to this method. Using this field causes the
- // method to return additional results from the previous method call.
- PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListMonitoredResourceDescriptorsRequest) Reset() {
- *m = ListMonitoredResourceDescriptorsRequest{}
-}
-func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage() {}
-func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{0}
-}
-
-func (m *ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Unmarshal(m, b)
-}
-func (m *ListMonitoredResourceDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Marshal(b, m, deterministic)
-}
-func (m *ListMonitoredResourceDescriptorsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Merge(m, src)
-}
-func (m *ListMonitoredResourceDescriptorsRequest) XXX_Size() int {
- return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Size(m)
-}
-func (m *ListMonitoredResourceDescriptorsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListMonitoredResourceDescriptorsRequest proto.InternalMessageInfo
-
-func (m *ListMonitoredResourceDescriptorsRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ListMonitoredResourceDescriptorsRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *ListMonitoredResourceDescriptorsRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListMonitoredResourceDescriptorsRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-// The `ListMonitoredResourceDescriptors` response.
-type ListMonitoredResourceDescriptorsResponse struct {
- // The monitored resource descriptors that are available to this project
- // and that match `filter`, if present.
- ResourceDescriptors []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,1,rep,name=resource_descriptors,json=resourceDescriptors,proto3" json:"resource_descriptors,omitempty"`
- // If there are more results than have been returned, then this field is set
- // to a non-empty value. To see the additional results,
- // use that value as `pageToken` in the next call to this method.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListMonitoredResourceDescriptorsResponse) Reset() {
- *m = ListMonitoredResourceDescriptorsResponse{}
-}
-func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) }
-func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage() {}
-func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{1}
-}
-
-func (m *ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Unmarshal(m, b)
-}
-func (m *ListMonitoredResourceDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Marshal(b, m, deterministic)
-}
-func (m *ListMonitoredResourceDescriptorsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Merge(m, src)
-}
-func (m *ListMonitoredResourceDescriptorsResponse) XXX_Size() int {
- return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Size(m)
-}
-func (m *ListMonitoredResourceDescriptorsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListMonitoredResourceDescriptorsResponse proto.InternalMessageInfo
-
-func (m *ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors() []*monitoredres.MonitoredResourceDescriptor {
- if m != nil {
- return m.ResourceDescriptors
- }
- return nil
-}
-
-func (m *ListMonitoredResourceDescriptorsResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-// The `GetMonitoredResourceDescriptor` request.
-type GetMonitoredResourceDescriptorRequest struct {
- // The monitored resource descriptor to get. The format is
- // `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
- // The `{resource_type}` is a predefined type, such as
- // `cloudsql_database`.
- 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 *GetMonitoredResourceDescriptorRequest) Reset() { *m = GetMonitoredResourceDescriptorRequest{} }
-func (m *GetMonitoredResourceDescriptorRequest) String() string { return proto.CompactTextString(m) }
-func (*GetMonitoredResourceDescriptorRequest) ProtoMessage() {}
-func (*GetMonitoredResourceDescriptorRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{2}
-}
-
-func (m *GetMonitoredResourceDescriptorRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Unmarshal(m, b)
-}
-func (m *GetMonitoredResourceDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Marshal(b, m, deterministic)
-}
-func (m *GetMonitoredResourceDescriptorRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Merge(m, src)
-}
-func (m *GetMonitoredResourceDescriptorRequest) XXX_Size() int {
- return xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Size(m)
-}
-func (m *GetMonitoredResourceDescriptorRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetMonitoredResourceDescriptorRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetMonitoredResourceDescriptorRequest proto.InternalMessageInfo
-
-func (m *GetMonitoredResourceDescriptorRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `ListMetricDescriptors` request.
-type ListMetricDescriptorsRequest struct {
- // The project on which to execute the request. The format is
- // `"projects/{project_id_or_number}"`.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- // If this field is empty, all custom and
- // system-defined metric descriptors are returned.
- // Otherwise, the [filter](/monitoring/api/v3/filters)
- // specifies which metric descriptors are to be
- // returned. For example, the following filter matches all
- // [custom metrics](/monitoring/custom-metrics):
- //
- // metric.type = starts_with("custom.googleapis.com/")
- Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
- // A positive number that is the maximum number of results to return.
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If this field is not empty then it must contain the `nextPageToken` value
- // returned by a previous call to this method. Using this field causes the
- // method to return additional results from the previous method call.
- PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListMetricDescriptorsRequest) Reset() { *m = ListMetricDescriptorsRequest{} }
-func (m *ListMetricDescriptorsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListMetricDescriptorsRequest) ProtoMessage() {}
-func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{3}
-}
-
-func (m *ListMetricDescriptorsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListMetricDescriptorsRequest.Unmarshal(m, b)
-}
-func (m *ListMetricDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListMetricDescriptorsRequest.Marshal(b, m, deterministic)
-}
-func (m *ListMetricDescriptorsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListMetricDescriptorsRequest.Merge(m, src)
-}
-func (m *ListMetricDescriptorsRequest) XXX_Size() int {
- return xxx_messageInfo_ListMetricDescriptorsRequest.Size(m)
-}
-func (m *ListMetricDescriptorsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListMetricDescriptorsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListMetricDescriptorsRequest proto.InternalMessageInfo
-
-func (m *ListMetricDescriptorsRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ListMetricDescriptorsRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *ListMetricDescriptorsRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListMetricDescriptorsRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-// The `ListMetricDescriptors` response.
-type ListMetricDescriptorsResponse struct {
- // The metric descriptors that are available to the project
- // and that match the value of `filter`, if present.
- MetricDescriptors []*metric.MetricDescriptor `protobuf:"bytes,1,rep,name=metric_descriptors,json=metricDescriptors,proto3" json:"metric_descriptors,omitempty"`
- // If there are more results than have been returned, then this field is set
- // to a non-empty value. To see the additional results,
- // use that value as `pageToken` in the next call to this method.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListMetricDescriptorsResponse) Reset() { *m = ListMetricDescriptorsResponse{} }
-func (m *ListMetricDescriptorsResponse) String() string { return proto.CompactTextString(m) }
-func (*ListMetricDescriptorsResponse) ProtoMessage() {}
-func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{4}
-}
-
-func (m *ListMetricDescriptorsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListMetricDescriptorsResponse.Unmarshal(m, b)
-}
-func (m *ListMetricDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListMetricDescriptorsResponse.Marshal(b, m, deterministic)
-}
-func (m *ListMetricDescriptorsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListMetricDescriptorsResponse.Merge(m, src)
-}
-func (m *ListMetricDescriptorsResponse) XXX_Size() int {
- return xxx_messageInfo_ListMetricDescriptorsResponse.Size(m)
-}
-func (m *ListMetricDescriptorsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListMetricDescriptorsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListMetricDescriptorsResponse proto.InternalMessageInfo
-
-func (m *ListMetricDescriptorsResponse) GetMetricDescriptors() []*metric.MetricDescriptor {
- if m != nil {
- return m.MetricDescriptors
- }
- return nil
-}
-
-func (m *ListMetricDescriptorsResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-// The `GetMetricDescriptor` request.
-type GetMetricDescriptorRequest struct {
- // The metric descriptor on which to execute the request. The format is
- // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
- // An example value of `{metric_id}` is
- // `"compute.googleapis.com/instance/disk/read_bytes_count"`.
- 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 *GetMetricDescriptorRequest) Reset() { *m = GetMetricDescriptorRequest{} }
-func (m *GetMetricDescriptorRequest) String() string { return proto.CompactTextString(m) }
-func (*GetMetricDescriptorRequest) ProtoMessage() {}
-func (*GetMetricDescriptorRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{5}
-}
-
-func (m *GetMetricDescriptorRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetMetricDescriptorRequest.Unmarshal(m, b)
-}
-func (m *GetMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetMetricDescriptorRequest.Marshal(b, m, deterministic)
-}
-func (m *GetMetricDescriptorRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetMetricDescriptorRequest.Merge(m, src)
-}
-func (m *GetMetricDescriptorRequest) XXX_Size() int {
- return xxx_messageInfo_GetMetricDescriptorRequest.Size(m)
-}
-func (m *GetMetricDescriptorRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetMetricDescriptorRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetMetricDescriptorRequest proto.InternalMessageInfo
-
-func (m *GetMetricDescriptorRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `CreateMetricDescriptor` request.
-type CreateMetricDescriptorRequest struct {
- // The project on which to execute the request. The format is
- // `"projects/{project_id_or_number}"`.
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- // The new [custom metric](/monitoring/custom-metrics)
- // descriptor.
- MetricDescriptor *metric.MetricDescriptor `protobuf:"bytes,2,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateMetricDescriptorRequest) Reset() { *m = CreateMetricDescriptorRequest{} }
-func (m *CreateMetricDescriptorRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateMetricDescriptorRequest) ProtoMessage() {}
-func (*CreateMetricDescriptorRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{6}
-}
-
-func (m *CreateMetricDescriptorRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateMetricDescriptorRequest.Unmarshal(m, b)
-}
-func (m *CreateMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateMetricDescriptorRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateMetricDescriptorRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateMetricDescriptorRequest.Merge(m, src)
-}
-func (m *CreateMetricDescriptorRequest) XXX_Size() int {
- return xxx_messageInfo_CreateMetricDescriptorRequest.Size(m)
-}
-func (m *CreateMetricDescriptorRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateMetricDescriptorRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateMetricDescriptorRequest proto.InternalMessageInfo
-
-func (m *CreateMetricDescriptorRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *CreateMetricDescriptorRequest) GetMetricDescriptor() *metric.MetricDescriptor {
- if m != nil {
- return m.MetricDescriptor
- }
- return nil
-}
-
-// The `DeleteMetricDescriptor` request.
-type DeleteMetricDescriptorRequest struct {
- // The metric descriptor on which to execute the request. The format is
- // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
- // An example of `{metric_id}` is:
- // `"custom.googleapis.com/my_test_metric"`.
- 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 *DeleteMetricDescriptorRequest) Reset() { *m = DeleteMetricDescriptorRequest{} }
-func (m *DeleteMetricDescriptorRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteMetricDescriptorRequest) ProtoMessage() {}
-func (*DeleteMetricDescriptorRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{7}
-}
-
-func (m *DeleteMetricDescriptorRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteMetricDescriptorRequest.Unmarshal(m, b)
-}
-func (m *DeleteMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteMetricDescriptorRequest.Marshal(b, m, deterministic)
-}
-func (m *DeleteMetricDescriptorRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteMetricDescriptorRequest.Merge(m, src)
-}
-func (m *DeleteMetricDescriptorRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteMetricDescriptorRequest.Size(m)
-}
-func (m *DeleteMetricDescriptorRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteMetricDescriptorRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteMetricDescriptorRequest proto.InternalMessageInfo
-
-func (m *DeleteMetricDescriptorRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `ListTimeSeries` request.
-type ListTimeSeriesRequest struct {
- // The project on which to execute the request. The format is
- // "projects/{project_id_or_number}".
- Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
- // A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
- // series should be returned. The filter must specify a single metric type,
- // and can additionally specify metric labels and other information. For
- // example:
- //
- // metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
- // metric.label.instance_name = "my-instance-name"
- Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
- // The time interval for which results should be returned. Only time series
- // that contain data points in the specified interval are included
- // in the response.
- Interval *TimeInterval `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
- // By default, the raw time series data is returned.
- // Use this field to combine multiple time series for different
- // views of the data.
- Aggregation *Aggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
- // Unsupported: must be left blank. The points in each time series are
- // returned in reverse time order.
- OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
- // Specifies which information is returned about the time series.
- View ListTimeSeriesRequest_TimeSeriesView `protobuf:"varint,7,opt,name=view,proto3,enum=google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView" json:"view,omitempty"`
- // A positive number that is the maximum number of results to return. If
- // `page_size` is empty or more than 100,000 results, the effective
- // `page_size` is 100,000 results. If `view` is set to `FULL`, this is the
- // maximum number of `Points` returned. If `view` is set to `HEADERS`, this is
- // the maximum number of `TimeSeries` returned.
- PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If this field is not empty then it must contain the `nextPageToken` value
- // returned by a previous call to this method. Using this field causes the
- // method to return additional results from the previous method call.
- PageToken string `protobuf:"bytes,9,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListTimeSeriesRequest) Reset() { *m = ListTimeSeriesRequest{} }
-func (m *ListTimeSeriesRequest) String() string { return proto.CompactTextString(m) }
-func (*ListTimeSeriesRequest) ProtoMessage() {}
-func (*ListTimeSeriesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{8}
-}
-
-func (m *ListTimeSeriesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListTimeSeriesRequest.Unmarshal(m, b)
-}
-func (m *ListTimeSeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListTimeSeriesRequest.Marshal(b, m, deterministic)
-}
-func (m *ListTimeSeriesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListTimeSeriesRequest.Merge(m, src)
-}
-func (m *ListTimeSeriesRequest) XXX_Size() int {
- return xxx_messageInfo_ListTimeSeriesRequest.Size(m)
-}
-func (m *ListTimeSeriesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListTimeSeriesRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListTimeSeriesRequest proto.InternalMessageInfo
-
-func (m *ListTimeSeriesRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ListTimeSeriesRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *ListTimeSeriesRequest) GetInterval() *TimeInterval {
- if m != nil {
- return m.Interval
- }
- return nil
-}
-
-func (m *ListTimeSeriesRequest) GetAggregation() *Aggregation {
- if m != nil {
- return m.Aggregation
- }
- return nil
-}
-
-func (m *ListTimeSeriesRequest) GetOrderBy() string {
- if m != nil {
- return m.OrderBy
- }
- return ""
-}
-
-func (m *ListTimeSeriesRequest) GetView() ListTimeSeriesRequest_TimeSeriesView {
- if m != nil {
- return m.View
- }
- return ListTimeSeriesRequest_FULL
-}
-
-func (m *ListTimeSeriesRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListTimeSeriesRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-// The `ListTimeSeries` response.
-type ListTimeSeriesResponse struct {
- // One or more time series that match the filter included in the request.
- TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
- // If there are more results than have been returned, then this field is set
- // to a non-empty value. To see the additional results,
- // use that value as `pageToken` in the next call to this method.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- // Query execution errors that may have caused the time series data returned
- // to be incomplete.
- ExecutionErrors []*status.Status `protobuf:"bytes,3,rep,name=execution_errors,json=executionErrors,proto3" json:"execution_errors,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListTimeSeriesResponse) Reset() { *m = ListTimeSeriesResponse{} }
-func (m *ListTimeSeriesResponse) String() string { return proto.CompactTextString(m) }
-func (*ListTimeSeriesResponse) ProtoMessage() {}
-func (*ListTimeSeriesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{9}
-}
-
-func (m *ListTimeSeriesResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListTimeSeriesResponse.Unmarshal(m, b)
-}
-func (m *ListTimeSeriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListTimeSeriesResponse.Marshal(b, m, deterministic)
-}
-func (m *ListTimeSeriesResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListTimeSeriesResponse.Merge(m, src)
-}
-func (m *ListTimeSeriesResponse) XXX_Size() int {
- return xxx_messageInfo_ListTimeSeriesResponse.Size(m)
-}
-func (m *ListTimeSeriesResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListTimeSeriesResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListTimeSeriesResponse proto.InternalMessageInfo
-
-func (m *ListTimeSeriesResponse) GetTimeSeries() []*TimeSeries {
- if m != nil {
- return m.TimeSeries
- }
- return nil
-}
-
-func (m *ListTimeSeriesResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-func (m *ListTimeSeriesResponse) GetExecutionErrors() []*status.Status {
- if m != nil {
- return m.ExecutionErrors
- }
- return nil
-}
-
-// The `CreateTimeSeries` request.
-type CreateTimeSeriesRequest struct {
- // The project on which to execute the request. The format is
- // `"projects/{project_id_or_number}"`.
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- // The new data to be added to a list of time series.
- // Adds at most one data point to each of several time series. The new data
- // point must be more recent than any other point in its time series. Each
- // `TimeSeries` value must fully specify a unique time series by supplying
- // all label values for the metric and the monitored resource.
- TimeSeries []*TimeSeries `protobuf:"bytes,2,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateTimeSeriesRequest) Reset() { *m = CreateTimeSeriesRequest{} }
-func (m *CreateTimeSeriesRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateTimeSeriesRequest) ProtoMessage() {}
-func (*CreateTimeSeriesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{10}
-}
-
-func (m *CreateTimeSeriesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateTimeSeriesRequest.Unmarshal(m, b)
-}
-func (m *CreateTimeSeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateTimeSeriesRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateTimeSeriesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateTimeSeriesRequest.Merge(m, src)
-}
-func (m *CreateTimeSeriesRequest) XXX_Size() int {
- return xxx_messageInfo_CreateTimeSeriesRequest.Size(m)
-}
-func (m *CreateTimeSeriesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateTimeSeriesRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateTimeSeriesRequest proto.InternalMessageInfo
-
-func (m *CreateTimeSeriesRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *CreateTimeSeriesRequest) GetTimeSeries() []*TimeSeries {
- if m != nil {
- return m.TimeSeries
- }
- return nil
-}
-
-// Describes the result of a failed request to write data to a time series.
-type CreateTimeSeriesError struct {
- // The time series, including the `Metric`, `MonitoredResource`,
- // and `Point`s (including timestamp and value) that resulted
- // in the error. This field provides all of the context that
- // would be needed to retry the operation.
- TimeSeries *TimeSeries `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
- // The status of the requested write operation.
- Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateTimeSeriesError) Reset() { *m = CreateTimeSeriesError{} }
-func (m *CreateTimeSeriesError) String() string { return proto.CompactTextString(m) }
-func (*CreateTimeSeriesError) ProtoMessage() {}
-func (*CreateTimeSeriesError) Descriptor() ([]byte, []int) {
- return fileDescriptor_7b3d47b45a293957, []int{11}
-}
-
-func (m *CreateTimeSeriesError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateTimeSeriesError.Unmarshal(m, b)
-}
-func (m *CreateTimeSeriesError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateTimeSeriesError.Marshal(b, m, deterministic)
-}
-func (m *CreateTimeSeriesError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateTimeSeriesError.Merge(m, src)
-}
-func (m *CreateTimeSeriesError) XXX_Size() int {
- return xxx_messageInfo_CreateTimeSeriesError.Size(m)
-}
-func (m *CreateTimeSeriesError) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateTimeSeriesError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateTimeSeriesError proto.InternalMessageInfo
-
-func (m *CreateTimeSeriesError) GetTimeSeries() *TimeSeries {
- if m != nil {
- return m.TimeSeries
- }
- return nil
-}
-
-func (m *CreateTimeSeriesError) GetStatus() *status.Status {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-func init() {
- proto.RegisterEnum("google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView", ListTimeSeriesRequest_TimeSeriesView_name, ListTimeSeriesRequest_TimeSeriesView_value)
- proto.RegisterType((*ListMonitoredResourceDescriptorsRequest)(nil), "google.monitoring.v3.ListMonitoredResourceDescriptorsRequest")
- proto.RegisterType((*ListMonitoredResourceDescriptorsResponse)(nil), "google.monitoring.v3.ListMonitoredResourceDescriptorsResponse")
- proto.RegisterType((*GetMonitoredResourceDescriptorRequest)(nil), "google.monitoring.v3.GetMonitoredResourceDescriptorRequest")
- proto.RegisterType((*ListMetricDescriptorsRequest)(nil), "google.monitoring.v3.ListMetricDescriptorsRequest")
- proto.RegisterType((*ListMetricDescriptorsResponse)(nil), "google.monitoring.v3.ListMetricDescriptorsResponse")
- proto.RegisterType((*GetMetricDescriptorRequest)(nil), "google.monitoring.v3.GetMetricDescriptorRequest")
- proto.RegisterType((*CreateMetricDescriptorRequest)(nil), "google.monitoring.v3.CreateMetricDescriptorRequest")
- proto.RegisterType((*DeleteMetricDescriptorRequest)(nil), "google.monitoring.v3.DeleteMetricDescriptorRequest")
- proto.RegisterType((*ListTimeSeriesRequest)(nil), "google.monitoring.v3.ListTimeSeriesRequest")
- proto.RegisterType((*ListTimeSeriesResponse)(nil), "google.monitoring.v3.ListTimeSeriesResponse")
- proto.RegisterType((*CreateTimeSeriesRequest)(nil), "google.monitoring.v3.CreateTimeSeriesRequest")
- proto.RegisterType((*CreateTimeSeriesError)(nil), "google.monitoring.v3.CreateTimeSeriesError")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/metric_service.proto", fileDescriptor_7b3d47b45a293957)
-}
-
-var fileDescriptor_7b3d47b45a293957 = []byte{
- // 1049 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4f, 0x6f, 0x1b, 0x45,
- 0x14, 0x67, 0xe2, 0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, 0x41, 0x53, 0x1e, 0x4c, 0xe7, 0x1c, 0x5e, 0xc4, 0xaa, 0x44,
- 0xa8, 0xe2, 0x4a, 0x32, 0x9b, 0x43, 0xa3, 0xf1, 0x0d, 0x82, 0x62, 0x7c, 0xee, 0xe2, 0x0f, 0xb2,
- 0xce, 0x77, 0x1c, 0x5b, 0x1a, 0x4f, 0xf7, 0x25, 0x8a, 0xbb, 0xea, 0x44, 0x14, 0xeb, 0xa8, 0xb6,
- 0x73, 0x8e, 0xa0, 0xdc, 0x66, 0x76, 0x62, 0xe6, 0x1d, 0x3c, 0x32, 0x91, 0x0f, 0xfd, 0x34, 0x87,
- 0xe8, 0xf9, 0x56, 0xe8, 0x6b, 0xb1, 0xae, 0xe9, 0x58, 0x1a, 0xe3, 0x96, 0x6e, 0x11, 0x47, 0x82,
- 0xd0, 0x03, 0x93, 0xe9, 0x52, 0x6f, 0xf4, 0x6f, 0xd2, 0xc6, 0xe0, 0xeb, 0x7c, 0x4e, 0x79, 0x12,
- 0x04, 0xd8, 0xed, 0xb2, 0x5e, 0x27, 0x1a, 0x4d, 0x7e, 0xca, 0xa3, 0xc6, 0x9f, 0x91, 0xf1, 0x58,
- 0x1a, 0x8f, 0x07, 0xc6, 0xe3, 0xa3, 0xc6, 0xc9, 0x82, 0x4c, 0xd2, 0xf8, 0x2f, 0x00, 0x00, 0xff,
- 0xff, 0x79, 0x2b, 0x3b, 0x90, 0x4a, 0x0e, 0x00, 0x00,
-}
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// MetricServiceClient is the client API for MetricService service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type MetricServiceClient interface {
- // Lists monitored resource descriptors that match a filter. This method does
- // not require a Stackdriver account.
- ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error)
- // Gets a single monitored resource descriptor. This method does not require a
- // Stackdriver account.
- GetMonitoredResourceDescriptor(ctx context.Context, in *GetMonitoredResourceDescriptorRequest, opts ...grpc.CallOption) (*monitoredres.MonitoredResourceDescriptor, error)
- // Lists metric descriptors that match a filter. This method does not require
- // a Stackdriver account.
- ListMetricDescriptors(ctx context.Context, in *ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*ListMetricDescriptorsResponse, error)
- // Gets a single metric descriptor. This method does not require a Stackdriver
- // account.
- GetMetricDescriptor(ctx context.Context, in *GetMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error)
- // Creates a new metric descriptor.
- // User-created metric descriptors define
- // [custom metrics](/monitoring/custom-metrics).
- CreateMetricDescriptor(ctx context.Context, in *CreateMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error)
- // Deletes a metric descriptor. Only user-created
- // [custom metrics](/monitoring/custom-metrics) can be deleted.
- DeleteMetricDescriptor(ctx context.Context, in *DeleteMetricDescriptorRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- // Lists time series that match a filter. This method does not require a
- // Stackdriver account.
- ListTimeSeries(ctx context.Context, in *ListTimeSeriesRequest, opts ...grpc.CallOption) (*ListTimeSeriesResponse, error)
- // Creates or adds data to one or more time series.
- // The response is empty if all time series in the request were written.
- // If any time series could not be written, a corresponding failure message is
- // included in the error response.
- CreateTimeSeries(ctx context.Context, in *CreateTimeSeriesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
-}
-
-type metricServiceClient struct {
- cc *grpc.ClientConn
-}
-
-func NewMetricServiceClient(cc *grpc.ClientConn) MetricServiceClient {
- return &metricServiceClient{cc}
-}
-
-func (c *metricServiceClient) ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error) {
- out := new(ListMonitoredResourceDescriptorsResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListMonitoredResourceDescriptors", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *metricServiceClient) GetMonitoredResourceDescriptor(ctx context.Context, in *GetMonitoredResourceDescriptorRequest, opts ...grpc.CallOption) (*monitoredres.MonitoredResourceDescriptor, error) {
- out := new(monitoredres.MonitoredResourceDescriptor)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/GetMonitoredResourceDescriptor", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *metricServiceClient) ListMetricDescriptors(ctx context.Context, in *ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*ListMetricDescriptorsResponse, error) {
- out := new(ListMetricDescriptorsResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListMetricDescriptors", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *metricServiceClient) GetMetricDescriptor(ctx context.Context, in *GetMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error) {
- out := new(metric.MetricDescriptor)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/GetMetricDescriptor", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *metricServiceClient) CreateMetricDescriptor(ctx context.Context, in *CreateMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error) {
- out := new(metric.MetricDescriptor)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/CreateMetricDescriptor", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *metricServiceClient) DeleteMetricDescriptor(ctx context.Context, in *DeleteMetricDescriptorRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/DeleteMetricDescriptor", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *metricServiceClient) ListTimeSeries(ctx context.Context, in *ListTimeSeriesRequest, opts ...grpc.CallOption) (*ListTimeSeriesResponse, error) {
- out := new(ListTimeSeriesResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListTimeSeries", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *metricServiceClient) CreateTimeSeries(ctx context.Context, in *CreateTimeSeriesRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/CreateTimeSeries", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// MetricServiceServer is the server API for MetricService service.
-type MetricServiceServer interface {
- // Lists monitored resource descriptors that match a filter. This method does
- // not require a Stackdriver account.
- ListMonitoredResourceDescriptors(context.Context, *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error)
- // Gets a single monitored resource descriptor. This method does not require a
- // Stackdriver account.
- GetMonitoredResourceDescriptor(context.Context, *GetMonitoredResourceDescriptorRequest) (*monitoredres.MonitoredResourceDescriptor, error)
- // Lists metric descriptors that match a filter. This method does not require
- // a Stackdriver account.
- ListMetricDescriptors(context.Context, *ListMetricDescriptorsRequest) (*ListMetricDescriptorsResponse, error)
- // Gets a single metric descriptor. This method does not require a Stackdriver
- // account.
- GetMetricDescriptor(context.Context, *GetMetricDescriptorRequest) (*metric.MetricDescriptor, error)
- // Creates a new metric descriptor.
- // User-created metric descriptors define
- // [custom metrics](/monitoring/custom-metrics).
- CreateMetricDescriptor(context.Context, *CreateMetricDescriptorRequest) (*metric.MetricDescriptor, error)
- // Deletes a metric descriptor. Only user-created
- // [custom metrics](/monitoring/custom-metrics) can be deleted.
- DeleteMetricDescriptor(context.Context, *DeleteMetricDescriptorRequest) (*empty.Empty, error)
- // Lists time series that match a filter. This method does not require a
- // Stackdriver account.
- ListTimeSeries(context.Context, *ListTimeSeriesRequest) (*ListTimeSeriesResponse, error)
- // Creates or adds data to one or more time series.
- // The response is empty if all time series in the request were written.
- // If any time series could not be written, a corresponding failure message is
- // included in the error response.
- CreateTimeSeries(context.Context, *CreateTimeSeriesRequest) (*empty.Empty, error)
-}
-
-func RegisterMetricServiceServer(s *grpc.Server, srv MetricServiceServer) {
- s.RegisterService(&_MetricService_serviceDesc, srv)
-}
-
-func _MetricService_ListMonitoredResourceDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListMonitoredResourceDescriptorsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).ListMonitoredResourceDescriptors(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/ListMonitoredResourceDescriptors",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).ListMonitoredResourceDescriptors(ctx, req.(*ListMonitoredResourceDescriptorsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _MetricService_GetMonitoredResourceDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetMonitoredResourceDescriptorRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).GetMonitoredResourceDescriptor(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/GetMonitoredResourceDescriptor",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).GetMonitoredResourceDescriptor(ctx, req.(*GetMonitoredResourceDescriptorRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _MetricService_ListMetricDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListMetricDescriptorsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).ListMetricDescriptors(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/ListMetricDescriptors",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).ListMetricDescriptors(ctx, req.(*ListMetricDescriptorsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _MetricService_GetMetricDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetMetricDescriptorRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).GetMetricDescriptor(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/GetMetricDescriptor",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).GetMetricDescriptor(ctx, req.(*GetMetricDescriptorRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _MetricService_CreateMetricDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateMetricDescriptorRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).CreateMetricDescriptor(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/CreateMetricDescriptor",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).CreateMetricDescriptor(ctx, req.(*CreateMetricDescriptorRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _MetricService_DeleteMetricDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteMetricDescriptorRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).DeleteMetricDescriptor(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/DeleteMetricDescriptor",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).DeleteMetricDescriptor(ctx, req.(*DeleteMetricDescriptorRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _MetricService_ListTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListTimeSeriesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).ListTimeSeries(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/ListTimeSeries",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).ListTimeSeries(ctx, req.(*ListTimeSeriesRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _MetricService_CreateTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateTimeSeriesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MetricServiceServer).CreateTimeSeries(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.MetricService/CreateTimeSeries",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MetricServiceServer).CreateTimeSeries(ctx, req.(*CreateTimeSeriesRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-var _MetricService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.monitoring.v3.MetricService",
- HandlerType: (*MetricServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "ListMonitoredResourceDescriptors",
- Handler: _MetricService_ListMonitoredResourceDescriptors_Handler,
- },
- {
- MethodName: "GetMonitoredResourceDescriptor",
- Handler: _MetricService_GetMonitoredResourceDescriptor_Handler,
- },
- {
- MethodName: "ListMetricDescriptors",
- Handler: _MetricService_ListMetricDescriptors_Handler,
- },
- {
- MethodName: "GetMetricDescriptor",
- Handler: _MetricService_GetMetricDescriptor_Handler,
- },
- {
- MethodName: "CreateMetricDescriptor",
- Handler: _MetricService_CreateMetricDescriptor_Handler,
- },
- {
- MethodName: "DeleteMetricDescriptor",
- Handler: _MetricService_DeleteMetricDescriptor_Handler,
- },
- {
- MethodName: "ListTimeSeries",
- Handler: _MetricService_ListTimeSeries_Handler,
- },
- {
- MethodName: "CreateTimeSeries",
- Handler: _MetricService_CreateTimeSeries_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/monitoring/v3/metric_service.proto",
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go
deleted file mode 100644
index 95c3fd93b..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go
+++ /dev/null
@@ -1,101 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/mutation_record.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- timestamp "github.com/golang/protobuf/ptypes/timestamp"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// Describes a change made to a configuration.
-type MutationRecord struct {
- // When the change occurred.
- MutateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=mutate_time,json=mutateTime,proto3" json:"mutate_time,omitempty"`
- // The email address of the user making the change.
- MutatedBy string `protobuf:"bytes,2,opt,name=mutated_by,json=mutatedBy,proto3" json:"mutated_by,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *MutationRecord) Reset() { *m = MutationRecord{} }
-func (m *MutationRecord) String() string { return proto.CompactTextString(m) }
-func (*MutationRecord) ProtoMessage() {}
-func (*MutationRecord) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c24e690bdb9101, []int{0}
-}
-
-func (m *MutationRecord) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MutationRecord.Unmarshal(m, b)
-}
-func (m *MutationRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MutationRecord.Marshal(b, m, deterministic)
-}
-func (m *MutationRecord) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MutationRecord.Merge(m, src)
-}
-func (m *MutationRecord) XXX_Size() int {
- return xxx_messageInfo_MutationRecord.Size(m)
-}
-func (m *MutationRecord) XXX_DiscardUnknown() {
- xxx_messageInfo_MutationRecord.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MutationRecord proto.InternalMessageInfo
-
-func (m *MutationRecord) GetMutateTime() *timestamp.Timestamp {
- if m != nil {
- return m.MutateTime
- }
- return nil
-}
-
-func (m *MutationRecord) GetMutatedBy() string {
- if m != nil {
- return m.MutatedBy
- }
- return ""
-}
-
-func init() {
- proto.RegisterType((*MutationRecord)(nil), "google.monitoring.v3.MutationRecord")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/mutation_record.proto", fileDescriptor_83c24e690bdb9101)
-}
-
-var fileDescriptor_83c24e690bdb9101 = []byte{
- // 251 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xcf, 0xcf, 0x4f,
- 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33,
- 0xd6, 0xcf, 0x2d, 0x2d, 0x49, 0x2c, 0xc9, 0xcc, 0xcf, 0x8b, 0x2f, 0x4a, 0x4d, 0xce, 0x2f, 0x4a,
- 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0xa8, 0xd5, 0x43, 0xa8, 0xd5, 0x2b, 0x33,
- 0x96, 0x92, 0x87, 0x9a, 0x00, 0x56, 0x93, 0x54, 0x9a, 0xa6, 0x5f, 0x92, 0x99, 0x9b, 0x5a, 0x5c,
- 0x92, 0x98, 0x5b, 0x00, 0xd1, 0xa6, 0x94, 0xc3, 0xc5, 0xe7, 0x0b, 0x35, 0x2f, 0x08, 0x6c, 0x9c,
- 0x90, 0x35, 0x17, 0x37, 0xd8, 0x86, 0xd4, 0x78, 0x90, 0x5a, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x6e,
- 0x23, 0x29, 0x3d, 0xa8, 0xf1, 0x30, 0x83, 0xf4, 0x42, 0x60, 0x06, 0x05, 0x71, 0x41, 0x94, 0x83,
- 0x04, 0x84, 0x64, 0xb9, 0xa0, 0xbc, 0x94, 0xf8, 0xa4, 0x4a, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xce,
- 0x20, 0x4e, 0xa8, 0x88, 0x53, 0xa5, 0xd3, 0x6a, 0x46, 0x2e, 0x89, 0xe4, 0xfc, 0x5c, 0x3d, 0x6c,
- 0x6e, 0x75, 0x12, 0x46, 0x75, 0x48, 0x00, 0xc8, 0xa6, 0x00, 0xc6, 0x28, 0x3b, 0xa8, 0xe2, 0xf4,
- 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x3b, 0xf4,
- 0x21, 0x52, 0x89, 0x05, 0x99, 0xc5, 0xa8, 0x61, 0x64, 0x8d, 0xe0, 0xad, 0x62, 0x92, 0x72, 0x87,
- 0x18, 0xe0, 0x9c, 0x93, 0x5f, 0x9a, 0xa2, 0xe7, 0x8b, 0xb0, 0x33, 0xcc, 0xf8, 0x14, 0x4c, 0x32,
- 0x06, 0x2c, 0x19, 0x83, 0x90, 0x8c, 0x09, 0x33, 0x4e, 0x62, 0x03, 0x5b, 0x62, 0x0c, 0x08, 0x00,
- 0x00, 0xff, 0xff, 0x95, 0xa7, 0xf3, 0xbd, 0x87, 0x01, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go
deleted file mode 100644
index d0a29667a..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go
+++ /dev/null
@@ -1,377 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/notification.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- label "google.golang.org/genproto/googleapis/api/label"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// Indicates whether the channel has been verified or not. It is illegal
-// to specify this field in a
-// [`CreateNotificationChannel`][google.monitoring.v3.NotificationChannelService.CreateNotificationChannel]
-// or an
-// [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]
-// operation.
-type NotificationChannel_VerificationStatus int32
-
-const (
- // Sentinel value used to indicate that the state is unknown, omitted, or
- // is not applicable (as in the case of channels that neither support
- // nor require verification in order to function).
- NotificationChannel_VERIFICATION_STATUS_UNSPECIFIED NotificationChannel_VerificationStatus = 0
- // The channel has yet to be verified and requires verification to function.
- // Note that this state also applies to the case where the verification
- // process has been initiated by sending a verification code but where
- // the verification code has not been submitted to complete the process.
- NotificationChannel_UNVERIFIED NotificationChannel_VerificationStatus = 1
- // It has been proven that notifications can be received on this
- // notification channel and that someone on the project has access
- // to messages that are delivered to that channel.
- NotificationChannel_VERIFIED NotificationChannel_VerificationStatus = 2
-)
-
-var NotificationChannel_VerificationStatus_name = map[int32]string{
- 0: "VERIFICATION_STATUS_UNSPECIFIED",
- 1: "UNVERIFIED",
- 2: "VERIFIED",
-}
-
-var NotificationChannel_VerificationStatus_value = map[string]int32{
- "VERIFICATION_STATUS_UNSPECIFIED": 0,
- "UNVERIFIED": 1,
- "VERIFIED": 2,
-}
-
-func (x NotificationChannel_VerificationStatus) String() string {
- return proto.EnumName(NotificationChannel_VerificationStatus_name, int32(x))
-}
-
-func (NotificationChannel_VerificationStatus) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_4399f1e4bc1a75ef, []int{1, 0}
-}
-
-// A description of a notification channel. The descriptor includes
-// the properties of the channel and the set of labels or fields that
-// must be specified to configure channels of a given type.
-type NotificationChannelDescriptor struct {
- // The full REST resource name for this descriptor. The syntax is:
- //
- // projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE]
- //
- // In the above, `[TYPE]` is the value of the `type` field.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- // The type of notification channel, such as "email", "sms", etc.
- // Notification channel types are globally unique.
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
- // A human-readable name for the notification channel type. This
- // form of the name is suitable for a user interface.
- DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // A human-readable description of the notification channel
- // type. The description may include a description of the properties
- // of the channel and pointers to external documentation.
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- // The set of labels that must be defined to identify a particular
- // channel of the corresponding type. Each label includes a
- // description for how that field should be populated.
- Labels []*label.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
- // The tiers that support this notification channel; the project service tier
- // must be one of the supported_tiers.
- SupportedTiers []ServiceTier `protobuf:"varint,5,rep,packed,name=supported_tiers,json=supportedTiers,proto3,enum=google.monitoring.v3.ServiceTier" json:"supported_tiers,omitempty"` // Deprecated: Do not use.
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NotificationChannelDescriptor) Reset() { *m = NotificationChannelDescriptor{} }
-func (m *NotificationChannelDescriptor) String() string { return proto.CompactTextString(m) }
-func (*NotificationChannelDescriptor) ProtoMessage() {}
-func (*NotificationChannelDescriptor) Descriptor() ([]byte, []int) {
- return fileDescriptor_4399f1e4bc1a75ef, []int{0}
-}
-
-func (m *NotificationChannelDescriptor) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NotificationChannelDescriptor.Unmarshal(m, b)
-}
-func (m *NotificationChannelDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NotificationChannelDescriptor.Marshal(b, m, deterministic)
-}
-func (m *NotificationChannelDescriptor) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NotificationChannelDescriptor.Merge(m, src)
-}
-func (m *NotificationChannelDescriptor) XXX_Size() int {
- return xxx_messageInfo_NotificationChannelDescriptor.Size(m)
-}
-func (m *NotificationChannelDescriptor) XXX_DiscardUnknown() {
- xxx_messageInfo_NotificationChannelDescriptor.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NotificationChannelDescriptor proto.InternalMessageInfo
-
-func (m *NotificationChannelDescriptor) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *NotificationChannelDescriptor) GetType() string {
- if m != nil {
- return m.Type
- }
- return ""
-}
-
-func (m *NotificationChannelDescriptor) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-func (m *NotificationChannelDescriptor) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
-}
-
-func (m *NotificationChannelDescriptor) GetLabels() []*label.LabelDescriptor {
- if m != nil {
- return m.Labels
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (m *NotificationChannelDescriptor) GetSupportedTiers() []ServiceTier {
- if m != nil {
- return m.SupportedTiers
- }
- return nil
-}
-
-// A `NotificationChannel` is a medium through which an alert is
-// delivered when a policy violation is detected. Examples of channels
-// include email, SMS, and third-party messaging applications. Fields
-// containing sensitive information like authentication tokens or
-// contact info are only partially populated on retrieval.
-type NotificationChannel struct {
- // The type of the notification channel. This field matches the
- // value of the
- // [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type]
- // field.
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
- // The full REST resource name for this channel. The syntax is:
- //
- // projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
- //
- // The `[CHANNEL_ID]` is automatically assigned by the server on creation.
- Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
- // An optional human-readable name for this notification channel. It is
- // recommended that you specify a non-empty and unique name in order to
- // make it easier to identify the channels in your project, though this is
- // not enforced. The display name is limited to 512 Unicode characters.
- DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // An optional human-readable description of this notification channel. This
- // description may provide additional details, beyond the display
- // name, for the channel. This may not exceeed 1024 Unicode characters.
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
- // Configuration fields that define the channel and its behavior. The
- // permissible and required labels are specified in the
- // [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels]
- // of the `NotificationChannelDescriptor` corresponding to the `type` field.
- Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // User-supplied key/value data that does not need to conform to
- // the corresponding `NotificationChannelDescriptor`'s schema, unlike
- // the `labels` field. This field is intended to be used for organizing
- // and identifying the `NotificationChannel` objects.
- //
- // The field can contain up to 64 entries. Each key and value is limited to
- // 63 Unicode characters or 128 bytes, whichever is smaller. Labels and
- // values can contain only lowercase letters, numerals, underscores, and
- // dashes. Keys must begin with a letter.
- UserLabels map[string]string `protobuf:"bytes,8,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // Indicates whether this channel has been verified or not. On a
- // [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
- // or
- // [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
- // operation, this field is expected to be populated.
- //
- // If the value is `UNVERIFIED`, then it indicates that the channel is
- // non-functioning (it both requires verification and lacks verification);
- // otherwise, it is assumed that the channel works.
- //
- // If the channel is neither `VERIFIED` nor `UNVERIFIED`, it implies that
- // the channel is of a type that does not require verification or that
- // this specific channel has been exempted from verification because it was
- // created prior to verification being required for channels of this type.
- //
- // This field cannot be modified using a standard
- // [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel]
- // operation. To change the value of this field, you must call
- // [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
- VerificationStatus NotificationChannel_VerificationStatus `protobuf:"varint,9,opt,name=verification_status,json=verificationStatus,proto3,enum=google.monitoring.v3.NotificationChannel_VerificationStatus" json:"verification_status,omitempty"`
- // Whether notifications are forwarded to the described channel. This makes
- // it possible to disable delivery of notifications to a particular channel
- // without removing the channel from all alerting policies that reference
- // the channel. This is a more convenient approach when the change is
- // temporary and you want to receive notifications from the same set
- // of alerting policies on the channel at some point in the future.
- Enabled *wrappers.BoolValue `protobuf:"bytes,11,opt,name=enabled,proto3" json:"enabled,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NotificationChannel) Reset() { *m = NotificationChannel{} }
-func (m *NotificationChannel) String() string { return proto.CompactTextString(m) }
-func (*NotificationChannel) ProtoMessage() {}
-func (*NotificationChannel) Descriptor() ([]byte, []int) {
- return fileDescriptor_4399f1e4bc1a75ef, []int{1}
-}
-
-func (m *NotificationChannel) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NotificationChannel.Unmarshal(m, b)
-}
-func (m *NotificationChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NotificationChannel.Marshal(b, m, deterministic)
-}
-func (m *NotificationChannel) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NotificationChannel.Merge(m, src)
-}
-func (m *NotificationChannel) XXX_Size() int {
- return xxx_messageInfo_NotificationChannel.Size(m)
-}
-func (m *NotificationChannel) XXX_DiscardUnknown() {
- xxx_messageInfo_NotificationChannel.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NotificationChannel proto.InternalMessageInfo
-
-func (m *NotificationChannel) GetType() string {
- if m != nil {
- return m.Type
- }
- return ""
-}
-
-func (m *NotificationChannel) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *NotificationChannel) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-func (m *NotificationChannel) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
-}
-
-func (m *NotificationChannel) GetLabels() map[string]string {
- if m != nil {
- return m.Labels
- }
- return nil
-}
-
-func (m *NotificationChannel) GetUserLabels() map[string]string {
- if m != nil {
- return m.UserLabels
- }
- return nil
-}
-
-func (m *NotificationChannel) GetVerificationStatus() NotificationChannel_VerificationStatus {
- if m != nil {
- return m.VerificationStatus
- }
- return NotificationChannel_VERIFICATION_STATUS_UNSPECIFIED
-}
-
-func (m *NotificationChannel) GetEnabled() *wrappers.BoolValue {
- if m != nil {
- return m.Enabled
- }
- return nil
-}
-
-func init() {
- proto.RegisterEnum("google.monitoring.v3.NotificationChannel_VerificationStatus", NotificationChannel_VerificationStatus_name, NotificationChannel_VerificationStatus_value)
- proto.RegisterType((*NotificationChannelDescriptor)(nil), "google.monitoring.v3.NotificationChannelDescriptor")
- proto.RegisterType((*NotificationChannel)(nil), "google.monitoring.v3.NotificationChannel")
- proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.NotificationChannel.LabelsEntry")
- proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.NotificationChannel.UserLabelsEntry")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/notification.proto", fileDescriptor_4399f1e4bc1a75ef)
-}
-
-var fileDescriptor_4399f1e4bc1a75ef = []byte{
- // 602 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x6d, 0x6b, 0xdb, 0x3c,
- 0x14, 0x7d, 0x9c, 0x34, 0x7d, 0x5a, 0xb9, 0xa4, 0x9d, 0x5a, 0x86, 0xf1, 0xde, 0xd2, 0xee, 0xc3,
- 0xf2, 0xc9, 0x86, 0x64, 0x83, 0x75, 0x6f, 0xd0, 0xa4, 0xe9, 0x08, 0xac, 0x59, 0xc9, 0xdb, 0xa0,
- 0x14, 0x82, 0x92, 0xa8, 0x9e, 0x98, 0x2d, 0x19, 0x49, 0xf6, 0xc8, 0xcf, 0xd8, 0x8f, 0xd8, 0x87,
- 0xed, 0xa7, 0xec, 0x57,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40, 0xf5,
- 0x0b, 0x5e, 0xe9, 0x9f, 0x32, 0x79, 0xc2, 0x03, 0x50, 0x8b, 0x13, 0x89, 0xfe, 0x70, 0xd3, 0xe2,
- 0x55, 0xe5, 0xa5, 0x61, 0xbf, 0x05, 0xbb, 0x37, 0xce, 0xff, 0x17, 0xf9, 0xd1, 0x27, 0x00, 0x6f,
- 0x5f, 0x06, 0x9f, 0x82, 0x27, 0xd3, 0xde, 0xb0, 0x7f, 0xd6, 0xef, 0x9e, 0x8c, 0xfb, 0x1f, 0x07,
- 0xb3, 0xd1, 0xf8, 0x64, 0x3c, 0x19, 0xcd, 0x26, 0x83, 0xd1, 0x45, 0xaf, 0xdb, 0x3f, 0xeb, 0xf7,
- 0x4e, 0xf7, 0xfe, 0x83, 0x75, 0x00, 0x26, 0x83, 0x94, 0xd6, 0x3b, 0xdd, 0x33, 0xe0, 0x0e, 0xd8,
- 0xca, 0xaa, 0x4a, 0xe7, 0x87, 0x01, 0xac, 0x05, 0x0b, 0x4a, 0x03, 0xee, 0xdc, 0x2b, 0x26, 0x7c,
- 0x91, 0x04, 0x73, 0x61, 0x5c, 0xbe, 0xd3, 0x54, 0x8f, 0xf9, 0x88, 0x7a, 0x0e, 0xe3, 0x9e, 0xeb,
- 0x61, 0xaa, 0x62, 0x73, 0xd3, 0x16, 0x0a, 0x89, 0xf8, 0xf3, 0xff, 0xe4, 0x75, 0x5e, 0xfd, 0xac,
- 0xd8, 0xef, 0x53, 0x83, 0xae, 0xcf, 0xa2, 0xa5, 0x73, 0x9e, 0x4f, 0x9c, 0xb6, 0x7f, 0xad, 0x9b,
- 0x57, 0xaa, 0x79, 0x95, 0x37, 0xaf, 0xa6, 0xed, 0xf9, 0xa6, 0x1a, 0xd2, 0xfe, 0x1d, 0x00, 0x00,
- 0xff, 0xff, 0xf7, 0x1b, 0x09, 0x21, 0x28, 0x05, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go
deleted file mode 100644
index 991493232..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go
+++ /dev/null
@@ -1,1322 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/notification_service.proto
-
-package monitoring
-
-import (
- context "context"
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- empty "github.com/golang/protobuf/ptypes/empty"
- _ "github.com/golang/protobuf/ptypes/struct"
- timestamp "github.com/golang/protobuf/ptypes/timestamp"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- field_mask "google.golang.org/genproto/protobuf/field_mask"
- grpc "google.golang.org/grpc"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// The `ListNotificationChannelDescriptors` request.
-type ListNotificationChannelDescriptorsRequest struct {
- // The REST resource name of the parent from which to retrieve
- // the notification channel descriptors. The expected syntax is:
- //
- // projects/[PROJECT_ID]
- //
- // Note that this names the parent container in which to look for the
- // descriptors; to retrieve a single descriptor by name, use the
- // [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]
- // operation, instead.
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
- // The maximum number of results to return in a single response. If
- // not set to a positive number, a reasonable value will be chosen by the
- // service.
- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If non-empty, `page_token` must contain a value returned as the
- // `next_page_token` in a previous response to request the next set
- // of results.
- PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListNotificationChannelDescriptorsRequest) Reset() {
- *m = ListNotificationChannelDescriptorsRequest{}
-}
-func (m *ListNotificationChannelDescriptorsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListNotificationChannelDescriptorsRequest) ProtoMessage() {}
-func (*ListNotificationChannelDescriptorsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{0}
-}
-
-func (m *ListNotificationChannelDescriptorsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Unmarshal(m, b)
-}
-func (m *ListNotificationChannelDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Marshal(b, m, deterministic)
-}
-func (m *ListNotificationChannelDescriptorsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Merge(m, src)
-}
-func (m *ListNotificationChannelDescriptorsRequest) XXX_Size() int {
- return xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Size(m)
-}
-func (m *ListNotificationChannelDescriptorsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListNotificationChannelDescriptorsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListNotificationChannelDescriptorsRequest proto.InternalMessageInfo
-
-func (m *ListNotificationChannelDescriptorsRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ListNotificationChannelDescriptorsRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListNotificationChannelDescriptorsRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-// The `ListNotificationChannelDescriptors` response.
-type ListNotificationChannelDescriptorsResponse struct {
- // The monitored resource descriptors supported for the specified
- // project, optionally filtered.
- ChannelDescriptors []*NotificationChannelDescriptor `protobuf:"bytes,1,rep,name=channel_descriptors,json=channelDescriptors,proto3" json:"channel_descriptors,omitempty"`
- // If not empty, indicates that there may be more results that match
- // the request. Use the value in the `page_token` field in a
- // subsequent request to fetch the next set of results. If empty,
- // all results have been returned.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListNotificationChannelDescriptorsResponse) Reset() {
- *m = ListNotificationChannelDescriptorsResponse{}
-}
-func (m *ListNotificationChannelDescriptorsResponse) String() string {
- return proto.CompactTextString(m)
-}
-func (*ListNotificationChannelDescriptorsResponse) ProtoMessage() {}
-func (*ListNotificationChannelDescriptorsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{1}
-}
-
-func (m *ListNotificationChannelDescriptorsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Unmarshal(m, b)
-}
-func (m *ListNotificationChannelDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Marshal(b, m, deterministic)
-}
-func (m *ListNotificationChannelDescriptorsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Merge(m, src)
-}
-func (m *ListNotificationChannelDescriptorsResponse) XXX_Size() int {
- return xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Size(m)
-}
-func (m *ListNotificationChannelDescriptorsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListNotificationChannelDescriptorsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListNotificationChannelDescriptorsResponse proto.InternalMessageInfo
-
-func (m *ListNotificationChannelDescriptorsResponse) GetChannelDescriptors() []*NotificationChannelDescriptor {
- if m != nil {
- return m.ChannelDescriptors
- }
- return nil
-}
-
-func (m *ListNotificationChannelDescriptorsResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-// The `GetNotificationChannelDescriptor` response.
-type GetNotificationChannelDescriptorRequest struct {
- // The channel type for which to execute the request. The format is
- // `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
- 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 *GetNotificationChannelDescriptorRequest) Reset() {
- *m = GetNotificationChannelDescriptorRequest{}
-}
-func (m *GetNotificationChannelDescriptorRequest) String() string { return proto.CompactTextString(m) }
-func (*GetNotificationChannelDescriptorRequest) ProtoMessage() {}
-func (*GetNotificationChannelDescriptorRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{2}
-}
-
-func (m *GetNotificationChannelDescriptorRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetNotificationChannelDescriptorRequest.Unmarshal(m, b)
-}
-func (m *GetNotificationChannelDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetNotificationChannelDescriptorRequest.Marshal(b, m, deterministic)
-}
-func (m *GetNotificationChannelDescriptorRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetNotificationChannelDescriptorRequest.Merge(m, src)
-}
-func (m *GetNotificationChannelDescriptorRequest) XXX_Size() int {
- return xxx_messageInfo_GetNotificationChannelDescriptorRequest.Size(m)
-}
-func (m *GetNotificationChannelDescriptorRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetNotificationChannelDescriptorRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetNotificationChannelDescriptorRequest proto.InternalMessageInfo
-
-func (m *GetNotificationChannelDescriptorRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `CreateNotificationChannel` request.
-type CreateNotificationChannelRequest struct {
- // The project on which to execute the request. The format is:
- //
- // projects/[PROJECT_ID]
- //
- // Note that this names the container into which the channel will be
- // written. This does not name the newly created channel. The resulting
- // channel's name will have a normalized version of this field as a prefix,
- // but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- // The definition of the `NotificationChannel` to create.
- NotificationChannel *NotificationChannel `protobuf:"bytes,2,opt,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateNotificationChannelRequest) Reset() { *m = CreateNotificationChannelRequest{} }
-func (m *CreateNotificationChannelRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateNotificationChannelRequest) ProtoMessage() {}
-func (*CreateNotificationChannelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{3}
-}
-
-func (m *CreateNotificationChannelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateNotificationChannelRequest.Unmarshal(m, b)
-}
-func (m *CreateNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateNotificationChannelRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateNotificationChannelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateNotificationChannelRequest.Merge(m, src)
-}
-func (m *CreateNotificationChannelRequest) XXX_Size() int {
- return xxx_messageInfo_CreateNotificationChannelRequest.Size(m)
-}
-func (m *CreateNotificationChannelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateNotificationChannelRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateNotificationChannelRequest proto.InternalMessageInfo
-
-func (m *CreateNotificationChannelRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *CreateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel {
- if m != nil {
- return m.NotificationChannel
- }
- return nil
-}
-
-// The `ListNotificationChannels` request.
-type ListNotificationChannelsRequest struct {
- // The project on which to execute the request. The format is
- // `projects/[PROJECT_ID]`. That is, this names the container
- // in which to look for the notification channels; it does not name a
- // specific channel. To query a specific channel by REST resource name, use
- // the
- // [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
- // operation.
- Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
- // If provided, this field specifies the criteria that must be met by
- // notification channels to be included in the response.
- //
- // For more details, see [sorting and
- // filtering](/monitoring/api/v3/sorting-and-filtering).
- Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"`
- // A comma-separated list of fields by which to sort the result. Supports
- // the same set of fields as in `filter`. Entries can be prefixed with
- // a minus sign to sort in descending rather than ascending order.
- //
- // For more details, see [sorting and
- // filtering](/monitoring/api/v3/sorting-and-filtering).
- OrderBy string `protobuf:"bytes,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
- // The maximum number of results to return in a single response. If
- // not set to a positive number, a reasonable value will be chosen by the
- // service.
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- // If non-empty, `page_token` must contain a value returned as the
- // `next_page_token` in a previous response to request the next set
- // of results.
- PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListNotificationChannelsRequest) Reset() { *m = ListNotificationChannelsRequest{} }
-func (m *ListNotificationChannelsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListNotificationChannelsRequest) ProtoMessage() {}
-func (*ListNotificationChannelsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{4}
-}
-
-func (m *ListNotificationChannelsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListNotificationChannelsRequest.Unmarshal(m, b)
-}
-func (m *ListNotificationChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListNotificationChannelsRequest.Marshal(b, m, deterministic)
-}
-func (m *ListNotificationChannelsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListNotificationChannelsRequest.Merge(m, src)
-}
-func (m *ListNotificationChannelsRequest) XXX_Size() int {
- return xxx_messageInfo_ListNotificationChannelsRequest.Size(m)
-}
-func (m *ListNotificationChannelsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListNotificationChannelsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListNotificationChannelsRequest proto.InternalMessageInfo
-
-func (m *ListNotificationChannelsRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ListNotificationChannelsRequest) GetFilter() string {
- if m != nil {
- return m.Filter
- }
- return ""
-}
-
-func (m *ListNotificationChannelsRequest) GetOrderBy() string {
- if m != nil {
- return m.OrderBy
- }
- return ""
-}
-
-func (m *ListNotificationChannelsRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
-}
-
-func (m *ListNotificationChannelsRequest) GetPageToken() string {
- if m != nil {
- return m.PageToken
- }
- return ""
-}
-
-// The `ListNotificationChannels` response.
-type ListNotificationChannelsResponse struct {
- // The notification channels defined for the specified project.
- NotificationChannels []*NotificationChannel `protobuf:"bytes,3,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
- // If not empty, indicates that there may be more results that match
- // the request. Use the value in the `page_token` field in a
- // subsequent request to fetch the next set of results. If empty,
- // all results have been returned.
- NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListNotificationChannelsResponse) Reset() { *m = ListNotificationChannelsResponse{} }
-func (m *ListNotificationChannelsResponse) String() string { return proto.CompactTextString(m) }
-func (*ListNotificationChannelsResponse) ProtoMessage() {}
-func (*ListNotificationChannelsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{5}
-}
-
-func (m *ListNotificationChannelsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListNotificationChannelsResponse.Unmarshal(m, b)
-}
-func (m *ListNotificationChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListNotificationChannelsResponse.Marshal(b, m, deterministic)
-}
-func (m *ListNotificationChannelsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListNotificationChannelsResponse.Merge(m, src)
-}
-func (m *ListNotificationChannelsResponse) XXX_Size() int {
- return xxx_messageInfo_ListNotificationChannelsResponse.Size(m)
-}
-func (m *ListNotificationChannelsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListNotificationChannelsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListNotificationChannelsResponse proto.InternalMessageInfo
-
-func (m *ListNotificationChannelsResponse) GetNotificationChannels() []*NotificationChannel {
- if m != nil {
- return m.NotificationChannels
- }
- return nil
-}
-
-func (m *ListNotificationChannelsResponse) GetNextPageToken() string {
- if m != nil {
- return m.NextPageToken
- }
- return ""
-}
-
-// The `GetNotificationChannel` request.
-type GetNotificationChannelRequest struct {
- // The channel for which to execute the request. The format is
- // `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
- 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 *GetNotificationChannelRequest) Reset() { *m = GetNotificationChannelRequest{} }
-func (m *GetNotificationChannelRequest) String() string { return proto.CompactTextString(m) }
-func (*GetNotificationChannelRequest) ProtoMessage() {}
-func (*GetNotificationChannelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{6}
-}
-
-func (m *GetNotificationChannelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetNotificationChannelRequest.Unmarshal(m, b)
-}
-func (m *GetNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetNotificationChannelRequest.Marshal(b, m, deterministic)
-}
-func (m *GetNotificationChannelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetNotificationChannelRequest.Merge(m, src)
-}
-func (m *GetNotificationChannelRequest) XXX_Size() int {
- return xxx_messageInfo_GetNotificationChannelRequest.Size(m)
-}
-func (m *GetNotificationChannelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetNotificationChannelRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetNotificationChannelRequest proto.InternalMessageInfo
-
-func (m *GetNotificationChannelRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `UpdateNotificationChannel` request.
-type UpdateNotificationChannelRequest struct {
- // The fields to update.
- UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
- // A description of the changes to be applied to the specified
- // notification channel. The description must provide a definition for
- // fields to be updated; the names of these fields should also be
- // included in the `update_mask`.
- NotificationChannel *NotificationChannel `protobuf:"bytes,3,opt,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UpdateNotificationChannelRequest) Reset() { *m = UpdateNotificationChannelRequest{} }
-func (m *UpdateNotificationChannelRequest) String() string { return proto.CompactTextString(m) }
-func (*UpdateNotificationChannelRequest) ProtoMessage() {}
-func (*UpdateNotificationChannelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{7}
-}
-
-func (m *UpdateNotificationChannelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateNotificationChannelRequest.Unmarshal(m, b)
-}
-func (m *UpdateNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateNotificationChannelRequest.Marshal(b, m, deterministic)
-}
-func (m *UpdateNotificationChannelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateNotificationChannelRequest.Merge(m, src)
-}
-func (m *UpdateNotificationChannelRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateNotificationChannelRequest.Size(m)
-}
-func (m *UpdateNotificationChannelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateNotificationChannelRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UpdateNotificationChannelRequest proto.InternalMessageInfo
-
-func (m *UpdateNotificationChannelRequest) GetUpdateMask() *field_mask.FieldMask {
- if m != nil {
- return m.UpdateMask
- }
- return nil
-}
-
-func (m *UpdateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel {
- if m != nil {
- return m.NotificationChannel
- }
- return nil
-}
-
-// The `DeleteNotificationChannel` request.
-type DeleteNotificationChannelRequest struct {
- // The channel for which to execute the request. The format is
- // `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- // If true, the notification channel will be deleted regardless of its
- // use in alert policies (the policies will be updated to remove the
- // channel). If false, channels that are still referenced by an existing
- // alerting policy will fail to be deleted in a delete operation.
- Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *DeleteNotificationChannelRequest) Reset() { *m = DeleteNotificationChannelRequest{} }
-func (m *DeleteNotificationChannelRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteNotificationChannelRequest) ProtoMessage() {}
-func (*DeleteNotificationChannelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{8}
-}
-
-func (m *DeleteNotificationChannelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteNotificationChannelRequest.Unmarshal(m, b)
-}
-func (m *DeleteNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteNotificationChannelRequest.Marshal(b, m, deterministic)
-}
-func (m *DeleteNotificationChannelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteNotificationChannelRequest.Merge(m, src)
-}
-func (m *DeleteNotificationChannelRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteNotificationChannelRequest.Size(m)
-}
-func (m *DeleteNotificationChannelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteNotificationChannelRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteNotificationChannelRequest proto.InternalMessageInfo
-
-func (m *DeleteNotificationChannelRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *DeleteNotificationChannelRequest) GetForce() bool {
- if m != nil {
- return m.Force
- }
- return false
-}
-
-// The `SendNotificationChannelVerificationCode` request.
-type SendNotificationChannelVerificationCodeRequest struct {
- // The notification channel to which to send a verification code.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SendNotificationChannelVerificationCodeRequest) Reset() {
- *m = SendNotificationChannelVerificationCodeRequest{}
-}
-func (m *SendNotificationChannelVerificationCodeRequest) String() string {
- return proto.CompactTextString(m)
-}
-func (*SendNotificationChannelVerificationCodeRequest) ProtoMessage() {}
-func (*SendNotificationChannelVerificationCodeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{9}
-}
-
-func (m *SendNotificationChannelVerificationCodeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Unmarshal(m, b)
-}
-func (m *SendNotificationChannelVerificationCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Marshal(b, m, deterministic)
-}
-func (m *SendNotificationChannelVerificationCodeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Merge(m, src)
-}
-func (m *SendNotificationChannelVerificationCodeRequest) XXX_Size() int {
- return xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Size(m)
-}
-func (m *SendNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SendNotificationChannelVerificationCodeRequest proto.InternalMessageInfo
-
-func (m *SendNotificationChannelVerificationCodeRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-// The `GetNotificationChannelVerificationCode` request.
-type GetNotificationChannelVerificationCodeRequest struct {
- // The notification channel for which a verification code is to be generated
- // and retrieved. This must name a channel that is already verified; if
- // the specified channel is not verified, the request will fail.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The desired expiration time. If specified, the API will guarantee that
- // the returned code will not be valid after the specified timestamp;
- // however, the API cannot guarantee that the returned code will be
- // valid for at least as long as the requested time (the API puts an upper
- // bound on the amount of time for which a code may be valid). If omitted,
- // a default expiration will be used, which may be less than the max
- // permissible expiration (so specifying an expiration may extend the
- // code's lifetime over omitting an expiration, even though the API does
- // impose an upper limit on the maximum expiration that is permitted).
- ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetNotificationChannelVerificationCodeRequest) Reset() {
- *m = GetNotificationChannelVerificationCodeRequest{}
-}
-func (m *GetNotificationChannelVerificationCodeRequest) String() string {
- return proto.CompactTextString(m)
-}
-func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage() {}
-func (*GetNotificationChannelVerificationCodeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{10}
-}
-
-func (m *GetNotificationChannelVerificationCodeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Unmarshal(m, b)
-}
-func (m *GetNotificationChannelVerificationCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Marshal(b, m, deterministic)
-}
-func (m *GetNotificationChannelVerificationCodeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Merge(m, src)
-}
-func (m *GetNotificationChannelVerificationCodeRequest) XXX_Size() int {
- return xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Size(m)
-}
-func (m *GetNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetNotificationChannelVerificationCodeRequest proto.InternalMessageInfo
-
-func (m *GetNotificationChannelVerificationCodeRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *GetNotificationChannelVerificationCodeRequest) GetExpireTime() *timestamp.Timestamp {
- if m != nil {
- return m.ExpireTime
- }
- return nil
-}
-
-// The `GetNotificationChannelVerificationCode` request.
-type GetNotificationChannelVerificationCodeResponse struct {
- // The verification code, which may be used to verify other channels
- // that have an equivalent identity (i.e. other channels of the same
- // type with the same fingerprint such as other email channels with
- // the same email address or other sms channels with the same number).
- Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
- // The expiration time associated with the code that was returned. If
- // an expiration was provided in the request, this is the minimum of the
- // requested expiration in the request and the max permitted expiration.
- ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetNotificationChannelVerificationCodeResponse) Reset() {
- *m = GetNotificationChannelVerificationCodeResponse{}
-}
-func (m *GetNotificationChannelVerificationCodeResponse) String() string {
- return proto.CompactTextString(m)
-}
-func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage() {}
-func (*GetNotificationChannelVerificationCodeResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{11}
-}
-
-func (m *GetNotificationChannelVerificationCodeResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Unmarshal(m, b)
-}
-func (m *GetNotificationChannelVerificationCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Marshal(b, m, deterministic)
-}
-func (m *GetNotificationChannelVerificationCodeResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Merge(m, src)
-}
-func (m *GetNotificationChannelVerificationCodeResponse) XXX_Size() int {
- return xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Size(m)
-}
-func (m *GetNotificationChannelVerificationCodeResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetNotificationChannelVerificationCodeResponse proto.InternalMessageInfo
-
-func (m *GetNotificationChannelVerificationCodeResponse) GetCode() string {
- if m != nil {
- return m.Code
- }
- return ""
-}
-
-func (m *GetNotificationChannelVerificationCodeResponse) GetExpireTime() *timestamp.Timestamp {
- if m != nil {
- return m.ExpireTime
- }
- return nil
-}
-
-// The `VerifyNotificationChannel` request.
-type VerifyNotificationChannelRequest struct {
- // The notification channel to verify.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The verification code that was delivered to the channel as
- // a result of invoking the `SendNotificationChannelVerificationCode` API
- // method or that was retrieved from a verified channel via
- // `GetNotificationChannelVerificationCode`. For example, one might have
- // "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
- // guaranteed that the code is valid UTF-8; one should not
- // make any assumptions regarding the structure or format of the code).
- Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *VerifyNotificationChannelRequest) Reset() { *m = VerifyNotificationChannelRequest{} }
-func (m *VerifyNotificationChannelRequest) String() string { return proto.CompactTextString(m) }
-func (*VerifyNotificationChannelRequest) ProtoMessage() {}
-func (*VerifyNotificationChannelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7e2bcd7194b305fe, []int{12}
-}
-
-func (m *VerifyNotificationChannelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VerifyNotificationChannelRequest.Unmarshal(m, b)
-}
-func (m *VerifyNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VerifyNotificationChannelRequest.Marshal(b, m, deterministic)
-}
-func (m *VerifyNotificationChannelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VerifyNotificationChannelRequest.Merge(m, src)
-}
-func (m *VerifyNotificationChannelRequest) XXX_Size() int {
- return xxx_messageInfo_VerifyNotificationChannelRequest.Size(m)
-}
-func (m *VerifyNotificationChannelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VerifyNotificationChannelRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_VerifyNotificationChannelRequest proto.InternalMessageInfo
-
-func (m *VerifyNotificationChannelRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *VerifyNotificationChannelRequest) GetCode() string {
- if m != nil {
- return m.Code
- }
- return ""
-}
-
-func init() {
- proto.RegisterType((*ListNotificationChannelDescriptorsRequest)(nil), "google.monitoring.v3.ListNotificationChannelDescriptorsRequest")
- proto.RegisterType((*ListNotificationChannelDescriptorsResponse)(nil), "google.monitoring.v3.ListNotificationChannelDescriptorsResponse")
- proto.RegisterType((*GetNotificationChannelDescriptorRequest)(nil), "google.monitoring.v3.GetNotificationChannelDescriptorRequest")
- proto.RegisterType((*CreateNotificationChannelRequest)(nil), "google.monitoring.v3.CreateNotificationChannelRequest")
- proto.RegisterType((*ListNotificationChannelsRequest)(nil), "google.monitoring.v3.ListNotificationChannelsRequest")
- proto.RegisterType((*ListNotificationChannelsResponse)(nil), "google.monitoring.v3.ListNotificationChannelsResponse")
- proto.RegisterType((*GetNotificationChannelRequest)(nil), "google.monitoring.v3.GetNotificationChannelRequest")
- proto.RegisterType((*UpdateNotificationChannelRequest)(nil), "google.monitoring.v3.UpdateNotificationChannelRequest")
- proto.RegisterType((*DeleteNotificationChannelRequest)(nil), "google.monitoring.v3.DeleteNotificationChannelRequest")
- proto.RegisterType((*SendNotificationChannelVerificationCodeRequest)(nil), "google.monitoring.v3.SendNotificationChannelVerificationCodeRequest")
- proto.RegisterType((*GetNotificationChannelVerificationCodeRequest)(nil), "google.monitoring.v3.GetNotificationChannelVerificationCodeRequest")
- proto.RegisterType((*GetNotificationChannelVerificationCodeResponse)(nil), "google.monitoring.v3.GetNotificationChannelVerificationCodeResponse")
- proto.RegisterType((*VerifyNotificationChannelRequest)(nil), "google.monitoring.v3.VerifyNotificationChannelRequest")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/notification_service.proto", fileDescriptor_7e2bcd7194b305fe)
-}
-
-var fileDescriptor_7e2bcd7194b305fe = []byte{
- // 1020 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x41, 0x6f, 0xdc, 0x44,
- 0x14, 0xd6, 0xec, 0x26, 0x69, 0xfa, 0x22, 0x04, 0x9a, 0x86, 0xc8, 0xd9, 0xb6, 0xaa, 0xe5, 0x43,
- 0x93, 0xae, 0x8a, 0x2d, 0xad, 0x4b, 0x84, 0x52, 0x52, 0xda, 0x64, 0xdb, 0x22, 0x48, 0x51, 0xb4,
- 0x29, 0x91, 0x40, 0x11, 0x2b, 0xc7, 0x9e, 0x35, 0x26, 0xbb, 0x33, 0xc6, 0x33, 0x1b, 0x35, 0xad,
- 0x2a, 0x15, 0xfe, 0x02, 0xfc, 0x01, 0x24, 0x4e, 0x3d, 0x20, 0xce, 0xa0, 0x72, 0x46, 0x5c, 0x11,
- 0x5c, 0xb9, 0xc0, 0xff, 0x40, 0x1e, 0xcf, 0x66, 0x37, 0x9b, 0xf1, 0xae, 0xdd, 0xf6, 0xe6, 0x99,
- 0x37, 0xf3, 0xde, 0xf7, 0xbe, 0xf7, 0xf9, 0x3d, 0x1b, 0x9c, 0x90, 0xb1, 0xb0, 0x4b, 0x9c, 0x1e,
- 0xa3, 0x91, 0x60, 0x49, 0x44, 0x43, 0xe7, 0xc8, 0x75, 0x28, 0x13, 0x51, 0x27, 0xf2, 0x3d, 0x11,
- 0x31, 0xda, 0xe6, 0x24, 0x39, 0x8a, 0x7c, 0x62, 0xc7, 0x09, 0x13, 0x0c, 0x2f, 0x66, 0x17, 0xec,
- 0xe1, 0x05, 0xfb, 0xc8, 0xad, 0x5d, 0x52, 0x6e, 0xbc, 0x38, 0x72, 0x3c, 0x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,
- 0xde, 0xf4, 0xbc, 0xac, 0x9a, 0xaf, 0xe6, 0x44, 0xf5, 0xb0, 0x8f, 0x25, 0x07, 0x77, 0xad, 0xdb,
- 0xa5, 0x38, 0x08, 0x89, 0xd0, 0x51, 0xf0, 0x1b, 0x82, 0xe5, 0xdc, 0x49, 0x9e, 0x27, 0xbf, 0x69,
- 0xa3, 0xbf, 0xcc, 0x0b, 0xa6, 0xa6, 0x8b, 0xe5, 0x96, 0xca, 0xe6, 0x48, 0x22, 0x58, 0x47, 0xf5,
- 0xcd, 0x9f, 0x11, 0x18, 0x3e, 0xeb, 0x69, 0x03, 0x6e, 0x1a, 0xa3, 0x11, 0xd5, 0x07, 0xc5, 0x4e,
- 0xaa, 0xa8, 0x1d, 0xf4, 0xf9, 0x2d, 0x75, 0x23, 0x64, 0x5d, 0x8f, 0x86, 0x36, 0x4b, 0x42, 0x27,
- 0x24, 0x54, 0xea, 0x4d, 0xfd, 0xdd, 0x7b, 0x71, 0xc4, 0x4f, 0xff, 0x7c, 0xdf, 0x1c, 0xae, 0x9e,
- 0x57, 0x6a, 0xf7, 0x33, 0x07, 0x5b, 0x5d, 0xd6, 0x0f, 0xec, 0x07, 0xc3, 0xc0, 0x7b, 0xee, 0x1f,
- 0x03, 0xe3, 0xbe, 0x34, 0xee, 0x0f, 0x8d, 0xfb, 0x7b, 0xee, 0xc1, 0x9c, 0x0c, 0xe2, 0xfe, 0x1f,
- 0x00, 0x00, 0xff, 0xff, 0x57, 0x01, 0xd1, 0x1c, 0x45, 0x10, 0x00, 0x00,
-}
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// NotificationChannelServiceClient is the client API for NotificationChannelService service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type NotificationChannelServiceClient interface {
- // Lists the descriptors for supported channel types. The use of descriptors
- // makes it possible for new channel types to be dynamically added.
- ListNotificationChannelDescriptors(ctx context.Context, in *ListNotificationChannelDescriptorsRequest, opts ...grpc.CallOption) (*ListNotificationChannelDescriptorsResponse, error)
- // Gets a single channel descriptor. The descriptor indicates which fields
- // are expected / permitted for a notification channel of the given type.
- GetNotificationChannelDescriptor(ctx context.Context, in *GetNotificationChannelDescriptorRequest, opts ...grpc.CallOption) (*NotificationChannelDescriptor, error)
- // Lists the notification channels that have been created for the project.
- ListNotificationChannels(ctx context.Context, in *ListNotificationChannelsRequest, opts ...grpc.CallOption) (*ListNotificationChannelsResponse, error)
- // Gets a single notification channel. The channel includes the relevant
- // configuration details with which the channel was created. However, the
- // response may truncate or omit passwords, API keys, or other private key
- // matter and thus the response may not be 100% identical to the information
- // that was supplied in the call to the create method.
- GetNotificationChannel(ctx context.Context, in *GetNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
- // Creates a new notification channel, representing a single notification
- // endpoint such as an email address, SMS number, or PagerDuty service.
- CreateNotificationChannel(ctx context.Context, in *CreateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
- // Updates a notification channel. Fields not specified in the field mask
- // remain unchanged.
- UpdateNotificationChannel(ctx context.Context, in *UpdateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
- // Deletes a notification channel.
- DeleteNotificationChannel(ctx context.Context, in *DeleteNotificationChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- // Causes a verification code to be delivered to the channel. The code
- // can then be supplied in `VerifyNotificationChannel` to verify the channel.
- SendNotificationChannelVerificationCode(ctx context.Context, in *SendNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- // Requests a verification code for an already verified channel that can then
- // be used in a call to VerifyNotificationChannel() on a different channel
- // with an equivalent identity in the same or in a different project. This
- // makes it possible to copy a channel between projects without requiring
- // manual reverification of the channel. If the channel is not in the
- // verified state, this method will fail (in other words, this may only be
- // used if the SendNotificationChannelVerificationCode and
- // VerifyNotificationChannel paths have already been used to put the given
- // channel into the verified state).
- //
- // There is no guarantee that the verification codes returned by this method
- // will be of a similar structure or form as the ones that are delivered
- // to the channel via SendNotificationChannelVerificationCode; while
- // VerifyNotificationChannel() will recognize both the codes delivered via
- // SendNotificationChannelVerificationCode() and returned from
- // GetNotificationChannelVerificationCode(), it is typically the case that
- // the verification codes delivered via
- // SendNotificationChannelVerificationCode() will be shorter and also
- // have a shorter expiration (e.g. codes such as "G-123456") whereas
- // GetVerificationCode() will typically return a much longer, websafe base
- // 64 encoded string that has a longer expiration time.
- GetNotificationChannelVerificationCode(ctx context.Context, in *GetNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*GetNotificationChannelVerificationCodeResponse, error)
- // Verifies a `NotificationChannel` by proving receipt of the code
- // delivered to the channel as a result of calling
- // `SendNotificationChannelVerificationCode`.
- VerifyNotificationChannel(ctx context.Context, in *VerifyNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error)
-}
-
-type notificationChannelServiceClient struct {
- cc *grpc.ClientConn
-}
-
-func NewNotificationChannelServiceClient(cc *grpc.ClientConn) NotificationChannelServiceClient {
- return ¬ificationChannelServiceClient{cc}
-}
-
-func (c *notificationChannelServiceClient) ListNotificationChannelDescriptors(ctx context.Context, in *ListNotificationChannelDescriptorsRequest, opts ...grpc.CallOption) (*ListNotificationChannelDescriptorsResponse, error) {
- out := new(ListNotificationChannelDescriptorsResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/ListNotificationChannelDescriptors", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) GetNotificationChannelDescriptor(ctx context.Context, in *GetNotificationChannelDescriptorRequest, opts ...grpc.CallOption) (*NotificationChannelDescriptor, error) {
- out := new(NotificationChannelDescriptor)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelDescriptor", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) ListNotificationChannels(ctx context.Context, in *ListNotificationChannelsRequest, opts ...grpc.CallOption) (*ListNotificationChannelsResponse, error) {
- out := new(ListNotificationChannelsResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/ListNotificationChannels", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) GetNotificationChannel(ctx context.Context, in *GetNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) {
- out := new(NotificationChannel)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/GetNotificationChannel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) CreateNotificationChannel(ctx context.Context, in *CreateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) {
- out := new(NotificationChannel)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/CreateNotificationChannel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) UpdateNotificationChannel(ctx context.Context, in *UpdateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) {
- out := new(NotificationChannel)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/UpdateNotificationChannel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) DeleteNotificationChannel(ctx context.Context, in *DeleteNotificationChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/DeleteNotificationChannel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) SendNotificationChannelVerificationCode(ctx context.Context, in *SendNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
- out := new(empty.Empty)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/SendNotificationChannelVerificationCode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) GetNotificationChannelVerificationCode(ctx context.Context, in *GetNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*GetNotificationChannelVerificationCodeResponse, error) {
- out := new(GetNotificationChannelVerificationCodeResponse)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelVerificationCode", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *notificationChannelServiceClient) VerifyNotificationChannel(ctx context.Context, in *VerifyNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) {
- out := new(NotificationChannel)
- err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/VerifyNotificationChannel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// NotificationChannelServiceServer is the server API for NotificationChannelService service.
-type NotificationChannelServiceServer interface {
- // Lists the descriptors for supported channel types. The use of descriptors
- // makes it possible for new channel types to be dynamically added.
- ListNotificationChannelDescriptors(context.Context, *ListNotificationChannelDescriptorsRequest) (*ListNotificationChannelDescriptorsResponse, error)
- // Gets a single channel descriptor. The descriptor indicates which fields
- // are expected / permitted for a notification channel of the given type.
- GetNotificationChannelDescriptor(context.Context, *GetNotificationChannelDescriptorRequest) (*NotificationChannelDescriptor, error)
- // Lists the notification channels that have been created for the project.
- ListNotificationChannels(context.Context, *ListNotificationChannelsRequest) (*ListNotificationChannelsResponse, error)
- // Gets a single notification channel. The channel includes the relevant
- // configuration details with which the channel was created. However, the
- // response may truncate or omit passwords, API keys, or other private key
- // matter and thus the response may not be 100% identical to the information
- // that was supplied in the call to the create method.
- GetNotificationChannel(context.Context, *GetNotificationChannelRequest) (*NotificationChannel, error)
- // Creates a new notification channel, representing a single notification
- // endpoint such as an email address, SMS number, or PagerDuty service.
- CreateNotificationChannel(context.Context, *CreateNotificationChannelRequest) (*NotificationChannel, error)
- // Updates a notification channel. Fields not specified in the field mask
- // remain unchanged.
- UpdateNotificationChannel(context.Context, *UpdateNotificationChannelRequest) (*NotificationChannel, error)
- // Deletes a notification channel.
- DeleteNotificationChannel(context.Context, *DeleteNotificationChannelRequest) (*empty.Empty, error)
- // Causes a verification code to be delivered to the channel. The code
- // can then be supplied in `VerifyNotificationChannel` to verify the channel.
- SendNotificationChannelVerificationCode(context.Context, *SendNotificationChannelVerificationCodeRequest) (*empty.Empty, error)
- // Requests a verification code for an already verified channel that can then
- // be used in a call to VerifyNotificationChannel() on a different channel
- // with an equivalent identity in the same or in a different project. This
- // makes it possible to copy a channel between projects without requiring
- // manual reverification of the channel. If the channel is not in the
- // verified state, this method will fail (in other words, this may only be
- // used if the SendNotificationChannelVerificationCode and
- // VerifyNotificationChannel paths have already been used to put the given
- // channel into the verified state).
- //
- // There is no guarantee that the verification codes returned by this method
- // will be of a similar structure or form as the ones that are delivered
- // to the channel via SendNotificationChannelVerificationCode; while
- // VerifyNotificationChannel() will recognize both the codes delivered via
- // SendNotificationChannelVerificationCode() and returned from
- // GetNotificationChannelVerificationCode(), it is typically the case that
- // the verification codes delivered via
- // SendNotificationChannelVerificationCode() will be shorter and also
- // have a shorter expiration (e.g. codes such as "G-123456") whereas
- // GetVerificationCode() will typically return a much longer, websafe base
- // 64 encoded string that has a longer expiration time.
- GetNotificationChannelVerificationCode(context.Context, *GetNotificationChannelVerificationCodeRequest) (*GetNotificationChannelVerificationCodeResponse, error)
- // Verifies a `NotificationChannel` by proving receipt of the code
- // delivered to the channel as a result of calling
- // `SendNotificationChannelVerificationCode`.
- VerifyNotificationChannel(context.Context, *VerifyNotificationChannelRequest) (*NotificationChannel, error)
-}
-
-func RegisterNotificationChannelServiceServer(s *grpc.Server, srv NotificationChannelServiceServer) {
- s.RegisterService(&_NotificationChannelService_serviceDesc, srv)
-}
-
-func _NotificationChannelService_ListNotificationChannelDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListNotificationChannelDescriptorsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).ListNotificationChannelDescriptors(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/ListNotificationChannelDescriptors",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).ListNotificationChannelDescriptors(ctx, req.(*ListNotificationChannelDescriptorsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_GetNotificationChannelDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetNotificationChannelDescriptorRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).GetNotificationChannelDescriptor(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelDescriptor",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).GetNotificationChannelDescriptor(ctx, req.(*GetNotificationChannelDescriptorRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_ListNotificationChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ListNotificationChannelsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).ListNotificationChannels(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/ListNotificationChannels",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).ListNotificationChannels(ctx, req.(*ListNotificationChannelsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_GetNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetNotificationChannelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).GetNotificationChannel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/GetNotificationChannel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).GetNotificationChannel(ctx, req.(*GetNotificationChannelRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_CreateNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateNotificationChannelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).CreateNotificationChannel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/CreateNotificationChannel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).CreateNotificationChannel(ctx, req.(*CreateNotificationChannelRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_UpdateNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateNotificationChannelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).UpdateNotificationChannel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/UpdateNotificationChannel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).UpdateNotificationChannel(ctx, req.(*UpdateNotificationChannelRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_DeleteNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteNotificationChannelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).DeleteNotificationChannel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/DeleteNotificationChannel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).DeleteNotificationChannel(ctx, req.(*DeleteNotificationChannelRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_SendNotificationChannelVerificationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SendNotificationChannelVerificationCodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).SendNotificationChannelVerificationCode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/SendNotificationChannelVerificationCode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).SendNotificationChannelVerificationCode(ctx, req.(*SendNotificationChannelVerificationCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_GetNotificationChannelVerificationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetNotificationChannelVerificationCodeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).GetNotificationChannelVerificationCode(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelVerificationCode",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).GetNotificationChannelVerificationCode(ctx, req.(*GetNotificationChannelVerificationCodeRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _NotificationChannelService_VerifyNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VerifyNotificationChannelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(NotificationChannelServiceServer).VerifyNotificationChannel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/google.monitoring.v3.NotificationChannelService/VerifyNotificationChannel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(NotificationChannelServiceServer).VerifyNotificationChannel(ctx, req.(*VerifyNotificationChannelRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-var _NotificationChannelService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "google.monitoring.v3.NotificationChannelService",
- HandlerType: (*NotificationChannelServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "ListNotificationChannelDescriptors",
- Handler: _NotificationChannelService_ListNotificationChannelDescriptors_Handler,
- },
- {
- MethodName: "GetNotificationChannelDescriptor",
- Handler: _NotificationChannelService_GetNotificationChannelDescriptor_Handler,
- },
- {
- MethodName: "ListNotificationChannels",
- Handler: _NotificationChannelService_ListNotificationChannels_Handler,
- },
- {
- MethodName: "GetNotificationChannel",
- Handler: _NotificationChannelService_GetNotificationChannel_Handler,
- },
- {
- MethodName: "CreateNotificationChannel",
- Handler: _NotificationChannelService_CreateNotificationChannel_Handler,
- },
- {
- MethodName: "UpdateNotificationChannel",
- Handler: _NotificationChannelService_UpdateNotificationChannel_Handler,
- },
- {
- MethodName: "DeleteNotificationChannel",
- Handler: _NotificationChannelService_DeleteNotificationChannel_Handler,
- },
- {
- MethodName: "SendNotificationChannelVerificationCode",
- Handler: _NotificationChannelService_SendNotificationChannelVerificationCode_Handler,
- },
- {
- MethodName: "GetNotificationChannelVerificationCode",
- Handler: _NotificationChannelService_GetNotificationChannelVerificationCode_Handler,
- },
- {
- MethodName: "VerifyNotificationChannel",
- Handler: _NotificationChannelService_VerifyNotificationChannel_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "google/monitoring/v3/notification_service.proto",
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go
deleted file mode 100644
index 8ba8246b2..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go
+++ /dev/null
@@ -1,100 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/span_context.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
-)
-
-// 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.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// The context of a span, attached to google.api.Distribution.Exemplars
-// in google.api.Distribution values during aggregation.
-//
-// It contains the name of a span with format:
-// projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
-type SpanContext struct {
- // The resource name of the span in the following format:
- //
- // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
- //
- // [TRACE_ID] is a unique identifier for a trace within a project;
- // it is a 32-character hexadecimal encoding of a 16-byte array.
- //
- // [SPAN_ID] is a unique identifier for a span within a trace; it
- // is a 16-character hexadecimal encoding of an 8-byte array.
- SpanName string `protobuf:"bytes,1,opt,name=span_name,json=spanName,proto3" json:"span_name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SpanContext) Reset() { *m = SpanContext{} }
-func (m *SpanContext) String() string { return proto.CompactTextString(m) }
-func (*SpanContext) ProtoMessage() {}
-func (*SpanContext) Descriptor() ([]byte, []int) {
- return fileDescriptor_933032e252f1c5e4, []int{0}
-}
-
-func (m *SpanContext) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SpanContext.Unmarshal(m, b)
-}
-func (m *SpanContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SpanContext.Marshal(b, m, deterministic)
-}
-func (m *SpanContext) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SpanContext.Merge(m, src)
-}
-func (m *SpanContext) XXX_Size() int {
- return xxx_messageInfo_SpanContext.Size(m)
-}
-func (m *SpanContext) XXX_DiscardUnknown() {
- xxx_messageInfo_SpanContext.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SpanContext proto.InternalMessageInfo
-
-func (m *SpanContext) GetSpanName() string {
- if m != nil {
- return m.SpanName
- }
- return ""
-}
-
-func init() {
- proto.RegisterType((*SpanContext)(nil), "google.monitoring.v3.SpanContext")
-}
-
-func init() {
- proto.RegisterFile("google/monitoring/v3/span_context.proto", fileDescriptor_933032e252f1c5e4)
-}
-
-var fileDescriptor_933032e252f1c5e4 = []byte{
- // 197 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xcf, 0xcf, 0x4f,
- 0xcf, 0x49, 0xd5, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xd7, 0x2f, 0x33,
- 0xd6, 0x2f, 0x2e, 0x48, 0xcc, 0x8b, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xad, 0x28, 0xd1, 0x2b, 0x28,
- 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0x28, 0xd4, 0x43, 0x28, 0xd4, 0x2b, 0x33, 0x56, 0xd2, 0xe2,
- 0xe2, 0x0e, 0x2e, 0x48, 0xcc, 0x73, 0x86, 0x28, 0x15, 0x92, 0xe6, 0xe2, 0x04, 0x6b, 0xcd, 0x4b,
- 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x00, 0x09, 0xf8, 0x25, 0xe6, 0xa6,
- 0x3a, 0xad, 0x60, 0xe4, 0x92, 0x48, 0xce, 0xcf, 0xd5, 0xc3, 0x66, 0x90, 0x93, 0x00, 0x92, 0x31,
- 0x01, 0x20, 0x0b, 0x03, 0x18, 0xa3, 0xec, 0xa0, 0x2a, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5,
- 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xce, 0xd1, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16,
- 0xa3, 0x3a, 0xdd, 0x1a, 0xc1, 0x5b, 0xc5, 0x24, 0xe5, 0x0e, 0x31, 0xc0, 0x39, 0x27, 0xbf, 0x34,
- 0x45, 0xcf, 0x17, 0x61, 0x61, 0x98, 0xf1, 0x29, 0x98, 0x64, 0x0c, 0x58, 0x32, 0x06, 0x21, 0x19,
- 0x13, 0x66, 0x9c, 0xc4, 0x06, 0xb6, 0xc4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x19, 0x01,
- 0xcb, 0x1e, 0x01, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go b/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go
deleted file mode 100644
index 0b73571b8..000000000
--- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go
+++ /dev/null
@@ -1,868 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google/monitoring/v3/uptime.proto
-
-package monitoring
-
-import (
- fmt "fmt"
- math "math"
-
- proto "github.com/golang/protobuf/proto"
- duration "github.com/golang/protobuf/ptypes/duration"
- monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
-)
-
-// 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.ProtoPackageIsVersion3 // please upgrade the proto package
-
-// The regions from which an uptime check can be run.
-type UptimeCheckRegion int32
-
-const (
- // Default value if no region is specified. Will result in uptime checks
- // running from all regions.
- UptimeCheckRegion_REGION_UNSPECIFIED UptimeCheckRegion = 0
- // Allows checks to run from locations within the United States of America.
- UptimeCheckRegion_USA UptimeCheckRegion = 1
- // Allows checks to run from locations within the continent of Europe.
- UptimeCheckRegion_EUROPE UptimeCheckRegion = 2
- // Allows checks to run from locations within the continent of South
- // America.
- UptimeCheckRegion_SOUTH_AMERICA UptimeCheckRegion = 3
- // Allows checks to run from locations within the Asia Pacific area (ex:
- // Singapore).
- UptimeCheckRegion_ASIA_PACIFIC UptimeCheckRegion = 4
-)
-
-var UptimeCheckRegion_name = map[int32]string{
- 0: "REGION_UNSPECIFIED",
- 1: "USA",
- 2: "EUROPE",
- 3: "SOUTH_AMERICA",
- 4: "ASIA_PACIFIC",
-}
-
-var UptimeCheckRegion_value = map[string]int32{
- "REGION_UNSPECIFIED": 0,
- "USA": 1,
- "EUROPE": 2,
- "SOUTH_AMERICA": 3,
- "ASIA_PACIFIC": 4,
-}
-
-func (x UptimeCheckRegion) String() string {
- return proto.EnumName(UptimeCheckRegion_name, int32(x))
-}
-
-func (UptimeCheckRegion) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_7ca0e36dfc8221d8, []int{0}
-}
-
-// The supported resource types that can be used as values of
-// `group_resource.resource_type`.
-// `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types.
-// The resource types `gae_app` and `uptime_url` are not valid here because
-// group checks on App Engine modules and URLs are not allowed.
-type GroupResourceType int32
-
-const (
- // Default value (not valid).
- GroupResourceType_RESOURCE_TYPE_UNSPECIFIED GroupResourceType = 0
- // A group of instances from Google Cloud Platform (GCP) or
- // Amazon Web Services (AWS).
- GroupResourceType_INSTANCE GroupResourceType = 1
- // A group of Amazon ELB load balancers.
- GroupResourceType_AWS_ELB_LOAD_BALANCER GroupResourceType = 2
-)
-
-var GroupResourceType_name = map[int32]string{
- 0: "RESOURCE_TYPE_UNSPECIFIED",
- 1: "INSTANCE",
- 2: "AWS_ELB_LOAD_BALANCER",
-}
-
-var GroupResourceType_value = map[string]int32{
- "RESOURCE_TYPE_UNSPECIFIED": 0,
- "INSTANCE": 1,
- "AWS_ELB_LOAD_BALANCER": 2,
-}
-
-func (x GroupResourceType) String() string {
- return proto.EnumName(GroupResourceType_name, int32(x))
-}
-
-func (GroupResourceType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_7ca0e36dfc8221d8, []int{1}
-}
-
-// An internal checker allows uptime checks to run on private/internal GCP
-// resources.
-type InternalChecker struct {
- // A unique resource name for this InternalChecker. The format is:
- //
- //
- // `projects/[PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID]`.
- //
- // PROJECT_ID is the stackdriver workspace project for the
- // uptime check config associated with the internal checker.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The checker's human-readable name. The display name
- // should be unique within a Stackdriver Workspace in order to make it easier
- // to identify; however, uniqueness is not enforced.
- DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
- // internal resource lives (ex: "default").
- Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
- // The GCP zone the uptime check should egress from. Only respected for
- // internal uptime checks, where internal_network is specified.
- GcpZone string `protobuf:"bytes,4,opt,name=gcp_zone,json=gcpZone,proto3" json:"gcp_zone,omitempty"`
- // The GCP project_id where the internal checker lives. Not necessary
- // the same as the workspace project.
- PeerProjectId string `protobuf:"bytes,6,opt,name=peer_project_id,json=peerProjectId,proto3" json:"peer_project_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *InternalChecker) Reset() { *m = InternalChecker{} }
-func (m *InternalChecker) String() string { return proto.CompactTextString(m) }
-func (*InternalChecker) ProtoMessage() {}
-func (*InternalChecker) Descriptor() ([]byte, []int) {
- return fileDescriptor_7ca0e36dfc8221d8, []int{0}
-}
-
-func (m *InternalChecker) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_InternalChecker.Unmarshal(m, b)
-}
-func (m *InternalChecker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_InternalChecker.Marshal(b, m, deterministic)
-}
-func (m *InternalChecker) XXX_Merge(src proto.Message) {
- xxx_messageInfo_InternalChecker.Merge(m, src)
-}
-func (m *InternalChecker) XXX_Size() int {
- return xxx_messageInfo_InternalChecker.Size(m)
-}
-func (m *InternalChecker) XXX_DiscardUnknown() {
- xxx_messageInfo_InternalChecker.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_InternalChecker proto.InternalMessageInfo
-
-func (m *InternalChecker) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *InternalChecker) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-func (m *InternalChecker) GetNetwork() string {
- if m != nil {
- return m.Network
- }
- return ""
-}
-
-func (m *InternalChecker) GetGcpZone() string {
- if m != nil {
- return m.GcpZone
- }
- return ""
-}
-
-func (m *InternalChecker) GetPeerProjectId() string {
- if m != nil {
- return m.PeerProjectId
- }
- return ""
-}
-
-// This message configures which resources and services to monitor for
-// availability.
-type UptimeCheckConfig struct {
- // A unique resource name for this UptimeCheckConfig. The format is:
- //
- //
- // `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
- //
- // This field should be omitted when creating the uptime check configuration;
- // on create, the resource name is assigned by the server and included in the
- // response.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // A human-friendly name for the uptime check configuration. The display name
- // should be unique within a Stackdriver Workspace in order to make it easier
- // to identify; however, uniqueness is not enforced. Required.
- DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- // The resource the check is checking. Required.
- //
- // Types that are valid to be assigned to Resource:
- // *UptimeCheckConfig_MonitoredResource
- // *UptimeCheckConfig_ResourceGroup_
- Resource isUptimeCheckConfig_Resource `protobuf_oneof:"resource"`
- // The type of uptime check request.
- //
- // Types that are valid to be assigned to CheckRequestType:
- // *UptimeCheckConfig_HttpCheck_
- // *UptimeCheckConfig_TcpCheck_
- CheckRequestType isUptimeCheckConfig_CheckRequestType `protobuf_oneof:"check_request_type"`
- // How often, in seconds, the uptime check is performed.
- // Currently, the only supported values are `60s` (1 minute), `300s`
- // (5 minutes), `600s` (10 minutes), and `900s` (15 minutes). Optional,
- // defaults to `300s`.
- Period *duration.Duration `protobuf:"bytes,7,opt,name=period,proto3" json:"period,omitempty"`
- // The maximum amount of time to wait for the request to complete (must be
- // between 1 and 60 seconds). Required.
- Timeout *duration.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
- // The expected content on the page the check is run against.
- // Currently, only the first entry in the list is supported, and other entries
- // will be ignored. The server will look for an exact match of the string in
- // the page response's content. This field is optional and should only be
- // specified if a content match is required.
- ContentMatchers []*UptimeCheckConfig_ContentMatcher `protobuf:"bytes,9,rep,name=content_matchers,json=contentMatchers,proto3" json:"content_matchers,omitempty"`
- // The list of regions from which the check will be run.
- // Some regions contain one location, and others contain more than one.
- // If this field is specified, enough regions to include a minimum of
- // 3 locations must be provided, or an error message is returned.
- // Not specifying this field will result in uptime checks running from all
- // regions.
- SelectedRegions []UptimeCheckRegion `protobuf:"varint,10,rep,packed,name=selected_regions,json=selectedRegions,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"selected_regions,omitempty"`
- // If this is true, then checks are made only from the 'internal_checkers'.
- // If it is false, then checks are made only from the 'selected_regions'.
- // It is an error to provide 'selected_regions' when is_internal is true,
- // or to provide 'internal_checkers' when is_internal is false.
- IsInternal bool `protobuf:"varint,15,opt,name=is_internal,json=isInternal,proto3" json:"is_internal,omitempty"`
- // The internal checkers that this check will egress from. If `is_internal` is
- // true and this list is empty, the check will egress from all the
- // InternalCheckers configured for the project that owns this CheckConfig.
- InternalCheckers []*InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers,proto3" json:"internal_checkers,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UptimeCheckConfig) Reset() { *m = UptimeCheckConfig{} }
-func (m *UptimeCheckConfig) String() string { return proto.CompactTextString(m) }
-func (*UptimeCheckConfig) ProtoMessage() {}
-func (*UptimeCheckConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_7ca0e36dfc8221d8, []int{1}
-}
-
-func (m *UptimeCheckConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UptimeCheckConfig.Unmarshal(m, b)
-}
-func (m *UptimeCheckConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UptimeCheckConfig.Marshal(b, m, deterministic)
-}
-func (m *UptimeCheckConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UptimeCheckConfig.Merge(m, src)
-}
-func (m *UptimeCheckConfig) XXX_Size() int {
- return xxx_messageInfo_UptimeCheckConfig.Size(m)
-}
-func (m *UptimeCheckConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_UptimeCheckConfig.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UptimeCheckConfig proto.InternalMessageInfo
-
-func (m *UptimeCheckConfig) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *UptimeCheckConfig) GetDisplayName() string {
- if m != nil {
- return m.DisplayName
- }
- return ""
-}
-
-type isUptimeCheckConfig_Resource interface {
- isUptimeCheckConfig_Resource()
-}
-
-type UptimeCheckConfig_MonitoredResource struct {
- MonitoredResource *monitoredres.MonitoredResource `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3,oneof"`
-}
-
-type UptimeCheckConfig_ResourceGroup_ struct {
- ResourceGroup *UptimeCheckConfig_ResourceGroup `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,proto3,oneof"`
-}
-
-func (*UptimeCheckConfig_MonitoredResource) isUptimeCheckConfig_Resource() {}
-
-func (*UptimeCheckConfig_ResourceGroup_) isUptimeCheckConfig_Resource() {}
-
-func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource {
- if m != nil {
- return m.Resource
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetMonitoredResource() *monitoredres.MonitoredResource {
- if x, ok := m.GetResource().(*UptimeCheckConfig_MonitoredResource); ok {
- return x.MonitoredResource
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetResourceGroup() *UptimeCheckConfig_ResourceGroup {
- if x, ok := m.GetResource().(*UptimeCheckConfig_ResourceGroup_); ok {
- return x.ResourceGroup
- }
- return nil
-}
-
-type isUptimeCheckConfig_CheckRequestType interface {
- isUptimeCheckConfig_CheckRequestType()
-}
-
-type UptimeCheckConfig_HttpCheck_ struct {
- HttpCheck *UptimeCheckConfig_HttpCheck `protobuf:"bytes,5,opt,name=http_check,json=httpCheck,proto3,oneof"`
-}
-
-type UptimeCheckConfig_TcpCheck_ struct {
- TcpCheck *UptimeCheckConfig_TcpCheck `protobuf:"bytes,6,opt,name=tcp_check,json=tcpCheck,proto3,oneof"`
-}
-
-func (*UptimeCheckConfig_HttpCheck_) isUptimeCheckConfig_CheckRequestType() {}
-
-func (*UptimeCheckConfig_TcpCheck_) isUptimeCheckConfig_CheckRequestType() {}
-
-func (m *UptimeCheckConfig) GetCheckRequestType() isUptimeCheckConfig_CheckRequestType {
- if m != nil {
- return m.CheckRequestType
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetHttpCheck() *UptimeCheckConfig_HttpCheck {
- if x, ok := m.GetCheckRequestType().(*UptimeCheckConfig_HttpCheck_); ok {
- return x.HttpCheck
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetTcpCheck() *UptimeCheckConfig_TcpCheck {
- if x, ok := m.GetCheckRequestType().(*UptimeCheckConfig_TcpCheck_); ok {
- return x.TcpCheck
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetPeriod() *duration.Duration {
- if m != nil {
- return m.Period
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetTimeout() *duration.Duration {
- if m != nil {
- return m.Timeout
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetContentMatchers() []*UptimeCheckConfig_ContentMatcher {
- if m != nil {
- return m.ContentMatchers
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetSelectedRegions() []UptimeCheckRegion {
- if m != nil {
- return m.SelectedRegions
- }
- return nil
-}
-
-func (m *UptimeCheckConfig) GetIsInternal() bool {
- if m != nil {
- return m.IsInternal
- }
- return false
-}
-
-func (m *UptimeCheckConfig) GetInternalCheckers() []*InternalChecker {
- if m != nil {
- return m.InternalCheckers
- }
- return nil
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*UptimeCheckConfig) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*UptimeCheckConfig_MonitoredResource)(nil),
- (*UptimeCheckConfig_ResourceGroup_)(nil),
- (*UptimeCheckConfig_HttpCheck_)(nil),
- (*UptimeCheckConfig_TcpCheck_)(nil),
- }
-}
-
-// The resource submessage for group checks. It can be used instead of a
-// monitored resource, when multiple resources are being monitored.
-type UptimeCheckConfig_ResourceGroup struct {
- // The group of resources being monitored. Should be only the
- // group_id, not projects/