1616package com .google .cloud .dialogflow .cx .v3 ;
1717
1818import static io .grpc .MethodDescriptor .generateFullMethodName ;
19- import static io .grpc .stub .ClientCalls .asyncUnaryCall ;
20- import static io .grpc .stub .ClientCalls .blockingUnaryCall ;
21- import static io .grpc .stub .ClientCalls .futureUnaryCall ;
22- import static io .grpc .stub .ServerCalls .asyncUnaryCall ;
23- import static io .grpc .stub .ServerCalls .asyncUnimplementedUnaryCall ;
2419
2520/**
2621 *
@@ -326,7 +321,8 @@ public void listEntityTypes(
326321 com .google .cloud .dialogflow .cx .v3 .ListEntityTypesRequest request ,
327322 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .ListEntityTypesResponse >
328323 responseObserver ) {
329- asyncUnimplementedUnaryCall (getListEntityTypesMethod (), responseObserver );
324+ io .grpc .stub .ServerCalls .asyncUnimplementedUnaryCall (
325+ getListEntityTypesMethod (), responseObserver );
330326 }
331327
332328 /**
@@ -340,7 +336,8 @@ public void getEntityType(
340336 com .google .cloud .dialogflow .cx .v3 .GetEntityTypeRequest request ,
341337 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .EntityType >
342338 responseObserver ) {
343- asyncUnimplementedUnaryCall (getGetEntityTypeMethod (), responseObserver );
339+ io .grpc .stub .ServerCalls .asyncUnimplementedUnaryCall (
340+ getGetEntityTypeMethod (), responseObserver );
344341 }
345342
346343 /**
@@ -354,7 +351,8 @@ public void createEntityType(
354351 com .google .cloud .dialogflow .cx .v3 .CreateEntityTypeRequest request ,
355352 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .EntityType >
356353 responseObserver ) {
357- asyncUnimplementedUnaryCall (getCreateEntityTypeMethod (), responseObserver );
354+ io .grpc .stub .ServerCalls .asyncUnimplementedUnaryCall (
355+ getCreateEntityTypeMethod (), responseObserver );
358356 }
359357
360358 /**
@@ -368,7 +366,8 @@ public void updateEntityType(
368366 com .google .cloud .dialogflow .cx .v3 .UpdateEntityTypeRequest request ,
369367 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .EntityType >
370368 responseObserver ) {
371- asyncUnimplementedUnaryCall (getUpdateEntityTypeMethod (), responseObserver );
369+ io .grpc .stub .ServerCalls .asyncUnimplementedUnaryCall (
370+ getUpdateEntityTypeMethod (), responseObserver );
372371 }
373372
374373 /**
@@ -381,43 +380,44 @@ public void updateEntityType(
381380 public void deleteEntityType (
382381 com .google .cloud .dialogflow .cx .v3 .DeleteEntityTypeRequest request ,
383382 io .grpc .stub .StreamObserver <com .google .protobuf .Empty > responseObserver ) {
384- asyncUnimplementedUnaryCall (getDeleteEntityTypeMethod (), responseObserver );
383+ io .grpc .stub .ServerCalls .asyncUnimplementedUnaryCall (
384+ getDeleteEntityTypeMethod (), responseObserver );
385385 }
386386
387387 @ java .lang .Override
388388 public final io .grpc .ServerServiceDefinition bindService () {
389389 return io .grpc .ServerServiceDefinition .builder (getServiceDescriptor ())
390390 .addMethod (
391391 getListEntityTypesMethod (),
392- asyncUnaryCall (
392+ io . grpc . stub . ServerCalls . asyncUnaryCall (
393393 new MethodHandlers <
394394 com .google .cloud .dialogflow .cx .v3 .ListEntityTypesRequest ,
395395 com .google .cloud .dialogflow .cx .v3 .ListEntityTypesResponse >(
396396 this , METHODID_LIST_ENTITY_TYPES )))
397397 .addMethod (
398398 getGetEntityTypeMethod (),
399- asyncUnaryCall (
399+ io . grpc . stub . ServerCalls . asyncUnaryCall (
400400 new MethodHandlers <
401401 com .google .cloud .dialogflow .cx .v3 .GetEntityTypeRequest ,
402402 com .google .cloud .dialogflow .cx .v3 .EntityType >(
403403 this , METHODID_GET_ENTITY_TYPE )))
404404 .addMethod (
405405 getCreateEntityTypeMethod (),
406- asyncUnaryCall (
406+ io . grpc . stub . ServerCalls . asyncUnaryCall (
407407 new MethodHandlers <
408408 com .google .cloud .dialogflow .cx .v3 .CreateEntityTypeRequest ,
409409 com .google .cloud .dialogflow .cx .v3 .EntityType >(
410410 this , METHODID_CREATE_ENTITY_TYPE )))
411411 .addMethod (
412412 getUpdateEntityTypeMethod (),
413- asyncUnaryCall (
413+ io . grpc . stub . ServerCalls . asyncUnaryCall (
414414 new MethodHandlers <
415415 com .google .cloud .dialogflow .cx .v3 .UpdateEntityTypeRequest ,
416416 com .google .cloud .dialogflow .cx .v3 .EntityType >(
417417 this , METHODID_UPDATE_ENTITY_TYPE )))
418418 .addMethod (
419419 getDeleteEntityTypeMethod (),
420- asyncUnaryCall (
420+ io . grpc . stub . ServerCalls . asyncUnaryCall (
421421 new MethodHandlers <
422422 com .google .cloud .dialogflow .cx .v3 .DeleteEntityTypeRequest ,
423423 com .google .protobuf .Empty >(this , METHODID_DELETE_ENTITY_TYPE )))
@@ -454,7 +454,7 @@ public void listEntityTypes(
454454 com .google .cloud .dialogflow .cx .v3 .ListEntityTypesRequest request ,
455455 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .ListEntityTypesResponse >
456456 responseObserver ) {
457- asyncUnaryCall (
457+ io . grpc . stub . ClientCalls . asyncUnaryCall (
458458 getChannel ().newCall (getListEntityTypesMethod (), getCallOptions ()),
459459 request ,
460460 responseObserver );
@@ -471,7 +471,7 @@ public void getEntityType(
471471 com .google .cloud .dialogflow .cx .v3 .GetEntityTypeRequest request ,
472472 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .EntityType >
473473 responseObserver ) {
474- asyncUnaryCall (
474+ io . grpc . stub . ClientCalls . asyncUnaryCall (
475475 getChannel ().newCall (getGetEntityTypeMethod (), getCallOptions ()),
476476 request ,
477477 responseObserver );
@@ -488,7 +488,7 @@ public void createEntityType(
488488 com .google .cloud .dialogflow .cx .v3 .CreateEntityTypeRequest request ,
489489 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .EntityType >
490490 responseObserver ) {
491- asyncUnaryCall (
491+ io . grpc . stub . ClientCalls . asyncUnaryCall (
492492 getChannel ().newCall (getCreateEntityTypeMethod (), getCallOptions ()),
493493 request ,
494494 responseObserver );
@@ -505,7 +505,7 @@ public void updateEntityType(
505505 com .google .cloud .dialogflow .cx .v3 .UpdateEntityTypeRequest request ,
506506 io .grpc .stub .StreamObserver <com .google .cloud .dialogflow .cx .v3 .EntityType >
507507 responseObserver ) {
508- asyncUnaryCall (
508+ io . grpc . stub . ClientCalls . asyncUnaryCall (
509509 getChannel ().newCall (getUpdateEntityTypeMethod (), getCallOptions ()),
510510 request ,
511511 responseObserver );
@@ -521,7 +521,7 @@ public void updateEntityType(
521521 public void deleteEntityType (
522522 com .google .cloud .dialogflow .cx .v3 .DeleteEntityTypeRequest request ,
523523 io .grpc .stub .StreamObserver <com .google .protobuf .Empty > responseObserver ) {
524- asyncUnaryCall (
524+ io . grpc . stub . ClientCalls . asyncUnaryCall (
525525 getChannel ().newCall (getDeleteEntityTypeMethod (), getCallOptions ()),
526526 request ,
527527 responseObserver );
@@ -556,7 +556,8 @@ protected EntityTypesBlockingStub build(
556556 */
557557 public com .google .cloud .dialogflow .cx .v3 .ListEntityTypesResponse listEntityTypes (
558558 com .google .cloud .dialogflow .cx .v3 .ListEntityTypesRequest request ) {
559- return blockingUnaryCall (getChannel (), getListEntityTypesMethod (), getCallOptions (), request );
559+ return io .grpc .stub .ClientCalls .blockingUnaryCall (
560+ getChannel (), getListEntityTypesMethod (), getCallOptions (), request );
560561 }
561562
562563 /**
@@ -568,7 +569,8 @@ public com.google.cloud.dialogflow.cx.v3.ListEntityTypesResponse listEntityTypes
568569 */
569570 public com .google .cloud .dialogflow .cx .v3 .EntityType getEntityType (
570571 com .google .cloud .dialogflow .cx .v3 .GetEntityTypeRequest request ) {
571- return blockingUnaryCall (getChannel (), getGetEntityTypeMethod (), getCallOptions (), request );
572+ return io .grpc .stub .ClientCalls .blockingUnaryCall (
573+ getChannel (), getGetEntityTypeMethod (), getCallOptions (), request );
572574 }
573575
574576 /**
@@ -580,7 +582,7 @@ public com.google.cloud.dialogflow.cx.v3.EntityType getEntityType(
580582 */
581583 public com .google .cloud .dialogflow .cx .v3 .EntityType createEntityType (
582584 com .google .cloud .dialogflow .cx .v3 .CreateEntityTypeRequest request ) {
583- return blockingUnaryCall (
585+ return io . grpc . stub . ClientCalls . blockingUnaryCall (
584586 getChannel (), getCreateEntityTypeMethod (), getCallOptions (), request );
585587 }
586588
@@ -593,7 +595,7 @@ public com.google.cloud.dialogflow.cx.v3.EntityType createEntityType(
593595 */
594596 public com .google .cloud .dialogflow .cx .v3 .EntityType updateEntityType (
595597 com .google .cloud .dialogflow .cx .v3 .UpdateEntityTypeRequest request ) {
596- return blockingUnaryCall (
598+ return io . grpc . stub . ClientCalls . blockingUnaryCall (
597599 getChannel (), getUpdateEntityTypeMethod (), getCallOptions (), request );
598600 }
599601
@@ -606,7 +608,7 @@ public com.google.cloud.dialogflow.cx.v3.EntityType updateEntityType(
606608 */
607609 public com .google .protobuf .Empty deleteEntityType (
608610 com .google .cloud .dialogflow .cx .v3 .DeleteEntityTypeRequest request ) {
609- return blockingUnaryCall (
611+ return io . grpc . stub . ClientCalls . blockingUnaryCall (
610612 getChannel (), getDeleteEntityTypeMethod (), getCallOptions (), request );
611613 }
612614 }
@@ -640,7 +642,7 @@ protected EntityTypesFutureStub build(
640642 public com .google .common .util .concurrent .ListenableFuture <
641643 com .google .cloud .dialogflow .cx .v3 .ListEntityTypesResponse >
642644 listEntityTypes (com .google .cloud .dialogflow .cx .v3 .ListEntityTypesRequest request ) {
643- return futureUnaryCall (
645+ return io . grpc . stub . ClientCalls . futureUnaryCall (
644646 getChannel ().newCall (getListEntityTypesMethod (), getCallOptions ()), request );
645647 }
646648
@@ -654,7 +656,7 @@ protected EntityTypesFutureStub build(
654656 public com .google .common .util .concurrent .ListenableFuture <
655657 com .google .cloud .dialogflow .cx .v3 .EntityType >
656658 getEntityType (com .google .cloud .dialogflow .cx .v3 .GetEntityTypeRequest request ) {
657- return futureUnaryCall (
659+ return io . grpc . stub . ClientCalls . futureUnaryCall (
658660 getChannel ().newCall (getGetEntityTypeMethod (), getCallOptions ()), request );
659661 }
660662
@@ -668,7 +670,7 @@ protected EntityTypesFutureStub build(
668670 public com .google .common .util .concurrent .ListenableFuture <
669671 com .google .cloud .dialogflow .cx .v3 .EntityType >
670672 createEntityType (com .google .cloud .dialogflow .cx .v3 .CreateEntityTypeRequest request ) {
671- return futureUnaryCall (
673+ return io . grpc . stub . ClientCalls . futureUnaryCall (
672674 getChannel ().newCall (getCreateEntityTypeMethod (), getCallOptions ()), request );
673675 }
674676
@@ -682,7 +684,7 @@ protected EntityTypesFutureStub build(
682684 public com .google .common .util .concurrent .ListenableFuture <
683685 com .google .cloud .dialogflow .cx .v3 .EntityType >
684686 updateEntityType (com .google .cloud .dialogflow .cx .v3 .UpdateEntityTypeRequest request ) {
685- return futureUnaryCall (
687+ return io . grpc . stub . ClientCalls . futureUnaryCall (
686688 getChannel ().newCall (getUpdateEntityTypeMethod (), getCallOptions ()), request );
687689 }
688690
@@ -695,7 +697,7 @@ protected EntityTypesFutureStub build(
695697 */
696698 public com .google .common .util .concurrent .ListenableFuture <com .google .protobuf .Empty >
697699 deleteEntityType (com .google .cloud .dialogflow .cx .v3 .DeleteEntityTypeRequest request ) {
698- return futureUnaryCall (
700+ return io . grpc . stub . ClientCalls . futureUnaryCall (
699701 getChannel ().newCall (getDeleteEntityTypeMethod (), getCallOptions ()), request );
700702 }
701703 }
0 commit comments