@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "createStream", requestType = io.pravega.controller.stream.api.grpc.v1.Controller.StreamConfig.class, responseType = io.pravega.controller.stream.api.grpc.v1.Controller.CreateStreamStatus.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.CreateStreamStatus> getCreateStreamMethod() { io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.StreamConfig, io.pravega.controller.stream.api.grpc.v1.Controller.CreateStreamStatus> getCreateStreamMethod; if ((getCreateStreamMethod = ControllerServiceGrpc.getCreateStreamMethod) == null) { synchronized (ControllerServiceGrpc.class) { if ((getCreateStreamMethod = ControllerServiceGrpc.getCreateStreamMethod) == null) { ControllerServiceGrpc.getCreateStreamMethod = getCreateStreamMethod = io.grpc.MethodDescriptor.<io.pravega.controller.stream.api.grpc.v1.Controller.StreamConfig, io.pravega.controller.stream.api.grpc.v1.Controller.CreateStreamStatus>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "io.pravega.controller.stream.api.grpc.v1.ControllerService", "createStream")) .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.CreateStreamStatus.getDefaultInstance())) .setSchemaDescriptor(new ControllerServiceMethodDescriptorSupplier("createStream")) .build(); } } } return getCreateStreamMethod; }
public io.pravega.controller.stream.api.grpc.v1.Controller.CreateStreamStatus getDefaultInstanceForType() { return io.pravega.controller.stream.api.grpc.v1.Controller.CreateStreamStatus.getDefaultInstance(); }
public Builder mergeFrom(io.pravega.controller.stream.api.grpc.v1.Controller.CreateStreamStatus other) { if (other == io.pravega.controller.stream.api.grpc.v1.Controller.CreateStreamStatus.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }