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