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