1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/iam/v1/iam_policy.proto 18 19 package com.google.iam.v1; 20 21 public final class IamPolicyProto { IamPolicyProto()22 private IamPolicyProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable; 46 getDescriptor()47 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 48 return descriptor; 49 } 50 51 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 52 53 static { 54 java.lang.String[] descriptorData = { 55 "\n\036google/iam/v1/iam_policy.proto\022\rgoogle" 56 + ".iam.v1\032\034google/api/annotations.proto\032\027g" 57 + "oogle/api/client.proto\032\037google/api/field" 58 + "_behavior.proto\032\031google/api/resource.pro" 59 + "to\032\033google/iam/v1/options.proto\032\032google/" 60 + "iam/v1/policy.proto\032 google/protobuf/fie" 61 + "ld_mask.proto\"\217\001\n\023SetIamPolicyRequest\022\033\n" 62 + "\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022*\n\006policy\030\002 \001" 63 + "(\0132\025.google.iam.v1.PolicyB\003\340A\002\022/\n\013update" 64 + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMask\"" 65 + "d\n\023GetIamPolicyRequest\022\033\n\010resource\030\001 \001(\t" 66 + "B\t\340A\002\372A\003\n\001*\0220\n\007options\030\002 \001(\0132\037.google.ia" 67 + "m.v1.GetPolicyOptions\"R\n\031TestIamPermissi" 68 + "onsRequest\022\033\n\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022" 69 + "\030\n\013permissions\030\002 \003(\tB\003\340A\002\"1\n\032TestIamPerm" 70 + "issionsResponse\022\023\n\013permissions\030\001 \003(\t2\264\003\n" 71 + "\tIAMPolicy\022t\n\014SetIamPolicy\022\".google.iam." 72 + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" 73 + "olicy\")\202\323\344\223\002#\"\036/v1/{resource=**}:setIamP" 74 + "olicy:\001*\022t\n\014GetIamPolicy\022\".google.iam.v1" 75 + ".GetIamPolicyRequest\032\025.google.iam.v1.Pol" 76 + "icy\")\202\323\344\223\002#\"\036/v1/{resource=**}:getIamPol" 77 + "icy:\001*\022\232\001\n\022TestIamPermissions\022(.google.i" 78 + "am.v1.TestIamPermissionsRequest\032).google" 79 + ".iam.v1.TestIamPermissionsResponse\"/\202\323\344\223" 80 + "\002)\"$/v1/{resource=**}:testIamPermissions" 81 + ":\001*\032\036\312A\033iam-meta-api.googleapis.comB\177\n\021c" 82 + "om.google.iam.v1B\016IamPolicyProtoP\001Z)clou" 83 + "d.google.com/go/iam/apiv1/iampb;iampb\370\001\001" 84 + "\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Cloud\\Ia" 85 + "m\\V1b\006proto3" 86 }; 87 descriptor = 88 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 89 descriptorData, 90 new com.google.protobuf.Descriptors.FileDescriptor[] { 91 com.google.api.AnnotationsProto.getDescriptor(), 92 com.google.api.ClientProto.getDescriptor(), 93 com.google.api.FieldBehaviorProto.getDescriptor(), 94 com.google.api.ResourceProto.getDescriptor(), 95 com.google.iam.v1.OptionsProto.getDescriptor(), 96 com.google.iam.v1.PolicyProto.getDescriptor(), 97 com.google.protobuf.FieldMaskProto.getDescriptor(), 98 }); 99 internal_static_google_iam_v1_SetIamPolicyRequest_descriptor = 100 getDescriptor().getMessageTypes().get(0); 101 internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable = 102 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 103 internal_static_google_iam_v1_SetIamPolicyRequest_descriptor, 104 new java.lang.String[] { 105 "Resource", "Policy", "UpdateMask", 106 }); 107 internal_static_google_iam_v1_GetIamPolicyRequest_descriptor = 108 getDescriptor().getMessageTypes().get(1); 109 internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable = 110 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 111 internal_static_google_iam_v1_GetIamPolicyRequest_descriptor, 112 new java.lang.String[] { 113 "Resource", "Options", 114 }); 115 internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor = 116 getDescriptor().getMessageTypes().get(2); 117 internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable = 118 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 119 internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor, 120 new java.lang.String[] { 121 "Resource", "Permissions", 122 }); 123 internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor = 124 getDescriptor().getMessageTypes().get(3); 125 internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable = 126 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 127 internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor, 128 new java.lang.String[] { 129 "Permissions", 130 }); 131 com.google.protobuf.ExtensionRegistry registry = 132 com.google.protobuf.ExtensionRegistry.newInstance(); 133 registry.add(com.google.api.ClientProto.defaultHost); 134 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 135 registry.add(com.google.api.AnnotationsProto.http); 136 registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)137 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 138 descriptor, registry); com.google.api.AnnotationsProto.getDescriptor()139 com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor()140 com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor()141 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor()142 com.google.api.ResourceProto.getDescriptor(); com.google.iam.v1.OptionsProto.getDescriptor()143 com.google.iam.v1.OptionsProto.getDescriptor(); com.google.iam.v1.PolicyProto.getDescriptor()144 com.google.iam.v1.PolicyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor()145 com.google.protobuf.FieldMaskProto.getDescriptor(); 146 } 147 148 // @@protoc_insertion_point(outer_class_scope) 149 } 150