| 1 |
// Copyright 2026 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: google/api/visibility.proto |
| 20 |
|
| 21 |
package visibility |
| 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 |
descriptorpb "google.golang.org/protobuf/types/descriptorpb" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// `Visibility` restricts service consumer's access to service elements, |
| 40 |
// such as whether an application can call a visibility-restricted method. |
| 41 |
// The restriction is expressed by applying visibility labels on service |
| 42 |
// elements. The visibility labels are elsewhere linked to service consumers. |
| 43 |
// |
| 44 |
// A service can define multiple visibility labels, but a service consumer |
| 45 |
// should be granted at most one visibility label. Multiple visibility |
| 46 |
// labels for a single service consumer are not supported. |
| 47 |
// |
| 48 |
// If an element and all its parents have no visibility label, its visibility |
| 49 |
// is unconditionally granted. |
| 50 |
// |
| 51 |
// Example: |
| 52 |
// |
| 53 |
// visibility: |
| 54 |
// rules: |
| 55 |
// - selector: google.calendar.Calendar.EnhancedSearch |
| 56 |
// restriction: PREVIEW |
| 57 |
// - selector: google.calendar.Calendar.Delegate |
| 58 |
// restriction: INTERNAL |
| 59 |
// |
| 60 |
// Here, all methods are publicly visible except for the restricted methods |
| 61 |
// EnhancedSearch and Delegate. |
| 62 |
type Visibility struct { |
| 63 |
state protoimpl.MessageState |
| 64 |
sizeCache protoimpl.SizeCache |
| 65 |
unknownFields protoimpl.UnknownFields |
| 66 |
|
| 67 |
// A list of visibility rules that apply to individual API elements. |
| 68 |
// |
| 69 |
// **NOTE:** All service configuration rules follow "last one wins" order. |
| 70 |
Rules []*VisibilityRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` |
| 71 |
} |
| 72 |
|
| 73 |
func (x *Visibility) Reset() { |
| 74 |
*x = Visibility{} |
| 75 |
if protoimpl.UnsafeEnabled { |
| 76 |
mi := &file_google_api_visibility_proto_msgTypes[0] |
| 77 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 78 |
ms.StoreMessageInfo(mi) |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
func (x *Visibility) String() string { |
| 83 |
return protoimpl.X.MessageStringOf(x) |
| 84 |
} |
| 85 |
|
| 86 |
func (*Visibility) ProtoMessage() {} |
| 87 |
|
| 88 |
func (x *Visibility) ProtoReflect() protoreflect.Message { |
| 89 |
mi := &file_google_api_visibility_proto_msgTypes[0] |
| 90 |
if protoimpl.UnsafeEnabled && x != nil { |
| 91 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 92 |
if ms.LoadMessageInfo() == nil { |
| 93 |
ms.StoreMessageInfo(mi) |
| 94 |
} |
| 95 |
return ms |
| 96 |
} |
| 97 |
return mi.MessageOf(x) |
| 98 |
} |
| 99 |
|
| 100 |
// Deprecated: Use Visibility.ProtoReflect.Descriptor instead. |
| 101 |
func (*Visibility) Descriptor() ([]byte, []int) { |
| 102 |
return file_google_api_visibility_proto_rawDescGZIP(), []int{0} |
| 103 |
} |
| 104 |
|
| 105 |
func (x *Visibility) GetRules() []*VisibilityRule { |
| 106 |
if x != nil { |
| 107 |
return x.Rules |
| 108 |
} |
| 109 |
return nil |
| 110 |
} |
| 111 |
|
| 112 |
// A visibility rule provides visibility configuration for an individual API |
| 113 |
// element. |
| 114 |
type VisibilityRule struct { |
| 115 |
state protoimpl.MessageState |
| 116 |
sizeCache protoimpl.SizeCache |
| 117 |
unknownFields protoimpl.UnknownFields |
| 118 |
|
| 119 |
// Selects methods, messages, fields, enums, etc. to which this rule applies. |
| 120 |
// |
| 121 |
// Refer to [selector][google.api.DocumentationRule.selector] for syntax |
| 122 |
// details. |
| 123 |
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` |
| 124 |
// A comma-separated list of visibility labels that apply to the `selector`. |
| 125 |
// Any of the listed labels can be used to grant the visibility. |
| 126 |
// |
| 127 |
// If a rule has multiple labels, removing one of the labels but not all of |
| 128 |
// them can break clients. |
| 129 |
// |
| 130 |
// Example: |
| 131 |
// |
| 132 |
// visibility: |
| 133 |
// rules: |
| 134 |
// - selector: google.calendar.Calendar.EnhancedSearch |
| 135 |
// restriction: INTERNAL, PREVIEW |
| 136 |
// |
| 137 |
// Removing INTERNAL from this restriction will break clients that rely on |
| 138 |
// this method and only had access to it through INTERNAL. |
| 139 |
Restriction string `protobuf:"bytes,2,opt,name=restriction,proto3" json:"restriction,omitempty"` |
| 140 |
} |
| 141 |
|
| 142 |
func (x *VisibilityRule) Reset() { |
| 143 |
*x = VisibilityRule{} |
| 144 |
if protoimpl.UnsafeEnabled { |
| 145 |
mi := &file_google_api_visibility_proto_msgTypes[1] |
| 146 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 147 |
ms.StoreMessageInfo(mi) |
| 148 |
} |
| 149 |
} |
| 150 |
|
| 151 |
func (x *VisibilityRule) String() string { |
| 152 |
return protoimpl.X.MessageStringOf(x) |
| 153 |
} |
| 154 |
|
| 155 |
func (*VisibilityRule) ProtoMessage() {} |
| 156 |
|
| 157 |
func (x *VisibilityRule) ProtoReflect() protoreflect.Message { |
| 158 |
mi := &file_google_api_visibility_proto_msgTypes[1] |
| 159 |
if protoimpl.UnsafeEnabled && x != nil { |
| 160 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 161 |
if ms.LoadMessageInfo() == nil { |
| 162 |
ms.StoreMessageInfo(mi) |
| 163 |
} |
| 164 |
return ms |
| 165 |
} |
| 166 |
return mi.MessageOf(x) |
| 167 |
} |
| 168 |
|
| 169 |
// Deprecated: Use VisibilityRule.ProtoReflect.Descriptor instead. |
| 170 |
func (*VisibilityRule) Descriptor() ([]byte, []int) { |
| 171 |
return file_google_api_visibility_proto_rawDescGZIP(), []int{1} |
| 172 |
} |
| 173 |
|
| 174 |
func (x *VisibilityRule) GetSelector() string { |
| 175 |
if x != nil { |
| 176 |
return x.Selector |
| 177 |
} |
| 178 |
return "" |
| 179 |
} |
| 180 |
|
| 181 |
func (x *VisibilityRule) GetRestriction() string { |
| 182 |
if x != nil { |
| 183 |
return x.Restriction |
| 184 |
} |
| 185 |
return "" |
| 186 |
} |
| 187 |
|
| 188 |
var file_google_api_visibility_proto_extTypes = []protoimpl.ExtensionInfo{ |
| 189 |
{ |
| 190 |
ExtendedType: (*descriptorpb.EnumOptions)(nil), |
| 191 |
ExtensionType: (*VisibilityRule)(nil), |
| 192 |
Field: 72295727, |
| 193 |
Name: "google.api.enum_visibility", |
| 194 |
Tag: "bytes,72295727,opt,name=enum_visibility", |
| 195 |
Filename: "google/api/visibility.proto", |
| 196 |
}, |
| 197 |
{ |
| 198 |
ExtendedType: (*descriptorpb.EnumValueOptions)(nil), |
| 199 |
ExtensionType: (*VisibilityRule)(nil), |
| 200 |
Field: 72295727, |
| 201 |
Name: "google.api.value_visibility", |
| 202 |
Tag: "bytes,72295727,opt,name=value_visibility", |
| 203 |
Filename: "google/api/visibility.proto", |
| 204 |
}, |
| 205 |
{ |
| 206 |
ExtendedType: (*descriptorpb.FieldOptions)(nil), |
| 207 |
ExtensionType: (*VisibilityRule)(nil), |
| 208 |
Field: 72295727, |
| 209 |
Name: "google.api.field_visibility", |
| 210 |
Tag: "bytes,72295727,opt,name=field_visibility", |
| 211 |
Filename: "google/api/visibility.proto", |
| 212 |
}, |
| 213 |
{ |
| 214 |
ExtendedType: (*descriptorpb.MessageOptions)(nil), |
| 215 |
ExtensionType: (*VisibilityRule)(nil), |
| 216 |
Field: 72295727, |
| 217 |
Name: "google.api.message_visibility", |
| 218 |
Tag: "bytes,72295727,opt,name=message_visibility", |
| 219 |
Filename: "google/api/visibility.proto", |
| 220 |
}, |
| 221 |
{ |
| 222 |
ExtendedType: (*descriptorpb.MethodOptions)(nil), |
| 223 |
ExtensionType: (*VisibilityRule)(nil), |
| 224 |
Field: 72295727, |
| 225 |
Name: "google.api.method_visibility", |
| 226 |
Tag: "bytes,72295727,opt,name=method_visibility", |
| 227 |
Filename: "google/api/visibility.proto", |
| 228 |
}, |
| 229 |
{ |
| 230 |
ExtendedType: (*descriptorpb.ServiceOptions)(nil), |
| 231 |
ExtensionType: (*VisibilityRule)(nil), |
| 232 |
Field: 72295727, |
| 233 |
Name: "google.api.api_visibility", |
| 234 |
Tag: "bytes,72295727,opt,name=api_visibility", |
| 235 |
Filename: "google/api/visibility.proto", |
| 236 |
}, |
| 237 |
} |
| 238 |
|
| 239 |
// Extension fields to descriptorpb.EnumOptions. |
| 240 |
var ( |
| 241 |
// See `VisibilityRule`. |
| 242 |
// |
| 243 |
// optional google.api.VisibilityRule enum_visibility = 72295727; |
| 244 |
E_EnumVisibility = &file_google_api_visibility_proto_extTypes[0] |
| 245 |
) |
| 246 |
|
| 247 |
// Extension fields to descriptorpb.EnumValueOptions. |
| 248 |
var ( |
| 249 |
// See `VisibilityRule`. |
| 250 |
// |
| 251 |
// optional google.api.VisibilityRule value_visibility = 72295727; |
| 252 |
E_ValueVisibility = &file_google_api_visibility_proto_extTypes[1] |
| 253 |
) |
| 254 |
|
| 255 |
// Extension fields to descriptorpb.FieldOptions. |
| 256 |
var ( |
| 257 |
// See `VisibilityRule`. |
| 258 |
// |
| 259 |
// optional google.api.VisibilityRule field_visibility = 72295727; |
| 260 |
E_FieldVisibility = &file_google_api_visibility_proto_extTypes[2] |
| 261 |
) |
| 262 |
|
| 263 |
// Extension fields to descriptorpb.MessageOptions. |
| 264 |
var ( |
| 265 |
// See `VisibilityRule`. |
| 266 |
// |
| 267 |
// optional google.api.VisibilityRule message_visibility = 72295727; |
| 268 |
E_MessageVisibility = &file_google_api_visibility_proto_extTypes[3] |
| 269 |
) |
| 270 |
|
| 271 |
// Extension fields to descriptorpb.MethodOptions. |
| 272 |
var ( |
| 273 |
// See `VisibilityRule`. |
| 274 |
// |
| 275 |
// optional google.api.VisibilityRule method_visibility = 72295727; |
| 276 |
E_MethodVisibility = &file_google_api_visibility_proto_extTypes[4] |
| 277 |
) |
| 278 |
|
| 279 |
// Extension fields to descriptorpb.ServiceOptions. |
| 280 |
var ( |
| 281 |
// See `VisibilityRule`. |
| 282 |
// |
| 283 |
// optional google.api.VisibilityRule api_visibility = 72295727; |
| 284 |
E_ApiVisibility = &file_google_api_visibility_proto_extTypes[5] |
| 285 |
) |
| 286 |
|
| 287 |
var File_google_api_visibility_proto protoreflect.FileDescriptor |
| 288 |
|
| 289 |
var file_google_api_visibility_proto_rawDesc = []byte{ |
| 290 |
0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, |
| 291 |
0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, |
| 292 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 293 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, |
| 294 |
0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0a, 0x56, |
| 295 |
0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x72, 0x75, 0x6c, |
| 296 |
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 297 |
0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, |
| 298 |
0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x56, |
| 299 |
0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1a, 0x0a, |
| 300 |
0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 301 |
0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x73, |
| 302 |
0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, |
| 303 |
0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x64, 0x0a, 0x0f, 0x65, |
| 304 |
0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1c, |
| 305 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 306 |
0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xaf, 0xca, 0xbc, |
| 307 |
0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, |
| 308 |
0x70, 0x69, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, |
| 309 |
0x65, 0x52, 0x0e, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, |
| 310 |
0x79, 0x3a, 0x6b, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, |
| 311 |
0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 312 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, |
| 313 |
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xaf, 0xca, 0xbc, 0x22, 0x20, 0x01, 0x28, |
| 314 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, |
| 315 |
0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0f, 0x76, |
| 316 |
0x61, 0x6c, 0x75, 0x65, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x3a, 0x67, |
| 317 |
0x0a, 0x10, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, |
| 318 |
0x74, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 319 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 320 |
0x73, 0x18, 0xaf, 0xca, 0xbc, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, |
| 321 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, |
| 322 |
0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x69, 0x73, |
| 323 |
0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x3a, 0x6d, 0x0a, 0x12, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 324 |
0x67, 0x65, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x2e, |
| 325 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 326 |
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xaf, |
| 327 |
0xca, 0xbc, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 328 |
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, |
| 329 |
0x75, 0x6c, 0x65, 0x52, 0x11, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x56, 0x69, 0x73, 0x69, |
| 330 |
0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x3a, 0x6a, 0x0a, 0x11, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, |
| 331 |
0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1e, 0x2e, 0x67, 0x6f, |
| 332 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, |
| 333 |
0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xaf, 0xca, 0xbc, 0x22, |
| 334 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 335 |
0x69, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, |
| 336 |
0x52, 0x10, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, |
| 337 |
0x74, 0x79, 0x3a, 0x65, 0x0a, 0x0e, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, |
| 338 |
0x6c, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 339 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, |
| 340 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xaf, 0xca, 0xbc, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 341 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x56, 0x69, 0x73, 0x69, |
| 342 |
0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x56, |
| 343 |
0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x6b, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, |
| 344 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0f, 0x56, 0x69, 0x73, |
| 345 |
0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, |
| 346 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, |
| 347 |
0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 348 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, |
| 349 |
0x6c, 0x69, 0x74, 0x79, 0x3b, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0xa2, |
| 350 |
0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 351 |
} |
| 352 |
|
| 353 |
var ( |
| 354 |
file_google_api_visibility_proto_rawDescOnce sync.Once |
| 355 |
file_google_api_visibility_proto_rawDescData = file_google_api_visibility_proto_rawDesc |
| 356 |
) |
| 357 |
|
| 358 |
func file_google_api_visibility_proto_rawDescGZIP() []byte { |
| 359 |
file_google_api_visibility_proto_rawDescOnce.Do(func() { |
| 360 |
file_google_api_visibility_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_visibility_proto_rawDescData) |
| 361 |
}) |
| 362 |
return file_google_api_visibility_proto_rawDescData |
| 363 |
} |
| 364 |
|
| 365 |
var file_google_api_visibility_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 366 |
var file_google_api_visibility_proto_goTypes = []interface{}{ |
| 367 |
(*Visibility)(nil), // 0: google.api.Visibility |
| 368 |
(*VisibilityRule)(nil), // 1: google.api.VisibilityRule |
| 369 |
(*descriptorpb.EnumOptions)(nil), // 2: google.protobuf.EnumOptions |
| 370 |
(*descriptorpb.EnumValueOptions)(nil), // 3: google.protobuf.EnumValueOptions |
| 371 |
(*descriptorpb.FieldOptions)(nil), // 4: google.protobuf.FieldOptions |
| 372 |
(*descriptorpb.MessageOptions)(nil), // 5: google.protobuf.MessageOptions |
| 373 |
(*descriptorpb.MethodOptions)(nil), // 6: google.protobuf.MethodOptions |
| 374 |
(*descriptorpb.ServiceOptions)(nil), // 7: google.protobuf.ServiceOptions |
| 375 |
} |
| 376 |
var file_google_api_visibility_proto_depIdxs = []int32{ |
| 377 |
1, // 0: google.api.Visibility.rules:type_name -> google.api.VisibilityRule |
| 378 |
2, // 1: google.api.enum_visibility:extendee -> google.protobuf.EnumOptions |
| 379 |
3, // 2: google.api.value_visibility:extendee -> google.protobuf.EnumValueOptions |
| 380 |
4, // 3: google.api.field_visibility:extendee -> google.protobuf.FieldOptions |
| 381 |
5, // 4: google.api.message_visibility:extendee -> google.protobuf.MessageOptions |
| 382 |
6, // 5: google.api.method_visibility:extendee -> google.protobuf.MethodOptions |
| 383 |
7, // 6: google.api.api_visibility:extendee -> google.protobuf.ServiceOptions |
| 384 |
1, // 7: google.api.enum_visibility:type_name -> google.api.VisibilityRule |
| 385 |
1, // 8: google.api.value_visibility:type_name -> google.api.VisibilityRule |
| 386 |
1, // 9: google.api.field_visibility:type_name -> google.api.VisibilityRule |
| 387 |
1, // 10: google.api.message_visibility:type_name -> google.api.VisibilityRule |
| 388 |
1, // 11: google.api.method_visibility:type_name -> google.api.VisibilityRule |
| 389 |
1, // 12: google.api.api_visibility:type_name -> google.api.VisibilityRule |
| 390 |
13, // [13:13] is the sub-list for method output_type |
| 391 |
13, // [13:13] is the sub-list for method input_type |
| 392 |
7, // [7:13] is the sub-list for extension type_name |
| 393 |
1, // [1:7] is the sub-list for extension extendee |
| 394 |
0, // [0:1] is the sub-list for field type_name |
| 395 |
} |
| 396 |
|
| 397 |
func init() { file_google_api_visibility_proto_init() } |
| 398 |
func file_google_api_visibility_proto_init() { |
| 399 |
if File_google_api_visibility_proto != nil { |
| 400 |
return |
| 401 |
} |
| 402 |
if !protoimpl.UnsafeEnabled { |
| 403 |
file_google_api_visibility_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 404 |
switch v := v.(*Visibility); i { |
| 405 |
case 0: |
| 406 |
return &v.state |
| 407 |
case 1: |
| 408 |
return &v.sizeCache |
| 409 |
case 2: |
| 410 |
return &v.unknownFields |
| 411 |
default: |
| 412 |
return nil |
| 413 |
} |
| 414 |
} |
| 415 |
file_google_api_visibility_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 416 |
switch v := v.(*VisibilityRule); i { |
| 417 |
case 0: |
| 418 |
return &v.state |
| 419 |
case 1: |
| 420 |
return &v.sizeCache |
| 421 |
case 2: |
| 422 |
return &v.unknownFields |
| 423 |
default: |
| 424 |
return nil |
| 425 |
} |
| 426 |
} |
| 427 |
} |
| 428 |
type x struct{} |
| 429 |
out := protoimpl.TypeBuilder{ |
| 430 |
File: protoimpl.DescBuilder{ |
| 431 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 432 |
RawDescriptor: file_google_api_visibility_proto_rawDesc, |
| 433 |
NumEnums: 0, |
| 434 |
NumMessages: 2, |
| 435 |
NumExtensions: 6, |
| 436 |
NumServices: 0, |
| 437 |
}, |
| 438 |
GoTypes: file_google_api_visibility_proto_goTypes, |
| 439 |
DependencyIndexes: file_google_api_visibility_proto_depIdxs, |
| 440 |
MessageInfos: file_google_api_visibility_proto_msgTypes, |
| 441 |
ExtensionInfos: file_google_api_visibility_proto_extTypes, |
| 442 |
}.Build() |
| 443 |
File_google_api_visibility_proto = out.File |
| 444 |
file_google_api_visibility_proto_rawDesc = nil |
| 445 |
file_google_api_visibility_proto_goTypes = nil |
| 446 |
file_google_api_visibility_proto_depIdxs = nil |
| 447 |
} |