Add generated file
This PR adds generated files under pkg/client and vendor folder.
This commit is contained in:
714
vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go
generated
vendored
Normal file
714
vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go
generated
vendored
Normal file
@@ -0,0 +1,714 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/monitoring/v3/common.proto
|
||||
|
||||
/*
|
||||
Package monitoring is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/monitoring/v3/common.proto
|
||||
google/monitoring/v3/group.proto
|
||||
google/monitoring/v3/group_service.proto
|
||||
google/monitoring/v3/metric.proto
|
||||
google/monitoring/v3/metric_service.proto
|
||||
google/monitoring/v3/uptime.proto
|
||||
google/monitoring/v3/uptime_service.proto
|
||||
|
||||
It has these top-level messages:
|
||||
TypedValue
|
||||
TimeInterval
|
||||
Aggregation
|
||||
Group
|
||||
ListGroupsRequest
|
||||
ListGroupsResponse
|
||||
GetGroupRequest
|
||||
CreateGroupRequest
|
||||
UpdateGroupRequest
|
||||
DeleteGroupRequest
|
||||
ListGroupMembersRequest
|
||||
ListGroupMembersResponse
|
||||
Point
|
||||
TimeSeries
|
||||
ListMonitoredResourceDescriptorsRequest
|
||||
ListMonitoredResourceDescriptorsResponse
|
||||
GetMonitoredResourceDescriptorRequest
|
||||
ListMetricDescriptorsRequest
|
||||
ListMetricDescriptorsResponse
|
||||
GetMetricDescriptorRequest
|
||||
CreateMetricDescriptorRequest
|
||||
DeleteMetricDescriptorRequest
|
||||
ListTimeSeriesRequest
|
||||
ListTimeSeriesResponse
|
||||
CreateTimeSeriesRequest
|
||||
CreateTimeSeriesError
|
||||
UptimeCheckConfig
|
||||
UptimeCheckIp
|
||||
ListUptimeCheckConfigsRequest
|
||||
ListUptimeCheckConfigsResponse
|
||||
GetUptimeCheckConfigRequest
|
||||
CreateUptimeCheckConfigRequest
|
||||
UpdateUptimeCheckConfigRequest
|
||||
DeleteUptimeCheckConfigRequest
|
||||
ListUptimeCheckIpsRequest
|
||||
ListUptimeCheckIpsResponse
|
||||
*/
|
||||
package monitoring
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_api2 "google.golang.org/genproto/googleapis/api/distribution"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// 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.
|
||||
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].
|
||||
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 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
|
||||
)
|
||||
|
||||
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",
|
||||
17: "ALIGN_FRACTION_TRUE",
|
||||
18: "ALIGN_PERCENTILE_99",
|
||||
19: "ALIGN_PERCENTILE_95",
|
||||
20: "ALIGN_PERCENTILE_50",
|
||||
21: "ALIGN_PERCENTILE_05",
|
||||
}
|
||||
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_FRACTION_TRUE": 17,
|
||||
"ALIGN_PERCENTILE_99": 18,
|
||||
"ALIGN_PERCENTILE_95": 19,
|
||||
"ALIGN_PERCENTILE_50": 20,
|
||||
"ALIGN_PERCENTILE_05": 21,
|
||||
}
|
||||
|
||||
func (x Aggregation_Aligner) String() string {
|
||||
return proto.EnumName(Aggregation_Aligner_name, int32(x))
|
||||
}
|
||||
func (Aggregation_Aligner) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []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 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",
|
||||
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_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 fileDescriptor0, []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"`
|
||||
}
|
||||
|
||||
func (m *TypedValue) Reset() { *m = TypedValue{} }
|
||||
func (m *TypedValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*TypedValue) ProtoMessage() {}
|
||||
func (*TypedValue) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
type isTypedValue_Value interface {
|
||||
isTypedValue_Value()
|
||||
}
|
||||
|
||||
type TypedValue_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,oneof"`
|
||||
}
|
||||
type TypedValue_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,oneof"`
|
||||
}
|
||||
type TypedValue_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,oneof"`
|
||||
}
|
||||
type TypedValue_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,oneof"`
|
||||
}
|
||||
type TypedValue_DistributionValue struct {
|
||||
DistributionValue *google_api2.Distribution `protobuf:"bytes,5,opt,name=distribution_value,json=distributionValue,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() *google_api2.Distribution {
|
||||
if x, ok := m.GetValue().(*TypedValue_DistributionValue); ok {
|
||||
return x.DistributionValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*TypedValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _TypedValue_OneofMarshaler, _TypedValue_OneofUnmarshaler, _TypedValue_OneofSizer, []interface{}{
|
||||
(*TypedValue_BoolValue)(nil),
|
||||
(*TypedValue_Int64Value)(nil),
|
||||
(*TypedValue_DoubleValue)(nil),
|
||||
(*TypedValue_StringValue)(nil),
|
||||
(*TypedValue_DistributionValue)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _TypedValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*TypedValue)
|
||||
// value
|
||||
switch x := m.Value.(type) {
|
||||
case *TypedValue_BoolValue:
|
||||
t := uint64(0)
|
||||
if x.BoolValue {
|
||||
t = 1
|
||||
}
|
||||
b.EncodeVarint(1<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(t)
|
||||
case *TypedValue_Int64Value:
|
||||
b.EncodeVarint(2<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Int64Value))
|
||||
case *TypedValue_DoubleValue:
|
||||
b.EncodeVarint(3<<3 | proto.WireFixed64)
|
||||
b.EncodeFixed64(math.Float64bits(x.DoubleValue))
|
||||
case *TypedValue_StringValue:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.StringValue)
|
||||
case *TypedValue_DistributionValue:
|
||||
b.EncodeVarint(5<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.DistributionValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("TypedValue.Value has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _TypedValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*TypedValue)
|
||||
switch tag {
|
||||
case 1: // value.bool_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Value = &TypedValue_BoolValue{x != 0}
|
||||
return true, err
|
||||
case 2: // value.int64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Value = &TypedValue_Int64Value{int64(x)}
|
||||
return true, err
|
||||
case 3: // value.double_value
|
||||
if wire != proto.WireFixed64 {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeFixed64()
|
||||
m.Value = &TypedValue_DoubleValue{math.Float64frombits(x)}
|
||||
return true, err
|
||||
case 4: // value.string_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Value = &TypedValue_StringValue{x}
|
||||
return true, err
|
||||
case 5: // value.distribution_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_api2.Distribution)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Value = &TypedValue_DistributionValue{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _TypedValue_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*TypedValue)
|
||||
// value
|
||||
switch x := m.Value.(type) {
|
||||
case *TypedValue_BoolValue:
|
||||
n += proto.SizeVarint(1<<3 | proto.WireVarint)
|
||||
n += 1
|
||||
case *TypedValue_Int64Value:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireVarint)
|
||||
n += proto.SizeVarint(uint64(x.Int64Value))
|
||||
case *TypedValue_DoubleValue:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireFixed64)
|
||||
n += 8
|
||||
case *TypedValue_StringValue:
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.StringValue)))
|
||||
n += len(x.StringValue)
|
||||
case *TypedValue_DistributionValue:
|
||||
s := proto.Size(x.DistributionValue)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// 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 *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime" 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 *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TimeInterval) Reset() { *m = TimeInterval{} }
|
||||
func (m *TimeInterval) String() string { return proto.CompactTextString(m) }
|
||||
func (*TimeInterval) ProtoMessage() {}
|
||||
func (*TimeInterval) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *TimeInterval) GetEndTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TimeInterval) GetStartTime() *google_protobuf2.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 (`per_series_aligner`) followed by an optional reduction of the data
|
||||
// across different time series (`cross_series_reducer`). 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 *google_protobuf3.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod" 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,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,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" json:"group_by_fields,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Aggregation) Reset() { *m = Aggregation{} }
|
||||
func (m *Aggregation) String() string { return proto.CompactTextString(m) }
|
||||
func (*Aggregation) ProtoMessage() {}
|
||||
func (*Aggregation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *Aggregation) GetAlignmentPeriod() *google_protobuf3.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.RegisterType((*TypedValue)(nil), "google.monitoring.v3.TypedValue")
|
||||
proto.RegisterType((*TimeInterval)(nil), "google.monitoring.v3.TimeInterval")
|
||||
proto.RegisterType((*Aggregation)(nil), "google.monitoring.v3.Aggregation")
|
||||
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)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/monitoring/v3/common.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 792 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x6a, 0xe3, 0x46,
|
||||
0x14, 0xb6, 0xec, 0x64, 0x1d, 0x1f, 0x39, 0xf1, 0x64, 0xd6, 0x4b, 0xdd, 0x40, 0xbb, 0x5e, 0x17,
|
||||
0x8a, 0x7b, 0x23, 0x87, 0xb8, 0x2e, 0x84, 0x42, 0x41, 0xb1, 0xb5, 0x1b, 0x83, 0x23, 0x9b, 0x59,
|
||||
0x25, 0x0d, 0x6d, 0x40, 0xc8, 0xd1, 0xac, 0x10, 0xc8, 0x1a, 0x31, 0x92, 0x0d, 0xb9, 0xeb, 0x6b,
|
||||
0xf4, 0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
|
||||
0x3a, 0xe8, 0x6b, 0xc3, 0x56, 0x6e, 0x92, 0xac, 0x34, 0xcd, 0x01, 0x57, 0x77, 0x56, 0xd6, 0xc3,
|
||||
0xbe, 0x36, 0xd4, 0x2f, 0x7a, 0x86, 0xea, 0xcb, 0x4b, 0x42, 0x63, 0x56, 0x71, 0x5d, 0xd7, 0xc8,
|
||||
0x69, 0x75, 0x4a, 0x44, 0x5d, 0x35, 0xe1, 0x50, 0x4c, 0x0f, 0x7e, 0xd1, 0xa0, 0xed, 0x84, 0x1b,
|
||||
0x3a, 0x8f, 0x33, 0xca, 0x77, 0x5e, 0x84, 0x27, 0x70, 0x44, 0x63, 0xdf, 0xcd, 0x8b, 0x11, 0xeb,
|
||||
0xe8, 0x17, 0x67, 0x45, 0x74, 0xd1, 0x9a, 0xe1, 0x14, 0xad, 0x91, 0x26, 0x8d, 0xfd, 0x1c, 0xe1,
|
||||
0x4b, 0x80, 0x34, 0xf3, 0x78, 0x26, 0x07, 0xb5, 0xff, 0x1c, 0x6c, 0x09, 0x77, 0x8e, 0x07, 0x1f,
|
||||
0x9b, 0xa0, 0x9b, 0x41, 0xc0, 0x69, 0x20, 0xae, 0x0a, 0xcf, 0x00, 0x79, 0x51, 0x18, 0xc4, 0x1b,
|
||||
0x1a, 0x67, 0x6e, 0x42, 0x79, 0xc8, 0x7c, 0x15, 0xf8, 0xf9, 0x3f, 0x02, 0x67, 0xea, 0x7e, 0x49,
|
||||
0xe7, 0xd3, 0xc8, 0x4a, 0x4c, 0xe0, 0x1f, 0x01, 0x27, 0x94, 0xbb, 0x29, 0xe5, 0x21, 0x4d, 0x5d,
|
||||
0xa1, 0x52, 0x2e, 0x36, 0x3a, 0xb9, 0xf8, 0xc6, 0xd8, 0xf7, 0x72, 0x19, 0x95, 0x87, 0x30, 0x4c,
|
||||
0x39, 0x40, 0x50, 0x42, 0xf9, 0x7b, 0x91, 0xa1, 0x18, 0xfc, 0x33, 0x74, 0x1f, 0x39, 0x4b, 0xd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bf, 0x17, 0xe2, 0x83, 0x10,
|
||||
0x1f, 0x4a, 0xf1, 0xe1, 0x6e, 0xbc, 0x7e, 0x21, 0x0e, 0x19, 0xff, 0x15, 0x00, 0x00, 0xff, 0xff,
|
||||
0x57, 0xa4, 0xb9, 0xce, 0x68, 0x06, 0x00, 0x00,
|
||||
}
|
126
vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go
generated
vendored
Normal file
126
vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go
generated
vendored
Normal file
@@ -0,0 +1,126 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/monitoring/v3/group.proto
|
||||
|
||||
package monitoring
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// 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" 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" 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" json:"parent_name,omitempty"`
|
||||
// The filter used to determine which monitored resources belong to this group.
|
||||
Filter string `protobuf:"bytes,5,opt,name=filter" 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" json:"is_cluster,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Group) Reset() { *m = Group{} }
|
||||
func (m *Group) String() string { return proto.CompactTextString(m) }
|
||||
func (*Group) ProtoMessage() {}
|
||||
func (*Group) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
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", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []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,
|
||||
}
|
753
vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go
generated
vendored
Normal file
753
vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,753 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/monitoring/v3/group_service.proto
|
||||
|
||||
package monitoring
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_api4 "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// 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" 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" 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" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListGroupsRequest) Reset() { *m = ListGroupsRequest{} }
|
||||
func (m *ListGroupsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListGroupsRequest) ProtoMessage() {}
|
||||
func (*ListGroupsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
type isListGroupsRequest_Filter interface {
|
||||
isListGroupsRequest_Filter()
|
||||
}
|
||||
|
||||
type ListGroupsRequest_ChildrenOfGroup struct {
|
||||
ChildrenOfGroup string `protobuf:"bytes,2,opt,name=children_of_group,json=childrenOfGroup,oneof"`
|
||||
}
|
||||
type ListGroupsRequest_AncestorsOfGroup struct {
|
||||
AncestorsOfGroup string `protobuf:"bytes,3,opt,name=ancestors_of_group,json=ancestorsOfGroup,oneof"`
|
||||
}
|
||||
type ListGroupsRequest_DescendantsOfGroup struct {
|
||||
DescendantsOfGroup string `protobuf:"bytes,4,opt,name=descendants_of_group,json=descendantsOfGroup,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) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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_OneofFuncs is for the internal use of the proto package.
|
||||
func (*ListGroupsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _ListGroupsRequest_OneofMarshaler, _ListGroupsRequest_OneofUnmarshaler, _ListGroupsRequest_OneofSizer, []interface{}{
|
||||
(*ListGroupsRequest_ChildrenOfGroup)(nil),
|
||||
(*ListGroupsRequest_AncestorsOfGroup)(nil),
|
||||
(*ListGroupsRequest_DescendantsOfGroup)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _ListGroupsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*ListGroupsRequest)
|
||||
// filter
|
||||
switch x := m.Filter.(type) {
|
||||
case *ListGroupsRequest_ChildrenOfGroup:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.ChildrenOfGroup)
|
||||
case *ListGroupsRequest_AncestorsOfGroup:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.AncestorsOfGroup)
|
||||
case *ListGroupsRequest_DescendantsOfGroup:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.DescendantsOfGroup)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("ListGroupsRequest.Filter has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _ListGroupsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*ListGroupsRequest)
|
||||
switch tag {
|
||||
case 2: // filter.children_of_group
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Filter = &ListGroupsRequest_ChildrenOfGroup{x}
|
||||
return true, err
|
||||
case 3: // filter.ancestors_of_group
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Filter = &ListGroupsRequest_AncestorsOfGroup{x}
|
||||
return true, err
|
||||
case 4: // filter.descendants_of_group
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Filter = &ListGroupsRequest_DescendantsOfGroup{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _ListGroupsRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*ListGroupsRequest)
|
||||
// filter
|
||||
switch x := m.Filter.(type) {
|
||||
case *ListGroupsRequest_ChildrenOfGroup:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.ChildrenOfGroup)))
|
||||
n += len(x.ChildrenOfGroup)
|
||||
case *ListGroupsRequest_AncestorsOfGroup:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.AncestorsOfGroup)))
|
||||
n += len(x.AncestorsOfGroup)
|
||||
case *ListGroupsRequest_DescendantsOfGroup:
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.DescendantsOfGroup)))
|
||||
n += len(x.DescendantsOfGroup)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// The `ListGroups` response.
|
||||
type ListGroupsResponse struct {
|
||||
// The groups that match the specified filters.
|
||||
Group []*Group `protobuf:"bytes,1,rep,name=group" 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" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListGroupsResponse) Reset() { *m = ListGroupsResponse{} }
|
||||
func (m *ListGroupsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListGroupsResponse) ProtoMessage() {}
|
||||
func (*ListGroupsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
|
||||
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" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetGroupRequest) Reset() { *m = GetGroupRequest{} }
|
||||
func (m *GetGroupRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetGroupRequest) ProtoMessage() {}
|
||||
func (*GetGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
|
||||
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" 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" 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" json:"validate_only,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateGroupRequest) Reset() { *m = CreateGroupRequest{} }
|
||||
func (m *CreateGroupRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateGroupRequest) ProtoMessage() {}
|
||||
func (*CreateGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
|
||||
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" 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" json:"validate_only,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateGroupRequest) Reset() { *m = UpdateGroupRequest{} }
|
||||
func (m *UpdateGroupRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateGroupRequest) ProtoMessage() {}
|
||||
func (*UpdateGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
|
||||
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" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteGroupRequest) Reset() { *m = DeleteGroupRequest{} }
|
||||
func (m *DeleteGroupRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteGroupRequest) ProtoMessage() {}
|
||||
func (*DeleteGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
|
||||
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" 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" 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" 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" 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" json:"interval,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListGroupMembersRequest) Reset() { *m = ListGroupMembersRequest{} }
|
||||
func (m *ListGroupMembersRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListGroupMembersRequest) ProtoMessage() {}
|
||||
func (*ListGroupMembersRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
|
||||
|
||||
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 []*google_api4.MonitoredResource `protobuf:"bytes,1,rep,name=members" 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" json:"next_page_token,omitempty"`
|
||||
// The total number of elements matching this request.
|
||||
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListGroupMembersResponse) Reset() { *m = ListGroupMembersResponse{} }
|
||||
func (m *ListGroupMembersResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListGroupMembersResponse) ProtoMessage() {}
|
||||
func (*ListGroupMembersResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
|
||||
|
||||
func (m *ListGroupMembersResponse) GetMembers() []*google_api4.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")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// Client API for GroupService service
|
||||
|
||||
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) (*google_protobuf4.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 := grpc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroups", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.monitoring.v3.GroupService/GetGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.monitoring.v3.GroupService/CreateGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.monitoring.v3.GroupService/UpdateGroup", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *groupServiceClient) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error) {
|
||||
out := new(google_protobuf4.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.GroupService/DeleteGroup", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroupMembers", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// 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) (*google_protobuf4.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",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/monitoring/v3/group_service.proto", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []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, 0x35, 0xf6, 0x26, 0xd0, 0xa2, 0x4a, 0x80,
|
||||
0xc4, 0x81, 0x33, 0x37, 0x6e, 0x1c, 0xe1, 0x2f, 0x70, 0xe2, 0xca, 0x95, 0xbf, 0xc0, 0xff, 0x00,
|
||||
0x79, 0xbd, 0x9b, 0x38, 0x9f, 0xed, 0x85, 0x5b, 0xb2, 0xf3, 0x8c, 0x9f, 0x67, 0x66, 0x9f, 0x99,
|
||||
0x45, 0x25, 0x9b, 0x52, 0xdb, 0x05, 0xc3, 0xa3, 0xc4, 0x61, 0x34, 0x70, 0x88, 0x6d, 0xb4, 0x2a,
|
||||
0x86, 0x1d, 0xd0, 0xa6, 0x5f, 0x0d, 0x21, 0x68, 0x39, 0x35, 0xd0, 0xfd, 0x80, 0x32, 0x8a, 0xe7,
|
||||
0x62, 0xa4, 0xde, 0x41, 0xea, 0xad, 0x8a, 0xba, 0x28, 0xf2, 0x2d, 0xdf, 0x31, 0x2c, 0x42, 0x28,
|
||||
0xb3, 0x98, 0x43, 0x49, 0x18, 0xe7, 0xa8, 0x2b, 0x89, 0xa8, 0xc8, 0x83, 0x7a, 0x35, 0x80, 0x90,
|
||||
0x36, 0x03, 0xf9, 0x61, 0xf5, 0xda, 0x40, 0x09, 0x35, 0xea, 0x79, 0x94, 0x08, 0x48, 0x71, 0xb8,
|
||||
0x4a, 0x81, 0x58, 0x10, 0x08, 0xfe, 0xef, 0xb4, 0xd9, 0x30, 0xc0, 0xf3, 0xd9, 0x59, 0x1c, 0xd4,
|
||||
0xfe, 0x28, 0x68, 0xf6, 0xb1, 0x13, 0xb2, 0xdd, 0x28, 0x21, 0x34, 0xe1, 0x65, 0x13, 0x42, 0x86,
|
||||
0x31, 0x4a, 0x13, 0xcb, 0x83, 0xc2, 0x44, 0x51, 0x29, 0xe5, 0x4c, 0xfe, 0x1b, 0xdf, 0x44, 0xb3,
|
||||
0xb5, 0x67, 0x8e, 0x5b, 0x0f, 0x80, 0x54, 0x69, 0xa3, 0xca, 0x19, 0x0a, 0x63, 0x11, 0xe0, 0xe1,
|
||||
0x7f, 0xe6, 0xb4, 0x0c, 0xed, 0x37, 0xf8, 0x97, 0xb0, 0x8e, 0xb0, 0x45, 0x6a, 0x10, 0x32, 0x1a,
|
||||
0x84, 0x1d, 0x78, 0x4a, 0xc0, 0x67, 0xda, 0x31, 0x89, 0x2f, 0xa3, 0xb9, 0x3a, 0x84, 0x35, 0x20,
|
||||
0x75, 0x8b, 0xb0, 0x44, 0x46, 0x5a, 0x64, 0xe0, 0x44, 0x54, 0xe6, 0x2c, 0xa0, 0x9c, 0x6f, 0xd9,
|
||||
0x50, 0x0d, 0x9d, 0x73, 0x28, 0x8c, 0x17, 0x95, 0xd2, 0xb8, 0x99, 0x8d, 0x0e, 0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ed, 0x08, 0x00, 0x00,
|
||||
}
|
164
vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go
generated
vendored
Normal file
164
vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go
generated
vendored
Normal file
@@ -0,0 +1,164 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/monitoring/v3/metric.proto
|
||||
|
||||
package monitoring
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_api5 "google.golang.org/genproto/googleapis/api/metric"
|
||||
import google_api4 "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
|
||||
|
||||
// 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" json:"interval,omitempty"`
|
||||
// The value of the data point.
|
||||
Value *TypedValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Point) Reset() { *m = Point{} }
|
||||
func (m *Point) String() string { return proto.CompactTextString(m) }
|
||||
func (*Point) ProtoMessage() {}
|
||||
func (*Point) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
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 *google_api5.Metric `protobuf:"bytes,1,opt,name=metric" json:"metric,omitempty"`
|
||||
// The associated resource. A fully-specified monitored resource used to
|
||||
// identify the time series.
|
||||
Resource *google_api4.MonitoredResource `protobuf:"bytes,2,opt,name=resource" json:"resource,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 google_api5.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,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 google_api5.MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"`
|
||||
// The data points of this time series. When listing time series, the order of
|
||||
// the points is specified by the list method.
|
||||
//
|
||||
// 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" json:"points,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TimeSeries) Reset() { *m = TimeSeries{} }
|
||||
func (m *TimeSeries) String() string { return proto.CompactTextString(m) }
|
||||
func (*TimeSeries) ProtoMessage() {}
|
||||
func (*TimeSeries) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
|
||||
|
||||
func (m *TimeSeries) GetMetric() *google_api5.Metric {
|
||||
if m != nil {
|
||||
return m.Metric
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TimeSeries) GetResource() *google_api4.MonitoredResource {
|
||||
if m != nil {
|
||||
return m.Resource
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TimeSeries) GetMetricKind() google_api5.MetricDescriptor_MetricKind {
|
||||
if m != nil {
|
||||
return m.MetricKind
|
||||
}
|
||||
return google_api5.MetricDescriptor_METRIC_KIND_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *TimeSeries) GetValueType() google_api5.MetricDescriptor_ValueType {
|
||||
if m != nil {
|
||||
return m.ValueType
|
||||
}
|
||||
return google_api5.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", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 396 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x4a, 0xeb, 0x40,
|
||||
0x14, 0x86, 0x49, 0x7b, 0x5b, 0x7a, 0x27, 0x70, 0x17, 0xc3, 0x05, 0x43, 0x45, 0x88, 0x15, 0xb4,
|
||||
0xb8, 0x48, 0xa0, 0x01, 0x41, 0x84, 0x2e, 0xaa, 0xa2, 0x22, 0x42, 0x19, 0xa5, 0x0b, 0x29, 0x94,
|
||||
0x98, 0x0c, 0x61, 0x30, 0x99, 0x33, 0x4c, 0xd2, 0x40, 0x57, 0x3e, 0x8c, 0x3b, 0xdf, 0xc0, 0x57,
|
||||
0xf0, 0xa9, 0x24, 0x33, 0x93, 0xd6, 0x62, 0x74, 0x37, 0xc9, 0xff, 0x9d, 0xff, 0x9f, 0x73, 0xce,
|
||||
0xa0, 0xfd, 0x04, 0x20, 0x49, 0xa9, 0x9f, 0x01, 0x67, 0x05, 0x48, 0xc6, 0x13, 0xbf, 0x0c, 0xfc,
|
||||
0x8c, 0x16, 0x92, 0x45, 0x9e, 0x90, 0x50, 0x00, 0xfe, 0xaf, 0x11, 0x6f, 0x83, 0x78, 0x65, 0xd0,
|
||||
0xdf, 0x31, 0x85, 0xa1, 0x60, 0x5b, 0x78, 0xff, 0xe0, 0xab, 0xa0, 0x4b, 0x68, 0xbc, 0x90, 0x34,
|
||||
0x87, 0xa5, 0x8c, 0xa8, 0x81, 0x9a, 0x63, 0x23, 0xc8, 0x32, 0xe0, 0x1a, 0x19, 0xbc, 0xa0, 0xce,
|
||||
0x14, 0x18, 0x2f, 0xf0, 0x18, 0xf5, 0x18, 0x2f, 0xa8, 0x2c, 0xc3, 0xd4, 0xb1, 0x5c, 0x6b, 0x68,
|
||||
0x8f, 0x06, 0x5e, 0xd3, 0x95, 0xbc, 0x07, 0x96, 0xd1, 0x1b, 0x43, 0x92, 0x75, 0x0d, 0x3e, 0x41,
|
||||
0x9d, 0x32, 0x4c, 0x97, 0xd4, 0x69, 0xa9, 0x62, 0xf7, 0x87, 0xe2, 0x95, 0xa0, 0xf1, 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x1e, 0x6e, 0x95, 0x35, 0x0b,
|
||||
0x3e, 0x6a, 0x71, 0xae, 0xc4, 0xf9, 0x46, 0x9c, 0xcf, 0x82, 0xa7, 0xae, 0x0a, 0x09, 0x3e, 0x03,
|
||||
0x00, 0x00, 0xff, 0xff, 0x28, 0x45, 0x7a, 0x13, 0x05, 0x03, 0x00, 0x00,
|
||||
}
|
929
vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go
generated
vendored
Normal file
929
vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,929 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/monitoring/v3/metric_service.proto
|
||||
|
||||
package monitoring
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_api5 "google.golang.org/genproto/googleapis/api/metric"
|
||||
import google_api4 "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/empty"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// 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 fileDescriptor4, []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" 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" 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" 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" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListMonitoredResourceDescriptorsRequest) Reset() {
|
||||
*m = ListMonitoredResourceDescriptorsRequest{}
|
||||
}
|
||||
func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage() {}
|
||||
func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor4, []int{0}
|
||||
}
|
||||
|
||||
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 `ListMonitoredResourcDescriptors` response.
|
||||
type ListMonitoredResourceDescriptorsResponse struct {
|
||||
// The monitored resource descriptors that are available to this project
|
||||
// and that match `filter`, if present.
|
||||
ResourceDescriptors []*google_api4.MonitoredResourceDescriptor `protobuf:"bytes,1,rep,name=resource_descriptors,json=resourceDescriptors" 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" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListMonitoredResourceDescriptorsResponse) Reset() {
|
||||
*m = ListMonitoredResourceDescriptorsResponse{}
|
||||
}
|
||||
func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage() {}
|
||||
func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor4, []int{1}
|
||||
}
|
||||
|
||||
func (m *ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors() []*google_api4.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" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetMonitoredResourceDescriptorRequest) Reset() { *m = GetMonitoredResourceDescriptorRequest{} }
|
||||
func (m *GetMonitoredResourceDescriptorRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetMonitoredResourceDescriptorRequest) ProtoMessage() {}
|
||||
func (*GetMonitoredResourceDescriptorRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor4, []int{2}
|
||||
}
|
||||
|
||||
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" 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" 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" 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" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListMetricDescriptorsRequest) Reset() { *m = ListMetricDescriptorsRequest{} }
|
||||
func (m *ListMetricDescriptorsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListMetricDescriptorsRequest) ProtoMessage() {}
|
||||
func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
|
||||
|
||||
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 []*google_api5.MetricDescriptor `protobuf:"bytes,1,rep,name=metric_descriptors,json=metricDescriptors" 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" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListMetricDescriptorsResponse) Reset() { *m = ListMetricDescriptorsResponse{} }
|
||||
func (m *ListMetricDescriptorsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListMetricDescriptorsResponse) ProtoMessage() {}
|
||||
func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{4} }
|
||||
|
||||
func (m *ListMetricDescriptorsResponse) GetMetricDescriptors() []*google_api5.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" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetMetricDescriptorRequest) Reset() { *m = GetMetricDescriptorRequest{} }
|
||||
func (m *GetMetricDescriptorRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetMetricDescriptorRequest) ProtoMessage() {}
|
||||
func (*GetMetricDescriptorRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{5} }
|
||||
|
||||
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" json:"name,omitempty"`
|
||||
// The new [custom metric](/monitoring/custom-metrics)
|
||||
// descriptor.
|
||||
MetricDescriptor *google_api5.MetricDescriptor `protobuf:"bytes,2,opt,name=metric_descriptor,json=metricDescriptor" json:"metric_descriptor,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateMetricDescriptorRequest) Reset() { *m = CreateMetricDescriptorRequest{} }
|
||||
func (m *CreateMetricDescriptorRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateMetricDescriptorRequest) ProtoMessage() {}
|
||||
func (*CreateMetricDescriptorRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{6} }
|
||||
|
||||
func (m *CreateMetricDescriptorRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateMetricDescriptorRequest) GetMetricDescriptor() *google_api5.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" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteMetricDescriptorRequest) Reset() { *m = DeleteMetricDescriptorRequest{} }
|
||||
func (m *DeleteMetricDescriptorRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteMetricDescriptorRequest) ProtoMessage() {}
|
||||
func (*DeleteMetricDescriptorRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{7} }
|
||||
|
||||
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" 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" 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" 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" json:"aggregation,omitempty"`
|
||||
// Specifies the order in which the points of the time series should
|
||||
// be returned. By default, results are not ordered. Currently,
|
||||
// this field must be left blank.
|
||||
OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
|
||||
// Specifies which information is returned about the time series.
|
||||
View ListTimeSeriesRequest_TimeSeriesView `protobuf:"varint,7,opt,name=view,enum=google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView" json:"view,omitempty"`
|
||||
// A positive number that is the maximum number of results to return.
|
||||
// When `view` field sets to `FULL`, it limits the number of `Points` server
|
||||
// will return; if `view` field is `HEADERS`, it limits the number of
|
||||
// `TimeSeries` server will return.
|
||||
PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize" 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" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListTimeSeriesRequest) Reset() { *m = ListTimeSeriesRequest{} }
|
||||
func (m *ListTimeSeriesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTimeSeriesRequest) ProtoMessage() {}
|
||||
func (*ListTimeSeriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{8} }
|
||||
|
||||
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" 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" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListTimeSeriesResponse) Reset() { *m = ListTimeSeriesResponse{} }
|
||||
func (m *ListTimeSeriesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTimeSeriesResponse) ProtoMessage() {}
|
||||
func (*ListTimeSeriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{9} }
|
||||
|
||||
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 ""
|
||||
}
|
||||
|
||||
// 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" 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" json:"time_series,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateTimeSeriesRequest) Reset() { *m = CreateTimeSeriesRequest{} }
|
||||
func (m *CreateTimeSeriesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateTimeSeriesRequest) ProtoMessage() {}
|
||||
func (*CreateTimeSeriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{10} }
|
||||
|
||||
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" json:"time_series,omitempty"`
|
||||
// The status of the requested write operation.
|
||||
Status *google_rpc.Status `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateTimeSeriesError) Reset() { *m = CreateTimeSeriesError{} }
|
||||
func (m *CreateTimeSeriesError) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateTimeSeriesError) ProtoMessage() {}
|
||||
func (*CreateTimeSeriesError) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{11} }
|
||||
|
||||
func (m *CreateTimeSeriesError) GetTimeSeries() *TimeSeries {
|
||||
if m != nil {
|
||||
return m.TimeSeries
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CreateTimeSeriesError) GetStatus() *google_rpc.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
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")
|
||||
proto.RegisterEnum("google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView", ListTimeSeriesRequest_TimeSeriesView_name, ListTimeSeriesRequest_TimeSeriesView_value)
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for MetricService service
|
||||
|
||||
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) (*google_api4.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) (*google_api5.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) (*google_api5.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) (*google_protobuf4.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) (*google_protobuf4.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 := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListMonitoredResourceDescriptors", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *metricServiceClient) GetMonitoredResourceDescriptor(ctx context.Context, in *GetMonitoredResourceDescriptorRequest, opts ...grpc.CallOption) (*google_api4.MonitoredResourceDescriptor, error) {
|
||||
out := new(google_api4.MonitoredResourceDescriptor)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/GetMonitoredResourceDescriptor", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListMetricDescriptors", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *metricServiceClient) GetMetricDescriptor(ctx context.Context, in *GetMetricDescriptorRequest, opts ...grpc.CallOption) (*google_api5.MetricDescriptor, error) {
|
||||
out := new(google_api5.MetricDescriptor)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/GetMetricDescriptor", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *metricServiceClient) CreateMetricDescriptor(ctx context.Context, in *CreateMetricDescriptorRequest, opts ...grpc.CallOption) (*google_api5.MetricDescriptor, error) {
|
||||
out := new(google_api5.MetricDescriptor)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/CreateMetricDescriptor", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *metricServiceClient) DeleteMetricDescriptor(ctx context.Context, in *DeleteMetricDescriptorRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error) {
|
||||
out := new(google_protobuf4.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/DeleteMetricDescriptor", in, out, c.cc, 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 := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListTimeSeries", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *metricServiceClient) CreateTimeSeries(ctx context.Context, in *CreateTimeSeriesRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error) {
|
||||
out := new(google_protobuf4.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.MetricService/CreateTimeSeries", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// 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) (*google_api4.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) (*google_api5.MetricDescriptor, error)
|
||||
// Creates a new metric descriptor.
|
||||
// User-created metric descriptors define
|
||||
// [custom metrics](/monitoring/custom-metrics).
|
||||
CreateMetricDescriptor(context.Context, *CreateMetricDescriptorRequest) (*google_api5.MetricDescriptor, error)
|
||||
// Deletes a metric descriptor. Only user-created
|
||||
// [custom metrics](/monitoring/custom-metrics) can be deleted.
|
||||
DeleteMetricDescriptor(context.Context, *DeleteMetricDescriptorRequest) (*google_protobuf4.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) (*google_protobuf4.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",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/monitoring/v3/metric_service.proto", fileDescriptor4) }
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
// 1011 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x6f, 0x1b, 0x45,
|
||||
0x18, 0x66, 0x92, 0x34, 0x1f, 0xaf, 0xd5, 0x90, 0x4e, 0x5b, 0xd7,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0xce, 0x12, 0x00, 0xb9, 0xdf, 0x31, 0x03,
|
||||
0x61, 0x8b, 0x9e, 0x42, 0xae, 0x7f, 0x87, 0x60, 0xfd, 0x80, 0x06, 0xe2, 0xe3, 0x18, 0x9c, 0xa5,
|
||||
0xb0, 0xed, 0x91, 0xa0, 0xc3, 0xa9, 0x2f, 0x18, 0x0f, 0x2c, 0xf2, 0x45, 0x8f, 0x04, 0x02, 0x63,
|
||||
0x98, 0xf3, 0x6c, 0x97, 0x54, 0x2e, 0x55, 0x51, 0x6d, 0xc9, 0x92, 0xbf, 0x71, 0x19, 0xe6, 0x9f,
|
||||
0xd3, 0xae, 0x20, 0xbc, 0x32, 0x23, 0xdf, 0xaa, 0x27, 0x7c, 0x13, 0x96, 0x7c, 0xdb, 0x21, 0xed,
|
||||
0x80, 0xbe, 0x24, 0x95, 0xd9, 0x2a, 0xaa, 0x5d, 0xb2, 0x16, 0xc3, 0x17, 0x2d, 0xfa, 0x92, 0xe0,
|
||||
0x35, 0x00, 0x69, 0x14, 0xec, 0x73, 0xe2, 0x55, 0xe6, 0x64, 0xa0, 0x74, 0x7f, 0x1a, 0xbe, 0xd0,
|
||||
0x7f, 0x41, 0x50, 0x1b, 0x8f, 0x29, 0xf0, 0x99, 0x17, 0x10, 0xfc, 0x0c, 0xae, 0xc5, 0x74, 0xb6,
|
||||
0x4f, 0x07, 0xf6, 0x0a, 0xaa, 0xce, 0xd6, 0x4a, 0x8d, 0x75, 0x43, 0x9d, 0xa6, 0xed, 0x53, 0xa3,
|
||||
0x20, 0x9f, 0x75, 0x95, 0xa7, 0x6b, 0xe0, 0x77, 0xe1, 0x4d, 0x8f, 0x7c, 0x29, 0xda, 0x43, 0x60,
|
||||
0xa3, 0x2e, 0x2f, 0x87, 0xaf, 0x0f, 0x2f, 0x00, 0x6f, 0xc2, 0xed, 0xc7, 0xa4, 0x08, 0x6e, 0x92,
|
||||
0xc1, 0xd9, 0x01, 0x83, 0xfa, 0x2b, 0x04, 0xab, 0x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x85, 0x60, 0x25, 0xb9, 0x77, 0xf1, 0x7b, 0x45, 0xe7, 0x9b, 0xc6, 0x96, 0xc7, 0xd3,
|
||||
0x5d, 0x89, 0xe2, 0xb6, 0x3e, 0x16, 0xc5, 0x06, 0xaa, 0xef, 0xbc, 0x46, 0x50, 0xe9, 0x30, 0x37,
|
||||
0xb3, 0xf2, 0x0e, 0x1e, 0xd9, 0xc8, 0x87, 0x61, 0x99, 0x43, 0xf4, 0x6c, 0x4b, 0xf9, 0x3a, 0xac,
|
||||
0x6b, 0x7b, 0x8e, 0xc1, 0xb8, 0x63, 0x3a, 0xc4, 0x93, 0x20, 0xcc, 0xc8, 0x64, 0xfb, 0x34, 0x18,
|
||||
0xfd, 0x1f, 0xb3, 0x39, 0x78, 0x7a, 0x3d, 0xa3, 0x3d, 0x8e, 0x12, 0xec, 0x76, 0x59, 0xef, 0x34,
|
||||
0x5e, 0x4d, 0x61, 0xc9, 0xa3, 0xe6, 0x1f, 0xb1, 0xf1, 0x58, 0x1a, 0x8f, 0x07, 0xc6, 0xe3, 0xa3,
|
||||
0xe6, 0xc9, 0xbc, 0x2c, 0xd2, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x96, 0x3c, 0x74, 0xeb,
|
||||
0x0d, 0x00, 0x00,
|
||||
}
|
748
vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go
generated
vendored
Normal file
748
vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go
generated
vendored
Normal file
@@ -0,0 +1,748 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/monitoring/v3/uptime.proto
|
||||
|
||||
package monitoring
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import google_api4 "google.golang.org/genproto/googleapis/api/monitoredres"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/duration"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// 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 fileDescriptor5, []int{0} }
|
||||
|
||||
// The supported resource types that can be used as values of
|
||||
// group_resource.resource_type. gae_app and uptime_url are not allowed
|
||||
// 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 (could be either GCE or AWS_EC2).
|
||||
GroupResourceType_INSTANCE GroupResourceType = 1
|
||||
// A group of AWS 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 fileDescriptor5, []int{1} }
|
||||
|
||||
// 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" json:"name,omitempty"`
|
||||
// A human-friendly name for the uptime check configuration. The display name
|
||||
// should be unique within a Stackdriver Account 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" 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 the uptime check is performed.
|
||||
// Currently, only 1, 5, 10, and 15 minutes are supported. Required.
|
||||
Period *google_protobuf3.Duration `protobuf:"bytes,7,opt,name=period" json:"period,omitempty"`
|
||||
// The maximum amount of time to wait for the request to complete (must be
|
||||
// between 1 and 60 seconds). Required.
|
||||
Timeout *google_protobuf3.Duration `protobuf:"bytes,8,opt,name=timeout" 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" json:"content_matchers,omitempty"`
|
||||
// The list of regions from which the check will be run.
|
||||
// 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,enum=google.monitoring.v3.UptimeCheckRegion" json:"selected_regions,omitempty"`
|
||||
// The internal checkers that this check will egress from.
|
||||
InternalCheckers []*UptimeCheckConfig_InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers" json:"internal_checkers,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig) Reset() { *m = UptimeCheckConfig{} }
|
||||
func (m *UptimeCheckConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*UptimeCheckConfig) ProtoMessage() {}
|
||||
func (*UptimeCheckConfig) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||||
|
||||
type isUptimeCheckConfig_Resource interface {
|
||||
isUptimeCheckConfig_Resource()
|
||||
}
|
||||
type isUptimeCheckConfig_CheckRequestType interface {
|
||||
isUptimeCheckConfig_CheckRequestType()
|
||||
}
|
||||
|
||||
type UptimeCheckConfig_MonitoredResource struct {
|
||||
MonitoredResource *google_api4.MonitoredResource `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,oneof"`
|
||||
}
|
||||
type UptimeCheckConfig_ResourceGroup_ struct {
|
||||
ResourceGroup *UptimeCheckConfig_ResourceGroup `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,oneof"`
|
||||
}
|
||||
type UptimeCheckConfig_HttpCheck_ struct {
|
||||
HttpCheck *UptimeCheckConfig_HttpCheck `protobuf:"bytes,5,opt,name=http_check,json=httpCheck,oneof"`
|
||||
}
|
||||
type UptimeCheckConfig_TcpCheck_ struct {
|
||||
TcpCheck *UptimeCheckConfig_TcpCheck `protobuf:"bytes,6,opt,name=tcp_check,json=tcpCheck,oneof"`
|
||||
}
|
||||
|
||||
func (*UptimeCheckConfig_MonitoredResource) isUptimeCheckConfig_Resource() {}
|
||||
func (*UptimeCheckConfig_ResourceGroup_) isUptimeCheckConfig_Resource() {}
|
||||
func (*UptimeCheckConfig_HttpCheck_) isUptimeCheckConfig_CheckRequestType() {}
|
||||
func (*UptimeCheckConfig_TcpCheck_) isUptimeCheckConfig_CheckRequestType() {}
|
||||
|
||||
func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource {
|
||||
if m != nil {
|
||||
return m.Resource
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *UptimeCheckConfig) GetCheckRequestType() isUptimeCheckConfig_CheckRequestType {
|
||||
if m != nil {
|
||||
return m.CheckRequestType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig) GetMonitoredResource() *google_api4.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
|
||||
}
|
||||
|
||||
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() *google_protobuf3.Duration {
|
||||
if m != nil {
|
||||
return m.Period
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig) GetTimeout() *google_protobuf3.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) GetInternalCheckers() []*UptimeCheckConfig_InternalChecker {
|
||||
if m != nil {
|
||||
return m.InternalCheckers
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*UptimeCheckConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _UptimeCheckConfig_OneofMarshaler, _UptimeCheckConfig_OneofUnmarshaler, _UptimeCheckConfig_OneofSizer, []interface{}{
|
||||
(*UptimeCheckConfig_MonitoredResource)(nil),
|
||||
(*UptimeCheckConfig_ResourceGroup_)(nil),
|
||||
(*UptimeCheckConfig_HttpCheck_)(nil),
|
||||
(*UptimeCheckConfig_TcpCheck_)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _UptimeCheckConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*UptimeCheckConfig)
|
||||
// resource
|
||||
switch x := m.Resource.(type) {
|
||||
case *UptimeCheckConfig_MonitoredResource:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MonitoredResource); err != nil {
|
||||
return err
|
||||
}
|
||||
case *UptimeCheckConfig_ResourceGroup_:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ResourceGroup); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("UptimeCheckConfig.Resource has unexpected type %T", x)
|
||||
}
|
||||
// check_request_type
|
||||
switch x := m.CheckRequestType.(type) {
|
||||
case *UptimeCheckConfig_HttpCheck_:
|
||||
b.EncodeVarint(5<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.HttpCheck); err != nil {
|
||||
return err
|
||||
}
|
||||
case *UptimeCheckConfig_TcpCheck_:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.TcpCheck); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("UptimeCheckConfig.CheckRequestType has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _UptimeCheckConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*UptimeCheckConfig)
|
||||
switch tag {
|
||||
case 3: // resource.monitored_resource
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_api4.MonitoredResource)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Resource = &UptimeCheckConfig_MonitoredResource{msg}
|
||||
return true, err
|
||||
case 4: // resource.resource_group
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UptimeCheckConfig_ResourceGroup)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Resource = &UptimeCheckConfig_ResourceGroup_{msg}
|
||||
return true, err
|
||||
case 5: // check_request_type.http_check
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UptimeCheckConfig_HttpCheck)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.CheckRequestType = &UptimeCheckConfig_HttpCheck_{msg}
|
||||
return true, err
|
||||
case 6: // check_request_type.tcp_check
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UptimeCheckConfig_TcpCheck)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.CheckRequestType = &UptimeCheckConfig_TcpCheck_{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _UptimeCheckConfig_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*UptimeCheckConfig)
|
||||
// resource
|
||||
switch x := m.Resource.(type) {
|
||||
case *UptimeCheckConfig_MonitoredResource:
|
||||
s := proto.Size(x.MonitoredResource)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *UptimeCheckConfig_ResourceGroup_:
|
||||
s := proto.Size(x.ResourceGroup)
|
||||
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
// check_request_type
|
||||
switch x := m.CheckRequestType.(type) {
|
||||
case *UptimeCheckConfig_HttpCheck_:
|
||||
s := proto.Size(x.HttpCheck)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *UptimeCheckConfig_TcpCheck_:
|
||||
s := proto.Size(x.TcpCheck)
|
||||
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// 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/<project_id>/groups/<group_id>.
|
||||
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
|
||||
// The resource type of the group members.
|
||||
ResourceType GroupResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,enum=google.monitoring.v3.GroupResourceType" json:"resource_type,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_ResourceGroup) Reset() { *m = UptimeCheckConfig_ResourceGroup{} }
|
||||
func (m *UptimeCheckConfig_ResourceGroup) String() string { return proto.CompactTextString(m) }
|
||||
func (*UptimeCheckConfig_ResourceGroup) ProtoMessage() {}
|
||||
func (*UptimeCheckConfig_ResourceGroup) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor5, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_ResourceGroup) GetGroupId() string {
|
||||
if m != nil {
|
||||
return m.GroupId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_ResourceGroup) GetResourceType() GroupResourceType {
|
||||
if m != nil {
|
||||
return m.ResourceType
|
||||
}
|
||||
return GroupResourceType_RESOURCE_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// Information involved in an HTTP/HTTPS uptime check request.
|
||||
type UptimeCheckConfig_HttpCheck struct {
|
||||
// If true, use HTTPS instead of HTTP to run the check.
|
||||
UseSsl bool `protobuf:"varint,1,opt,name=use_ssl,json=useSsl" json:"use_ssl,omitempty"`
|
||||
// The path to the page to run the check against. Will be combined with the
|
||||
// host (specified within the MonitoredResource) and port to construct the
|
||||
// full URL. Optional (defaults to "/").
|
||||
Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
|
||||
// The port to the page to run the check against. Will be combined with host
|
||||
// (specified within the MonitoredResource) and path to construct the full
|
||||
// URL. Optional (defaults to 80 without SSL, or 443 with SSL).
|
||||
Port int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
|
||||
// The authentication information. Optional when creating an HTTP check;
|
||||
// defaults to empty.
|
||||
AuthInfo *UptimeCheckConfig_HttpCheck_BasicAuthentication `protobuf:"bytes,4,opt,name=auth_info,json=authInfo" json:"auth_info,omitempty"`
|
||||
// Boolean specifiying whether to encrypt the header information.
|
||||
// Encryption should be specified for any headers related to authentication
|
||||
// that you do not wish to be seen when retrieving the configuration. The
|
||||
// server will be responsible for encrypting the headers.
|
||||
// On Get/List calls, if mask_headers is set to True then the headers
|
||||
// will be obscured with ******.
|
||||
MaskHeaders bool `protobuf:"varint,5,opt,name=mask_headers,json=maskHeaders" json:"mask_headers,omitempty"`
|
||||
// The list of headers to send as part of the uptime check request.
|
||||
// If two headers have the same key and different values, they should
|
||||
// be entered as a single header, with the value being a comma-separated
|
||||
// list of all the desired values as described at
|
||||
// https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31).
|
||||
// Entering two separate headers with the same key in a Create call will
|
||||
// cause the first to be overwritten by the second.
|
||||
Headers map[string]string `protobuf:"bytes,6,rep,name=headers" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck) Reset() { *m = UptimeCheckConfig_HttpCheck{} }
|
||||
func (m *UptimeCheckConfig_HttpCheck) String() string { return proto.CompactTextString(m) }
|
||||
func (*UptimeCheckConfig_HttpCheck) ProtoMessage() {}
|
||||
func (*UptimeCheckConfig_HttpCheck) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0, 1} }
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck) GetUseSsl() bool {
|
||||
if m != nil {
|
||||
return m.UseSsl
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck) GetPath() string {
|
||||
if m != nil {
|
||||
return m.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck) GetPort() int32 {
|
||||
if m != nil {
|
||||
return m.Port
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck) GetAuthInfo() *UptimeCheckConfig_HttpCheck_BasicAuthentication {
|
||||
if m != nil {
|
||||
return m.AuthInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck) GetMaskHeaders() bool {
|
||||
if m != nil {
|
||||
return m.MaskHeaders
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck) GetHeaders() map[string]string {
|
||||
if m != nil {
|
||||
return m.Headers
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A type of authentication to perform against the specified resource or URL
|
||||
// that uses username and password.
|
||||
// Currently, only Basic authentication is supported in Uptime Monitoring.
|
||||
type UptimeCheckConfig_HttpCheck_BasicAuthentication struct {
|
||||
// The username to authenticate.
|
||||
Username string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"`
|
||||
// The password to authenticate.
|
||||
Password string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) Reset() {
|
||||
*m = UptimeCheckConfig_HttpCheck_BasicAuthentication{}
|
||||
}
|
||||
func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) String() string {
|
||||
return proto.CompactTextString(m)
|
||||
}
|
||||
func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoMessage() {}
|
||||
func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor5, []int{0, 1, 0}
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetUsername() string {
|
||||
if m != nil {
|
||||
return m.Username
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetPassword() string {
|
||||
if m != nil {
|
||||
return m.Password
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Information required for a TCP uptime check request.
|
||||
type UptimeCheckConfig_TcpCheck struct {
|
||||
// The port to the page to run the check against. Will be combined with host
|
||||
// (specified within the MonitoredResource) to construct the full URL.
|
||||
// Required.
|
||||
Port int32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_TcpCheck) Reset() { *m = UptimeCheckConfig_TcpCheck{} }
|
||||
func (m *UptimeCheckConfig_TcpCheck) String() string { return proto.CompactTextString(m) }
|
||||
func (*UptimeCheckConfig_TcpCheck) ProtoMessage() {}
|
||||
func (*UptimeCheckConfig_TcpCheck) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0, 2} }
|
||||
|
||||
func (m *UptimeCheckConfig_TcpCheck) GetPort() int32 {
|
||||
if m != nil {
|
||||
return m.Port
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Used to perform string matching. Currently, this matches on the exact
|
||||
// content. In the future, it can be expanded to allow for regular expressions
|
||||
// and more complex matching.
|
||||
type UptimeCheckConfig_ContentMatcher struct {
|
||||
// String content to match
|
||||
Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_ContentMatcher) Reset() { *m = UptimeCheckConfig_ContentMatcher{} }
|
||||
func (m *UptimeCheckConfig_ContentMatcher) String() string { return proto.CompactTextString(m) }
|
||||
func (*UptimeCheckConfig_ContentMatcher) ProtoMessage() {}
|
||||
func (*UptimeCheckConfig_ContentMatcher) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor5, []int{0, 3}
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_ContentMatcher) GetContent() string {
|
||||
if m != nil {
|
||||
return m.Content
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Nimbus InternalCheckers.
|
||||
type UptimeCheckConfig_InternalChecker struct {
|
||||
// The GCP project ID. Not necessarily the same as the project_id for the config.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
// The internal network to perform this uptime check on.
|
||||
Network string `protobuf:"bytes,2,opt,name=network" 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,3,opt,name=gcp_zone,json=gcpZone" json:"gcp_zone,omitempty"`
|
||||
// The checker ID.
|
||||
CheckerId string `protobuf:"bytes,4,opt,name=checker_id,json=checkerId" json:"checker_id,omitempty"`
|
||||
// The checker's human-readable name.
|
||||
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_InternalChecker) Reset() { *m = UptimeCheckConfig_InternalChecker{} }
|
||||
func (m *UptimeCheckConfig_InternalChecker) String() string { return proto.CompactTextString(m) }
|
||||
func (*UptimeCheckConfig_InternalChecker) ProtoMessage() {}
|
||||
func (*UptimeCheckConfig_InternalChecker) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor5, []int{0, 4}
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_InternalChecker) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_InternalChecker) GetNetwork() string {
|
||||
if m != nil {
|
||||
return m.Network
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_InternalChecker) GetGcpZone() string {
|
||||
if m != nil {
|
||||
return m.GcpZone
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_InternalChecker) GetCheckerId() string {
|
||||
if m != nil {
|
||||
return m.CheckerId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckConfig_InternalChecker) GetDisplayName() string {
|
||||
if m != nil {
|
||||
return m.DisplayName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Contains the region, location, and list of IP
|
||||
// addresses where checkers in the location run from.
|
||||
type UptimeCheckIp struct {
|
||||
// A broad region category in which the IP address is located.
|
||||
Region UptimeCheckRegion `protobuf:"varint,1,opt,name=region,enum=google.monitoring.v3.UptimeCheckRegion" json:"region,omitempty"`
|
||||
// A more specific location within the region that typically encodes
|
||||
// a particular city/town/metro (and its containing state/province or country)
|
||||
// within the broader umbrella region category.
|
||||
Location string `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"`
|
||||
// The IP address from which the uptime check originates. This is a full
|
||||
// IP address (not an IP address range). Most IP addresses, as of this
|
||||
// publication, are in IPv4 format; however, one should not rely on the
|
||||
// IP addresses being in IPv4 format indefinitely and should support
|
||||
// interpreting this field in either IPv4 or IPv6 format.
|
||||
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UptimeCheckIp) Reset() { *m = UptimeCheckIp{} }
|
||||
func (m *UptimeCheckIp) String() string { return proto.CompactTextString(m) }
|
||||
func (*UptimeCheckIp) ProtoMessage() {}
|
||||
func (*UptimeCheckIp) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
|
||||
|
||||
func (m *UptimeCheckIp) GetRegion() UptimeCheckRegion {
|
||||
if m != nil {
|
||||
return m.Region
|
||||
}
|
||||
return UptimeCheckRegion_REGION_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *UptimeCheckIp) GetLocation() string {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UptimeCheckIp) GetIpAddress() string {
|
||||
if m != nil {
|
||||
return m.IpAddress
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*UptimeCheckConfig)(nil), "google.monitoring.v3.UptimeCheckConfig")
|
||||
proto.RegisterType((*UptimeCheckConfig_ResourceGroup)(nil), "google.monitoring.v3.UptimeCheckConfig.ResourceGroup")
|
||||
proto.RegisterType((*UptimeCheckConfig_HttpCheck)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck")
|
||||
proto.RegisterType((*UptimeCheckConfig_HttpCheck_BasicAuthentication)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication")
|
||||
proto.RegisterType((*UptimeCheckConfig_TcpCheck)(nil), "google.monitoring.v3.UptimeCheckConfig.TcpCheck")
|
||||
proto.RegisterType((*UptimeCheckConfig_ContentMatcher)(nil), "google.monitoring.v3.UptimeCheckConfig.ContentMatcher")
|
||||
proto.RegisterType((*UptimeCheckConfig_InternalChecker)(nil), "google.monitoring.v3.UptimeCheckConfig.InternalChecker")
|
||||
proto.RegisterType((*UptimeCheckIp)(nil), "google.monitoring.v3.UptimeCheckIp")
|
||||
proto.RegisterEnum("google.monitoring.v3.UptimeCheckRegion", UptimeCheckRegion_name, UptimeCheckRegion_value)
|
||||
proto.RegisterEnum("google.monitoring.v3.GroupResourceType", GroupResourceType_name, GroupResourceType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/monitoring/v3/uptime.proto", fileDescriptor5) }
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
// 1021 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x4e, 0xe3, 0x46,
|
||||
0x14, 0x5e, 0x13, 0xc8, 0xcf, 0x21, 0xb0, 0x66, 0x4a, 0xdb, 0x60, 0x89, 0x15, 0xbb, 0xbd, 0x28,
|
||||
0xe2, 0xc2, 0xe9, 0x12, 0xf5, 0x47, 0x5b, 0x69, 0x2b, 0x27, 0xb8, 0xc4, 0x12, 0x24, 0xd1, 0x84,
|
||||
0x6c, 0xdb, 0x2d, 0xaa, 0x65, 0xec, 0x21, 0x71, 0x49, 0x3c, 0xae, 0x67, 0xcc, 0x96, 0xbe, 0x42,
|
||||
0x1f, 0xa3, 0x17, 0x95, 0xfa, 0x04, 0x7d, 0x86, 0xbe, 0x4d, 0xdf, 0xa0, 0x9a, 0xf1, 0x4c, 0x20,
|
||||
0x40, 0xb5, 0x70, 0x37, 0xdf, 0xf9, 0xf9, 0xe6, 0x1c, 0x9f, 0x9f, 0x31, 0x3c, 0x1f, 0x53, 0x3a,
|
||||
0x9e, 0x92, 0xe6, 0x8c, 0x26, 0x31, 0xa7, 0x59, 0x9c, 0x8c, 0x9b, 0x97, 0xad, 0x66, 0x9e, 0xf2,
|
||||
0x78, 0x46, 0xec, 0x34, 0xa3, 0x9c, 0xa2, 0xcd, 0xc2, 0xc4, 0xbe, 0x36, 0xb1, 0x2f, 0x5b, 0xd6,
|
||||
0x27, 0xca, 0x31, 0x48, 0x63, 0xed, 0x4c, 0x22, 0x3f, 0x23, 0x8c, 0xe6, 0x59, 0xa8, 0x5c, 0xad,
|
||||
0x67, 0xca, 0x48, 0xa2, 0xb3, 0xfc, 0xbc, 0x19, 0xe5, 0x59, 0xc0, 0x63, 0x9a, 0x14, 0xfa, 0x17,
|
||||
0xff, 0xd6, 0x61, 0x63, 0x24, 0xef, 0xea, 0x4c, 0x48, 0x78, 0xd1, 0xa1, 0xc9, 0x79, 0x3c, 0x46,
|
||||
0x08, 0x96, 0x93, 0x60, 0x46, 0x1a, 0xc6, 0x8e, 0xb1, 0x5b, 0xc3, 0xf2, 0x8c, 0x9e, 0x43, 0x3d,
|
||||
0x8a, 0x59, 0x3a, 0x0d, 0xae, 0x7c, 0xa9, 0x5b, 0x92, 0xba, 0x55, 0x25, 0xeb, 0x09, 0x93, 0x1e,
|
||||
0xa0, 0xbb, 0x81, 0x34, 0x4a, 0x3b, 0xc6, 0xee, 0xea, 0xfe, 0xb6, 0xad, 0x92, 0x08, 0xd2, 0xd8,
|
||||
0x3e, 0xd6, 0x56, 0x58, 0x19, 0x75, 0x9f, 0xe0, 0x8d, 0xd9, 0x6d, 0x21, 0xfa, 0x09, 0xd6, 0x35,
|
||||
0x8b, 0x3f, 0xce, 0x68, 0x9e, 0x36, 0x96, 0x25, 0xd7, 0xe7, 0xf6, 0x7d, 0x1f, 0xc4, 0xbe, 0x93,
|
||||
0x87, 0xad, 0x99, 0x0e, 0x85, 0x73, 0xf7, 0x09, 0x5e, 0xcb, 0x6e, 0x0a, 0x10, 0x06, 0x98, 0x70,
|
||||
0x9e, 0xfa, 0xa1, 0x70, 0x69, 0xac, 0x48, 0xee, 0x97, 0x0f, 0xe5, 0xee, 0x72, 0x9e, 0x4a, 0xdc,
|
||||
0x35, 0x70, 0x6d, 0xa2, 0x01, 0xea, 0x43, 0x8d, 0x87, 0x9a, 0xb2, 0x2c, 0x29, 0x3f, 0x7b, 0x28,
|
||||
0xe5, 0x49, 0x38, 0x67, 0xac, 0x72, 0x75, 0x46, 0x2f, 0xa1, 0x9c, 0x92, 0x2c, 0xa6, 0x51, 0xa3,
|
||||
0x22, 0xd9, 0xb6, 0x34, 0x9b, 0x2e, 0xa9, 0x7d, 0xa0, 0x4a, 0x8a, 0x95, 0x21, 0x6a, 0x41, 0x45,
|
||||
0x50, 0xd3, 0x9c, 0x37, 0xaa, 0xef, 0xf3, 0xd1, 0x96, 0x28, 0x00, 0x33, 0xa4, 0x09, 0x27, 0x09,
|
||||
0xf7, 0x67, 0x01, 0x0f, 0x27, 0x24, 0x63, 0x8d, 0xda, 0x4e, 0x69, 0x77, 0x75, 0xff, 0x8b, 0x87,
|
||||
0xc6, 0xdf, 0x29, 0xfc, 0x8f, 0x0b, 0x77, 0xfc, 0x34, 0x5c, 0xc0, 0x0c, 0x61, 0x30, 0x19, 0x99,
|
||||
0x92, 0x90, 0xcb, 0xf6, 0x18, 0xc7, 0x34, 0x61, 0x0d, 0xd8, 0x29, 0xed, 0xae, 0xef, 0x7f, 0xfa,
|
||||
0xde, 0x2b, 0xb0, 0xb4, 0xc7, 0x4f, 0x35, 0x41, 0x81, 0x19, 0x8a, 0x60, 0x23, 0x4e, 0x38, 0xc9,
|
||||
0x92, 0x60, 0x5a, 0x7c, 0x74, 0x11, 0xf7, 0xba, 0x8c, 0xfb, 0xcb, 0x87, 0xc6, 0xed, 0x29, 0x82,
|
||||
0x4e, 0xe1, 0x8f, 0xcd, 0x78, 0x51, 0xc0, 0xac, 0x5f, 0x61, 0x6d, 0xa1, 0x97, 0xd0, 0x16, 0x54,
|
||||
0x65, 0x47, 0xfa, 0x71, 0xa4, 0xa6, 0xa4, 0x22, 0xb1, 0x17, 0xa1, 0x23, 0x98, 0xb7, 0x99, 0xcf,
|
||||
0xaf, 0xd2, 0x62, 0x52, 0xfe, 0x37, 0x45, 0x49, 0xa7, 0xb9, 0x4f, 0xae, 0x52, 0x82, 0xeb, 0xd9,
|
||||
0x0d, 0x64, 0xfd, 0x5d, 0x82, 0xda, 0xbc, 0xd5, 0xd0, 0xc7, 0x50, 0xc9, 0x19, 0xf1, 0x19, 0x9b,
|
||||
0xca, 0x5b, 0xab, 0xb8, 0x9c, 0x33, 0x32, 0x64, 0x53, 0x31, 0xb1, 0x69, 0xc0, 0x27, 0x6a, 0x2a,
|
||||
0xe5, 0x59, 0xca, 0x68, 0xc6, 0xe5, 0x00, 0xae, 0x60, 0x79, 0x46, 0x67, 0x50, 0x0b, 0x72, 0x3e,
|
||||
0xf1, 0xe3, 0xe4, 0x9c, 0xaa, 0x69, 0x72, 0x1f, 0xdd, 0xf1, 0x76, 0x3b, 0x60, 0x71, 0xe8, 0xe4,
|
||||
0x7c, 0x42, 0x12, 0x1e, 0x87, 0x45, 0x23, 0x55, 0x05, 0xaf, 0x97, 0x9c, 0x53, 0xb1, 0x29, 0x66,
|
||||
0x01, 0xbb, 0xf0, 0x27, 0x24, 0x88, 0x44, 0x35, 0x56, 0x64, 0xa4, 0xab, 0x42, 0xd6, 0x2d, 0x44,
|
||||
0xe8, 0x7b, 0xa8, 0x68, 0x6d, 0x59, 0xd6, 0xea, 0xf5, 0xe3, 0x83, 0x50, 0x5c, 0x6e, 0xc2, 0xb3,
|
||||
0x2b, 0xac, 0xe9, 0xac, 0x63, 0xf8, 0xe0, 0x9e, 0xe8, 0x90, 0x05, 0xd5, 0x9c, 0x89, 0x9a, 0xce,
|
||||
0xb7, 0xda, 0x1c, 0x0b, 0x5d, 0x1a, 0x30, 0xf6, 0x8e, 0x66, 0x91, 0xfa, 0x7e, 0x73, 0x6c, 0xbd,
|
||||
0x82, 0xfa, 0xcd, 0x7b, 0x90, 0x09, 0xa5, 0x0b, 0x72, 0xa5, 0x28, 0xc4, 0x11, 0x6d, 0xc2, 0xca,
|
||||
0x65, 0x30, 0xcd, 0xf5, 0x42, 0x2c, 0xc0, 0xab, 0xa5, 0xaf, 0x0c, 0xeb, 0x19, 0x54, 0xf5, 0x44,
|
||||
0xcf, 0x6b, 0x61, 0x5c, 0xd7, 0xc2, 0xda, 0x83, 0xf5, 0xc5, 0x89, 0x41, 0x0d, 0xa8, 0xa8, 0x99,
|
||||
0xd1, 0x4d, 0xa5, 0xa0, 0xf5, 0xa7, 0x01, 0x4f, 0x6f, 0xb5, 0x29, 0xda, 0x06, 0x48, 0x33, 0xfa,
|
||||
0x33, 0x09, 0xf9, 0x75, 0x17, 0xd6, 0x94, 0xc4, 0x8b, 0x04, 0x59, 0x42, 0xf8, 0x3b, 0x9a, 0x5d,
|
||||
0xa8, 0xd0, 0x34, 0x94, 0xcd, 0x1b, 0xa6, 0xfe, 0x6f, 0x34, 0x29, 0xb6, 0xb3, 0x68, 0xde, 0x30,
|
||||
0x7d, 0x4b, 0x13, 0x22, 0x38, 0xd5, 0x14, 0x09, 0xce, 0xe5, 0x82, 0x53, 0x49, 0xbc, 0xe8, 0xce,
|
||||
0x23, 0xb0, 0x72, 0xe7, 0x11, 0x68, 0x03, 0x54, 0x75, 0x03, 0xb7, 0x37, 0x01, 0x49, 0x5f, 0x3f,
|
||||
0x23, 0xbf, 0xe4, 0x84, 0x71, 0x39, 0x0f, 0x2f, 0x7e, 0x37, 0x60, 0xed, 0x46, 0x61, 0xbd, 0x14,
|
||||
0x7d, 0x03, 0xe5, 0x62, 0x1f, 0xc8, 0x2c, 0x1e, 0xb1, 0x0e, 0x94, 0x9b, 0x28, 0xe1, 0x94, 0x16,
|
||||
0xa5, 0xd6, 0x25, 0xd4, 0x58, 0xa4, 0x14, 0xa7, 0x7e, 0x10, 0x45, 0x19, 0x61, 0x4c, 0xe5, 0x5b,
|
||||
0x8b, 0x53, 0xa7, 0x10, 0xec, 0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x16, 0x04, 0x9d, 0x29, 0xcd, 0x23, 0xfd, 0x94, 0x8b, 0xbb, 0xde, 0xb4, 0xfe,
|
||||
0xd1, 0xca, 0x53, 0xa9, 0x3c, 0xbd, 0x56, 0x9e, 0xbe, 0x69, 0x9d, 0x95, 0xe5, 0x25, 0xad, 0xff,
|
||||
0x02, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xa5, 0xbc, 0x87, 0xf2, 0x08, 0x00, 0x00,
|
||||
}
|
591
vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go
generated
vendored
Normal file
591
vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go
generated
vendored
Normal file
@@ -0,0 +1,591 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/monitoring/v3/uptime_service.proto
|
||||
|
||||
package monitoring
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/empty"
|
||||
import google_protobuf5 "google.golang.org/genproto/protobuf/field_mask"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// The protocol for the `ListUptimeCheckConfigs` request.
|
||||
type ListUptimeCheckConfigsRequest struct {
|
||||
// The project whose uptime check configurations are listed. The format is
|
||||
//
|
||||
// `projects/[PROJECT_ID]`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// The maximum number of results to return in a single response. The server
|
||||
// may further constrain the maximum number of results returned in a single
|
||||
// page. If the page_size is <=0, the server will decide the number of results
|
||||
// to be returned.
|
||||
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" 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,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckConfigsRequest) Reset() { *m = ListUptimeCheckConfigsRequest{} }
|
||||
func (m *ListUptimeCheckConfigsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListUptimeCheckConfigsRequest) ProtoMessage() {}
|
||||
func (*ListUptimeCheckConfigsRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
|
||||
|
||||
func (m *ListUptimeCheckConfigsRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckConfigsRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckConfigsRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The protocol for the `ListUptimeCheckConfigs` response.
|
||||
type ListUptimeCheckConfigsResponse struct {
|
||||
// The returned uptime check configurations.
|
||||
UptimeCheckConfigs []*UptimeCheckConfig `protobuf:"bytes,1,rep,name=uptime_check_configs,json=uptimeCheckConfigs" json:"uptime_check_configs,omitempty"`
|
||||
// This field represents the pagination token to retrieve the next page of
|
||||
// results. If the value is empty, it means no further results for the
|
||||
// request. To retrieve the next page of results, the value of the
|
||||
// next_page_token is passed to the subsequent List method call (in the
|
||||
// request message's page_token field).
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckConfigsResponse) Reset() { *m = ListUptimeCheckConfigsResponse{} }
|
||||
func (m *ListUptimeCheckConfigsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListUptimeCheckConfigsResponse) ProtoMessage() {}
|
||||
func (*ListUptimeCheckConfigsResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
|
||||
|
||||
func (m *ListUptimeCheckConfigsResponse) GetUptimeCheckConfigs() []*UptimeCheckConfig {
|
||||
if m != nil {
|
||||
return m.UptimeCheckConfigs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckConfigsResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The protocol for the `GetUptimeCheckConfig` request.
|
||||
type GetUptimeCheckConfigRequest struct {
|
||||
// The uptime check configuration to retrieve. The format is
|
||||
//
|
||||
// `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetUptimeCheckConfigRequest) Reset() { *m = GetUptimeCheckConfigRequest{} }
|
||||
func (m *GetUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetUptimeCheckConfigRequest) ProtoMessage() {}
|
||||
func (*GetUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} }
|
||||
|
||||
func (m *GetUptimeCheckConfigRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The protocol for the `CreateUptimeCheckConfig` request.
|
||||
type CreateUptimeCheckConfigRequest struct {
|
||||
// The project in which to create the uptime check. The format is:
|
||||
//
|
||||
// `projects/[PROJECT_ID]`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// The new uptime check configuration.
|
||||
UptimeCheckConfig *UptimeCheckConfig `protobuf:"bytes,2,opt,name=uptime_check_config,json=uptimeCheckConfig" json:"uptime_check_config,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateUptimeCheckConfigRequest) Reset() { *m = CreateUptimeCheckConfigRequest{} }
|
||||
func (m *CreateUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateUptimeCheckConfigRequest) ProtoMessage() {}
|
||||
func (*CreateUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{3} }
|
||||
|
||||
func (m *CreateUptimeCheckConfigRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig {
|
||||
if m != nil {
|
||||
return m.UptimeCheckConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The protocol for the `UpdateUptimeCheckConfig` request.
|
||||
type UpdateUptimeCheckConfigRequest struct {
|
||||
// Optional. If present, only the listed fields in the current uptime check
|
||||
// configuration are updated with values from the new configuration. If this
|
||||
// field is empty, then the current configuration is completely replaced with
|
||||
// the new configuration.
|
||||
UpdateMask *google_protobuf5.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
|
||||
// Required. If an `"updateMask"` has been specified, this field gives
|
||||
// the values for the set of fields mentioned in the `"updateMask"`. If an
|
||||
// `"updateMask"` has not been given, this uptime check configuration replaces
|
||||
// the current configuration. If a field is mentioned in `"updateMask`" but
|
||||
// the corresonding field is omitted in this partial uptime check
|
||||
// configuration, it has the effect of deleting/clearing the field from the
|
||||
// configuration on the server.
|
||||
UptimeCheckConfig *UptimeCheckConfig `protobuf:"bytes,3,opt,name=uptime_check_config,json=uptimeCheckConfig" json:"uptime_check_config,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateUptimeCheckConfigRequest) Reset() { *m = UpdateUptimeCheckConfigRequest{} }
|
||||
func (m *UpdateUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateUptimeCheckConfigRequest) ProtoMessage() {}
|
||||
func (*UpdateUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{4} }
|
||||
|
||||
func (m *UpdateUptimeCheckConfigRequest) GetUpdateMask() *google_protobuf5.FieldMask {
|
||||
if m != nil {
|
||||
return m.UpdateMask
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig {
|
||||
if m != nil {
|
||||
return m.UptimeCheckConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The protocol for the `DeleteUptimeCheckConfig` request.
|
||||
type DeleteUptimeCheckConfigRequest struct {
|
||||
// The uptime check configuration to delete. The format is
|
||||
//
|
||||
// `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteUptimeCheckConfigRequest) Reset() { *m = DeleteUptimeCheckConfigRequest{} }
|
||||
func (m *DeleteUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteUptimeCheckConfigRequest) ProtoMessage() {}
|
||||
func (*DeleteUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{5} }
|
||||
|
||||
func (m *DeleteUptimeCheckConfigRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The protocol for the `ListUptimeCheckIps` request.
|
||||
type ListUptimeCheckIpsRequest struct {
|
||||
// The maximum number of results to return in a single response. The server
|
||||
// may further constrain the maximum number of results returned in a single
|
||||
// page. If the page_size is <=0, the server will decide the number of results
|
||||
// to be returned.
|
||||
// NOTE: this field is not yet implemented
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" 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.
|
||||
// NOTE: this field is not yet implemented
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckIpsRequest) Reset() { *m = ListUptimeCheckIpsRequest{} }
|
||||
func (m *ListUptimeCheckIpsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListUptimeCheckIpsRequest) ProtoMessage() {}
|
||||
func (*ListUptimeCheckIpsRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{6} }
|
||||
|
||||
func (m *ListUptimeCheckIpsRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckIpsRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The protocol for the `ListUptimeCheckIps` response.
|
||||
type ListUptimeCheckIpsResponse struct {
|
||||
// The returned list of IP addresses (including region and location) that the
|
||||
// checkers run from.
|
||||
UptimeCheckIps []*UptimeCheckIp `protobuf:"bytes,1,rep,name=uptime_check_ips,json=uptimeCheckIps" json:"uptime_check_ips,omitempty"`
|
||||
// This field represents the pagination token to retrieve the next page of
|
||||
// results. If the value is empty, it means no further results for the
|
||||
// request. To retrieve the next page of results, the value of the
|
||||
// next_page_token is passed to the subsequent List method call (in the
|
||||
// request message's page_token field).
|
||||
// NOTE: this field is not yet implemented
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckIpsResponse) Reset() { *m = ListUptimeCheckIpsResponse{} }
|
||||
func (m *ListUptimeCheckIpsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListUptimeCheckIpsResponse) ProtoMessage() {}
|
||||
func (*ListUptimeCheckIpsResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{7} }
|
||||
|
||||
func (m *ListUptimeCheckIpsResponse) GetUptimeCheckIps() []*UptimeCheckIp {
|
||||
if m != nil {
|
||||
return m.UptimeCheckIps
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListUptimeCheckIpsResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ListUptimeCheckConfigsRequest)(nil), "google.monitoring.v3.ListUptimeCheckConfigsRequest")
|
||||
proto.RegisterType((*ListUptimeCheckConfigsResponse)(nil), "google.monitoring.v3.ListUptimeCheckConfigsResponse")
|
||||
proto.RegisterType((*GetUptimeCheckConfigRequest)(nil), "google.monitoring.v3.GetUptimeCheckConfigRequest")
|
||||
proto.RegisterType((*CreateUptimeCheckConfigRequest)(nil), "google.monitoring.v3.CreateUptimeCheckConfigRequest")
|
||||
proto.RegisterType((*UpdateUptimeCheckConfigRequest)(nil), "google.monitoring.v3.UpdateUptimeCheckConfigRequest")
|
||||
proto.RegisterType((*DeleteUptimeCheckConfigRequest)(nil), "google.monitoring.v3.DeleteUptimeCheckConfigRequest")
|
||||
proto.RegisterType((*ListUptimeCheckIpsRequest)(nil), "google.monitoring.v3.ListUptimeCheckIpsRequest")
|
||||
proto.RegisterType((*ListUptimeCheckIpsResponse)(nil), "google.monitoring.v3.ListUptimeCheckIpsResponse")
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
// Client API for UptimeCheckService service
|
||||
|
||||
type UptimeCheckServiceClient interface {
|
||||
// Lists the existing valid uptime check configurations for the project,
|
||||
// leaving out any invalid configurations.
|
||||
ListUptimeCheckConfigs(ctx context.Context, in *ListUptimeCheckConfigsRequest, opts ...grpc.CallOption) (*ListUptimeCheckConfigsResponse, error)
|
||||
// Gets a single uptime check configuration.
|
||||
GetUptimeCheckConfig(ctx context.Context, in *GetUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error)
|
||||
// Creates a new uptime check configuration.
|
||||
CreateUptimeCheckConfig(ctx context.Context, in *CreateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error)
|
||||
// Updates an uptime check configuration. You can either replace the entire
|
||||
// configuration with a new one or replace only certain fields in the current
|
||||
// configuration by specifying the fields to be updated via `"updateMask"`.
|
||||
// Returns the updated configuration.
|
||||
UpdateUptimeCheckConfig(ctx context.Context, in *UpdateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error)
|
||||
// Deletes an uptime check configuration. Note that this method will fail
|
||||
// if the uptime check configuration is referenced by an alert policy or
|
||||
// other dependent configs that would be rendered invalid by the deletion.
|
||||
DeleteUptimeCheckConfig(ctx context.Context, in *DeleteUptimeCheckConfigRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error)
|
||||
// Returns the list of IPs that checkers run from
|
||||
ListUptimeCheckIps(ctx context.Context, in *ListUptimeCheckIpsRequest, opts ...grpc.CallOption) (*ListUptimeCheckIpsResponse, error)
|
||||
}
|
||||
|
||||
type uptimeCheckServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewUptimeCheckServiceClient(cc *grpc.ClientConn) UptimeCheckServiceClient {
|
||||
return &uptimeCheckServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *uptimeCheckServiceClient) ListUptimeCheckConfigs(ctx context.Context, in *ListUptimeCheckConfigsRequest, opts ...grpc.CallOption) (*ListUptimeCheckConfigsResponse, error) {
|
||||
out := new(ListUptimeCheckConfigsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckConfigs", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *uptimeCheckServiceClient) GetUptimeCheckConfig(ctx context.Context, in *GetUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) {
|
||||
out := new(UptimeCheckConfig)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/GetUptimeCheckConfig", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *uptimeCheckServiceClient) CreateUptimeCheckConfig(ctx context.Context, in *CreateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) {
|
||||
out := new(UptimeCheckConfig)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/CreateUptimeCheckConfig", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *uptimeCheckServiceClient) UpdateUptimeCheckConfig(ctx context.Context, in *UpdateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) {
|
||||
out := new(UptimeCheckConfig)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/UpdateUptimeCheckConfig", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *uptimeCheckServiceClient) DeleteUptimeCheckConfig(ctx context.Context, in *DeleteUptimeCheckConfigRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error) {
|
||||
out := new(google_protobuf4.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/DeleteUptimeCheckConfig", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *uptimeCheckServiceClient) ListUptimeCheckIps(ctx context.Context, in *ListUptimeCheckIpsRequest, opts ...grpc.CallOption) (*ListUptimeCheckIpsResponse, error) {
|
||||
out := new(ListUptimeCheckIpsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckIps", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for UptimeCheckService service
|
||||
|
||||
type UptimeCheckServiceServer interface {
|
||||
// Lists the existing valid uptime check configurations for the project,
|
||||
// leaving out any invalid configurations.
|
||||
ListUptimeCheckConfigs(context.Context, *ListUptimeCheckConfigsRequest) (*ListUptimeCheckConfigsResponse, error)
|
||||
// Gets a single uptime check configuration.
|
||||
GetUptimeCheckConfig(context.Context, *GetUptimeCheckConfigRequest) (*UptimeCheckConfig, error)
|
||||
// Creates a new uptime check configuration.
|
||||
CreateUptimeCheckConfig(context.Context, *CreateUptimeCheckConfigRequest) (*UptimeCheckConfig, error)
|
||||
// Updates an uptime check configuration. You can either replace the entire
|
||||
// configuration with a new one or replace only certain fields in the current
|
||||
// configuration by specifying the fields to be updated via `"updateMask"`.
|
||||
// Returns the updated configuration.
|
||||
UpdateUptimeCheckConfig(context.Context, *UpdateUptimeCheckConfigRequest) (*UptimeCheckConfig, error)
|
||||
// Deletes an uptime check configuration. Note that this method will fail
|
||||
// if the uptime check configuration is referenced by an alert policy or
|
||||
// other dependent configs that would be rendered invalid by the deletion.
|
||||
DeleteUptimeCheckConfig(context.Context, *DeleteUptimeCheckConfigRequest) (*google_protobuf4.Empty, error)
|
||||
// Returns the list of IPs that checkers run from
|
||||
ListUptimeCheckIps(context.Context, *ListUptimeCheckIpsRequest) (*ListUptimeCheckIpsResponse, error)
|
||||
}
|
||||
|
||||
func RegisterUptimeCheckServiceServer(s *grpc.Server, srv UptimeCheckServiceServer) {
|
||||
s.RegisterService(&_UptimeCheckService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _UptimeCheckService_ListUptimeCheckConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListUptimeCheckConfigsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(UptimeCheckServiceServer).ListUptimeCheckConfigs(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckConfigs",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(UptimeCheckServiceServer).ListUptimeCheckConfigs(ctx, req.(*ListUptimeCheckConfigsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _UptimeCheckService_GetUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetUptimeCheckConfigRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(UptimeCheckServiceServer).GetUptimeCheckConfig(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.monitoring.v3.UptimeCheckService/GetUptimeCheckConfig",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(UptimeCheckServiceServer).GetUptimeCheckConfig(ctx, req.(*GetUptimeCheckConfigRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _UptimeCheckService_CreateUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateUptimeCheckConfigRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(UptimeCheckServiceServer).CreateUptimeCheckConfig(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.monitoring.v3.UptimeCheckService/CreateUptimeCheckConfig",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(UptimeCheckServiceServer).CreateUptimeCheckConfig(ctx, req.(*CreateUptimeCheckConfigRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _UptimeCheckService_UpdateUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateUptimeCheckConfigRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(UptimeCheckServiceServer).UpdateUptimeCheckConfig(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.monitoring.v3.UptimeCheckService/UpdateUptimeCheckConfig",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(UptimeCheckServiceServer).UpdateUptimeCheckConfig(ctx, req.(*UpdateUptimeCheckConfigRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _UptimeCheckService_DeleteUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteUptimeCheckConfigRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(UptimeCheckServiceServer).DeleteUptimeCheckConfig(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.monitoring.v3.UptimeCheckService/DeleteUptimeCheckConfig",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(UptimeCheckServiceServer).DeleteUptimeCheckConfig(ctx, req.(*DeleteUptimeCheckConfigRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _UptimeCheckService_ListUptimeCheckIps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListUptimeCheckIpsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(UptimeCheckServiceServer).ListUptimeCheckIps(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckIps",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(UptimeCheckServiceServer).ListUptimeCheckIps(ctx, req.(*ListUptimeCheckIpsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _UptimeCheckService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.monitoring.v3.UptimeCheckService",
|
||||
HandlerType: (*UptimeCheckServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListUptimeCheckConfigs",
|
||||
Handler: _UptimeCheckService_ListUptimeCheckConfigs_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetUptimeCheckConfig",
|
||||
Handler: _UptimeCheckService_GetUptimeCheckConfig_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateUptimeCheckConfig",
|
||||
Handler: _UptimeCheckService_CreateUptimeCheckConfig_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateUptimeCheckConfig",
|
||||
Handler: _UptimeCheckService_UpdateUptimeCheckConfig_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteUptimeCheckConfig",
|
||||
Handler: _UptimeCheckService_DeleteUptimeCheckConfig_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ListUptimeCheckIps",
|
||||
Handler: _UptimeCheckService_ListUptimeCheckIps_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/monitoring/v3/uptime_service.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/monitoring/v3/uptime_service.proto", fileDescriptor6) }
|
||||
|
||||
var fileDescriptor6 = []byte{
|
||||
// 735 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdf, 0x4e, 0x13, 0x4f,
|
||||
0x14, 0xce, 0xb4, 0xfc, 0x08, 0x1c, 0xf2, 0xf3, 0xcf, 0xd8, 0x40, 0x5d, 0xa4, 0xa9, 0x35, 0x51,
|
||||
0x6c, 0xcc, 0xae, 0xb4, 0x5c, 0x49, 0x24, 0x91, 0xaa, 0x84, 0x44, 0x12, 0x52, 0x04, 0xa2, 0x92,
|
||||
0x34, 0x4b, 0x19, 0xd6, 0xb5, 0xed, 0xce, 0xd8, 0x99, 0x25, 0x8a, 0xe1, 0xc6, 0x37, 0x30, 0x5c,
|
||||
0x7a, 0x69, 0xe2, 0x05, 0x0f, 0xa0, 0xd7, 0x5e, 0x99, 0x78, 0x6b, 0x7c, 0x03, 0x1f, 0xc4, 0xec,
|
||||
0xec, 0x2c, 0xa5, 0xed, 0xec, 0xba, 0x8d, 0x77, 0xdd, 0x39, 0x67, 0xce, 0xf9, 0xce, 0xb7, 0xdf,
|
||||
0xf9,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,
|
||||
0x09, 0x7e, 0x06, 0x39, 0xc5, 0x62, 0x33, 0x08, 0x37, 0x9a, 0x61, 0x3c, 0x8f, 0x8a, 0xd9, 0xf9,
|
||||
0xa9, 0xca, 0x2d, 0x53, 0x47, 0xa6, 0x39, 0x54, 0xaf, 0x8e, 0xfd, 0xa1, 0x16, 0xf8, 0x26, 0x5c,
|
||||
0xf4, 0xc8, 0x1b, 0xd1, 0x38, 0x87, 0x30, 0x23, 0x11, 0xfe, 0x1f, 0x1c, 0x6f, 0x9c, 0xa1, 0x5c,
|
||||
0x80, 0xd9, 0x55, 0x32, 0x8c, 0x31, 0x22, 0x06, 0xc3, 0x98, 0x67, 0x77, 0x88, 0xa2, 0x45, 0xfe,
|
||||
0x2e, 0x7d, 0x40, 0x50, 0xa8, 0x75, 0x89, 0x2d, 0x48, 0xec, 0xb5, 0x38, 0x3e, 0x77, 0xe0, 0x8a,
|
||||
0x66, 0x60, 0x89, 0x6c, 0x84, 0x79, 0x2f, 0x0f, 0xcd, 0x5b, 0xfa, 0x82, 0xa0, 0xb0, 0xc5, 0xf6,
|
||||
0x93, 0x30, 0x2d, 0xc1, 0x94, 0x2f, 0x33, 0xa4, 0x32, 0x54, 0x4f, 0x23, 0xea, 0x19, 0x89, 0xc7,
|
||||
0x7c, 0x1c, 0x88, 0x67, 0xdd, 0xe6, 0xad, 0x3a, 0x84, 0xe9, 0xc1, 0xef, 0x38, 0xe0, 0xd9, 0x7f,
|
||||
0x06, 0xbe, 0x08, 0x85, 0x87, 0xa4, 0x4d, 0x12, 0x70, 0xeb, 0x5e, 0xc1, 0x0e, 0x5c, 0x1d, 0x90,
|
||||
0xd6, 0x1a, 0x3b, 0x13, 0x73, 0x9f, 0x68, 0x33, 0x89, 0xa2, 0xcd, 0x0e, 0x8a, 0xf6, 0x04, 0x81,
|
||||
0xa1, 0xab, 0xac, 0x04, 0xbb, 0x0e, 0x97, 0xfa, 0x68, 0x70, 0x59, 0x24, 0xd6, 0x1b, 0x7f, 0xe5,
|
||||
0x60, 0x8d, 0xd5, 0x2f, 0xf8, 0x7d, 0x65, 0xd3, 0x8a, 0xb4, 0xf2, 0x7d, 0x02, 0xf0, 0xb9, 0x4a,
|
||||
0x9b, 0xa1, 0xe5, 0xe0, 0xaf, 0x08, 0xa6, 0xf5, 0x1b, 0x86, 0xab, 0x7a, 0x38, 0x89, 0x2e, 0x60,
|
||||
0x2c, 0x8e, 0x76, 0x29, 0xe4, 0xa4, 0x54, 0x79, 0xff, 0xf3, 0xf7, 0x49, 0xe6, 0x0e, 0x2e, 0x07,
|
||||
0xae, 0xf5, 0x2e, 0x14, 0xfa, 0x7d, 0xd6, 0xa5, 0xaf, 0x48, 0x53, 0x70, 0xab, 0x7c, 0x6c, 0x69,
|
||||
0xb6, 0xf3, 0x33, 0x82, 0x9c, 0x6e, 0xed, 0xf0, 0x82, 0x1e, 0x42, 0xc2, 0x8a, 0x1a, 0x69, 0xd5,
|
||||
0x37, 0x00, 0x34, 0xd0, 0xd1, 0x39, 0x98, 0x1a, 0x94, 0x56, 0xf9, 0x18, 0x7f, 0x43, 0x30, 0x13,
|
||||
0xb3, 0xeb, 0x38, 0x86, 0xae, 0x64, 0x6b, 0x48, 0x0f, 0x77, 0x55, 0xc2, 0x7d, 0x50, 0x1a, 0x81,
|
||||
0xd7, 0x7b, 0xba, 0x25, 0xc5, 0xbf, 0x10, 0xcc, 0xc4, 0x78, 0x43, 0xdc, 0x0c, 0xc9, 0x56, 0x92,
|
||||
0x7e, 0x86, 0x17, 0x72, 0x86, 0xad, 0xca, 0xb2, 0x9c, 0x41, 0x03, 0xce, 0x4c, 0xf5, 0x1a, 0xf4,
|
||||
0x73, 0x7d, 0x44, 0x30, 0x13, 0xe3, 0x1d, 0x71, 0x73, 0x25, 0x5b, 0x8d, 0x31, 0x3d, 0xe4, 0x86,
|
||||
0x8f, 0x82, 0xff, 0xd9, 0x48, 0x39, 0xe5, 0x51, 0x94, 0x73, 0x82, 0x00, 0x0f, 0x3b, 0x09, 0xb6,
|
||||
0x52, 0xed, 0x58, 0xcf, 0xcd, 0x8c, 0xbb, 0xe9, 0x2f, 0xa8, 0x85, 0x34, 0x24, 0xda, 0x1c, 0xc6,
|
||||
0xbd, 0xcf, 0x88, 0x28, 0x67, 0xe5, 0x14, 0x41, 0xbe, 0x49, 0x3b, 0xda, 0x9a, 0x2b, 0xca, 0x63,
|
||||
0x94, 0xbd, 0x6c, 0x04, 0x1c, 0x6c, 0xa0, 0xe7, 0xcb, 0x2a, 0xd7, 0xa1, 0x6d, 0xdb, 0x73, 0x4c,
|
||||
0xda, 0x75, 0x2c, 0x87, 0x78, 0x92, 0x21, 0x2b, 0x0c, 0xd9, 0xcc, 0xe5, 0xfd, 0x5f, 0x2f, 0x4b,
|
||||
0xbd, 0xa7, 0xd3, 0x8c, 0xb1, 0x1a, 0x16, 0xa8, 0xb5, 0xa9, 0xbf, 0x6f, 0xae, 0xf7, 0x5a, 0x6e,
|
||||
0x57, 0x7f, 0x44, 0xc1, 0x5d, 0x19, 0xdc, 0xed, 0x05, 0x77, 0xb7, 0xab, 0x7b, 0xe3, 0xb2, 0x49,
|
||||
0xf5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x1d, 0x15, 0x69, 0x80, 0x09, 0x00, 0x00,
|
||||
}
|
Reference in New Issue
Block a user