@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static io.grpc.MethodDescriptor< com.google.pubsub.v1.GetTopicRequest, com.google.pubsub.v1.Topic> getGetTopicMethod() { return getGetTopicMethodHelper(); }
public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (PublisherGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new PublisherFileDescriptorSupplier()) .addMethod(getCreateTopicMethodHelper()) .addMethod(getUpdateTopicMethodHelper()) .addMethod(getPublishMethodHelper()) .addMethod(getGetTopicMethodHelper()) .addMethod(getListTopicsMethodHelper()) .addMethod(getListTopicSubscriptionsMethodHelper()) .addMethod(getListTopicSnapshotsMethodHelper()) .addMethod(getDeleteTopicMethodHelper()) .build(); } } } return result; } }
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static io.grpc.MethodDescriptor< com.google.pubsub.v1.GetTopicRequest, com.google.pubsub.v1.Topic> getGetTopicMethod() { return getGetTopicMethodHelper(); }
public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (PublisherGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new PublisherFileDescriptorSupplier()) .addMethod(getCreateTopicMethodHelper()) .addMethod(getUpdateTopicMethodHelper()) .addMethod(getPublishMethodHelper()) .addMethod(getGetTopicMethodHelper()) .addMethod(getListTopicsMethodHelper()) .addMethod(getListTopicSubscriptionsMethodHelper()) .addMethod(getListTopicSnapshotsMethodHelper()) .addMethod(getDeleteTopicMethodHelper()) .build(); } } } return result; } }