public Builder mergeFrom(io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest other) { if (other == io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest.getDefaultInstance()) return this; if (other.hasStreamInfo()) { mergeStreamInfo(other.getStreamInfo());
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "scale", requestType = io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest.class, responseType = io.pravega.controller.stream.api.grpc.v1.Controller.ScaleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest, io.pravega.controller.stream.api.grpc.v1.Controller.ScaleResponse> getScaleMethod() { io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest, io.pravega.controller.stream.api.grpc.v1.Controller.ScaleResponse> getScaleMethod; if ((getScaleMethod = ControllerServiceGrpc.getScaleMethod) == null) { synchronized (ControllerServiceGrpc.class) { if ((getScaleMethod = ControllerServiceGrpc.getScaleMethod) == null) { ControllerServiceGrpc.getScaleMethod = getScaleMethod = io.grpc.MethodDescriptor.<io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest, io.pravega.controller.stream.api.grpc.v1.Controller.ScaleResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "io.pravega.controller.stream.api.grpc.v1.ControllerService", "scale")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.ScaleResponse.getDefaultInstance())) .setSchemaDescriptor(new ControllerServiceMethodDescriptorSupplier("scale")) .build(); } } } return getScaleMethod; }
public io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest getDefaultInstanceForType() { return io.pravega.controller.stream.api.grpc.v1.Controller.ScaleRequest.getDefaultInstance(); }