-
Notifications
You must be signed in to change notification settings - Fork 1
/
permission.pb.fieldpathbuilder.go
68 lines (51 loc) · 2.47 KB
/
permission.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
// Code generated by protoc-gen-goten-object
// File: edgelq/iam/proto/v1alpha/permission.proto
// DO NOT EDIT!!!
package permission
// proto imports
import ()
// make sure we're using proto imports
var ()
type PermissionFieldPathBuilder struct{}
func NewPermissionFieldPathBuilder() PermissionFieldPathBuilder {
return PermissionFieldPathBuilder{}
}
func (PermissionFieldPathBuilder) Name() PermissionPathSelectorName {
return PermissionPathSelectorName{}
}
func (PermissionFieldPathBuilder) Title() PermissionPathSelectorTitle {
return PermissionPathSelectorTitle{}
}
func (PermissionFieldPathBuilder) Description() PermissionPathSelectorDescription {
return PermissionPathSelectorDescription{}
}
type PermissionPathSelectorName struct{}
func (PermissionPathSelectorName) FieldPath() *Permission_FieldTerminalPath {
return &Permission_FieldTerminalPath{selector: Permission_FieldPathSelectorName}
}
func (s PermissionPathSelectorName) WithValue(value *Name) *Permission_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*Permission_FieldTerminalPathValue)
}
func (s PermissionPathSelectorName) WithArrayOfValues(values []*Name) *Permission_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*Permission_FieldTerminalPathArrayOfValues)
}
type PermissionPathSelectorTitle struct{}
func (PermissionPathSelectorTitle) FieldPath() *Permission_FieldTerminalPath {
return &Permission_FieldTerminalPath{selector: Permission_FieldPathSelectorTitle}
}
func (s PermissionPathSelectorTitle) WithValue(value string) *Permission_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*Permission_FieldTerminalPathValue)
}
func (s PermissionPathSelectorTitle) WithArrayOfValues(values []string) *Permission_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*Permission_FieldTerminalPathArrayOfValues)
}
type PermissionPathSelectorDescription struct{}
func (PermissionPathSelectorDescription) FieldPath() *Permission_FieldTerminalPath {
return &Permission_FieldTerminalPath{selector: Permission_FieldPathSelectorDescription}
}
func (s PermissionPathSelectorDescription) WithValue(value string) *Permission_FieldTerminalPathValue {
return s.FieldPath().WithIValue(value).(*Permission_FieldTerminalPathValue)
}
func (s PermissionPathSelectorDescription) WithArrayOfValues(values []string) *Permission_FieldTerminalPathArrayOfValues {
return s.FieldPath().WithIArrayOfValues(values).(*Permission_FieldTerminalPathArrayOfValues)
}