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 security settings for Dialogflow.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dialogflow/cx/v3beta1/security_settings.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class SecuritySettingsServiceGrpc {
private SecuritySettingsServiceGrpc() {}
public static final java.lang.String SERVICE_NAME =
"google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getCreateSecuritySettingsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateSecuritySettings",
requestType = com.google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getCreateSecuritySettingsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getCreateSecuritySettingsMethod;
if ((getCreateSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getCreateSecuritySettingsMethod)
== null) {
synchronized (SecuritySettingsServiceGrpc.class) {
if ((getCreateSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getCreateSecuritySettingsMethod)
== null) {
SecuritySettingsServiceGrpc.getCreateSecuritySettingsMethod =
getCreateSecuritySettingsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "CreateSecuritySettings"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings
.getDefaultInstance()))
.setSchemaDescriptor(
new SecuritySettingsServiceMethodDescriptorSupplier(
"CreateSecuritySettings"))
.build();
}
}
}
return getCreateSecuritySettingsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getGetSecuritySettingsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetSecuritySettings",
requestType = com.google.cloud.dialogflow.cx.v3beta1.GetSecuritySettingsRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getGetSecuritySettingsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.GetSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getGetSecuritySettingsMethod;
if ((getGetSecuritySettingsMethod = SecuritySettingsServiceGrpc.getGetSecuritySettingsMethod)
== null) {
synchronized (SecuritySettingsServiceGrpc.class) {
if ((getGetSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getGetSecuritySettingsMethod)
== null) {
SecuritySettingsServiceGrpc.getGetSecuritySettingsMethod =
getGetSecuritySettingsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "GetSecuritySettings"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.GetSecuritySettingsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings
.getDefaultInstance()))
.setSchemaDescriptor(
new SecuritySettingsServiceMethodDescriptorSupplier(
"GetSecuritySettings"))
.build();
}
}
}
return getGetSecuritySettingsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getUpdateSecuritySettingsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateSecuritySettings",
requestType = com.google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getUpdateSecuritySettingsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings>
getUpdateSecuritySettingsMethod;
if ((getUpdateSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getUpdateSecuritySettingsMethod)
== null) {
synchronized (SecuritySettingsServiceGrpc.class) {
if ((getUpdateSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getUpdateSecuritySettingsMethod)
== null) {
SecuritySettingsServiceGrpc.getUpdateSecuritySettingsMethod =
getUpdateSecuritySettingsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "UpdateSecuritySettings"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.SecuritySettings
.getDefaultInstance()))
.setSchemaDescriptor(
new SecuritySettingsServiceMethodDescriptorSupplier(
"UpdateSecuritySettings"))
.build();
}
}
}
return getUpdateSecuritySettingsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse>
getListSecuritySettingsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListSecuritySettings",
requestType = com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsRequest.class,
responseType = com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse>
getListSecuritySettingsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsRequest,
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse>
getListSecuritySettingsMethod;
if ((getListSecuritySettingsMethod = SecuritySettingsServiceGrpc.getListSecuritySettingsMethod)
== null) {
synchronized (SecuritySettingsServiceGrpc.class) {
if ((getListSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getListSecuritySettingsMethod)
== null) {
SecuritySettingsServiceGrpc.getListSecuritySettingsMethod =
getListSecuritySettingsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "ListSecuritySettings"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse
.getDefaultInstance()))
.setSchemaDescriptor(
new SecuritySettingsServiceMethodDescriptorSupplier(
"ListSecuritySettings"))
.build();
}
}
}
return getListSecuritySettingsMethod;
}
private static volatile io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest,
com.google.protobuf.Empty>
getDeleteSecuritySettingsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteSecuritySettings",
requestType = com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest,
com.google.protobuf.Empty>
getDeleteSecuritySettingsMethod() {
io.grpc.MethodDescriptor<
com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest,
com.google.protobuf.Empty>
getDeleteSecuritySettingsMethod;
if ((getDeleteSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getDeleteSecuritySettingsMethod)
== null) {
synchronized (SecuritySettingsServiceGrpc.class) {
if ((getDeleteSecuritySettingsMethod =
SecuritySettingsServiceGrpc.getDeleteSecuritySettingsMethod)
== null) {
SecuritySettingsServiceGrpc.getDeleteSecuritySettingsMethod =
getDeleteSecuritySettingsMethod =
io.grpc.MethodDescriptor
.
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(SERVICE_NAME, "DeleteSecuritySettings"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest
.getDefaultInstance()))
.setResponseMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(
new SecuritySettingsServiceMethodDescriptorSupplier(
"DeleteSecuritySettings"))
.build();
}
}
}
return getDeleteSecuritySettingsMethod;
}
/** Creates a new async stub that supports all call types for the service */
public static SecuritySettingsServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public SecuritySettingsServiceStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new SecuritySettingsServiceStub(channel, callOptions);
}
};
return SecuritySettingsServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static SecuritySettingsServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public SecuritySettingsServiceBlockingStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new SecuritySettingsServiceBlockingStub(channel, callOptions);
}
};
return SecuritySettingsServiceBlockingStub.newStub(factory, channel);
}
/** Creates a new ListenableFuture-style stub that supports unary calls on the service */
public static SecuritySettingsServiceFutureStub newFutureStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public SecuritySettingsServiceFutureStub newStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new SecuritySettingsServiceFutureStub(channel, callOptions);
}
};
return SecuritySettingsServiceFutureStub.newStub(factory, channel);
}
/**
*
*
*
* Service for managing security settings for Dialogflow.
*
*/
public interface AsyncService {
/**
*
*
*
* Create security settings in the specified location.
*
* Retrieves the specified
* [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].
* The returned settings may be stale by up to 1 minute.
*
* Deletes the specified
* [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].
*
*/
default void deleteSecuritySettings(
com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteSecuritySettingsMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service SecuritySettingsService.
*
*
* Service for managing security settings for Dialogflow.
*
*/
public abstract static class SecuritySettingsServiceImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return SecuritySettingsServiceGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service SecuritySettingsService.
*
*
* Service for managing security settings for Dialogflow.
*
*/
public static final class SecuritySettingsServiceStub
extends io.grpc.stub.AbstractAsyncStub {
private SecuritySettingsServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected SecuritySettingsServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new SecuritySettingsServiceStub(channel, callOptions);
}
/**
*
*
*
* Create security settings in the specified location.
*
* Retrieves the specified
* [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].
* The returned settings may be stale by up to 1 minute.
*
* Deletes the specified
* [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].
*
*/
public void deleteSecuritySettings(
com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteSecuritySettingsMethod(), getCallOptions()),
request,
responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service SecuritySettingsService.
*
*
* Service for managing security settings for Dialogflow.
*
*/
public static final class SecuritySettingsServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private SecuritySettingsServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected SecuritySettingsServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new SecuritySettingsServiceBlockingStub(channel, callOptions);
}
/**
*
*
*
* Create security settings in the specified location.
*
* Retrieves the specified
* [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].
* The returned settings may be stale by up to 1 minute.
*
* Deletes the specified
* [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].
*
*/
public com.google.protobuf.Empty deleteSecuritySettings(
com.google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteSecuritySettingsMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service
* SecuritySettingsService.
*
*
* Service for managing security settings for Dialogflow.
*
*/
public static final class SecuritySettingsServiceFutureStub
extends io.grpc.stub.AbstractFutureStub {
private SecuritySettingsServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected SecuritySettingsServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new SecuritySettingsServiceFutureStub(channel, callOptions);
}
/**
*
*
*
* Create security settings in the specified location.
*
* Retrieves the specified
* [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].
* The returned settings may be stale by up to 1 minute.
*