@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "checkScale", requestType = io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusRequest.class, responseType = io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusRequest, io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse> getCheckScaleMethod() { io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusRequest, io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse> getCheckScaleMethod; if ((getCheckScaleMethod = ControllerServiceGrpc.getCheckScaleMethod) == null) { synchronized (ControllerServiceGrpc.class) { if ((getCheckScaleMethod = ControllerServiceGrpc.getCheckScaleMethod) == null) { ControllerServiceGrpc.getCheckScaleMethod = getCheckScaleMethod = io.grpc.MethodDescriptor.<io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusRequest, io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "io.pravega.controller.stream.api.grpc.v1.ControllerService", "checkScale")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse.getDefaultInstance())) .setSchemaDescriptor(new ControllerServiceMethodDescriptorSupplier("checkScale")) .build(); } } } return getCheckScaleMethod; }
public io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse getDefaultInstanceForType() { return io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse.getDefaultInstance(); }
public Builder mergeFrom(io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse other) { if (other == io.pravega.controller.stream.api.grpc.v1.Controller.ScaleStatusResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }