org.apache.skywalking.banyandb.property.v1.PropertyServiceGrpc Maven / Gradle / Ivy
package org.apache.skywalking.banyandb.property.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.63.0)",
comments = "Source: banyandb/v1/banyandb-property.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PropertyServiceGrpc {
private PropertyServiceGrpc() {}
public static final java.lang.String SERVICE_NAME = "banyandb.property.v1.PropertyService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getApplyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Apply",
requestType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.class,
responseType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getApplyMethod() {
io.grpc.MethodDescriptor getApplyMethod;
if ((getApplyMethod = PropertyServiceGrpc.getApplyMethod) == null) {
synchronized (PropertyServiceGrpc.class) {
if ((getApplyMethod = PropertyServiceGrpc.getApplyMethod) == null) {
PropertyServiceGrpc.getApplyMethod = getApplyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Apply"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.getDefaultInstance()))
.setSchemaDescriptor(new PropertyServiceMethodDescriptorSupplier("Apply"))
.build();
}
}
}
return getApplyMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Delete",
requestType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.class,
responseType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteMethod() {
io.grpc.MethodDescriptor getDeleteMethod;
if ((getDeleteMethod = PropertyServiceGrpc.getDeleteMethod) == null) {
synchronized (PropertyServiceGrpc.class) {
if ((getDeleteMethod = PropertyServiceGrpc.getDeleteMethod) == null) {
PropertyServiceGrpc.getDeleteMethod = getDeleteMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Delete"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.getDefaultInstance()))
.setSchemaDescriptor(new PropertyServiceMethodDescriptorSupplier("Delete"))
.build();
}
}
}
return getDeleteMethod;
}
private static volatile io.grpc.MethodDescriptor getGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Get",
requestType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.class,
responseType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMethod() {
io.grpc.MethodDescriptor getGetMethod;
if ((getGetMethod = PropertyServiceGrpc.getGetMethod) == null) {
synchronized (PropertyServiceGrpc.class) {
if ((getGetMethod = PropertyServiceGrpc.getGetMethod) == null) {
PropertyServiceGrpc.getGetMethod = getGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Get"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.getDefaultInstance()))
.setSchemaDescriptor(new PropertyServiceMethodDescriptorSupplier("Get"))
.build();
}
}
}
return getGetMethod;
}
private static volatile io.grpc.MethodDescriptor getListMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "List",
requestType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.class,
responseType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListMethod() {
io.grpc.MethodDescriptor getListMethod;
if ((getListMethod = PropertyServiceGrpc.getListMethod) == null) {
synchronized (PropertyServiceGrpc.class) {
if ((getListMethod = PropertyServiceGrpc.getListMethod) == null) {
PropertyServiceGrpc.getListMethod = getListMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "List"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.getDefaultInstance()))
.setSchemaDescriptor(new PropertyServiceMethodDescriptorSupplier("List"))
.build();
}
}
}
return getListMethod;
}
private static volatile io.grpc.MethodDescriptor getKeepAliveMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KeepAlive",
requestType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.class,
responseType = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKeepAliveMethod() {
io.grpc.MethodDescriptor getKeepAliveMethod;
if ((getKeepAliveMethod = PropertyServiceGrpc.getKeepAliveMethod) == null) {
synchronized (PropertyServiceGrpc.class) {
if ((getKeepAliveMethod = PropertyServiceGrpc.getKeepAliveMethod) == null) {
PropertyServiceGrpc.getKeepAliveMethod = getKeepAliveMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KeepAlive"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.getDefaultInstance()))
.setSchemaDescriptor(new PropertyServiceMethodDescriptorSupplier("KeepAlive"))
.build();
}
}
}
return getKeepAliveMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static PropertyServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public PropertyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new PropertyServiceStub(channel, callOptions);
}
};
return PropertyServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static PropertyServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public PropertyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new PropertyServiceBlockingStub(channel, callOptions);
}
};
return PropertyServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static PropertyServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public PropertyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new PropertyServiceFutureStub(channel, callOptions);
}
};
return PropertyServiceFutureStub.newStub(factory, channel);
}
/**
*/
public interface AsyncService {
/**
*
* Apply creates a property if it's absent, or update a existed one based on a strategy.
*
*/
default void apply(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApplyMethod(), responseObserver);
}
/**
*/
default void delete(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver);
}
/**
*/
default void get(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver);
}
/**
*/
default void list(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver);
}
/**
*/
default void keepAlive(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getKeepAliveMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service PropertyService.
*/
public static abstract class PropertyServiceImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return PropertyServiceGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service PropertyService.
*/
public static final class PropertyServiceStub
extends io.grpc.stub.AbstractAsyncStub {
private PropertyServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected PropertyServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new PropertyServiceStub(channel, callOptions);
}
/**
*
* Apply creates a property if it's absent, or update a existed one based on a strategy.
*
*/
public void apply(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getApplyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void delete(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void get(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void list(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void keepAlive(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getKeepAliveMethod(), getCallOptions()), request, responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service PropertyService.
*/
public static final class PropertyServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private PropertyServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected PropertyServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new PropertyServiceBlockingStub(channel, callOptions);
}
/**
*
* Apply creates a property if it's absent, or update a existed one based on a strategy.
*
*/
public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse apply(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getApplyMethod(), getCallOptions(), request);
}
/**
*/
public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse delete(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteMethod(), getCallOptions(), request);
}
/**
*/
public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse get(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMethod(), getCallOptions(), request);
}
/**
*/
public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse list(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListMethod(), getCallOptions(), request);
}
/**
*/
public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse keepAlive(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getKeepAliveMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service PropertyService.
*/
public static final class PropertyServiceFutureStub
extends io.grpc.stub.AbstractFutureStub {
private PropertyServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected PropertyServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new PropertyServiceFutureStub(channel, callOptions);
}
/**
*
* Apply creates a property if it's absent, or update a existed one based on a strategy.
*
*/
public com.google.common.util.concurrent.ListenableFuture apply(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getApplyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture delete(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture get(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture list(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture keepAlive(
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getKeepAliveMethod(), getCallOptions()), request);
}
}
private static final int METHODID_APPLY = 0;
private static final int METHODID_DELETE = 1;
private static final int METHODID_GET = 2;
private static final int METHODID_LIST = 3;
private static final int METHODID_KEEP_ALIVE = 4;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final AsyncService serviceImpl;
private final int methodId;
MethodHandlers(AsyncService serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_APPLY:
serviceImpl.apply((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE:
serviceImpl.delete((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET:
serviceImpl.get((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST:
serviceImpl.list((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_KEEP_ALIVE:
serviceImpl.keepAlive((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver invoke(
io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getApplyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest,
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse>(
service, METHODID_APPLY)))
.addMethod(
getDeleteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest,
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse>(
service, METHODID_DELETE)))
.addMethod(
getGetMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest,
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse>(
service, METHODID_GET)))
.addMethod(
getListMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest,
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse>(
service, METHODID_LIST)))
.addMethod(
getKeepAliveMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest,
org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse>(
service, METHODID_KEEP_ALIVE)))
.build();
}
private static abstract class PropertyServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
PropertyServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("PropertyService");
}
}
private static final class PropertyServiceFileDescriptorSupplier
extends PropertyServiceBaseDescriptorSupplier {
PropertyServiceFileDescriptorSupplier() {}
}
private static final class PropertyServiceMethodDescriptorSupplier
extends PropertyServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final java.lang.String methodName;
PropertyServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}
@java.lang.Override
public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
return getServiceDescriptor().findMethodByName(methodName);
}
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (PropertyServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new PropertyServiceFileDescriptorSupplier())
.addMethod(getApplyMethod())
.addMethod(getDeleteMethod())
.addMethod(getGetMethod())
.addMethod(getListMethod())
.addMethod(getKeepAliveMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy