Please wait. This can take some minutes ...
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.
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceGrpc Maven / Gradle / Ivy
package yandex.cloud.api.mdb.clickhouse.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*
* A set of methods for managing ClickHouse clusters.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.43.2)",
comments = "Source: yandex/cloud/mdb/clickhouse/v1/cluster_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class ClusterServiceGrpc {
private ClusterServiceGrpc() {}
public static final String SERVICE_NAME = "yandex.cloud.mdb.clickhouse.v1.ClusterService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Get",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMethod() {
io.grpc.MethodDescriptor getGetMethod;
if ((getGetMethod = ClusterServiceGrpc.getGetMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getGetMethod = ClusterServiceGrpc.getGetMethod) == null) {
ClusterServiceGrpc.getGetMethod = getGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Get"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Get"))
.build();
}
}
}
return getGetMethod;
}
private static volatile io.grpc.MethodDescriptor getListMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "List",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListMethod() {
io.grpc.MethodDescriptor getListMethod;
if ((getListMethod = ClusterServiceGrpc.getListMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListMethod = ClusterServiceGrpc.getListMethod) == null) {
ClusterServiceGrpc.getListMethod = getListMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "List"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("List"))
.build();
}
}
}
return getListMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Create",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateMethod() {
io.grpc.MethodDescriptor getCreateMethod;
if ((getCreateMethod = ClusterServiceGrpc.getCreateMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getCreateMethod = ClusterServiceGrpc.getCreateMethod) == null) {
ClusterServiceGrpc.getCreateMethod = getCreateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Create"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Create"))
.build();
}
}
}
return getCreateMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Update",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateMethod() {
io.grpc.MethodDescriptor getUpdateMethod;
if ((getUpdateMethod = ClusterServiceGrpc.getUpdateMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getUpdateMethod = ClusterServiceGrpc.getUpdateMethod) == null) {
ClusterServiceGrpc.getUpdateMethod = getUpdateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Update"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Update"))
.build();
}
}
}
return getUpdateMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Delete",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteMethod() {
io.grpc.MethodDescriptor getDeleteMethod;
if ((getDeleteMethod = ClusterServiceGrpc.getDeleteMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getDeleteMethod = ClusterServiceGrpc.getDeleteMethod) == null) {
ClusterServiceGrpc.getDeleteMethod = getDeleteMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Delete"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Delete"))
.build();
}
}
}
return getDeleteMethod;
}
private static volatile io.grpc.MethodDescriptor getStartMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Start",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getStartMethod() {
io.grpc.MethodDescriptor getStartMethod;
if ((getStartMethod = ClusterServiceGrpc.getStartMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getStartMethod = ClusterServiceGrpc.getStartMethod) == null) {
ClusterServiceGrpc.getStartMethod = getStartMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Start"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Start"))
.build();
}
}
}
return getStartMethod;
}
private static volatile io.grpc.MethodDescriptor getStopMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Stop",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StopClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getStopMethod() {
io.grpc.MethodDescriptor getStopMethod;
if ((getStopMethod = ClusterServiceGrpc.getStopMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getStopMethod = ClusterServiceGrpc.getStopMethod) == null) {
ClusterServiceGrpc.getStopMethod = getStopMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Stop"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StopClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Stop"))
.build();
}
}
}
return getStopMethod;
}
private static volatile io.grpc.MethodDescriptor getMoveMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Move",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.MoveClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getMoveMethod() {
io.grpc.MethodDescriptor getMoveMethod;
if ((getMoveMethod = ClusterServiceGrpc.getMoveMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getMoveMethod = ClusterServiceGrpc.getMoveMethod) == null) {
ClusterServiceGrpc.getMoveMethod = getMoveMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Move"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.MoveClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Move"))
.build();
}
}
}
return getMoveMethod;
}
private static volatile io.grpc.MethodDescriptor getAddZookeeperMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AddZookeeper",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterZookeeperRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAddZookeeperMethod() {
io.grpc.MethodDescriptor getAddZookeeperMethod;
if ((getAddZookeeperMethod = ClusterServiceGrpc.getAddZookeeperMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getAddZookeeperMethod = ClusterServiceGrpc.getAddZookeeperMethod) == null) {
ClusterServiceGrpc.getAddZookeeperMethod = getAddZookeeperMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddZookeeper"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterZookeeperRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("AddZookeeper"))
.build();
}
}
}
return getAddZookeeperMethod;
}
private static volatile io.grpc.MethodDescriptor getBackupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Backup",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.BackupClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getBackupMethod() {
io.grpc.MethodDescriptor getBackupMethod;
if ((getBackupMethod = ClusterServiceGrpc.getBackupMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getBackupMethod = ClusterServiceGrpc.getBackupMethod) == null) {
ClusterServiceGrpc.getBackupMethod = getBackupMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Backup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.BackupClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Backup"))
.build();
}
}
}
return getBackupMethod;
}
private static volatile io.grpc.MethodDescriptor getRestoreMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Restore",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RestoreClusterRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRestoreMethod() {
io.grpc.MethodDescriptor getRestoreMethod;
if ((getRestoreMethod = ClusterServiceGrpc.getRestoreMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getRestoreMethod = ClusterServiceGrpc.getRestoreMethod) == null) {
ClusterServiceGrpc.getRestoreMethod = getRestoreMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Restore"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RestoreClusterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("Restore"))
.build();
}
}
}
return getRestoreMethod;
}
private static volatile io.grpc.MethodDescriptor getRescheduleMaintenanceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RescheduleMaintenance",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RescheduleMaintenanceRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRescheduleMaintenanceMethod() {
io.grpc.MethodDescriptor getRescheduleMaintenanceMethod;
if ((getRescheduleMaintenanceMethod = ClusterServiceGrpc.getRescheduleMaintenanceMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getRescheduleMaintenanceMethod = ClusterServiceGrpc.getRescheduleMaintenanceMethod) == null) {
ClusterServiceGrpc.getRescheduleMaintenanceMethod = getRescheduleMaintenanceMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RescheduleMaintenance"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RescheduleMaintenanceRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("RescheduleMaintenance"))
.build();
}
}
}
return getRescheduleMaintenanceMethod;
}
private static volatile io.grpc.MethodDescriptor getListLogsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListLogs",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListLogsMethod() {
io.grpc.MethodDescriptor getListLogsMethod;
if ((getListLogsMethod = ClusterServiceGrpc.getListLogsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListLogsMethod = ClusterServiceGrpc.getListLogsMethod) == null) {
ClusterServiceGrpc.getListLogsMethod = getListLogsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLogs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("ListLogs"))
.build();
}
}
}
return getListLogsMethod;
}
private static volatile io.grpc.MethodDescriptor getStreamLogsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "StreamLogs",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamClusterLogsRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamLogRecord.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getStreamLogsMethod() {
io.grpc.MethodDescriptor getStreamLogsMethod;
if ((getStreamLogsMethod = ClusterServiceGrpc.getStreamLogsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getStreamLogsMethod = ClusterServiceGrpc.getStreamLogsMethod) == null) {
ClusterServiceGrpc.getStreamLogsMethod = getStreamLogsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamLogs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamClusterLogsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamLogRecord.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("StreamLogs"))
.build();
}
}
}
return getStreamLogsMethod;
}
private static volatile io.grpc.MethodDescriptor getListOperationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListOperations",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListOperationsMethod() {
io.grpc.MethodDescriptor getListOperationsMethod;
if ((getListOperationsMethod = ClusterServiceGrpc.getListOperationsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListOperationsMethod = ClusterServiceGrpc.getListOperationsMethod) == null) {
ClusterServiceGrpc.getListOperationsMethod = getListOperationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("ListOperations"))
.build();
}
}
}
return getListOperationsMethod;
}
private static volatile io.grpc.MethodDescriptor getListBackupsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListBackups",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListBackupsMethod() {
io.grpc.MethodDescriptor getListBackupsMethod;
if ((getListBackupsMethod = ClusterServiceGrpc.getListBackupsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListBackupsMethod = ClusterServiceGrpc.getListBackupsMethod) == null) {
ClusterServiceGrpc.getListBackupsMethod = getListBackupsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("ListBackups"))
.build();
}
}
}
return getListBackupsMethod;
}
private static volatile io.grpc.MethodDescriptor getListHostsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListHosts",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListHostsMethod() {
io.grpc.MethodDescriptor getListHostsMethod;
if ((getListHostsMethod = ClusterServiceGrpc.getListHostsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListHostsMethod = ClusterServiceGrpc.getListHostsMethod) == null) {
ClusterServiceGrpc.getListHostsMethod = getListHostsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListHosts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("ListHosts"))
.build();
}
}
}
return getListHostsMethod;
}
private static volatile io.grpc.MethodDescriptor getAddHostsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AddHosts",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterHostsRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAddHostsMethod() {
io.grpc.MethodDescriptor getAddHostsMethod;
if ((getAddHostsMethod = ClusterServiceGrpc.getAddHostsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getAddHostsMethod = ClusterServiceGrpc.getAddHostsMethod) == null) {
ClusterServiceGrpc.getAddHostsMethod = getAddHostsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddHosts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterHostsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("AddHosts"))
.build();
}
}
}
return getAddHostsMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateHostsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateHosts",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterHostsRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateHostsMethod() {
io.grpc.MethodDescriptor getUpdateHostsMethod;
if ((getUpdateHostsMethod = ClusterServiceGrpc.getUpdateHostsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getUpdateHostsMethod = ClusterServiceGrpc.getUpdateHostsMethod) == null) {
ClusterServiceGrpc.getUpdateHostsMethod = getUpdateHostsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateHosts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterHostsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("UpdateHosts"))
.build();
}
}
}
return getUpdateHostsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteHostsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteHosts",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterHostsRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteHostsMethod() {
io.grpc.MethodDescriptor getDeleteHostsMethod;
if ((getDeleteHostsMethod = ClusterServiceGrpc.getDeleteHostsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getDeleteHostsMethod = ClusterServiceGrpc.getDeleteHostsMethod) == null) {
ClusterServiceGrpc.getDeleteHostsMethod = getDeleteHostsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteHosts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterHostsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("DeleteHosts"))
.build();
}
}
}
return getDeleteHostsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetShardMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetShard",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Shard.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetShardMethod() {
io.grpc.MethodDescriptor getGetShardMethod;
if ((getGetShardMethod = ClusterServiceGrpc.getGetShardMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getGetShardMethod = ClusterServiceGrpc.getGetShardMethod) == null) {
ClusterServiceGrpc.getGetShardMethod = getGetShardMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetShard"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Shard.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("GetShard"))
.build();
}
}
}
return getGetShardMethod;
}
private static volatile io.grpc.MethodDescriptor getListShardsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListShards",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListShardsMethod() {
io.grpc.MethodDescriptor getListShardsMethod;
if ((getListShardsMethod = ClusterServiceGrpc.getListShardsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListShardsMethod = ClusterServiceGrpc.getListShardsMethod) == null) {
ClusterServiceGrpc.getListShardsMethod = getListShardsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListShards"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("ListShards"))
.build();
}
}
}
return getListShardsMethod;
}
private static volatile io.grpc.MethodDescriptor getAddShardMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AddShard",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterShardRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAddShardMethod() {
io.grpc.MethodDescriptor getAddShardMethod;
if ((getAddShardMethod = ClusterServiceGrpc.getAddShardMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getAddShardMethod = ClusterServiceGrpc.getAddShardMethod) == null) {
ClusterServiceGrpc.getAddShardMethod = getAddShardMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddShard"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterShardRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("AddShard"))
.build();
}
}
}
return getAddShardMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateShardMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateShard",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateShardMethod() {
io.grpc.MethodDescriptor getUpdateShardMethod;
if ((getUpdateShardMethod = ClusterServiceGrpc.getUpdateShardMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getUpdateShardMethod = ClusterServiceGrpc.getUpdateShardMethod) == null) {
ClusterServiceGrpc.getUpdateShardMethod = getUpdateShardMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateShard"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("UpdateShard"))
.build();
}
}
}
return getUpdateShardMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteShardMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteShard",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteShardMethod() {
io.grpc.MethodDescriptor getDeleteShardMethod;
if ((getDeleteShardMethod = ClusterServiceGrpc.getDeleteShardMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getDeleteShardMethod = ClusterServiceGrpc.getDeleteShardMethod) == null) {
ClusterServiceGrpc.getDeleteShardMethod = getDeleteShardMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteShard"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("DeleteShard"))
.build();
}
}
}
return getDeleteShardMethod;
}
private static volatile io.grpc.MethodDescriptor getGetShardGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetShardGroup",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardGroupRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.ShardGroup.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetShardGroupMethod() {
io.grpc.MethodDescriptor getGetShardGroupMethod;
if ((getGetShardGroupMethod = ClusterServiceGrpc.getGetShardGroupMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getGetShardGroupMethod = ClusterServiceGrpc.getGetShardGroupMethod) == null) {
ClusterServiceGrpc.getGetShardGroupMethod = getGetShardGroupMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetShardGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardGroupRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.ShardGroup.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("GetShardGroup"))
.build();
}
}
}
return getGetShardGroupMethod;
}
private static volatile io.grpc.MethodDescriptor getListShardGroupsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListShardGroups",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListShardGroupsMethod() {
io.grpc.MethodDescriptor getListShardGroupsMethod;
if ((getListShardGroupsMethod = ClusterServiceGrpc.getListShardGroupsMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListShardGroupsMethod = ClusterServiceGrpc.getListShardGroupsMethod) == null) {
ClusterServiceGrpc.getListShardGroupsMethod = getListShardGroupsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListShardGroups"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("ListShardGroups"))
.build();
}
}
}
return getListShardGroupsMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateShardGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateShardGroup",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterShardGroupRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateShardGroupMethod() {
io.grpc.MethodDescriptor getCreateShardGroupMethod;
if ((getCreateShardGroupMethod = ClusterServiceGrpc.getCreateShardGroupMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getCreateShardGroupMethod = ClusterServiceGrpc.getCreateShardGroupMethod) == null) {
ClusterServiceGrpc.getCreateShardGroupMethod = getCreateShardGroupMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateShardGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterShardGroupRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("CreateShardGroup"))
.build();
}
}
}
return getCreateShardGroupMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateShardGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateShardGroup",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardGroupRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateShardGroupMethod() {
io.grpc.MethodDescriptor getUpdateShardGroupMethod;
if ((getUpdateShardGroupMethod = ClusterServiceGrpc.getUpdateShardGroupMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getUpdateShardGroupMethod = ClusterServiceGrpc.getUpdateShardGroupMethod) == null) {
ClusterServiceGrpc.getUpdateShardGroupMethod = getUpdateShardGroupMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateShardGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardGroupRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("UpdateShardGroup"))
.build();
}
}
}
return getUpdateShardGroupMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteShardGroupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteShardGroup",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardGroupRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteShardGroupMethod() {
io.grpc.MethodDescriptor getDeleteShardGroupMethod;
if ((getDeleteShardGroupMethod = ClusterServiceGrpc.getDeleteShardGroupMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getDeleteShardGroupMethod = ClusterServiceGrpc.getDeleteShardGroupMethod) == null) {
ClusterServiceGrpc.getDeleteShardGroupMethod = getDeleteShardGroupMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteShardGroup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardGroupRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("DeleteShardGroup"))
.build();
}
}
}
return getDeleteShardGroupMethod;
}
private static volatile io.grpc.MethodDescriptor getListExternalDictionariesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListExternalDictionaries",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesRequest.class,
responseType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListExternalDictionariesMethod() {
io.grpc.MethodDescriptor getListExternalDictionariesMethod;
if ((getListExternalDictionariesMethod = ClusterServiceGrpc.getListExternalDictionariesMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getListExternalDictionariesMethod = ClusterServiceGrpc.getListExternalDictionariesMethod) == null) {
ClusterServiceGrpc.getListExternalDictionariesMethod = getListExternalDictionariesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExternalDictionaries"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesResponse.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("ListExternalDictionaries"))
.build();
}
}
}
return getListExternalDictionariesMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateExternalDictionaryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateExternalDictionary",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterExternalDictionaryRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateExternalDictionaryMethod() {
io.grpc.MethodDescriptor getCreateExternalDictionaryMethod;
if ((getCreateExternalDictionaryMethod = ClusterServiceGrpc.getCreateExternalDictionaryMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getCreateExternalDictionaryMethod = ClusterServiceGrpc.getCreateExternalDictionaryMethod) == null) {
ClusterServiceGrpc.getCreateExternalDictionaryMethod = getCreateExternalDictionaryMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExternalDictionary"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterExternalDictionaryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("CreateExternalDictionary"))
.build();
}
}
}
return getCreateExternalDictionaryMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateExternalDictionaryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateExternalDictionary",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterExternalDictionaryRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateExternalDictionaryMethod() {
io.grpc.MethodDescriptor getUpdateExternalDictionaryMethod;
if ((getUpdateExternalDictionaryMethod = ClusterServiceGrpc.getUpdateExternalDictionaryMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getUpdateExternalDictionaryMethod = ClusterServiceGrpc.getUpdateExternalDictionaryMethod) == null) {
ClusterServiceGrpc.getUpdateExternalDictionaryMethod = getUpdateExternalDictionaryMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateExternalDictionary"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterExternalDictionaryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("UpdateExternalDictionary"))
.build();
}
}
}
return getUpdateExternalDictionaryMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteExternalDictionaryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteExternalDictionary",
requestType = yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterExternalDictionaryRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteExternalDictionaryMethod() {
io.grpc.MethodDescriptor getDeleteExternalDictionaryMethod;
if ((getDeleteExternalDictionaryMethod = ClusterServiceGrpc.getDeleteExternalDictionaryMethod) == null) {
synchronized (ClusterServiceGrpc.class) {
if ((getDeleteExternalDictionaryMethod = ClusterServiceGrpc.getDeleteExternalDictionaryMethod) == null) {
ClusterServiceGrpc.getDeleteExternalDictionaryMethod = getDeleteExternalDictionaryMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteExternalDictionary"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterExternalDictionaryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ClusterServiceMethodDescriptorSupplier("DeleteExternalDictionary"))
.build();
}
}
}
return getDeleteExternalDictionaryMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static ClusterServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public ClusterServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ClusterServiceStub(channel, callOptions);
}
};
return ClusterServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static ClusterServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public ClusterServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ClusterServiceBlockingStub(channel, callOptions);
}
};
return ClusterServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static ClusterServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public ClusterServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ClusterServiceFutureStub(channel, callOptions);
}
};
return ClusterServiceFutureStub.newStub(factory, channel);
}
/**
*
* A set of methods for managing ClickHouse clusters.
*
*/
public static abstract class ClusterServiceImplBase implements io.grpc.BindableService {
/**
*
* Returns the specified ClickHouse cluster.
* To get the list of available ClickHouse clusters, make a [List] request.
*
*/
public void get(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver);
}
/**
*
* Retrieves a list of ClickHouse clusters that belong
* to the specified folder.
*
*/
public void list(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver);
}
/**
*
* Creates a ClickHouse cluster in the specified folder.
*
*/
public void create(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);
}
/**
*
* Updates the specified ClickHouse cluster.
*
*/
public void update(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
/**
*
* Deletes the specified ClickHouse cluster.
*
*/
public void delete(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver);
}
/**
*
* Starts the specified ClickHouse cluster.
*
*/
public void start(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMethod(), responseObserver);
}
/**
*
* Stops the specified ClickHouse cluster.
*
*/
public void stop(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StopClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStopMethod(), responseObserver);
}
/**
*
* Moves a ClickHouse cluster to the specified folder.
*
*/
public void move(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.MoveClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveMethod(), responseObserver);
}
/**
*
* Adds a ZooKeeper subcluster to the specified ClickHouse cluster.
*
*/
public void addZookeeper(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterZookeeperRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddZookeeperMethod(), responseObserver);
}
/**
*
* Creates a backup for the specified ClickHouse cluster.
*
*/
public void backup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.BackupClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBackupMethod(), responseObserver);
}
/**
*
* Creates a new ClickHouse cluster using the specified backup.
*
*/
public void restore(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RestoreClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreMethod(), responseObserver);
}
/**
*
* Reschedules planned maintenance operation.
*
*/
public void rescheduleMaintenance(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RescheduleMaintenanceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRescheduleMaintenanceMethod(), responseObserver);
}
/**
*
* Retrieves logs for the specified ClickHouse cluster.
*
*/
public void listLogs(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLogsMethod(), responseObserver);
}
/**
*
* Same as ListLogs but using server-side streaming. Also allows for `tail -f` semantics.
*
*/
public void streamLogs(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamClusterLogsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamLogsMethod(), responseObserver);
}
/**
*
* Retrieves the list of Operation resources for the specified cluster.
*
*/
public void listOperations(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver);
}
/**
*
* Retrieves the list of available backups for the specified ClickHouse cluster.
*
*/
public void listBackups(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver);
}
/**
*
* Retrieves a list of hosts for the specified cluster.
*
*/
public void listHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListHostsMethod(), responseObserver);
}
/**
*
* Creates new hosts for a cluster.
*
*/
public void addHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddHostsMethod(), responseObserver);
}
/**
*
* Updates the specified hosts.
*
*/
public void updateHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateHostsMethod(), responseObserver);
}
/**
*
* Deletes the specified hosts for a cluster.
*
*/
public void deleteHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteHostsMethod(), responseObserver);
}
/**
*
* Returns the specified shard.
*
*/
public void getShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetShardMethod(), responseObserver);
}
/**
*
* Retrieves a list of shards that belong to the specified cluster.
*
*/
public void listShards(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListShardsMethod(), responseObserver);
}
/**
*
* Creates a new shard in the specified cluster.
*
*/
public void addShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddShardMethod(), responseObserver);
}
/**
*
* Modifies the specified shard.
*
*/
public void updateShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateShardMethod(), responseObserver);
}
/**
*
* Deletes the specified shard.
*
*/
public void deleteShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteShardMethod(), responseObserver);
}
/**
*
* Returns the specified shard group.
*
*/
public void getShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetShardGroupMethod(), responseObserver);
}
/**
*
* Retrieves a list of shard groups that belong to specified cluster.
*
*/
public void listShardGroups(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListShardGroupsMethod(), responseObserver);
}
/**
*
* Creates a new shard group in the specified cluster.
*
*/
public void createShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateShardGroupMethod(), responseObserver);
}
/**
*
* Updates the specified shard group.
*
*/
public void updateShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateShardGroupMethod(), responseObserver);
}
/**
*
* Deletes the specified shard group.
*
*/
public void deleteShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteShardGroupMethod(), responseObserver);
}
/**
*
* Retrieves a list of external dictionaries that belong to specified cluster.
*
*/
public void listExternalDictionaries(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListExternalDictionariesMethod(), responseObserver);
}
/**
*
* Creates an external dictionary for the specified ClickHouse cluster.
*
*/
public void createExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterExternalDictionaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateExternalDictionaryMethod(), responseObserver);
}
/**
*
* Updates an external dictionary for the specified ClickHouse cluster.
*
*/
public void updateExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterExternalDictionaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateExternalDictionaryMethod(), responseObserver);
}
/**
*
* Deletes the specified external dictionary.
*
*/
public void deleteExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterExternalDictionaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteExternalDictionaryMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getGetMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster>(
this, METHODID_GET)))
.addMethod(
getListMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersResponse>(
this, METHODID_LIST)))
.addMethod(
getCreateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_CREATE)))
.addMethod(
getUpdateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE)))
.addMethod(
getDeleteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_DELETE)))
.addMethod(
getStartMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_START)))
.addMethod(
getStopMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StopClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_STOP)))
.addMethod(
getMoveMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.MoveClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_MOVE)))
.addMethod(
getAddZookeeperMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterZookeeperRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_ADD_ZOOKEEPER)))
.addMethod(
getBackupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.BackupClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_BACKUP)))
.addMethod(
getRestoreMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RestoreClusterRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_RESTORE)))
.addMethod(
getRescheduleMaintenanceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RescheduleMaintenanceRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_RESCHEDULE_MAINTENANCE)))
.addMethod(
getListLogsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsResponse>(
this, METHODID_LIST_LOGS)))
.addMethod(
getStreamLogsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamClusterLogsRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamLogRecord>(
this, METHODID_STREAM_LOGS)))
.addMethod(
getListOperationsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsResponse>(
this, METHODID_LIST_OPERATIONS)))
.addMethod(
getListBackupsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsResponse>(
this, METHODID_LIST_BACKUPS)))
.addMethod(
getListHostsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsResponse>(
this, METHODID_LIST_HOSTS)))
.addMethod(
getAddHostsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterHostsRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_ADD_HOSTS)))
.addMethod(
getUpdateHostsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterHostsRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE_HOSTS)))
.addMethod(
getDeleteHostsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterHostsRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_DELETE_HOSTS)))
.addMethod(
getGetShardMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Shard>(
this, METHODID_GET_SHARD)))
.addMethod(
getListShardsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsResponse>(
this, METHODID_LIST_SHARDS)))
.addMethod(
getAddShardMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterShardRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_ADD_SHARD)))
.addMethod(
getUpdateShardMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE_SHARD)))
.addMethod(
getDeleteShardMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_DELETE_SHARD)))
.addMethod(
getGetShardGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardGroupRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.ShardGroup>(
this, METHODID_GET_SHARD_GROUP)))
.addMethod(
getListShardGroupsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsResponse>(
this, METHODID_LIST_SHARD_GROUPS)))
.addMethod(
getCreateShardGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterShardGroupRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_CREATE_SHARD_GROUP)))
.addMethod(
getUpdateShardGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardGroupRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE_SHARD_GROUP)))
.addMethod(
getDeleteShardGroupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardGroupRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_DELETE_SHARD_GROUP)))
.addMethod(
getListExternalDictionariesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesRequest,
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesResponse>(
this, METHODID_LIST_EXTERNAL_DICTIONARIES)))
.addMethod(
getCreateExternalDictionaryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterExternalDictionaryRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_CREATE_EXTERNAL_DICTIONARY)))
.addMethod(
getUpdateExternalDictionaryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterExternalDictionaryRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE_EXTERNAL_DICTIONARY)))
.addMethod(
getDeleteExternalDictionaryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterExternalDictionaryRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_DELETE_EXTERNAL_DICTIONARY)))
.build();
}
}
/**
*
* A set of methods for managing ClickHouse clusters.
*
*/
public static final class ClusterServiceStub extends io.grpc.stub.AbstractAsyncStub {
private ClusterServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ClusterServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ClusterServiceStub(channel, callOptions);
}
/**
*
* Returns the specified ClickHouse cluster.
* To get the list of available ClickHouse clusters, make a [List] request.
*
*/
public void get(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves a list of ClickHouse clusters that belong
* to the specified folder.
*
*/
public void list(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a ClickHouse cluster in the specified folder.
*
*/
public void create(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates the specified ClickHouse cluster.
*
*/
public void update(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the specified ClickHouse cluster.
*
*/
public void delete(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Starts the specified ClickHouse cluster.
*
*/
public void start(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getStartMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Stops the specified ClickHouse cluster.
*
*/
public void stop(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StopClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getStopMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Moves a ClickHouse cluster to the specified folder.
*
*/
public void move(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.MoveClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getMoveMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Adds a ZooKeeper subcluster to the specified ClickHouse cluster.
*
*/
public void addZookeeper(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterZookeeperRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddZookeeperMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a backup for the specified ClickHouse cluster.
*
*/
public void backup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.BackupClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBackupMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a new ClickHouse cluster using the specified backup.
*
*/
public void restore(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RestoreClusterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRestoreMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Reschedules planned maintenance operation.
*
*/
public void rescheduleMaintenance(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RescheduleMaintenanceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRescheduleMaintenanceMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves logs for the specified ClickHouse cluster.
*
*/
public void listLogs(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListLogsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Same as ListLogs but using server-side streaming. Also allows for `tail -f` semantics.
*
*/
public void streamLogs(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamClusterLogsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getStreamLogsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves the list of Operation resources for the specified cluster.
*
*/
public void listOperations(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves the list of available backups for the specified ClickHouse cluster.
*
*/
public void listBackups(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves a list of hosts for the specified cluster.
*
*/
public void listHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListHostsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates new hosts for a cluster.
*
*/
public void addHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddHostsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates the specified hosts.
*
*/
public void updateHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateHostsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the specified hosts for a cluster.
*
*/
public void deleteHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterHostsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteHostsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Returns the specified shard.
*
*/
public void getShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetShardMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves a list of shards that belong to the specified cluster.
*
*/
public void listShards(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListShardsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a new shard in the specified cluster.
*
*/
public void addShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddShardMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Modifies the specified shard.
*
*/
public void updateShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateShardMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the specified shard.
*
*/
public void deleteShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteShardMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Returns the specified shard group.
*
*/
public void getShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetShardGroupMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves a list of shard groups that belong to specified cluster.
*
*/
public void listShardGroups(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListShardGroupsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a new shard group in the specified cluster.
*
*/
public void createShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateShardGroupMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates the specified shard group.
*
*/
public void updateShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateShardGroupMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the specified shard group.
*
*/
public void deleteShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardGroupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteShardGroupMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves a list of external dictionaries that belong to specified cluster.
*
*/
public void listExternalDictionaries(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListExternalDictionariesMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates an external dictionary for the specified ClickHouse cluster.
*
*/
public void createExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterExternalDictionaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateExternalDictionaryMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates an external dictionary for the specified ClickHouse cluster.
*
*/
public void updateExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterExternalDictionaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateExternalDictionaryMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the specified external dictionary.
*
*/
public void deleteExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterExternalDictionaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteExternalDictionaryMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*
* A set of methods for managing ClickHouse clusters.
*
*/
public static final class ClusterServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private ClusterServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ClusterServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ClusterServiceBlockingStub(channel, callOptions);
}
/**
*
* Returns the specified ClickHouse cluster.
* To get the list of available ClickHouse clusters, make a [List] request.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster get(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMethod(), getCallOptions(), request);
}
/**
*
* Retrieves a list of ClickHouse clusters that belong
* to the specified folder.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersResponse list(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListMethod(), getCallOptions(), request);
}
/**
*
* Creates a ClickHouse cluster in the specified folder.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation create(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateMethod(), getCallOptions(), request);
}
/**
*
* Updates the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation update(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
/**
*
* Deletes the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation delete(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteMethod(), getCallOptions(), request);
}
/**
*
* Starts the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation start(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getStartMethod(), getCallOptions(), request);
}
/**
*
* Stops the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation stop(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StopClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getStopMethod(), getCallOptions(), request);
}
/**
*
* Moves a ClickHouse cluster to the specified folder.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation move(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.MoveClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getMoveMethod(), getCallOptions(), request);
}
/**
*
* Adds a ZooKeeper subcluster to the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation addZookeeper(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterZookeeperRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddZookeeperMethod(), getCallOptions(), request);
}
/**
*
* Creates a backup for the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation backup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.BackupClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBackupMethod(), getCallOptions(), request);
}
/**
*
* Creates a new ClickHouse cluster using the specified backup.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation restore(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RestoreClusterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRestoreMethod(), getCallOptions(), request);
}
/**
*
* Reschedules planned maintenance operation.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation rescheduleMaintenance(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RescheduleMaintenanceRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRescheduleMaintenanceMethod(), getCallOptions(), request);
}
/**
*
* Retrieves logs for the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsResponse listLogs(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListLogsMethod(), getCallOptions(), request);
}
/**
*
* Same as ListLogs but using server-side streaming. Also allows for `tail -f` semantics.
*
*/
public java.util.Iterator streamLogs(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StreamClusterLogsRequest request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getStreamLogsMethod(), getCallOptions(), request);
}
/**
*
* Retrieves the list of Operation resources for the specified cluster.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsResponse listOperations(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListOperationsMethod(), getCallOptions(), request);
}
/**
*
* Retrieves the list of available backups for the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsResponse listBackups(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListBackupsMethod(), getCallOptions(), request);
}
/**
*
* Retrieves a list of hosts for the specified cluster.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsResponse listHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListHostsMethod(), getCallOptions(), request);
}
/**
*
* Creates new hosts for a cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation addHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddHostsMethod(), getCallOptions(), request);
}
/**
*
* Updates the specified hosts.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation updateHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateHostsMethod(), getCallOptions(), request);
}
/**
*
* Deletes the specified hosts for a cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation deleteHosts(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteHostsMethod(), getCallOptions(), request);
}
/**
*
* Returns the specified shard.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Shard getShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetShardMethod(), getCallOptions(), request);
}
/**
*
* Retrieves a list of shards that belong to the specified cluster.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsResponse listShards(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListShardsMethod(), getCallOptions(), request);
}
/**
*
* Creates a new shard in the specified cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation addShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterShardRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddShardMethod(), getCallOptions(), request);
}
/**
*
* Modifies the specified shard.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation updateShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateShardMethod(), getCallOptions(), request);
}
/**
*
* Deletes the specified shard.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation deleteShard(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteShardMethod(), getCallOptions(), request);
}
/**
*
* Returns the specified shard group.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.ShardGroup getShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetShardGroupMethod(), getCallOptions(), request);
}
/**
*
* Retrieves a list of shard groups that belong to specified cluster.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsResponse listShardGroups(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListShardGroupsMethod(), getCallOptions(), request);
}
/**
*
* Creates a new shard group in the specified cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation createShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateShardGroupMethod(), getCallOptions(), request);
}
/**
*
* Updates the specified shard group.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation updateShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateShardGroupMethod(), getCallOptions(), request);
}
/**
*
* Deletes the specified shard group.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation deleteShardGroup(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteShardGroupMethod(), getCallOptions(), request);
}
/**
*
* Retrieves a list of external dictionaries that belong to specified cluster.
*
*/
public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesResponse listExternalDictionaries(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListExternalDictionariesMethod(), getCallOptions(), request);
}
/**
*
* Creates an external dictionary for the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation createExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterExternalDictionaryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateExternalDictionaryMethod(), getCallOptions(), request);
}
/**
*
* Updates an external dictionary for the specified ClickHouse cluster.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation updateExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterExternalDictionaryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateExternalDictionaryMethod(), getCallOptions(), request);
}
/**
*
* Deletes the specified external dictionary.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation deleteExternalDictionary(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterExternalDictionaryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteExternalDictionaryMethod(), getCallOptions(), request);
}
}
/**
*
* A set of methods for managing ClickHouse clusters.
*
*/
public static final class ClusterServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private ClusterServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ClusterServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ClusterServiceFutureStub(channel, callOptions);
}
/**
*
* Returns the specified ClickHouse cluster.
* To get the list of available ClickHouse clusters, make a [List] request.
*
*/
public com.google.common.util.concurrent.ListenableFuture get(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request);
}
/**
*
* Retrieves a list of ClickHouse clusters that belong
* to the specified folder.
*
*/
public com.google.common.util.concurrent.ListenableFuture list(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request);
}
/**
*
* Creates a ClickHouse cluster in the specified folder.
*
*/
public com.google.common.util.concurrent.ListenableFuture create(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request);
}
/**
*
* Updates the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture update(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
/**
*
* Deletes the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture delete(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request);
}
/**
*
* Starts the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture start(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getStartMethod(), getCallOptions()), request);
}
/**
*
* Stops the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture stop(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StopClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getStopMethod(), getCallOptions()), request);
}
/**
*
* Moves a ClickHouse cluster to the specified folder.
*
*/
public com.google.common.util.concurrent.ListenableFuture move(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.MoveClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getMoveMethod(), getCallOptions()), request);
}
/**
*
* Adds a ZooKeeper subcluster to the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture addZookeeper(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterZookeeperRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddZookeeperMethod(), getCallOptions()), request);
}
/**
*
* Creates a backup for the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture backup(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.BackupClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBackupMethod(), getCallOptions()), request);
}
/**
*
* Creates a new ClickHouse cluster using the specified backup.
*
*/
public com.google.common.util.concurrent.ListenableFuture restore(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RestoreClusterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRestoreMethod(), getCallOptions()), request);
}
/**
*
* Reschedules planned maintenance operation.
*
*/
public com.google.common.util.concurrent.ListenableFuture rescheduleMaintenance(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.RescheduleMaintenanceRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRescheduleMaintenanceMethod(), getCallOptions()), request);
}
/**
*
* Retrieves logs for the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture listLogs(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterLogsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListLogsMethod(), getCallOptions()), request);
}
/**
*
* Retrieves the list of Operation resources for the specified cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture listOperations(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterOperationsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListOperationsMethod(), getCallOptions()), request);
}
/**
*
* Retrieves the list of available backups for the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture listBackups(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterBackupsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListBackupsMethod(), getCallOptions()), request);
}
/**
*
* Retrieves a list of hosts for the specified cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture listHosts(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListHostsMethod(), getCallOptions()), request);
}
/**
*
* Creates new hosts for a cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture addHosts(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddHostsMethod(), getCallOptions()), request);
}
/**
*
* Updates the specified hosts.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateHosts(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateHostsMethod(), getCallOptions()), request);
}
/**
*
* Deletes the specified hosts for a cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteHosts(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterHostsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteHostsMethod(), getCallOptions()), request);
}
/**
*
* Returns the specified shard.
*
*/
public com.google.common.util.concurrent.ListenableFuture getShard(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetShardMethod(), getCallOptions()), request);
}
/**
*
* Retrieves a list of shards that belong to the specified cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture listShards(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListShardsMethod(), getCallOptions()), request);
}
/**
*
* Creates a new shard in the specified cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture addShard(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.AddClusterShardRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddShardMethod(), getCallOptions()), request);
}
/**
*
* Modifies the specified shard.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateShard(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateShardMethod(), getCallOptions()), request);
}
/**
*
* Deletes the specified shard.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteShard(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteShardMethod(), getCallOptions()), request);
}
/**
*
* Returns the specified shard group.
*
*/
public com.google.common.util.concurrent.ListenableFuture getShardGroup(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetShardGroupMethod(), getCallOptions()), request);
}
/**
*
* Retrieves a list of shard groups that belong to specified cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture listShardGroups(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterShardGroupsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListShardGroupsMethod(), getCallOptions()), request);
}
/**
*
* Creates a new shard group in the specified cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture createShardGroup(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateShardGroupMethod(), getCallOptions()), request);
}
/**
*
* Updates the specified shard group.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateShardGroup(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateShardGroupMethod(), getCallOptions()), request);
}
/**
*
* Deletes the specified shard group.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteShardGroup(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterShardGroupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteShardGroupMethod(), getCallOptions()), request);
}
/**
*
* Retrieves a list of external dictionaries that belong to specified cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture listExternalDictionaries(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClusterExternalDictionariesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListExternalDictionariesMethod(), getCallOptions()), request);
}
/**
*
* Creates an external dictionary for the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture createExternalDictionary(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterExternalDictionaryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateExternalDictionaryMethod(), getCallOptions()), request);
}
/**
*
* Updates an external dictionary for the specified ClickHouse cluster.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateExternalDictionary(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.UpdateClusterExternalDictionaryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateExternalDictionaryMethod(), getCallOptions()), request);
}
/**
*
* Deletes the specified external dictionary.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteExternalDictionary(
yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.DeleteClusterExternalDictionaryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteExternalDictionaryMethod(), getCallOptions()), request);
}
}
private static final int METHODID_GET = 0;
private static final int METHODID_LIST = 1;
private static final int METHODID_CREATE = 2;
private static final int METHODID_UPDATE = 3;
private static final int METHODID_DELETE = 4;
private static final int METHODID_START = 5;
private static final int METHODID_STOP = 6;
private static final int METHODID_MOVE = 7;
private static final int METHODID_ADD_ZOOKEEPER = 8;
private static final int METHODID_BACKUP = 9;
private static final int METHODID_RESTORE = 10;
private static final int METHODID_RESCHEDULE_MAINTENANCE = 11;
private static final int METHODID_LIST_LOGS = 12;
private static final int METHODID_STREAM_LOGS = 13;
private static final int METHODID_LIST_OPERATIONS = 14;
private static final int METHODID_LIST_BACKUPS = 15;
private static final int METHODID_LIST_HOSTS = 16;
private static final int METHODID_ADD_HOSTS = 17;
private static final int METHODID_UPDATE_HOSTS = 18;
private static final int METHODID_DELETE_HOSTS = 19;
private static final int METHODID_GET_SHARD = 20;
private static final int METHODID_LIST_SHARDS = 21;
private static final int METHODID_ADD_SHARD = 22;
private static final int METHODID_UPDATE_SHARD = 23;
private static final int METHODID_DELETE_SHARD = 24;
private static final int METHODID_GET_SHARD_GROUP = 25;
private static final int METHODID_LIST_SHARD_GROUPS = 26;
private static final int METHODID_CREATE_SHARD_GROUP = 27;
private static final int METHODID_UPDATE_SHARD_GROUP = 28;
private static final int METHODID_DELETE_SHARD_GROUP = 29;
private static final int METHODID_LIST_EXTERNAL_DICTIONARIES = 30;
private static final int METHODID_CREATE_EXTERNAL_DICTIONARY = 31;
private static final int METHODID_UPDATE_EXTERNAL_DICTIONARY = 32;
private static final int METHODID_DELETE_EXTERNAL_DICTIONARY = 33;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod