/** * <pre> ** * Returns the version of the master service. * NOTE: The version should be updated every time a backwards incompatible API change occurs. * </pre> */ public void getServiceVersion(alluxio.grpc.GetServiceVersionPRequest request, io.grpc.stub.StreamObserver<alluxio.grpc.GetServiceVersionPResponse> responseObserver) { asyncUnimplementedUnaryCall(getGetServiceVersionMethod(), responseObserver); }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getGetServiceVersionMethod(), asyncUnaryCall( new MethodHandlers< alluxio.grpc.GetServiceVersionPRequest, alluxio.grpc.GetServiceVersionPResponse>( this, METHODID_GET_SERVICE_VERSION))) .build(); } }
/** * <pre> ** * Returns the version of the master service. * NOTE: The version should be updated every time a backwards incompatible API change occurs. * </pre> */ public com.google.common.util.concurrent.ListenableFuture<alluxio.grpc.GetServiceVersionPResponse> getServiceVersion( alluxio.grpc.GetServiceVersionPRequest request) { return futureUnaryCall( getChannel().newCall(getGetServiceVersionMethod(), getCallOptions()), request); } }
/** * <pre> ** * Returns the version of the master service. * NOTE: The version should be updated every time a backwards incompatible API change occurs. * </pre> */ public void getServiceVersion(alluxio.grpc.GetServiceVersionPRequest request, io.grpc.stub.StreamObserver<alluxio.grpc.GetServiceVersionPResponse> responseObserver) { asyncUnaryCall( getChannel().newCall(getGetServiceVersionMethod(), getCallOptions()), request, responseObserver); } }
/** * <pre> ** * Returns the version of the master service. * NOTE: The version should be updated every time a backwards incompatible API change occurs. * </pre> */ public alluxio.grpc.GetServiceVersionPResponse getServiceVersion(alluxio.grpc.GetServiceVersionPRequest request) { return blockingUnaryCall( getChannel(), getGetServiceVersionMethod(), getCallOptions(), request); } }
public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (ServiceVersionClientServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new ServiceVersionClientServiceFileDescriptorSupplier()) .addMethod(getGetServiceVersionMethod()) .build(); } } } return result; } }