All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.v2.ParticipantsGrpc Maven / Gradle / Ivy

There is a newer version: 4.60.0
Show newest version
/*
 * Copyright 2024 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.dialogflow.v2;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 *
 *
 * 
 * Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/dialogflow/v2/participant.proto") @io.grpc.stub.annotations.GrpcGenerated public final class ParticipantsGrpc { private ParticipantsGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.dialogflow.v2.Participants"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getCreateParticipantMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateParticipant", requestType = com.google.cloud.dialogflow.v2.CreateParticipantRequest.class, responseType = com.google.cloud.dialogflow.v2.Participant.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getCreateParticipantMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.CreateParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getCreateParticipantMethod; if ((getCreateParticipantMethod = ParticipantsGrpc.getCreateParticipantMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getCreateParticipantMethod = ParticipantsGrpc.getCreateParticipantMethod) == null) { ParticipantsGrpc.getCreateParticipantMethod = getCreateParticipantMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateParticipant")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.CreateParticipantRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.Participant.getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("CreateParticipant")) .build(); } } } return getCreateParticipantMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getGetParticipantMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetParticipant", requestType = com.google.cloud.dialogflow.v2.GetParticipantRequest.class, responseType = com.google.cloud.dialogflow.v2.Participant.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getGetParticipantMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.GetParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getGetParticipantMethod; if ((getGetParticipantMethod = ParticipantsGrpc.getGetParticipantMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getGetParticipantMethod = ParticipantsGrpc.getGetParticipantMethod) == null) { ParticipantsGrpc.getGetParticipantMethod = getGetParticipantMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetParticipant")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.GetParticipantRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.Participant.getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("GetParticipant")) .build(); } } } return getGetParticipantMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListParticipantsRequest, com.google.cloud.dialogflow.v2.ListParticipantsResponse> getListParticipantsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListParticipants", requestType = com.google.cloud.dialogflow.v2.ListParticipantsRequest.class, responseType = com.google.cloud.dialogflow.v2.ListParticipantsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListParticipantsRequest, com.google.cloud.dialogflow.v2.ListParticipantsResponse> getListParticipantsMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.ListParticipantsRequest, com.google.cloud.dialogflow.v2.ListParticipantsResponse> getListParticipantsMethod; if ((getListParticipantsMethod = ParticipantsGrpc.getListParticipantsMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getListParticipantsMethod = ParticipantsGrpc.getListParticipantsMethod) == null) { ParticipantsGrpc.getListParticipantsMethod = getListParticipantsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListParticipants")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.ListParticipantsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.ListParticipantsResponse .getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("ListParticipants")) .build(); } } } return getListParticipantsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getUpdateParticipantMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateParticipant", requestType = com.google.cloud.dialogflow.v2.UpdateParticipantRequest.class, responseType = com.google.cloud.dialogflow.v2.Participant.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getUpdateParticipantMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.UpdateParticipantRequest, com.google.cloud.dialogflow.v2.Participant> getUpdateParticipantMethod; if ((getUpdateParticipantMethod = ParticipantsGrpc.getUpdateParticipantMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getUpdateParticipantMethod = ParticipantsGrpc.getUpdateParticipantMethod) == null) { ParticipantsGrpc.getUpdateParticipantMethod = getUpdateParticipantMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateParticipant")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.UpdateParticipantRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.Participant.getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("UpdateParticipant")) .build(); } } } return getUpdateParticipantMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.AnalyzeContentRequest, com.google.cloud.dialogflow.v2.AnalyzeContentResponse> getAnalyzeContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AnalyzeContent", requestType = com.google.cloud.dialogflow.v2.AnalyzeContentRequest.class, responseType = com.google.cloud.dialogflow.v2.AnalyzeContentResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.AnalyzeContentRequest, com.google.cloud.dialogflow.v2.AnalyzeContentResponse> getAnalyzeContentMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.AnalyzeContentRequest, com.google.cloud.dialogflow.v2.AnalyzeContentResponse> getAnalyzeContentMethod; if ((getAnalyzeContentMethod = ParticipantsGrpc.getAnalyzeContentMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getAnalyzeContentMethod = ParticipantsGrpc.getAnalyzeContentMethod) == null) { ParticipantsGrpc.getAnalyzeContentMethod = getAnalyzeContentMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeContent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.AnalyzeContentRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.AnalyzeContentResponse .getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("AnalyzeContent")) .build(); } } } return getAnalyzeContentMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest, com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse> getStreamingAnalyzeContentMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StreamingAnalyzeContent", requestType = com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest.class, responseType = com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest, com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse> getStreamingAnalyzeContentMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest, com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse> getStreamingAnalyzeContentMethod; if ((getStreamingAnalyzeContentMethod = ParticipantsGrpc.getStreamingAnalyzeContentMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getStreamingAnalyzeContentMethod = ParticipantsGrpc.getStreamingAnalyzeContentMethod) == null) { ParticipantsGrpc.getStreamingAnalyzeContentMethod = getStreamingAnalyzeContentMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "StreamingAnalyzeContent")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse .getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("StreamingAnalyzeContent")) .build(); } } } return getStreamingAnalyzeContentMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestArticlesRequest, com.google.cloud.dialogflow.v2.SuggestArticlesResponse> getSuggestArticlesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SuggestArticles", requestType = com.google.cloud.dialogflow.v2.SuggestArticlesRequest.class, responseType = com.google.cloud.dialogflow.v2.SuggestArticlesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestArticlesRequest, com.google.cloud.dialogflow.v2.SuggestArticlesResponse> getSuggestArticlesMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestArticlesRequest, com.google.cloud.dialogflow.v2.SuggestArticlesResponse> getSuggestArticlesMethod; if ((getSuggestArticlesMethod = ParticipantsGrpc.getSuggestArticlesMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getSuggestArticlesMethod = ParticipantsGrpc.getSuggestArticlesMethod) == null) { ParticipantsGrpc.getSuggestArticlesMethod = getSuggestArticlesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SuggestArticles")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestArticlesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestArticlesResponse .getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("SuggestArticles")) .build(); } } } return getSuggestArticlesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest, com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse> getSuggestFaqAnswersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SuggestFaqAnswers", requestType = com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest.class, responseType = com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest, com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse> getSuggestFaqAnswersMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest, com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse> getSuggestFaqAnswersMethod; if ((getSuggestFaqAnswersMethod = ParticipantsGrpc.getSuggestFaqAnswersMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getSuggestFaqAnswersMethod = ParticipantsGrpc.getSuggestFaqAnswersMethod) == null) { ParticipantsGrpc.getSuggestFaqAnswersMethod = getSuggestFaqAnswersMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SuggestFaqAnswers")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse .getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("SuggestFaqAnswers")) .build(); } } } return getSuggestFaqAnswersMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest, com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse> getSuggestSmartRepliesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SuggestSmartReplies", requestType = com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest.class, responseType = com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest, com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse> getSuggestSmartRepliesMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest, com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse> getSuggestSmartRepliesMethod; if ((getSuggestSmartRepliesMethod = ParticipantsGrpc.getSuggestSmartRepliesMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getSuggestSmartRepliesMethod = ParticipantsGrpc.getSuggestSmartRepliesMethod) == null) { ParticipantsGrpc.getSuggestSmartRepliesMethod = getSuggestSmartRepliesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "SuggestSmartReplies")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse .getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("SuggestSmartReplies")) .build(); } } } return getSuggestSmartRepliesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest, com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse> getSuggestKnowledgeAssistMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SuggestKnowledgeAssist", requestType = com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest.class, responseType = com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest, com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse> getSuggestKnowledgeAssistMethod() { io.grpc.MethodDescriptor< com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest, com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse> getSuggestKnowledgeAssistMethod; if ((getSuggestKnowledgeAssistMethod = ParticipantsGrpc.getSuggestKnowledgeAssistMethod) == null) { synchronized (ParticipantsGrpc.class) { if ((getSuggestKnowledgeAssistMethod = ParticipantsGrpc.getSuggestKnowledgeAssistMethod) == null) { ParticipantsGrpc.getSuggestKnowledgeAssistMethod = getSuggestKnowledgeAssistMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "SuggestKnowledgeAssist")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse .getDefaultInstance())) .setSchemaDescriptor( new ParticipantsMethodDescriptorSupplier("SuggestKnowledgeAssist")) .build(); } } } return getSuggestKnowledgeAssistMethod; } /** Creates a new async stub that supports all call types for the service */ public static ParticipantsStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public ParticipantsStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ParticipantsStub(channel, callOptions); } }; return ParticipantsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static ParticipantsBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public ParticipantsBlockingStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ParticipantsBlockingStub(channel, callOptions); } }; return ParticipantsBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static ParticipantsFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public ParticipantsFutureStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ParticipantsFutureStub(channel, callOptions); } }; return ParticipantsFutureStub.newStub(factory, channel); } /** * * *
   * Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
   * 
*/ public interface AsyncService { /** * * *
     * Creates a new participant in a conversation.
     * 
*/ default void createParticipant( com.google.cloud.dialogflow.v2.CreateParticipantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateParticipantMethod(), responseObserver); } /** * * *
     * Retrieves a conversation participant.
     * 
*/ default void getParticipant( com.google.cloud.dialogflow.v2.GetParticipantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetParticipantMethod(), responseObserver); } /** * * *
     * Returns the list of all participants in the specified conversation.
     * 
*/ default void listParticipants( com.google.cloud.dialogflow.v2.ListParticipantsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListParticipantsMethod(), responseObserver); } /** * * *
     * Updates the specified participant.
     * 
*/ default void updateParticipant( com.google.cloud.dialogflow.v2.UpdateParticipantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateParticipantMethod(), responseObserver); } /** * * *
     * Adds a text (chat, for example), or audio (phone recording, for example)
     * message from a participant into the conversation.
     * Note: Always use agent versions for production traffic
     * sent to virtual agents. See [Versions and
     * environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
     * 
*/ default void analyzeContent( com.google.cloud.dialogflow.v2.AnalyzeContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getAnalyzeContentMethod(), responseObserver); } /** * * *
     * Adds a text (chat, for example), or audio (phone recording, for example)
     * message from a participant into the conversation.
     * Note: This method is only available through the gRPC API (not REST).
     * The top-level message sent to the client by the server is
     * `StreamingAnalyzeContentResponse`. Multiple response messages can be
     * returned in order. The first one or more messages contain the
     * `recognition_result` field. Each result represents a more complete
     * transcript of what the user said. The next message contains the
     * `reply_text` field and potentially the `reply_audio` field. The message can
     * also contain the `automated_agent_reply` field.
     * Note: Always use agent versions for production traffic
     * sent to virtual agents. See [Versions and
     * environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
     * 
*/ default io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest> streamingAnalyzeContent( io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse> responseObserver) { return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( getStreamingAnalyzeContentMethod(), responseObserver); } /** * * *
     * Gets suggested articles for a participant based on specific historical
     * messages.
     * 
*/ default void suggestArticles( com.google.cloud.dialogflow.v2.SuggestArticlesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getSuggestArticlesMethod(), responseObserver); } /** * * *
     * Gets suggested faq answers for a participant based on specific historical
     * messages.
     * 
*/ default void suggestFaqAnswers( com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getSuggestFaqAnswersMethod(), responseObserver); } /** * * *
     * Gets smart replies for a participant based on specific historical
     * messages.
     * 
*/ default void suggestSmartReplies( com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getSuggestSmartRepliesMethod(), responseObserver); } /** * * *
     * Gets knowledge assist suggestions based on historical messages.
     * 
*/ default void suggestKnowledgeAssist( com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getSuggestKnowledgeAssistMethod(), responseObserver); } } /** * Base class for the server implementation of the service Participants. * *
   * Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
   * 
*/ public abstract static class ParticipantsImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return ParticipantsGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Participants. * *
   * Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
   * 
*/ public static final class ParticipantsStub extends io.grpc.stub.AbstractAsyncStub { private ParticipantsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ParticipantsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ParticipantsStub(channel, callOptions); } /** * * *
     * Creates a new participant in a conversation.
     * 
*/ public void createParticipant( com.google.cloud.dialogflow.v2.CreateParticipantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateParticipantMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Retrieves a conversation participant.
     * 
*/ public void getParticipant( com.google.cloud.dialogflow.v2.GetParticipantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetParticipantMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns the list of all participants in the specified conversation.
     * 
*/ public void listParticipants( com.google.cloud.dialogflow.v2.ListParticipantsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListParticipantsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates the specified participant.
     * 
*/ public void updateParticipant( com.google.cloud.dialogflow.v2.UpdateParticipantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateParticipantMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Adds a text (chat, for example), or audio (phone recording, for example)
     * message from a participant into the conversation.
     * Note: Always use agent versions for production traffic
     * sent to virtual agents. See [Versions and
     * environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
     * 
*/ public void analyzeContent( com.google.cloud.dialogflow.v2.AnalyzeContentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAnalyzeContentMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Adds a text (chat, for example), or audio (phone recording, for example)
     * message from a participant into the conversation.
     * Note: This method is only available through the gRPC API (not REST).
     * The top-level message sent to the client by the server is
     * `StreamingAnalyzeContentResponse`. Multiple response messages can be
     * returned in order. The first one or more messages contain the
     * `recognition_result` field. Each result represents a more complete
     * transcript of what the user said. The next message contains the
     * `reply_text` field and potentially the `reply_audio` field. The message can
     * also contain the `automated_agent_reply` field.
     * Note: Always use agent versions for production traffic
     * sent to virtual agents. See [Versions and
     * environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
     * 
*/ public io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest> streamingAnalyzeContent( io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse> responseObserver) { return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( getChannel().newCall(getStreamingAnalyzeContentMethod(), getCallOptions()), responseObserver); } /** * * *
     * Gets suggested articles for a participant based on specific historical
     * messages.
     * 
*/ public void suggestArticles( com.google.cloud.dialogflow.v2.SuggestArticlesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSuggestArticlesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets suggested faq answers for a participant based on specific historical
     * messages.
     * 
*/ public void suggestFaqAnswers( com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSuggestFaqAnswersMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets smart replies for a participant based on specific historical
     * messages.
     * 
*/ public void suggestSmartReplies( com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSuggestSmartRepliesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets knowledge assist suggestions based on historical messages.
     * 
*/ public void suggestKnowledgeAssist( com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSuggestKnowledgeAssistMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Participants. * *
   * Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
   * 
*/ public static final class ParticipantsBlockingStub extends io.grpc.stub.AbstractBlockingStub { private ParticipantsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ParticipantsBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ParticipantsBlockingStub(channel, callOptions); } /** * * *
     * Creates a new participant in a conversation.
     * 
*/ public com.google.cloud.dialogflow.v2.Participant createParticipant( com.google.cloud.dialogflow.v2.CreateParticipantRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateParticipantMethod(), getCallOptions(), request); } /** * * *
     * Retrieves a conversation participant.
     * 
*/ public com.google.cloud.dialogflow.v2.Participant getParticipant( com.google.cloud.dialogflow.v2.GetParticipantRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetParticipantMethod(), getCallOptions(), request); } /** * * *
     * Returns the list of all participants in the specified conversation.
     * 
*/ public com.google.cloud.dialogflow.v2.ListParticipantsResponse listParticipants( com.google.cloud.dialogflow.v2.ListParticipantsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListParticipantsMethod(), getCallOptions(), request); } /** * * *
     * Updates the specified participant.
     * 
*/ public com.google.cloud.dialogflow.v2.Participant updateParticipant( com.google.cloud.dialogflow.v2.UpdateParticipantRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateParticipantMethod(), getCallOptions(), request); } /** * * *
     * Adds a text (chat, for example), or audio (phone recording, for example)
     * message from a participant into the conversation.
     * Note: Always use agent versions for production traffic
     * sent to virtual agents. See [Versions and
     * environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
     * 
*/ public com.google.cloud.dialogflow.v2.AnalyzeContentResponse analyzeContent( com.google.cloud.dialogflow.v2.AnalyzeContentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAnalyzeContentMethod(), getCallOptions(), request); } /** * * *
     * Gets suggested articles for a participant based on specific historical
     * messages.
     * 
*/ public com.google.cloud.dialogflow.v2.SuggestArticlesResponse suggestArticles( com.google.cloud.dialogflow.v2.SuggestArticlesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSuggestArticlesMethod(), getCallOptions(), request); } /** * * *
     * Gets suggested faq answers for a participant based on specific historical
     * messages.
     * 
*/ public com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse suggestFaqAnswers( com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSuggestFaqAnswersMethod(), getCallOptions(), request); } /** * * *
     * Gets smart replies for a participant based on specific historical
     * messages.
     * 
*/ public com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse suggestSmartReplies( com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSuggestSmartRepliesMethod(), getCallOptions(), request); } /** * * *
     * Gets knowledge assist suggestions based on historical messages.
     * 
*/ public com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse suggestKnowledgeAssist( com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSuggestKnowledgeAssistMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Participants. * *
   * Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
   * 
*/ public static final class ParticipantsFutureStub extends io.grpc.stub.AbstractFutureStub { private ParticipantsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ParticipantsFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ParticipantsFutureStub(channel, callOptions); } /** * * *
     * Creates a new participant in a conversation.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.Participant> createParticipant(com.google.cloud.dialogflow.v2.CreateParticipantRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateParticipantMethod(), getCallOptions()), request); } /** * * *
     * Retrieves a conversation participant.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.Participant> getParticipant(com.google.cloud.dialogflow.v2.GetParticipantRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetParticipantMethod(), getCallOptions()), request); } /** * * *
     * Returns the list of all participants in the specified conversation.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.ListParticipantsResponse> listParticipants(com.google.cloud.dialogflow.v2.ListParticipantsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListParticipantsMethod(), getCallOptions()), request); } /** * * *
     * Updates the specified participant.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.Participant> updateParticipant(com.google.cloud.dialogflow.v2.UpdateParticipantRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateParticipantMethod(), getCallOptions()), request); } /** * * *
     * Adds a text (chat, for example), or audio (phone recording, for example)
     * message from a participant into the conversation.
     * Note: Always use agent versions for production traffic
     * sent to virtual agents. See [Versions and
     * environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.AnalyzeContentResponse> analyzeContent(com.google.cloud.dialogflow.v2.AnalyzeContentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAnalyzeContentMethod(), getCallOptions()), request); } /** * * *
     * Gets suggested articles for a participant based on specific historical
     * messages.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.SuggestArticlesResponse> suggestArticles(com.google.cloud.dialogflow.v2.SuggestArticlesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSuggestArticlesMethod(), getCallOptions()), request); } /** * * *
     * Gets suggested faq answers for a participant based on specific historical
     * messages.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse> suggestFaqAnswers(com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSuggestFaqAnswersMethod(), getCallOptions()), request); } /** * * *
     * Gets smart replies for a participant based on specific historical
     * messages.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse> suggestSmartReplies(com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSuggestSmartRepliesMethod(), getCallOptions()), request); } /** * * *
     * Gets knowledge assist suggestions based on historical messages.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse> suggestKnowledgeAssist( com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSuggestKnowledgeAssistMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_PARTICIPANT = 0; private static final int METHODID_GET_PARTICIPANT = 1; private static final int METHODID_LIST_PARTICIPANTS = 2; private static final int METHODID_UPDATE_PARTICIPANT = 3; private static final int METHODID_ANALYZE_CONTENT = 4; private static final int METHODID_SUGGEST_ARTICLES = 5; private static final int METHODID_SUGGEST_FAQ_ANSWERS = 6; private static final int METHODID_SUGGEST_SMART_REPLIES = 7; private static final int METHODID_SUGGEST_KNOWLEDGE_ASSIST = 8; private static final int METHODID_STREAMING_ANALYZE_CONTENT = 9; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; MethodHandlers(AsyncService serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_PARTICIPANT: serviceImpl.createParticipant( (com.google.cloud.dialogflow.v2.CreateParticipantRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PARTICIPANT: serviceImpl.getParticipant( (com.google.cloud.dialogflow.v2.GetParticipantRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_PARTICIPANTS: serviceImpl.listParticipants( (com.google.cloud.dialogflow.v2.ListParticipantsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_PARTICIPANT: serviceImpl.updateParticipant( (com.google.cloud.dialogflow.v2.UpdateParticipantRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ANALYZE_CONTENT: serviceImpl.analyzeContent( (com.google.cloud.dialogflow.v2.AnalyzeContentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUGGEST_ARTICLES: serviceImpl.suggestArticles( (com.google.cloud.dialogflow.v2.SuggestArticlesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUGGEST_FAQ_ANSWERS: serviceImpl.suggestFaqAnswers( (com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse>) responseObserver); break; case METHODID_SUGGEST_SMART_REPLIES: serviceImpl.suggestSmartReplies( (com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse>) responseObserver); break; case METHODID_SUGGEST_KNOWLEDGE_ASSIST: serviceImpl.suggestKnowledgeAssist( (com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse>) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_STREAMING_ANALYZE_CONTENT: return (io.grpc.stub.StreamObserver) serviceImpl.streamingAnalyzeContent( (io.grpc.stub.StreamObserver< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse>) responseObserver); default: throw new AssertionError(); } } } public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateParticipantMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.CreateParticipantRequest, com.google.cloud.dialogflow.v2.Participant>( service, METHODID_CREATE_PARTICIPANT))) .addMethod( getGetParticipantMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.GetParticipantRequest, com.google.cloud.dialogflow.v2.Participant>(service, METHODID_GET_PARTICIPANT))) .addMethod( getListParticipantsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.ListParticipantsRequest, com.google.cloud.dialogflow.v2.ListParticipantsResponse>( service, METHODID_LIST_PARTICIPANTS))) .addMethod( getUpdateParticipantMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.UpdateParticipantRequest, com.google.cloud.dialogflow.v2.Participant>( service, METHODID_UPDATE_PARTICIPANT))) .addMethod( getAnalyzeContentMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.AnalyzeContentRequest, com.google.cloud.dialogflow.v2.AnalyzeContentResponse>( service, METHODID_ANALYZE_CONTENT))) .addMethod( getStreamingAnalyzeContentMethod(), io.grpc.stub.ServerCalls.asyncBidiStreamingCall( new MethodHandlers< com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest, com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse>( service, METHODID_STREAMING_ANALYZE_CONTENT))) .addMethod( getSuggestArticlesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.SuggestArticlesRequest, com.google.cloud.dialogflow.v2.SuggestArticlesResponse>( service, METHODID_SUGGEST_ARTICLES))) .addMethod( getSuggestFaqAnswersMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest, com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse>( service, METHODID_SUGGEST_FAQ_ANSWERS))) .addMethod( getSuggestSmartRepliesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest, com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse>( service, METHODID_SUGGEST_SMART_REPLIES))) .addMethod( getSuggestKnowledgeAssistMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistRequest, com.google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse>( service, METHODID_SUGGEST_KNOWLEDGE_ASSIST))) .build(); } private abstract static class ParticipantsBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { ParticipantsBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.google.cloud.dialogflow.v2.ParticipantProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("Participants"); } } private static final class ParticipantsFileDescriptorSupplier extends ParticipantsBaseDescriptorSupplier { ParticipantsFileDescriptorSupplier() {} } private static final class ParticipantsMethodDescriptorSupplier extends ParticipantsBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; ParticipantsMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (ParticipantsGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new ParticipantsFileDescriptorSupplier()) .addMethod(getCreateParticipantMethod()) .addMethod(getGetParticipantMethod()) .addMethod(getListParticipantsMethod()) .addMethod(getUpdateParticipantMethod()) .addMethod(getAnalyzeContentMethod()) .addMethod(getStreamingAnalyzeContentMethod()) .addMethod(getSuggestArticlesMethod()) .addMethod(getSuggestFaqAnswersMethod()) .addMethod(getSuggestSmartRepliesMethod()) .addMethod(getSuggestKnowledgeAssistMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy