private static io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethodHelper() { io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethod; if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { IAMPolicyGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = io.grpc.MethodDescriptor.<com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "google.iam.v1.IAMPolicy", "TestIamPermissions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("TestIamPermissions")) .build(); } } } return getTestIamPermissionsMethod; }
@java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } }
private static io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> getGetIamPolicyMethodHelper() { io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> getGetIamPolicyMethod; if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { IAMPolicyGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = io.grpc.MethodDescriptor.<com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "google.iam.v1.IAMPolicy", "GetIamPolicy")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.Policy.getDefaultInstance())) .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("GetIamPolicy")) .build(); } } } return getGetIamPolicyMethod; } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
private static io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> getSetIamPolicyMethodHelper() { io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> getSetIamPolicyMethod; if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { IAMPolicyGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = io.grpc.MethodDescriptor.<com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "google.iam.v1.IAMPolicy", "SetIamPolicy")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.Policy.getDefaultInstance())) .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("SetIamPolicy")) .build(); } } } return getSetIamPolicyMethod; } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")