// Path: grpc-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsGrpc.java
// public abstract static class IAMCredentialsImplBase implements io.grpc.BindableService {
// 
//   /**
//    *
//    *
//    * <pre>
//    * Generates an OAuth 2.0 access token for a service account.
//    * </pre>
//    */
//   public void generateAccessToken(
//       com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
//         getGenerateAccessTokenMethod(), responseObserver);
//   }
// 
//   /**
//    *
//    *
//    * <pre>
//    * Generates an OpenID Connect ID token for a service account.
//    * </pre>
//    */
//   public void generateIdToken(
//       com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
//         getGenerateIdTokenMethod(), responseObserver);
//   }
// 
//   /**
//    *
//    *
//    * <pre>
//    * Signs a blob using a service account's system-managed private key.
//    * </pre>
//    */
//   public void signBlob(
//       com.google.cloud.iam.credentials.v1.SignBlobRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.SignBlobResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSignBlobMethod(), responseObserver);
//   }
// 
//   /**
//    *
//    *
//    * <pre>
//    * Signs a JWT using a service account's system-managed private key.
//    * </pre>
//    */
//   public void signJwt(
//       com.google.cloud.iam.credentials.v1.SignJwtRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.SignJwtResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSignJwtMethod(), responseObserver);
//   }
// 
//   @java.lang.Override
//   public final io.grpc.ServerServiceDefinition bindService() {
//     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
//         .addMethod(
//             getGenerateAccessTokenMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest,
//                     com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse>(
//                     this, METHODID_GENERATE_ACCESS_TOKEN)))
//         .addMethod(
//             getGenerateIdTokenMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest,
//                     com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse>(
//                     this, METHODID_GENERATE_ID_TOKEN)))
//         .addMethod(
//             getSignBlobMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.SignBlobRequest,
//                     com.google.cloud.iam.credentials.v1.SignBlobResponse>(
//                     this, METHODID_SIGN_BLOB)))
//         .addMethod(
//             getSignJwtMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.SignJwtRequest,
//                     com.google.cloud.iam.credentials.v1.SignJwtResponse>(
//                     this, METHODID_SIGN_JWT)))
//         .build();
//   }
// }


import com.google.api.core.BetaApi;
import com.google.cloud.iam.credentials.v1.IAMCredentialsGrpc.IAMCredentialsImplBase;
import com.google.protobuf.AbstractMessage;
import io.grpc.stub.StreamObserver;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import javax.annotation.Generated;
/*
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.cloud.iam.credentials.v1;


@BetaApi
@Generated("by gapic-generator-java")
// Path: grpc-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/IAMCredentialsGrpc.java
// public abstract static class IAMCredentialsImplBase implements io.grpc.BindableService {
// 
//   /**
//    *
//    *
//    * <pre>
//    * Generates an OAuth 2.0 access token for a service account.
//    * </pre>
//    */
//   public void generateAccessToken(
//       com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
//         getGenerateAccessTokenMethod(), responseObserver);
//   }
// 
//   /**
//    *
//    *
//    * <pre>
//    * Generates an OpenID Connect ID token for a service account.
//    * </pre>
//    */
//   public void generateIdToken(
//       com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
//         getGenerateIdTokenMethod(), responseObserver);
//   }
// 
//   /**
//    *
//    *
//    * <pre>
//    * Signs a blob using a service account's system-managed private key.
//    * </pre>
//    */
//   public void signBlob(
//       com.google.cloud.iam.credentials.v1.SignBlobRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.SignBlobResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSignBlobMethod(), responseObserver);
//   }
// 
//   /**
//    *
//    *
//    * <pre>
//    * Signs a JWT using a service account's system-managed private key.
//    * </pre>
//    */
//   public void signJwt(
//       com.google.cloud.iam.credentials.v1.SignJwtRequest request,
//       io.grpc.stub.StreamObserver<com.google.cloud.iam.credentials.v1.SignJwtResponse>
//           responseObserver) {
//     io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSignJwtMethod(), responseObserver);
//   }
// 
//   @java.lang.Override
//   public final io.grpc.ServerServiceDefinition bindService() {
//     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
//         .addMethod(
//             getGenerateAccessTokenMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest,
//                     com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse>(
//                     this, METHODID_GENERATE_ACCESS_TOKEN)))
//         .addMethod(
//             getGenerateIdTokenMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest,
//                     com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse>(
//                     this, METHODID_GENERATE_ID_TOKEN)))
//         .addMethod(
//             getSignBlobMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.SignBlobRequest,
//                     com.google.cloud.iam.credentials.v1.SignBlobResponse>(
//                     this, METHODID_SIGN_BLOB)))
//         .addMethod(
//             getSignJwtMethod(),
//             io.grpc.stub.ServerCalls.asyncUnaryCall(
//                 new MethodHandlers<
//                     com.google.cloud.iam.credentials.v1.SignJwtRequest,
//                     com.google.cloud.iam.credentials.v1.SignJwtResponse>(
//                     this, METHODID_SIGN_JWT)))
//         .build();
//   }
// }


// Path: google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/MockIAMCredentialsImpl.java
import com.google.api.core.BetaApi;
import com.google.cloud.iam.credentials.v1.IAMCredentialsGrpc.IAMCredentialsImplBase;
import com.google.protobuf.AbstractMessage;
import io.grpc.stub.StreamObserver;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import javax.annotation.Generated;

/*
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.cloud.iam.credentials.v1;


@BetaApi
@Generated("by gapic-generator-java")
public class MockIAMCredentialsImpl extends IAMCredentialsImplBase {