public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
            getCreateScanConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.CreateScanConfigRequest,
                    com.google.cloud.websecurityscanner.v1.ScanConfig>(
                    service, METHODID_CREATE_SCAN_CONFIG)))
        .addMethod(
            getDeleteScanConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.DeleteScanConfigRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_SCAN_CONFIG)))
        .addMethod(
            getGetScanConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.GetScanConfigRequest,
                    com.google.cloud.websecurityscanner.v1.ScanConfig>(
                    service, METHODID_GET_SCAN_CONFIG)))
        .addMethod(
            getListScanConfigsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.ListScanConfigsRequest,
                    com.google.cloud.websecurityscanner.v1.ListScanConfigsResponse>(
                    service, METHODID_LIST_SCAN_CONFIGS)))
        .addMethod(
            getUpdateScanConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.UpdateScanConfigRequest,
                    com.google.cloud.websecurityscanner.v1.ScanConfig>(
                    service, METHODID_UPDATE_SCAN_CONFIG)))
        .addMethod(
            getStartScanRunMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.StartScanRunRequest,
                    com.google.cloud.websecurityscanner.v1.ScanRun>(
                    service, METHODID_START_SCAN_RUN)))
        .addMethod(
            getGetScanRunMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.GetScanRunRequest,
                    com.google.cloud.websecurityscanner.v1.ScanRun>(
                    service, METHODID_GET_SCAN_RUN)))
        .addMethod(
            getListScanRunsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.ListScanRunsRequest,
                    com.google.cloud.websecurityscanner.v1.ListScanRunsResponse>(
                    service, METHODID_LIST_SCAN_RUNS)))
        .addMethod(
            getStopScanRunMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.StopScanRunRequest,
                    com.google.cloud.websecurityscanner.v1.ScanRun>(
                    service, METHODID_STOP_SCAN_RUN)))
        .addMethod(
            getListCrawledUrlsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.ListCrawledUrlsRequest,
                    com.google.cloud.websecurityscanner.v1.ListCrawledUrlsResponse>(
                    service, METHODID_LIST_CRAWLED_URLS)))
        .addMethod(
            getGetFindingMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.GetFindingRequest,
                    com.google.cloud.websecurityscanner.v1.Finding>(service, METHODID_GET_FINDING)))
        .addMethod(
            getListFindingsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.ListFindingsRequest,
                    com.google.cloud.websecurityscanner.v1.ListFindingsResponse>(
                    service, METHODID_LIST_FINDINGS)))
        .addMethod(
            getListFindingTypeStatsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.websecurityscanner.v1.ListFindingTypeStatsRequest,
                    com.google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse>(
                    service, METHODID_LIST_FINDING_TYPE_STATS)))
        .build();
  }
<pre>
List all FindingTypeStats under a given ScanRun.
</pre>
java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerGrpc.java