-
Notifications
You must be signed in to change notification settings - Fork 1
/
common.pb.fieldpathbuilder.go
122 lines (92 loc) · 4.82 KB
/
common.pb.fieldpathbuilder.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// Code generated by protoc-gen-goten-object
// File: edgelq/logging/proto/v1/common.proto
// DO NOT EDIT!!!
package common
// proto imports
import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
// make sure we're using proto imports
var (
_ = ×tamppb.Timestamp{}
)
type LabelDescriptorFieldPathBuilder struct{}
func NewLabelDescriptorFieldPathBuilder() LabelDescriptorFieldPathBuilder {
return LabelDescriptorFieldPathBuilder{}
}
func (LabelDescriptorFieldPathBuilder) Key() LabelDescriptorPathSelectorKey {
return LabelDescriptorPathSelectorKey{}
}
func (LabelDescriptorFieldPathBuilder) Description() LabelDescriptorPathSelectorDescription {
return LabelDescriptorPathSelectorDescription{}
}
type LabelDescriptorPathSelectorKey struct{}
func (LabelDescriptorPathSelectorKey) FieldPath() *LabelDescriptor_FieldTerminalPath {
return &LabelDescriptor_FieldTerminalPath{selector: LabelDescriptor_FieldPathSelectorKey}
}
func (s LabelDescriptorPathSelectorKey) WithValue(value string) *LabelDescriptor_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*LabelDescriptor_FieldTerminalPathValue)
}
func (s LabelDescriptorPathSelectorKey) WithArrayOfValues(values []string) *LabelDescriptor_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*LabelDescriptor_FieldTerminalPathArrayOfValues)
}
type LabelDescriptorPathSelectorDescription struct{}
func (LabelDescriptorPathSelectorDescription) FieldPath() *LabelDescriptor_FieldTerminalPath {
return &LabelDescriptor_FieldTerminalPath{selector: LabelDescriptor_FieldPathSelectorDescription}
}
func (s LabelDescriptorPathSelectorDescription) WithValue(value string) *LabelDescriptor_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*LabelDescriptor_FieldTerminalPathValue)
}
func (s LabelDescriptorPathSelectorDescription) WithArrayOfValues(values []string) *LabelDescriptor_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*LabelDescriptor_FieldTerminalPathArrayOfValues)
}
type LabelKeySetFieldPathBuilder struct{}
func NewLabelKeySetFieldPathBuilder() LabelKeySetFieldPathBuilder {
return LabelKeySetFieldPathBuilder{}
}
func (LabelKeySetFieldPathBuilder) LabelKeys() LabelKeySetPathSelectorLabelKeys {
return LabelKeySetPathSelectorLabelKeys{}
}
type LabelKeySetPathSelectorLabelKeys struct{}
func (LabelKeySetPathSelectorLabelKeys) FieldPath() *LabelKeySet_FieldTerminalPath {
return &LabelKeySet_FieldTerminalPath{selector: LabelKeySet_FieldPathSelectorLabelKeys}
}
func (s LabelKeySetPathSelectorLabelKeys) WithValue(value []string) *LabelKeySet_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*LabelKeySet_FieldTerminalPathValue)
}
func (s LabelKeySetPathSelectorLabelKeys) WithArrayOfValues(values [][]string) *LabelKeySet_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*LabelKeySet_FieldTerminalPathArrayOfValues)
}
func (s LabelKeySetPathSelectorLabelKeys) WithItemValue(value string) *LabelKeySet_FieldTerminalPathArrayItemValue {
return s.FieldPath().WithIArrayItemValue(value).(*LabelKeySet_FieldTerminalPathArrayItemValue)
}
type TimeIntervalFieldPathBuilder struct{}
func NewTimeIntervalFieldPathBuilder() TimeIntervalFieldPathBuilder {
return TimeIntervalFieldPathBuilder{}
}
func (TimeIntervalFieldPathBuilder) EndTime() TimeIntervalPathSelectorEndTime {
return TimeIntervalPathSelectorEndTime{}
}
func (TimeIntervalFieldPathBuilder) StartTime() TimeIntervalPathSelectorStartTime {
return TimeIntervalPathSelectorStartTime{}
}
type TimeIntervalPathSelectorEndTime struct{}
func (TimeIntervalPathSelectorEndTime) FieldPath() *TimeInterval_FieldTerminalPath {
return &TimeInterval_FieldTerminalPath{selector: TimeInterval_FieldPathSelectorEndTime}
}
func (s TimeIntervalPathSelectorEndTime) WithValue(value *timestamppb.Timestamp) *TimeInterval_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*TimeInterval_FieldTerminalPathValue)
}
func (s TimeIntervalPathSelectorEndTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TimeInterval_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*TimeInterval_FieldTerminalPathArrayOfValues)
}
type TimeIntervalPathSelectorStartTime struct{}
func (TimeIntervalPathSelectorStartTime) FieldPath() *TimeInterval_FieldTerminalPath {
return &TimeInterval_FieldTerminalPath{selector: TimeInterval_FieldPathSelectorStartTime}
}
func (s TimeIntervalPathSelectorStartTime) WithValue(value *timestamppb.Timestamp) *TimeInterval_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*TimeInterval_FieldTerminalPathValue)
}
func (s TimeIntervalPathSelectorStartTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TimeInterval_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*TimeInterval_FieldTerminalPathArrayOfValues)
}