1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package iampb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type GetPolicyOptions struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62 RequestedPolicyVersion int32 `protobuf:"varint,1,opt,name=requested_policy_version,json=requestedPolicyVersion,proto3" json:"requested_policy_version,omitempty"`
63 }
64
65 func (x *GetPolicyOptions) Reset() {
66 *x = GetPolicyOptions{}
67 if protoimpl.UnsafeEnabled {
68 mi := &file_google_iam_v1_options_proto_msgTypes[0]
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 ms.StoreMessageInfo(mi)
71 }
72 }
73
74 func (x *GetPolicyOptions) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*GetPolicyOptions) ProtoMessage() {}
79
80 func (x *GetPolicyOptions) ProtoReflect() protoreflect.Message {
81 mi := &file_google_iam_v1_options_proto_msgTypes[0]
82 if protoimpl.UnsafeEnabled && x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92
93 func (*GetPolicyOptions) Descriptor() ([]byte, []int) {
94 return file_google_iam_v1_options_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (x *GetPolicyOptions) GetRequestedPolicyVersion() int32 {
98 if x != nil {
99 return x.RequestedPolicyVersion
100 }
101 return 0
102 }
103
104 var File_google_iam_v1_options_proto protoreflect.FileDescriptor
105
106 var file_google_iam_v1_options_proto_rawDesc = []byte{
107 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f,
108 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x67,
109 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x22, 0x4c, 0x0a, 0x10,
110 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
111 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x6f,
112 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
113 0x28, 0x05, 0x52, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x6c,
114 0x69, 0x63, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x7d, 0x0a, 0x11, 0x63, 0x6f,
115 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x42,
116 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
117 0x29, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
118 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x69,
119 0x61, 0x6d, 0x70, 0x62, 0x3b, 0x69, 0x61, 0x6d, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13,
120 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x49, 0x61, 0x6d,
121 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
122 0x75, 0x64, 0x5c, 0x49, 0x61, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
123 0x33,
124 }
125
126 var (
127 file_google_iam_v1_options_proto_rawDescOnce sync.Once
128 file_google_iam_v1_options_proto_rawDescData = file_google_iam_v1_options_proto_rawDesc
129 )
130
131 func file_google_iam_v1_options_proto_rawDescGZIP() []byte {
132 file_google_iam_v1_options_proto_rawDescOnce.Do(func() {
133 file_google_iam_v1_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_iam_v1_options_proto_rawDescData)
134 })
135 return file_google_iam_v1_options_proto_rawDescData
136 }
137
138 var file_google_iam_v1_options_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
139 var file_google_iam_v1_options_proto_goTypes = []interface{}{
140 (*GetPolicyOptions)(nil),
141 }
142 var file_google_iam_v1_options_proto_depIdxs = []int32{
143 0,
144 0,
145 0,
146 0,
147 0,
148 }
149
150 func init() { file_google_iam_v1_options_proto_init() }
151 func file_google_iam_v1_options_proto_init() {
152 if File_google_iam_v1_options_proto != nil {
153 return
154 }
155 if !protoimpl.UnsafeEnabled {
156 file_google_iam_v1_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
157 switch v := v.(*GetPolicyOptions); i {
158 case 0:
159 return &v.state
160 case 1:
161 return &v.sizeCache
162 case 2:
163 return &v.unknownFields
164 default:
165 return nil
166 }
167 }
168 }
169 type x struct{}
170 out := protoimpl.TypeBuilder{
171 File: protoimpl.DescBuilder{
172 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
173 RawDescriptor: file_google_iam_v1_options_proto_rawDesc,
174 NumEnums: 0,
175 NumMessages: 1,
176 NumExtensions: 0,
177 NumServices: 0,
178 },
179 GoTypes: file_google_iam_v1_options_proto_goTypes,
180 DependencyIndexes: file_google_iam_v1_options_proto_depIdxs,
181 MessageInfos: file_google_iam_v1_options_proto_msgTypes,
182 }.Build()
183 File_google_iam_v1_options_proto = out.File
184 file_google_iam_v1_options_proto_rawDesc = nil
185 file_google_iam_v1_options_proto_goTypes = nil
186 file_google_iam_v1_options_proto_depIdxs = nil
187 }
188
View as plain text