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
* [Deployments][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dialogflow/cx/v3beta1/deployment.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class DeploymentsGrpc {
private DeploymentsGrpc() {}
public static final java.lang.String SERVICE_NAME =
"google.cloud.dialogflow.cx.v3beta1.Deployments";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse>
getListDeploymentsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListDeployments",
requestType = com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse>
getListDeploymentsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse>
getListDeploymentsMethod;
if ((getListDeploymentsMethod = DeploymentsGrpc.getListDeploymentsMethod) == null) {
synchronized (DeploymentsGrpc.class) {
if ((getListDeploymentsMethod = DeploymentsGrpc.getListDeploymentsMethod) == null) {
DeploymentsGrpc.getListDeploymentsMethod =
getListDeploymentsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeployments"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse
.getDefaultInstance()))
.setSchemaDescriptor(
new DeploymentsMethodDescriptorSupplier("ListDeployments"))
.build();
}
}
}
return getListDeploymentsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest,
com.google.cloud.dialogflow.cx.v3beta1.Deployment>
getGetDeploymentMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetDeployment",
requestType = com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.Deployment.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest,
com.google.cloud.dialogflow.cx.v3beta1.Deployment>
getGetDeploymentMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest,
com.google.cloud.dialogflow.cx.v3beta1.Deployment>
getGetDeploymentMethod;
if ((getGetDeploymentMethod = DeploymentsGrpc.getGetDeploymentMethod) == null) {
synchronized (DeploymentsGrpc.class) {
if ((getGetDeploymentMethod = DeploymentsGrpc.getGetDeploymentMethod) == null) {
DeploymentsGrpc.getGetDeploymentMethod =
getGetDeploymentMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeployment"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.Deployment
.getDefaultInstance()))
.setSchemaDescriptor(new DeploymentsMethodDescriptorSupplier("GetDeployment"))
.build();
}
}
}
return getGetDeploymentMethod;
}
/** Creates a new async stub that supports all call types for the service */
public static DeploymentsStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DeploymentsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeploymentsStub(channel, callOptions);
}
};
return DeploymentsStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static DeploymentsBlockingStub newBlockingStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DeploymentsBlockingStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeploymentsBlockingStub(channel, callOptions);
}
};
return DeploymentsBlockingStub.newStub(factory, channel);
}
/** Creates a new ListenableFuture-style stub that supports unary calls on the service */
public static DeploymentsFutureStub newFutureStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DeploymentsFutureStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeploymentsFutureStub(channel, callOptions);
}
};
return DeploymentsFutureStub.newStub(factory, channel);
}
/**
*
*
*
* Service for managing
* [Deployments][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
public interface AsyncService {
/**
*
*
*
* Returns the list of all deployments in the specified
* [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
*
* Retrieves the specified
* [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
default void getDeployment(
com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetDeploymentMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service Deployments.
*
*
* Service for managing
* [Deployments][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
public abstract static class DeploymentsImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return DeploymentsGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service Deployments.
*
*
* Service for managing
* [Deployments][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
public static final class DeploymentsStub
extends io.grpc.stub.AbstractAsyncStub {
private DeploymentsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DeploymentsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeploymentsStub(channel, callOptions);
}
/**
*
*
*
* Returns the list of all deployments in the specified
* [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
*
* Retrieves the specified
* [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
public void getDeployment(
com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest request,
io.grpc.stub.StreamObserver
responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetDeploymentMethod(), getCallOptions()),
request,
responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service Deployments.
*
*
* Service for managing
* [Deployments][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
public static final class DeploymentsBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private DeploymentsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DeploymentsBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeploymentsBlockingStub(channel, callOptions);
}
/**
*
*
*
* Returns the list of all deployments in the specified
* [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
*
* Retrieves the specified
* [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
public com.google.cloud.dialogflow.cx.v3beta1.Deployment getDeployment(
com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetDeploymentMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service Deployments.
*
*
* Service for managing
* [Deployments][google.cloud.dialogflow.cx.v3beta1.Deployment].
*
*/
public static final class DeploymentsFutureStub
extends io.grpc.stub.AbstractFutureStub {
private DeploymentsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DeploymentsFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeploymentsFutureStub(channel, callOptions);
}
/**
*
*
*
* Returns the list of all deployments in the specified
* [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
*