2424 * Service for doing schema-related operations.
2525 * </pre>
2626 */
27- @ javax .annotation .Generated (
28- value = "by gRPC proto compiler" ,
29- comments = "Source: google/pubsub/v1/schema.proto" )
3027@ io .grpc .stub .annotations .GrpcGenerated
3128public final class SchemaServiceGrpc {
3229
@@ -881,8 +878,8 @@ protected SchemaServiceBlockingV2Stub build(
881878 * </pre>
882879 */
883880 public com .google .pubsub .v1 .Schema createSchema (
884- com .google .pubsub .v1 .CreateSchemaRequest request ) {
885- return io .grpc .stub .ClientCalls .blockingUnaryCall (
881+ com .google .pubsub .v1 .CreateSchemaRequest request ) throws io . grpc . StatusException {
882+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
886883 getChannel (), getCreateSchemaMethod (), getCallOptions (), request );
887884 }
888885
@@ -893,8 +890,9 @@ public com.google.pubsub.v1.Schema createSchema(
893890 * Gets a schema.
894891 * </pre>
895892 */
896- public com .google .pubsub .v1 .Schema getSchema (com .google .pubsub .v1 .GetSchemaRequest request ) {
897- return io .grpc .stub .ClientCalls .blockingUnaryCall (
893+ public com .google .pubsub .v1 .Schema getSchema (com .google .pubsub .v1 .GetSchemaRequest request )
894+ throws io .grpc .StatusException {
895+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
898896 getChannel (), getGetSchemaMethod (), getCallOptions (), request );
899897 }
900898
@@ -906,8 +904,8 @@ public com.google.pubsub.v1.Schema getSchema(com.google.pubsub.v1.GetSchemaReque
906904 * </pre>
907905 */
908906 public com .google .pubsub .v1 .ListSchemasResponse listSchemas (
909- com .google .pubsub .v1 .ListSchemasRequest request ) {
910- return io .grpc .stub .ClientCalls .blockingUnaryCall (
907+ com .google .pubsub .v1 .ListSchemasRequest request ) throws io . grpc . StatusException {
908+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
911909 getChannel (), getListSchemasMethod (), getCallOptions (), request );
912910 }
913911
@@ -919,8 +917,8 @@ public com.google.pubsub.v1.ListSchemasResponse listSchemas(
919917 * </pre>
920918 */
921919 public com .google .pubsub .v1 .ListSchemaRevisionsResponse listSchemaRevisions (
922- com .google .pubsub .v1 .ListSchemaRevisionsRequest request ) {
923- return io .grpc .stub .ClientCalls .blockingUnaryCall (
920+ com .google .pubsub .v1 .ListSchemaRevisionsRequest request ) throws io . grpc . StatusException {
921+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
924922 getChannel (), getListSchemaRevisionsMethod (), getCallOptions (), request );
925923 }
926924
@@ -932,8 +930,8 @@ public com.google.pubsub.v1.ListSchemaRevisionsResponse listSchemaRevisions(
932930 * </pre>
933931 */
934932 public com .google .pubsub .v1 .Schema commitSchema (
935- com .google .pubsub .v1 .CommitSchemaRequest request ) {
936- return io .grpc .stub .ClientCalls .blockingUnaryCall (
933+ com .google .pubsub .v1 .CommitSchemaRequest request ) throws io . grpc . StatusException {
934+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
937935 getChannel (), getCommitSchemaMethod (), getCallOptions (), request );
938936 }
939937
@@ -945,8 +943,8 @@ public com.google.pubsub.v1.Schema commitSchema(
945943 * </pre>
946944 */
947945 public com .google .pubsub .v1 .Schema rollbackSchema (
948- com .google .pubsub .v1 .RollbackSchemaRequest request ) {
949- return io .grpc .stub .ClientCalls .blockingUnaryCall (
946+ com .google .pubsub .v1 .RollbackSchemaRequest request ) throws io . grpc . StatusException {
947+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
950948 getChannel (), getRollbackSchemaMethod (), getCallOptions (), request );
951949 }
952950
@@ -958,8 +956,8 @@ public com.google.pubsub.v1.Schema rollbackSchema(
958956 * </pre>
959957 */
960958 public com .google .pubsub .v1 .Schema deleteSchemaRevision (
961- com .google .pubsub .v1 .DeleteSchemaRevisionRequest request ) {
962- return io .grpc .stub .ClientCalls .blockingUnaryCall (
959+ com .google .pubsub .v1 .DeleteSchemaRevisionRequest request ) throws io . grpc . StatusException {
960+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
963961 getChannel (), getDeleteSchemaRevisionMethod (), getCallOptions (), request );
964962 }
965963
@@ -970,9 +968,9 @@ public com.google.pubsub.v1.Schema deleteSchemaRevision(
970968 * Deletes a schema.
971969 * </pre>
972970 */
973- public com .google .protobuf .Empty deleteSchema (
974- com . google . pubsub . v1 . DeleteSchemaRequest request ) {
975- return io .grpc .stub .ClientCalls .blockingUnaryCall (
971+ public com .google .protobuf .Empty deleteSchema (com . google . pubsub . v1 . DeleteSchemaRequest request )
972+ throws io . grpc . StatusException {
973+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
976974 getChannel (), getDeleteSchemaMethod (), getCallOptions (), request );
977975 }
978976
@@ -984,8 +982,8 @@ public com.google.protobuf.Empty deleteSchema(
984982 * </pre>
985983 */
986984 public com .google .pubsub .v1 .ValidateSchemaResponse validateSchema (
987- com .google .pubsub .v1 .ValidateSchemaRequest request ) {
988- return io .grpc .stub .ClientCalls .blockingUnaryCall (
985+ com .google .pubsub .v1 .ValidateSchemaRequest request ) throws io . grpc . StatusException {
986+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
989987 getChannel (), getValidateSchemaMethod (), getCallOptions (), request );
990988 }
991989
@@ -997,8 +995,8 @@ public com.google.pubsub.v1.ValidateSchemaResponse validateSchema(
997995 * </pre>
998996 */
999997 public com .google .pubsub .v1 .ValidateMessageResponse validateMessage (
1000- com .google .pubsub .v1 .ValidateMessageRequest request ) {
1001- return io .grpc .stub .ClientCalls .blockingUnaryCall (
998+ com .google .pubsub .v1 .ValidateMessageRequest request ) throws io . grpc . StatusException {
999+ return io .grpc .stub .ClientCalls .blockingV2UnaryCall (
10021000 getChannel (), getValidateMessageMethod (), getCallOptions (), request );
10031001 }
10041002 }
0 commit comments