Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* 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.cx.v3beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*
*
*
* Service for managing
* [Generators][google.cloud.dialogflow.cx.v3beta1.Generator]
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dialogflow/cx/v3beta1/generator.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class GeneratorsGrpc {
private GeneratorsGrpc() {}
public static final java.lang.String SERVICE_NAME =
"google.cloud.dialogflow.cx.v3beta1.Generators";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse>
getListGeneratorsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListGenerators",
requestType = com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse>
getListGeneratorsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse>
getListGeneratorsMethod;
if ((getListGeneratorsMethod = GeneratorsGrpc.getListGeneratorsMethod) == null) {
synchronized (GeneratorsGrpc.class) {
if ((getListGeneratorsMethod = GeneratorsGrpc.getListGeneratorsMethod) == null) {
GeneratorsGrpc.getListGeneratorsMethod =
getListGeneratorsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGenerators"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse
.getDefaultInstance()))
.setSchemaDescriptor(new GeneratorsMethodDescriptorSupplier("ListGenerators"))
.build();
}
}
}
return getListGeneratorsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getGetGeneratorMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetGenerator",
requestType = com.google.cloud.dialogflow.cx.v3beta1.GetGeneratorRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.Generator.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getGetGeneratorMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getGetGeneratorMethod;
if ((getGetGeneratorMethod = GeneratorsGrpc.getGetGeneratorMethod) == null) {
synchronized (GeneratorsGrpc.class) {
if ((getGetGeneratorMethod = GeneratorsGrpc.getGetGeneratorMethod) == null) {
GeneratorsGrpc.getGetGeneratorMethod =
getGetGeneratorMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGenerator"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.GetGeneratorRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.Generator
.getDefaultInstance()))
.setSchemaDescriptor(new GeneratorsMethodDescriptorSupplier("GetGenerator"))
.build();
}
}
}
return getGetGeneratorMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.CreateGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getCreateGeneratorMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateGenerator",
requestType = com.google.cloud.dialogflow.cx.v3beta1.CreateGeneratorRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.Generator.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.CreateGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getCreateGeneratorMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.CreateGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getCreateGeneratorMethod;
if ((getCreateGeneratorMethod = GeneratorsGrpc.getCreateGeneratorMethod) == null) {
synchronized (GeneratorsGrpc.class) {
if ((getCreateGeneratorMethod = GeneratorsGrpc.getCreateGeneratorMethod) == null) {
GeneratorsGrpc.getCreateGeneratorMethod =
getCreateGeneratorMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGenerator"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.CreateGeneratorRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.Generator
.getDefaultInstance()))
.setSchemaDescriptor(
new GeneratorsMethodDescriptorSupplier("CreateGenerator"))
.build();
}
}
}
return getCreateGeneratorMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.UpdateGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getUpdateGeneratorMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateGenerator",
requestType = com.google.cloud.dialogflow.cx.v3beta1.UpdateGeneratorRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.Generator.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.UpdateGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getUpdateGeneratorMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.UpdateGeneratorRequest,
com.google.cloud.dialogflow.cx.v3beta1.Generator>
getUpdateGeneratorMethod;
if ((getUpdateGeneratorMethod = GeneratorsGrpc.getUpdateGeneratorMethod) == null) {
synchronized (GeneratorsGrpc.class) {
if ((getUpdateGeneratorMethod = GeneratorsGrpc.getUpdateGeneratorMethod) == null) {
GeneratorsGrpc.getUpdateGeneratorMethod =
getUpdateGeneratorMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGenerator"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.UpdateGeneratorRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.Generator
.getDefaultInstance()))
.setSchemaDescriptor(
new GeneratorsMethodDescriptorSupplier("UpdateGenerator"))
.build();
}
}
}
return getUpdateGeneratorMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest, com.google.protobuf.Empty>
getDeleteGeneratorMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteGenerator",
requestType = com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest, com.google.protobuf.Empty>
getDeleteGeneratorMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest,
com.google.protobuf.Empty>
getDeleteGeneratorMethod;
if ((getDeleteGeneratorMethod = GeneratorsGrpc.getDeleteGeneratorMethod) == null) {
synchronized (GeneratorsGrpc.class) {
if ((getDeleteGeneratorMethod = GeneratorsGrpc.getDeleteGeneratorMethod) == null) {
GeneratorsGrpc.getDeleteGeneratorMethod =
getDeleteGeneratorMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGenerator"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(
new GeneratorsMethodDescriptorSupplier("DeleteGenerator"))
.build();
}
}
}
return getDeleteGeneratorMethod;
}
/** Creates a new async stub that supports all call types for the service */
public static GeneratorsStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public GeneratorsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GeneratorsStub(channel, callOptions);
}
};
return GeneratorsStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static GeneratorsBlockingStub newBlockingStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public GeneratorsBlockingStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GeneratorsBlockingStub(channel, callOptions);
}
};
return GeneratorsBlockingStub.newStub(factory, channel);
}
/** Creates a new ListenableFuture-style stub that supports unary calls on the service */
public static GeneratorsFutureStub newFutureStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public GeneratorsFutureStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GeneratorsFutureStub(channel, callOptions);
}
};
return GeneratorsFutureStub.newStub(factory, channel);
}
/**
*
*
*
* Service for managing
* [Generators][google.cloud.dialogflow.cx.v3beta1.Generator]
*
*/
public interface AsyncService {
/**
*
*
*
* Returns the list of all generators in the specified agent.
*
*/
default void deleteGenerator(
com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteGeneratorMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service Generators.
*
*
* Service for managing
* [Generators][google.cloud.dialogflow.cx.v3beta1.Generator]
*
*/
public abstract static class GeneratorsImplBase implements io.grpc.BindableService, AsyncService {
@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return GeneratorsGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service Generators.
*
*
* Service for managing
* [Generators][google.cloud.dialogflow.cx.v3beta1.Generator]
*
*/
public static final class GeneratorsStub extends io.grpc.stub.AbstractAsyncStub {
private GeneratorsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected GeneratorsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GeneratorsStub(channel, callOptions);
}
/**
*
*
*
* Returns the list of all generators in the specified agent.
*
*/
public void deleteGenerator(
com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteGeneratorMethod(), getCallOptions()),
request,
responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service Generators.
*
*
* Service for managing
* [Generators][google.cloud.dialogflow.cx.v3beta1.Generator]
*
*/
public static final class GeneratorsBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private GeneratorsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected GeneratorsBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GeneratorsBlockingStub(channel, callOptions);
}
/**
*
*
*
* Returns the list of all generators in the specified agent.
*
*/
public com.google.protobuf.Empty deleteGenerator(
com.google.cloud.dialogflow.cx.v3beta1.DeleteGeneratorRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteGeneratorMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service Generators.
*
*
* Service for managing
* [Generators][google.cloud.dialogflow.cx.v3beta1.Generator]
*
*/
public static final class GeneratorsFutureStub
extends io.grpc.stub.AbstractFutureStub {
private GeneratorsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected GeneratorsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GeneratorsFutureStub(channel, callOptions);
}
/**
*
*
*
* Returns the list of all generators in the specified agent.
*