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

yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceGrpc Maven / Gradle / Ivy

package yandex.cloud.api.compute.v1.instancegroup;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 * A set of methods for managing InstanceGroup resources.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.43.2)", comments = "Source: yandex/cloud/compute/v1/instancegroup/instance_group_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class InstanceGroupServiceGrpc { private InstanceGroupServiceGrpc() {} public static final String SERVICE_NAME = "yandex.cloud.compute.v1.instancegroup.InstanceGroupService"; // 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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest.class, responseType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupOuterClass.InstanceGroup.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetMethod() { io.grpc.MethodDescriptor getGetMethod; if ((getGetMethod = InstanceGroupServiceGrpc.getGetMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getGetMethod = InstanceGroupServiceGrpc.getGetMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupOuterClass.InstanceGroup.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("Get")) .build(); } } } return getGetMethod; } private static volatile io.grpc.MethodDescriptor getListMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "List", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest.class, responseType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListMethod() { io.grpc.MethodDescriptor getListMethod; if ((getListMethod = InstanceGroupServiceGrpc.getListMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getListMethod = InstanceGroupServiceGrpc.getListMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsResponse.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("List")) .build(); } } } return getListMethod; } private static volatile io.grpc.MethodDescriptor getCreateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Create", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest.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 = InstanceGroupServiceGrpc.getCreateMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getCreateMethod = InstanceGroupServiceGrpc.getCreateMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("Create")) .build(); } } } return getCreateMethod; } private static volatile io.grpc.MethodDescriptor getCreateFromYamlMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateFromYaml", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCreateFromYamlMethod() { io.grpc.MethodDescriptor getCreateFromYamlMethod; if ((getCreateFromYamlMethod = InstanceGroupServiceGrpc.getCreateFromYamlMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getCreateFromYamlMethod = InstanceGroupServiceGrpc.getCreateFromYamlMethod) == null) { InstanceGroupServiceGrpc.getCreateFromYamlMethod = getCreateFromYamlMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFromYaml")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("CreateFromYaml")) .build(); } } } return getCreateFromYamlMethod; } private static volatile io.grpc.MethodDescriptor getUpdateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Update", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest.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 = InstanceGroupServiceGrpc.getUpdateMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getUpdateMethod = InstanceGroupServiceGrpc.getUpdateMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("Update")) .build(); } } } return getUpdateMethod; } private static volatile io.grpc.MethodDescriptor getUpdateFromYamlMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateFromYaml", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateFromYamlMethod() { io.grpc.MethodDescriptor getUpdateFromYamlMethod; if ((getUpdateFromYamlMethod = InstanceGroupServiceGrpc.getUpdateFromYamlMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getUpdateFromYamlMethod = InstanceGroupServiceGrpc.getUpdateFromYamlMethod) == null) { InstanceGroupServiceGrpc.getUpdateFromYamlMethod = getUpdateFromYamlMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFromYaml")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("UpdateFromYaml")) .build(); } } } return getUpdateFromYamlMethod; } private static volatile io.grpc.MethodDescriptor getStopMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Stop", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest.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 = InstanceGroupServiceGrpc.getStopMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getStopMethod = InstanceGroupServiceGrpc.getStopMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("Stop")) .build(); } } } return getStopMethod; } private static volatile io.grpc.MethodDescriptor getRollingRestartMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RollingRestart", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRollingRestartMethod() { io.grpc.MethodDescriptor getRollingRestartMethod; if ((getRollingRestartMethod = InstanceGroupServiceGrpc.getRollingRestartMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getRollingRestartMethod = InstanceGroupServiceGrpc.getRollingRestartMethod) == null) { InstanceGroupServiceGrpc.getRollingRestartMethod = getRollingRestartMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollingRestart")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("RollingRestart")) .build(); } } } return getRollingRestartMethod; } private static volatile io.grpc.MethodDescriptor getRollingRecreateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RollingRecreate", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRollingRecreateMethod() { io.grpc.MethodDescriptor getRollingRecreateMethod; if ((getRollingRecreateMethod = InstanceGroupServiceGrpc.getRollingRecreateMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getRollingRecreateMethod = InstanceGroupServiceGrpc.getRollingRecreateMethod) == null) { InstanceGroupServiceGrpc.getRollingRecreateMethod = getRollingRecreateMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollingRecreate")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("RollingRecreate")) .build(); } } } return getRollingRecreateMethod; } private static volatile io.grpc.MethodDescriptor getStartMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Start", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest.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 = InstanceGroupServiceGrpc.getStartMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getStartMethod = InstanceGroupServiceGrpc.getStartMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("Start")) .build(); } } } return getStartMethod; } private static volatile io.grpc.MethodDescriptor getDeleteMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Delete", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest.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 = InstanceGroupServiceGrpc.getDeleteMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getDeleteMethod = InstanceGroupServiceGrpc.getDeleteMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("Delete")) .build(); } } } return getDeleteMethod; } private static volatile io.grpc.MethodDescriptor getListInstancesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListInstances", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest.class, responseType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListInstancesMethod() { io.grpc.MethodDescriptor getListInstancesMethod; if ((getListInstancesMethod = InstanceGroupServiceGrpc.getListInstancesMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getListInstancesMethod = InstanceGroupServiceGrpc.getListInstancesMethod) == null) { InstanceGroupServiceGrpc.getListInstancesMethod = getListInstancesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesResponse.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("ListInstances")) .build(); } } } return getListInstancesMethod; } private static volatile io.grpc.MethodDescriptor getDeleteInstancesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteInstances", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeleteInstancesMethod() { io.grpc.MethodDescriptor getDeleteInstancesMethod; if ((getDeleteInstancesMethod = InstanceGroupServiceGrpc.getDeleteInstancesMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getDeleteInstancesMethod = InstanceGroupServiceGrpc.getDeleteInstancesMethod) == null) { InstanceGroupServiceGrpc.getDeleteInstancesMethod = getDeleteInstancesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstances")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("DeleteInstances")) .build(); } } } return getDeleteInstancesMethod; } private static volatile io.grpc.MethodDescriptor getStopInstancesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StopInstances", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getStopInstancesMethod() { io.grpc.MethodDescriptor getStopInstancesMethod; if ((getStopInstancesMethod = InstanceGroupServiceGrpc.getStopInstancesMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getStopInstancesMethod = InstanceGroupServiceGrpc.getStopInstancesMethod) == null) { InstanceGroupServiceGrpc.getStopInstancesMethod = getStopInstancesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopInstances")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("StopInstances")) .build(); } } } return getStopInstancesMethod; } private static volatile io.grpc.MethodDescriptor getListOperationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListOperations", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest.class, responseType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListOperationsMethod() { io.grpc.MethodDescriptor getListOperationsMethod; if ((getListOperationsMethod = InstanceGroupServiceGrpc.getListOperationsMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getListOperationsMethod = InstanceGroupServiceGrpc.getListOperationsMethod) == null) { InstanceGroupServiceGrpc.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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsResponse.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("ListOperations")) .build(); } } } return getListOperationsMethod; } private static volatile io.grpc.MethodDescriptor getListLogRecordsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListLogRecords", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest.class, responseType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListLogRecordsMethod() { io.grpc.MethodDescriptor getListLogRecordsMethod; if ((getListLogRecordsMethod = InstanceGroupServiceGrpc.getListLogRecordsMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getListLogRecordsMethod = InstanceGroupServiceGrpc.getListLogRecordsMethod) == null) { InstanceGroupServiceGrpc.getListLogRecordsMethod = getListLogRecordsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLogRecords")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsResponse.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("ListLogRecords")) .build(); } } } return getListLogRecordsMethod; } private static volatile io.grpc.MethodDescriptor getListAccessBindingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListAccessBindings", requestType = yandex.cloud.api.access.Access.ListAccessBindingsRequest.class, responseType = yandex.cloud.api.access.Access.ListAccessBindingsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListAccessBindingsMethod() { io.grpc.MethodDescriptor getListAccessBindingsMethod; if ((getListAccessBindingsMethod = InstanceGroupServiceGrpc.getListAccessBindingsMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getListAccessBindingsMethod = InstanceGroupServiceGrpc.getListAccessBindingsMethod) == null) { InstanceGroupServiceGrpc.getListAccessBindingsMethod = getListAccessBindingsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccessBindings")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.ListAccessBindingsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.ListAccessBindingsResponse.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("ListAccessBindings")) .build(); } } } return getListAccessBindingsMethod; } private static volatile io.grpc.MethodDescriptor getSetAccessBindingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SetAccessBindings", requestType = yandex.cloud.api.access.Access.SetAccessBindingsRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getSetAccessBindingsMethod() { io.grpc.MethodDescriptor getSetAccessBindingsMethod; if ((getSetAccessBindingsMethod = InstanceGroupServiceGrpc.getSetAccessBindingsMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getSetAccessBindingsMethod = InstanceGroupServiceGrpc.getSetAccessBindingsMethod) == null) { InstanceGroupServiceGrpc.getSetAccessBindingsMethod = getSetAccessBindingsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAccessBindings")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.SetAccessBindingsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("SetAccessBindings")) .build(); } } } return getSetAccessBindingsMethod; } private static volatile io.grpc.MethodDescriptor getUpdateAccessBindingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateAccessBindings", requestType = yandex.cloud.api.access.Access.UpdateAccessBindingsRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateAccessBindingsMethod() { io.grpc.MethodDescriptor getUpdateAccessBindingsMethod; if ((getUpdateAccessBindingsMethod = InstanceGroupServiceGrpc.getUpdateAccessBindingsMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getUpdateAccessBindingsMethod = InstanceGroupServiceGrpc.getUpdateAccessBindingsMethod) == null) { InstanceGroupServiceGrpc.getUpdateAccessBindingsMethod = getUpdateAccessBindingsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccessBindings")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.UpdateAccessBindingsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("UpdateAccessBindings")) .build(); } } } return getUpdateAccessBindingsMethod; } private static volatile io.grpc.MethodDescriptor getResumeProcessesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResumeProcesses", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getResumeProcessesMethod() { io.grpc.MethodDescriptor getResumeProcessesMethod; if ((getResumeProcessesMethod = InstanceGroupServiceGrpc.getResumeProcessesMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getResumeProcessesMethod = InstanceGroupServiceGrpc.getResumeProcessesMethod) == null) { InstanceGroupServiceGrpc.getResumeProcessesMethod = getResumeProcessesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeProcesses")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("ResumeProcesses")) .build(); } } } return getResumeProcessesMethod; } private static volatile io.grpc.MethodDescriptor getPauseProcessesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "PauseProcesses", requestType = yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getPauseProcessesMethod() { io.grpc.MethodDescriptor getPauseProcessesMethod; if ((getPauseProcessesMethod = InstanceGroupServiceGrpc.getPauseProcessesMethod) == null) { synchronized (InstanceGroupServiceGrpc.class) { if ((getPauseProcessesMethod = InstanceGroupServiceGrpc.getPauseProcessesMethod) == null) { InstanceGroupServiceGrpc.getPauseProcessesMethod = getPauseProcessesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseProcesses")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new InstanceGroupServiceMethodDescriptorSupplier("PauseProcesses")) .build(); } } } return getPauseProcessesMethod; } /** * Creates a new async stub that supports all call types for the service */ public static InstanceGroupServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public InstanceGroupServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new InstanceGroupServiceStub(channel, callOptions); } }; return InstanceGroupServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static InstanceGroupServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public InstanceGroupServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new InstanceGroupServiceBlockingStub(channel, callOptions); } }; return InstanceGroupServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static InstanceGroupServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public InstanceGroupServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new InstanceGroupServiceFutureStub(channel, callOptions); } }; return InstanceGroupServiceFutureStub.newStub(factory, channel); } /** *
   * A set of methods for managing InstanceGroup resources.
   * 
*/ public static abstract class InstanceGroupServiceImplBase implements io.grpc.BindableService { /** *
     * Returns the specified InstanceGroup resource.
     * To get the list of available InstanceGroup resources, make a [List] request.
     * 
*/ public void get(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver); } /** *
     * Retrieves the list of InstanceGroup resources in the specified folder.
     * 
*/ public void list(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver); } /** *
     * Creates an instance group in the specified folder.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void create(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver); } /** *
     * Creates an instance group in the specified folder from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void createFromYaml(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFromYamlMethod(), responseObserver); } /** *
     * Updates the specified instance group.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void update(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver); } /** *
     * Updates the specified instance group from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void updateFromYaml(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFromYamlMethod(), responseObserver); } /** *
     * Stops the specified instance group.
     * 
*/ public void stop(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStopMethod(), responseObserver); } /** *
     * Performs rolling restart of specified instances for the specified instance group.
     * Rolling restart does restart of instances respecting all group policies.
     * 
*/ public void rollingRestart(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollingRestartMethod(), responseObserver); } /** *
     * Performs rolling recreate of specified instances for the specified instance group.
     * Rolling recreate does recreate of instance VMs respecting all group policies.
     * 
*/ public void rollingRecreate(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollingRecreateMethod(), responseObserver); } /** *
     * Starts the specified instance group.
     * 
*/ public void start(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartMethod(), responseObserver); } /** *
     * Deletes the specified instance group.
     * 
*/ public void delete(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver); } /** *
     * Lists instances for the specified instance group.
     * 
*/ public void listInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); } /** *
     * Delete instances from the instance group.
     * 
*/ public void deleteInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstancesMethod(), responseObserver); } /** *
     * Stop instances from the instance group.
     * 
*/ public void stopInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStopInstancesMethod(), responseObserver); } /** *
     * Lists operations for the specified instance group.
     * 
*/ public void listOperations(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); } /** *
     * Lists logs for the specified instance group.
     * 
*/ public void listLogRecords(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLogRecordsMethod(), responseObserver); } /** *
     * Lists existing access bindings for the specified instance group.
     * 
*/ public void listAccessBindings(yandex.cloud.api.access.Access.ListAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccessBindingsMethod(), responseObserver); } /** *
     * Sets access bindings for the specified instance group.
     * 
*/ public void setAccessBindings(yandex.cloud.api.access.Access.SetAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetAccessBindingsMethod(), responseObserver); } /** *
     * Updates access bindings for the specified instance group.
     * 
*/ public void updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccessBindingsMethod(), responseObserver); } /** *
     * Resumes all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them.
     * 
*/ public void resumeProcesses(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeProcessesMethod(), responseObserver); } /** *
     * Pauses all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them. Running instances are not stopped.
     * 
*/ public void pauseProcesses(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseProcessesMethod(), 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.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest, yandex.cloud.api.compute.v1.instancegroup.InstanceGroupOuterClass.InstanceGroup>( this, METHODID_GET))) .addMethod( getListMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest, yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsResponse>( this, METHODID_LIST))) .addMethod( getCreateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_CREATE))) .addMethod( getCreateFromYamlMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_CREATE_FROM_YAML))) .addMethod( getUpdateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_UPDATE))) .addMethod( getUpdateFromYamlMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_UPDATE_FROM_YAML))) .addMethod( getStopMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_STOP))) .addMethod( getRollingRestartMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_ROLLING_RESTART))) .addMethod( getRollingRecreateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_ROLLING_RECREATE))) .addMethod( getStartMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_START))) .addMethod( getDeleteMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_DELETE))) .addMethod( getListInstancesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest, yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesResponse>( this, METHODID_LIST_INSTANCES))) .addMethod( getDeleteInstancesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_DELETE_INSTANCES))) .addMethod( getStopInstancesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_STOP_INSTANCES))) .addMethod( getListOperationsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest, yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsResponse>( this, METHODID_LIST_OPERATIONS))) .addMethod( getListLogRecordsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest, yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsResponse>( this, METHODID_LIST_LOG_RECORDS))) .addMethod( getListAccessBindingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.access.Access.ListAccessBindingsRequest, yandex.cloud.api.access.Access.ListAccessBindingsResponse>( this, METHODID_LIST_ACCESS_BINDINGS))) .addMethod( getSetAccessBindingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.access.Access.SetAccessBindingsRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_SET_ACCESS_BINDINGS))) .addMethod( getUpdateAccessBindingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.access.Access.UpdateAccessBindingsRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_UPDATE_ACCESS_BINDINGS))) .addMethod( getResumeProcessesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_RESUME_PROCESSES))) .addMethod( getPauseProcessesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_PAUSE_PROCESSES))) .build(); } } /** *
   * A set of methods for managing InstanceGroup resources.
   * 
*/ public static final class InstanceGroupServiceStub extends io.grpc.stub.AbstractAsyncStub { private InstanceGroupServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected InstanceGroupServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new InstanceGroupServiceStub(channel, callOptions); } /** *
     * Returns the specified InstanceGroup resource.
     * To get the list of available InstanceGroup resources, make a [List] request.
     * 
*/ public void get(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver); } /** *
     * Retrieves the list of InstanceGroup resources in the specified folder.
     * 
*/ public void list(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver); } /** *
     * Creates an instance group in the specified folder.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void create(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver); } /** *
     * Creates an instance group in the specified folder from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void createFromYaml(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateFromYamlMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates the specified instance group.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void update(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates the specified instance group from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public void updateFromYaml(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateFromYamlMethod(), getCallOptions()), request, responseObserver); } /** *
     * Stops the specified instance group.
     * 
*/ public void stop(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStopMethod(), getCallOptions()), request, responseObserver); } /** *
     * Performs rolling restart of specified instances for the specified instance group.
     * Rolling restart does restart of instances respecting all group policies.
     * 
*/ public void rollingRestart(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRollingRestartMethod(), getCallOptions()), request, responseObserver); } /** *
     * Performs rolling recreate of specified instances for the specified instance group.
     * Rolling recreate does recreate of instance VMs respecting all group policies.
     * 
*/ public void rollingRecreate(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRollingRecreateMethod(), getCallOptions()), request, responseObserver); } /** *
     * Starts the specified instance group.
     * 
*/ public void start(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStartMethod(), getCallOptions()), request, responseObserver); } /** *
     * Deletes the specified instance group.
     * 
*/ public void delete(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists instances for the specified instance group.
     * 
*/ public void listInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Delete instances from the instance group.
     * 
*/ public void deleteInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteInstancesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Stop instances from the instance group.
     * 
*/ public void stopInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStopInstancesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists operations for the specified instance group.
     * 
*/ public void listOperations(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists logs for the specified instance group.
     * 
*/ public void listLogRecords(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListLogRecordsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists existing access bindings for the specified instance group.
     * 
*/ public void listAccessBindings(yandex.cloud.api.access.Access.ListAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Sets access bindings for the specified instance group.
     * 
*/ public void setAccessBindings(yandex.cloud.api.access.Access.SetAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetAccessBindingsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates access bindings for the specified instance group.
     * 
*/ public void updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateAccessBindingsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Resumes all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them.
     * 
*/ public void resumeProcesses(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getResumeProcessesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Pauses all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them. Running instances are not stopped.
     * 
*/ public void pauseProcesses(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseProcessesMethod(), getCallOptions()), request, responseObserver); } } /** *
   * A set of methods for managing InstanceGroup resources.
   * 
*/ public static final class InstanceGroupServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private InstanceGroupServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected InstanceGroupServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new InstanceGroupServiceBlockingStub(channel, callOptions); } /** *
     * Returns the specified InstanceGroup resource.
     * To get the list of available InstanceGroup resources, make a [List] request.
     * 
*/ public yandex.cloud.api.compute.v1.instancegroup.InstanceGroupOuterClass.InstanceGroup get(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMethod(), getCallOptions(), request); } /** *
     * Retrieves the list of InstanceGroup resources in the specified folder.
     * 
*/ public yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsResponse list(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListMethod(), getCallOptions(), request); } /** *
     * Creates an instance group in the specified folder.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation create(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateMethod(), getCallOptions(), request); } /** *
     * Creates an instance group in the specified folder from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation createFromYaml(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateFromYamlMethod(), getCallOptions(), request); } /** *
     * Updates the specified instance group.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation update(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateMethod(), getCallOptions(), request); } /** *
     * Updates the specified instance group from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation updateFromYaml(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateFromYamlMethod(), getCallOptions(), request); } /** *
     * Stops the specified instance group.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation stop(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStopMethod(), getCallOptions(), request); } /** *
     * Performs rolling restart of specified instances for the specified instance group.
     * Rolling restart does restart of instances respecting all group policies.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation rollingRestart(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRollingRestartMethod(), getCallOptions(), request); } /** *
     * Performs rolling recreate of specified instances for the specified instance group.
     * Rolling recreate does recreate of instance VMs respecting all group policies.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation rollingRecreate(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRollingRecreateMethod(), getCallOptions(), request); } /** *
     * Starts the specified instance group.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation start(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStartMethod(), getCallOptions(), request); } /** *
     * Deletes the specified instance group.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation delete(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteMethod(), getCallOptions(), request); } /** *
     * Lists instances for the specified instance group.
     * 
*/ public yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesResponse listInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstancesMethod(), getCallOptions(), request); } /** *
     * Delete instances from the instance group.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation deleteInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstancesMethod(), getCallOptions(), request); } /** *
     * Stop instances from the instance group.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation stopInstances(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStopInstancesMethod(), getCallOptions(), request); } /** *
     * Lists operations for the specified instance group.
     * 
*/ public yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsResponse listOperations(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListOperationsMethod(), getCallOptions(), request); } /** *
     * Lists logs for the specified instance group.
     * 
*/ public yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsResponse listLogRecords(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListLogRecordsMethod(), getCallOptions(), request); } /** *
     * Lists existing access bindings for the specified instance group.
     * 
*/ public yandex.cloud.api.access.Access.ListAccessBindingsResponse listAccessBindings(yandex.cloud.api.access.Access.ListAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAccessBindingsMethod(), getCallOptions(), request); } /** *
     * Sets access bindings for the specified instance group.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation setAccessBindings(yandex.cloud.api.access.Access.SetAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSetAccessBindingsMethod(), getCallOptions(), request); } /** *
     * Updates access bindings for the specified instance group.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAccessBindingsMethod(), getCallOptions(), request); } /** *
     * Resumes all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation resumeProcesses(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeProcessesMethod(), getCallOptions(), request); } /** *
     * Pauses all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them. Running instances are not stopped.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation pauseProcesses(yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseProcessesMethod(), getCallOptions(), request); } } /** *
   * A set of methods for managing InstanceGroup resources.
   * 
*/ public static final class InstanceGroupServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private InstanceGroupServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected InstanceGroupServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new InstanceGroupServiceFutureStub(channel, callOptions); } /** *
     * Returns the specified InstanceGroup resource.
     * To get the list of available InstanceGroup resources, make a [List] request.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture get( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request); } /** *
     * Retrieves the list of InstanceGroup resources in the specified folder.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture list( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request); } /** *
     * Creates an instance group in the specified folder.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture create( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateMethod(), getCallOptions()), request); } /** *
     * Creates an instance group in the specified folder from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createFromYaml( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateFromYamlMethod(), getCallOptions()), request); } /** *
     * Updates the specified instance group.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture update( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateMethod(), getCallOptions()), request); } /** *
     * Updates the specified instance group from a YAML file.
     * This method starts an operation that can be cancelled by another operation.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateFromYaml( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateFromYamlMethod(), getCallOptions()), request); } /** *
     * Stops the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture stop( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStopMethod(), getCallOptions()), request); } /** *
     * Performs rolling restart of specified instances for the specified instance group.
     * Rolling restart does restart of instances respecting all group policies.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture rollingRestart( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRollingRestartMethod(), getCallOptions()), request); } /** *
     * Performs rolling recreate of specified instances for the specified instance group.
     * Rolling recreate does recreate of instance VMs respecting all group policies.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture rollingRecreate( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRollingRecreateMethod(), getCallOptions()), request); } /** *
     * Starts the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture start( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStartMethod(), getCallOptions()), request); } /** *
     * Deletes the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture delete( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request); } /** *
     * Lists instances for the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listInstances( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); } /** *
     * Delete instances from the instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteInstances( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteInstancesMethod(), getCallOptions()), request); } /** *
     * Stop instances from the instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture stopInstances( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStopInstancesMethod(), getCallOptions()), request); } /** *
     * Lists operations for the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listOperations( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); } /** *
     * Lists logs for the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listLogRecords( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListLogRecordsMethod(), getCallOptions()), request); } /** *
     * Lists existing access bindings for the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listAccessBindings( yandex.cloud.api.access.Access.ListAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), request); } /** *
     * Sets access bindings for the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture setAccessBindings( yandex.cloud.api.access.Access.SetAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetAccessBindingsMethod(), getCallOptions()), request); } /** *
     * Updates access bindings for the specified instance group.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateAccessBindings( yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAccessBindingsMethod(), getCallOptions()), request); } /** *
     * Resumes all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture resumeProcesses( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeProcessesMethod(), getCallOptions()), request); } /** *
     * Pauses all processes regarding management of the specified instance group,
     * i.e. scaling, checking instances' health, auto-healing and updating them. Running instances are not stopped.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture pauseProcesses( yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseProcessesMethod(), 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_CREATE_FROM_YAML = 3; private static final int METHODID_UPDATE = 4; private static final int METHODID_UPDATE_FROM_YAML = 5; private static final int METHODID_STOP = 6; private static final int METHODID_ROLLING_RESTART = 7; private static final int METHODID_ROLLING_RECREATE = 8; private static final int METHODID_START = 9; private static final int METHODID_DELETE = 10; private static final int METHODID_LIST_INSTANCES = 11; private static final int METHODID_DELETE_INSTANCES = 12; private static final int METHODID_STOP_INSTANCES = 13; private static final int METHODID_LIST_OPERATIONS = 14; private static final int METHODID_LIST_LOG_RECORDS = 15; private static final int METHODID_LIST_ACCESS_BINDINGS = 16; private static final int METHODID_SET_ACCESS_BINDINGS = 17; private static final int METHODID_UPDATE_ACCESS_BINDINGS = 18; private static final int METHODID_RESUME_PROCESSES = 19; private static final int METHODID_PAUSE_PROCESSES = 20; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final InstanceGroupServiceImplBase serviceImpl; private final int methodId; MethodHandlers(InstanceGroupServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET: serviceImpl.get((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.GetInstanceGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST: serviceImpl.list((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE: serviceImpl.create((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_FROM_YAML: serviceImpl.createFromYaml((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.CreateInstanceGroupFromYamlRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE: serviceImpl.update((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_FROM_YAML: serviceImpl.updateFromYaml((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.UpdateInstanceGroupFromYamlRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_STOP: serviceImpl.stop((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstanceGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ROLLING_RESTART: serviceImpl.rollingRestart((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRestartRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ROLLING_RECREATE: serviceImpl.rollingRecreate((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.RollingRecreateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_START: serviceImpl.start((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StartInstanceGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE: serviceImpl.delete((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstanceGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INSTANCES: serviceImpl.listInstances((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupInstancesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INSTANCES: serviceImpl.deleteInstances((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.DeleteInstancesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_STOP_INSTANCES: serviceImpl.stopInstances((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.StopInstancesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_OPERATIONS: serviceImpl.listOperations((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupOperationsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_LOG_RECORDS: serviceImpl.listLogRecords((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ListInstanceGroupLogRecordsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_ACCESS_BINDINGS: serviceImpl.listAccessBindings((yandex.cloud.api.access.Access.ListAccessBindingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_ACCESS_BINDINGS: serviceImpl.setAccessBindings((yandex.cloud.api.access.Access.SetAccessBindingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ACCESS_BINDINGS: serviceImpl.updateAccessBindings((yandex.cloud.api.access.Access.UpdateAccessBindingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESUME_PROCESSES: serviceImpl.resumeProcesses((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.ResumeInstanceGroupProcessesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PAUSE_PROCESSES: serviceImpl.pauseProcesses((yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.PauseInstanceGroupProcessesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } private static abstract class InstanceGroupServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { InstanceGroupServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return yandex.cloud.api.compute.v1.instancegroup.InstanceGroupServiceOuterClass.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("InstanceGroupService"); } } private static final class InstanceGroupServiceFileDescriptorSupplier extends InstanceGroupServiceBaseDescriptorSupplier { InstanceGroupServiceFileDescriptorSupplier() {} } private static final class InstanceGroupServiceMethodDescriptorSupplier extends InstanceGroupServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; InstanceGroupServiceMethodDescriptorSupplier(String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (InstanceGroupServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new InstanceGroupServiceFileDescriptorSupplier()) .addMethod(getGetMethod()) .addMethod(getListMethod()) .addMethod(getCreateMethod()) .addMethod(getCreateFromYamlMethod()) .addMethod(getUpdateMethod()) .addMethod(getUpdateFromYamlMethod()) .addMethod(getStopMethod()) .addMethod(getRollingRestartMethod()) .addMethod(getRollingRecreateMethod()) .addMethod(getStartMethod()) .addMethod(getDeleteMethod()) .addMethod(getListInstancesMethod()) .addMethod(getDeleteInstancesMethod()) .addMethod(getStopInstancesMethod()) .addMethod(getListOperationsMethod()) .addMethod(getListLogRecordsMethod()) .addMethod(getListAccessBindingsMethod()) .addMethod(getSetAccessBindingsMethod()) .addMethod(getUpdateAccessBindingsMethod()) .addMethod(getResumeProcessesMethod()) .addMethod(getPauseProcessesMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy