com.google.pubsub.v1.SubscriberGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-pubsub-v1 Show documentation
Show all versions of grpc-google-cloud-pubsub-v1 Show documentation
GRPC library for grpc-google-cloud-pubsub-v1
package com.google.pubsub.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*
* The service that an application uses to manipulate subscriptions and to
* consume messages from a subscription via the `Pull` method.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.10.0)",
comments = "Source: google/pubsub/v1/pubsub.proto")
public final class SubscriberGrpc {
private SubscriberGrpc() {}
public static final String SERVICE_NAME = "google.pubsub.v1.Subscriber";
// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getCreateSubscriptionMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_CREATE_SUBSCRIPTION = getCreateSubscriptionMethodHelper();
private static volatile io.grpc.MethodDescriptor getCreateSubscriptionMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getCreateSubscriptionMethod() {
return getCreateSubscriptionMethodHelper();
}
private static io.grpc.MethodDescriptor getCreateSubscriptionMethodHelper() {
io.grpc.MethodDescriptor getCreateSubscriptionMethod;
if ((getCreateSubscriptionMethod = SubscriberGrpc.getCreateSubscriptionMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getCreateSubscriptionMethod = SubscriberGrpc.getCreateSubscriptionMethod) == null) {
SubscriberGrpc.getCreateSubscriptionMethod = getCreateSubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "CreateSubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.Subscription.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.Subscription.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("CreateSubscription"))
.build();
}
}
}
return getCreateSubscriptionMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getGetSubscriptionMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_GET_SUBSCRIPTION = getGetSubscriptionMethodHelper();
private static volatile io.grpc.MethodDescriptor getGetSubscriptionMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getGetSubscriptionMethod() {
return getGetSubscriptionMethodHelper();
}
private static io.grpc.MethodDescriptor getGetSubscriptionMethodHelper() {
io.grpc.MethodDescriptor getGetSubscriptionMethod;
if ((getGetSubscriptionMethod = SubscriberGrpc.getGetSubscriptionMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getGetSubscriptionMethod = SubscriberGrpc.getGetSubscriptionMethod) == null) {
SubscriberGrpc.getGetSubscriptionMethod = getGetSubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "GetSubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.GetSubscriptionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.Subscription.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("GetSubscription"))
.build();
}
}
}
return getGetSubscriptionMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getUpdateSubscriptionMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_UPDATE_SUBSCRIPTION = getUpdateSubscriptionMethodHelper();
private static volatile io.grpc.MethodDescriptor getUpdateSubscriptionMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getUpdateSubscriptionMethod() {
return getUpdateSubscriptionMethodHelper();
}
private static io.grpc.MethodDescriptor getUpdateSubscriptionMethodHelper() {
io.grpc.MethodDescriptor getUpdateSubscriptionMethod;
if ((getUpdateSubscriptionMethod = SubscriberGrpc.getUpdateSubscriptionMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getUpdateSubscriptionMethod = SubscriberGrpc.getUpdateSubscriptionMethod) == null) {
SubscriberGrpc.getUpdateSubscriptionMethod = getUpdateSubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "UpdateSubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.UpdateSubscriptionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.Subscription.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("UpdateSubscription"))
.build();
}
}
}
return getUpdateSubscriptionMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getListSubscriptionsMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_LIST_SUBSCRIPTIONS = getListSubscriptionsMethodHelper();
private static volatile io.grpc.MethodDescriptor getListSubscriptionsMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getListSubscriptionsMethod() {
return getListSubscriptionsMethodHelper();
}
private static io.grpc.MethodDescriptor getListSubscriptionsMethodHelper() {
io.grpc.MethodDescriptor getListSubscriptionsMethod;
if ((getListSubscriptionsMethod = SubscriberGrpc.getListSubscriptionsMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getListSubscriptionsMethod = SubscriberGrpc.getListSubscriptionsMethod) == null) {
SubscriberGrpc.getListSubscriptionsMethod = getListSubscriptionsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "ListSubscriptions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.ListSubscriptionsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.ListSubscriptionsResponse.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("ListSubscriptions"))
.build();
}
}
}
return getListSubscriptionsMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getDeleteSubscriptionMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_DELETE_SUBSCRIPTION = getDeleteSubscriptionMethodHelper();
private static volatile io.grpc.MethodDescriptor getDeleteSubscriptionMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getDeleteSubscriptionMethod() {
return getDeleteSubscriptionMethodHelper();
}
private static io.grpc.MethodDescriptor getDeleteSubscriptionMethodHelper() {
io.grpc.MethodDescriptor getDeleteSubscriptionMethod;
if ((getDeleteSubscriptionMethod = SubscriberGrpc.getDeleteSubscriptionMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getDeleteSubscriptionMethod = SubscriberGrpc.getDeleteSubscriptionMethod) == null) {
SubscriberGrpc.getDeleteSubscriptionMethod = getDeleteSubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "DeleteSubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.DeleteSubscriptionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("DeleteSubscription"))
.build();
}
}
}
return getDeleteSubscriptionMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getModifyAckDeadlineMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_MODIFY_ACK_DEADLINE = getModifyAckDeadlineMethodHelper();
private static volatile io.grpc.MethodDescriptor getModifyAckDeadlineMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getModifyAckDeadlineMethod() {
return getModifyAckDeadlineMethodHelper();
}
private static io.grpc.MethodDescriptor getModifyAckDeadlineMethodHelper() {
io.grpc.MethodDescriptor getModifyAckDeadlineMethod;
if ((getModifyAckDeadlineMethod = SubscriberGrpc.getModifyAckDeadlineMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getModifyAckDeadlineMethod = SubscriberGrpc.getModifyAckDeadlineMethod) == null) {
SubscriberGrpc.getModifyAckDeadlineMethod = getModifyAckDeadlineMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "ModifyAckDeadline"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.ModifyAckDeadlineRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("ModifyAckDeadline"))
.build();
}
}
}
return getModifyAckDeadlineMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getAcknowledgeMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_ACKNOWLEDGE = getAcknowledgeMethodHelper();
private static volatile io.grpc.MethodDescriptor getAcknowledgeMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getAcknowledgeMethod() {
return getAcknowledgeMethodHelper();
}
private static io.grpc.MethodDescriptor getAcknowledgeMethodHelper() {
io.grpc.MethodDescriptor getAcknowledgeMethod;
if ((getAcknowledgeMethod = SubscriberGrpc.getAcknowledgeMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getAcknowledgeMethod = SubscriberGrpc.getAcknowledgeMethod) == null) {
SubscriberGrpc.getAcknowledgeMethod = getAcknowledgeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "Acknowledge"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("Acknowledge"))
.build();
}
}
}
return getAcknowledgeMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getPullMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_PULL = getPullMethodHelper();
private static volatile io.grpc.MethodDescriptor getPullMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getPullMethod() {
return getPullMethodHelper();
}
private static io.grpc.MethodDescriptor getPullMethodHelper() {
io.grpc.MethodDescriptor getPullMethod;
if ((getPullMethod = SubscriberGrpc.getPullMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getPullMethod = SubscriberGrpc.getPullMethod) == null) {
SubscriberGrpc.getPullMethod = getPullMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "Pull"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.PullRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.PullResponse.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("Pull"))
.build();
}
}
}
return getPullMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getStreamingPullMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_STREAMING_PULL = getStreamingPullMethodHelper();
private static volatile io.grpc.MethodDescriptor getStreamingPullMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getStreamingPullMethod() {
return getStreamingPullMethodHelper();
}
private static io.grpc.MethodDescriptor getStreamingPullMethodHelper() {
io.grpc.MethodDescriptor getStreamingPullMethod;
if ((getStreamingPullMethod = SubscriberGrpc.getStreamingPullMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getStreamingPullMethod = SubscriberGrpc.getStreamingPullMethod) == null) {
SubscriberGrpc.getStreamingPullMethod = getStreamingPullMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "StreamingPull"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.StreamingPullRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.StreamingPullResponse.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("StreamingPull"))
.build();
}
}
}
return getStreamingPullMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getModifyPushConfigMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_MODIFY_PUSH_CONFIG = getModifyPushConfigMethodHelper();
private static volatile io.grpc.MethodDescriptor getModifyPushConfigMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getModifyPushConfigMethod() {
return getModifyPushConfigMethodHelper();
}
private static io.grpc.MethodDescriptor getModifyPushConfigMethodHelper() {
io.grpc.MethodDescriptor getModifyPushConfigMethod;
if ((getModifyPushConfigMethod = SubscriberGrpc.getModifyPushConfigMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getModifyPushConfigMethod = SubscriberGrpc.getModifyPushConfigMethod) == null) {
SubscriberGrpc.getModifyPushConfigMethod = getModifyPushConfigMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "ModifyPushConfig"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.ModifyPushConfigRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("ModifyPushConfig"))
.build();
}
}
}
return getModifyPushConfigMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getListSnapshotsMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_LIST_SNAPSHOTS = getListSnapshotsMethodHelper();
private static volatile io.grpc.MethodDescriptor getListSnapshotsMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getListSnapshotsMethod() {
return getListSnapshotsMethodHelper();
}
private static io.grpc.MethodDescriptor getListSnapshotsMethodHelper() {
io.grpc.MethodDescriptor getListSnapshotsMethod;
if ((getListSnapshotsMethod = SubscriberGrpc.getListSnapshotsMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getListSnapshotsMethod = SubscriberGrpc.getListSnapshotsMethod) == null) {
SubscriberGrpc.getListSnapshotsMethod = getListSnapshotsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "ListSnapshots"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.ListSnapshotsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.ListSnapshotsResponse.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("ListSnapshots"))
.build();
}
}
}
return getListSnapshotsMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getCreateSnapshotMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_CREATE_SNAPSHOT = getCreateSnapshotMethodHelper();
private static volatile io.grpc.MethodDescriptor getCreateSnapshotMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getCreateSnapshotMethod() {
return getCreateSnapshotMethodHelper();
}
private static io.grpc.MethodDescriptor getCreateSnapshotMethodHelper() {
io.grpc.MethodDescriptor getCreateSnapshotMethod;
if ((getCreateSnapshotMethod = SubscriberGrpc.getCreateSnapshotMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getCreateSnapshotMethod = SubscriberGrpc.getCreateSnapshotMethod) == null) {
SubscriberGrpc.getCreateSnapshotMethod = getCreateSnapshotMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "CreateSnapshot"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.CreateSnapshotRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.Snapshot.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("CreateSnapshot"))
.build();
}
}
}
return getCreateSnapshotMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getUpdateSnapshotMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_UPDATE_SNAPSHOT = getUpdateSnapshotMethodHelper();
private static volatile io.grpc.MethodDescriptor getUpdateSnapshotMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getUpdateSnapshotMethod() {
return getUpdateSnapshotMethodHelper();
}
private static io.grpc.MethodDescriptor getUpdateSnapshotMethodHelper() {
io.grpc.MethodDescriptor getUpdateSnapshotMethod;
if ((getUpdateSnapshotMethod = SubscriberGrpc.getUpdateSnapshotMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getUpdateSnapshotMethod = SubscriberGrpc.getUpdateSnapshotMethod) == null) {
SubscriberGrpc.getUpdateSnapshotMethod = getUpdateSnapshotMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "UpdateSnapshot"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.UpdateSnapshotRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.Snapshot.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("UpdateSnapshot"))
.build();
}
}
}
return getUpdateSnapshotMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getDeleteSnapshotMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_DELETE_SNAPSHOT = getDeleteSnapshotMethodHelper();
private static volatile io.grpc.MethodDescriptor getDeleteSnapshotMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getDeleteSnapshotMethod() {
return getDeleteSnapshotMethodHelper();
}
private static io.grpc.MethodDescriptor getDeleteSnapshotMethodHelper() {
io.grpc.MethodDescriptor getDeleteSnapshotMethod;
if ((getDeleteSnapshotMethod = SubscriberGrpc.getDeleteSnapshotMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getDeleteSnapshotMethod = SubscriberGrpc.getDeleteSnapshotMethod) == null) {
SubscriberGrpc.getDeleteSnapshotMethod = getDeleteSnapshotMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "DeleteSnapshot"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.DeleteSnapshotRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("DeleteSnapshot"))
.build();
}
}
}
return getDeleteSnapshotMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getSeekMethod()} instead.
public static final io.grpc.MethodDescriptor METHOD_SEEK = getSeekMethodHelper();
private static volatile io.grpc.MethodDescriptor getSeekMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor getSeekMethod() {
return getSeekMethodHelper();
}
private static io.grpc.MethodDescriptor getSeekMethodHelper() {
io.grpc.MethodDescriptor getSeekMethod;
if ((getSeekMethod = SubscriberGrpc.getSeekMethod) == null) {
synchronized (SubscriberGrpc.class) {
if ((getSeekMethod = SubscriberGrpc.getSeekMethod) == null) {
SubscriberGrpc.getSeekMethod = getSeekMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"google.pubsub.v1.Subscriber", "Seek"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.SeekRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.pubsub.v1.SeekResponse.getDefaultInstance()))
.setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("Seek"))
.build();
}
}
}
return getSeekMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static SubscriberStub newStub(io.grpc.Channel channel) {
return new SubscriberStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static SubscriberBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new SubscriberBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static SubscriberFutureStub newFutureStub(
io.grpc.Channel channel) {
return new SubscriberFutureStub(channel);
}
/**
*
* The service that an application uses to manipulate subscriptions and to
* consume messages from a subscription via the `Pull` method.
*
*/
public static abstract class SubscriberImplBase implements io.grpc.BindableService {
/**
*
* Creates a subscription to a given topic.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public void createSubscription(com.google.pubsub.v1.Subscription request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getCreateSubscriptionMethodHelper(), responseObserver);
}
/**
*
* Gets the configuration details of a subscription.
*
*/
public void getSubscription(com.google.pubsub.v1.GetSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getGetSubscriptionMethodHelper(), responseObserver);
}
/**
*
* Updates an existing subscription. Note that certain properties of a
* subscription, such as its topic, are not modifiable.
* NOTE: The style guide requires body: "subscription" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public void updateSubscription(com.google.pubsub.v1.UpdateSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getUpdateSubscriptionMethodHelper(), responseObserver);
}
/**
*
* Lists matching subscriptions.
*
*/
public void listSubscriptions(com.google.pubsub.v1.ListSubscriptionsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getListSubscriptionsMethodHelper(), responseObserver);
}
/**
*
* Deletes an existing subscription. All messages retained in the subscription
* are immediately dropped. Calls to `Pull` after deletion will return
* `NOT_FOUND`. After a subscription is deleted, a new one may be created with
* the same name, but the new one has no association with the old
* subscription or its topic unless the same topic is specified.
*
*/
public void deleteSubscription(com.google.pubsub.v1.DeleteSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getDeleteSubscriptionMethodHelper(), responseObserver);
}
/**
*
* Modifies the ack deadline for a specific message. This method is useful
* to indicate that more time is needed to process a message by the
* subscriber, or to make the message available for redelivery if the
* processing was interrupted. Note that this does not modify the
* subscription-level `ackDeadlineSeconds` used for subsequent messages.
*
*/
public void modifyAckDeadline(com.google.pubsub.v1.ModifyAckDeadlineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getModifyAckDeadlineMethodHelper(), responseObserver);
}
/**
*
* Acknowledges the messages associated with the `ack_ids` in the
* `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
* from the subscription.
* Acknowledging a message whose ack deadline has expired may succeed,
* but such a message may be redelivered later. Acknowledging a message more
* than once will not result in an error.
*
*/
public void acknowledge(com.google.pubsub.v1.AcknowledgeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getAcknowledgeMethodHelper(), responseObserver);
}
/**
*
* Pulls messages from the server. Returns an empty list if there are no
* messages available in the backlog. The server may return `UNAVAILABLE` if
* there are too many concurrent pull requests pending for the given
* subscription.
*
*/
public void pull(com.google.pubsub.v1.PullRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getPullMethodHelper(), responseObserver);
}
/**
*
* (EXPERIMENTAL) StreamingPull is an experimental feature. This RPC will
* respond with UNIMPLEMENTED errors unless you have been invited to test
* this feature. Contact cloud-pubsub@google.com with any questions.
* Establishes a stream with the server, which sends messages down to the
* client. The client streams acknowledgements and ack deadline modifications
* back to the server. The server will close the stream and return the status
* on any error. The server may close the stream with status `OK` to reassign
* server-side resources, in which case, the client should re-establish the
* stream. `UNAVAILABLE` may also be returned in the case of a transient error
* (e.g., a server restart). These should also be retried by the client. Flow
* control can be achieved by configuring the underlying RPC channel.
*
*/
public io.grpc.stub.StreamObserver streamingPull(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getStreamingPullMethodHelper(), responseObserver);
}
/**
*
* Modifies the `PushConfig` for a specified subscription.
* This may be used to change a push subscription to a pull one (signified by
* an empty `PushConfig`) or vice versa, or change the endpoint URL and other
* attributes of a push subscription. Messages will accumulate for delivery
* continuously through the call regardless of changes to the `PushConfig`.
*
*/
public void modifyPushConfig(com.google.pubsub.v1.ModifyPushConfigRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getModifyPushConfigMethodHelper(), responseObserver);
}
/**
*
* Lists the existing snapshots.
*
*/
public void listSnapshots(com.google.pubsub.v1.ListSnapshotsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getListSnapshotsMethodHelper(), responseObserver);
}
/**
*
* Creates a snapshot from the requested subscription.
* If the snapshot already exists, returns `ALREADY_EXISTS`.
* If the requested subscription doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Snapshot object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public void createSnapshot(com.google.pubsub.v1.CreateSnapshotRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getCreateSnapshotMethodHelper(), responseObserver);
}
/**
*
* Updates an existing snapshot. Note that certain properties of a snapshot
* are not modifiable.
* NOTE: The style guide requires body: "snapshot" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public void updateSnapshot(com.google.pubsub.v1.UpdateSnapshotRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getUpdateSnapshotMethodHelper(), responseObserver);
}
/**
*
* Removes an existing snapshot. All messages retained in the snapshot
* are immediately dropped. After a snapshot is deleted, a new one may be
* created with the same name, but the new one has no association with the old
* snapshot or its subscription, unless the same subscription is specified.
*
*/
public void deleteSnapshot(com.google.pubsub.v1.DeleteSnapshotRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getDeleteSnapshotMethodHelper(), responseObserver);
}
/**
*
* Seeks an existing subscription to a point in time or to a given snapshot,
* whichever is provided in the request.
*
*/
public void seek(com.google.pubsub.v1.SeekRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getSeekMethodHelper(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateSubscriptionMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.Subscription,
com.google.pubsub.v1.Subscription>(
this, METHODID_CREATE_SUBSCRIPTION)))
.addMethod(
getGetSubscriptionMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.GetSubscriptionRequest,
com.google.pubsub.v1.Subscription>(
this, METHODID_GET_SUBSCRIPTION)))
.addMethod(
getUpdateSubscriptionMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.UpdateSubscriptionRequest,
com.google.pubsub.v1.Subscription>(
this, METHODID_UPDATE_SUBSCRIPTION)))
.addMethod(
getListSubscriptionsMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.ListSubscriptionsRequest,
com.google.pubsub.v1.ListSubscriptionsResponse>(
this, METHODID_LIST_SUBSCRIPTIONS)))
.addMethod(
getDeleteSubscriptionMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.DeleteSubscriptionRequest,
com.google.protobuf.Empty>(
this, METHODID_DELETE_SUBSCRIPTION)))
.addMethod(
getModifyAckDeadlineMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.ModifyAckDeadlineRequest,
com.google.protobuf.Empty>(
this, METHODID_MODIFY_ACK_DEADLINE)))
.addMethod(
getAcknowledgeMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.AcknowledgeRequest,
com.google.protobuf.Empty>(
this, METHODID_ACKNOWLEDGE)))
.addMethod(
getPullMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.PullRequest,
com.google.pubsub.v1.PullResponse>(
this, METHODID_PULL)))
.addMethod(
getStreamingPullMethodHelper(),
asyncBidiStreamingCall(
new MethodHandlers<
com.google.pubsub.v1.StreamingPullRequest,
com.google.pubsub.v1.StreamingPullResponse>(
this, METHODID_STREAMING_PULL)))
.addMethod(
getModifyPushConfigMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.ModifyPushConfigRequest,
com.google.protobuf.Empty>(
this, METHODID_MODIFY_PUSH_CONFIG)))
.addMethod(
getListSnapshotsMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.ListSnapshotsRequest,
com.google.pubsub.v1.ListSnapshotsResponse>(
this, METHODID_LIST_SNAPSHOTS)))
.addMethod(
getCreateSnapshotMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.CreateSnapshotRequest,
com.google.pubsub.v1.Snapshot>(
this, METHODID_CREATE_SNAPSHOT)))
.addMethod(
getUpdateSnapshotMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.UpdateSnapshotRequest,
com.google.pubsub.v1.Snapshot>(
this, METHODID_UPDATE_SNAPSHOT)))
.addMethod(
getDeleteSnapshotMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.DeleteSnapshotRequest,
com.google.protobuf.Empty>(
this, METHODID_DELETE_SNAPSHOT)))
.addMethod(
getSeekMethodHelper(),
asyncUnaryCall(
new MethodHandlers<
com.google.pubsub.v1.SeekRequest,
com.google.pubsub.v1.SeekResponse>(
this, METHODID_SEEK)))
.build();
}
}
/**
*
* The service that an application uses to manipulate subscriptions and to
* consume messages from a subscription via the `Pull` method.
*
*/
public static final class SubscriberStub extends io.grpc.stub.AbstractStub {
private SubscriberStub(io.grpc.Channel channel) {
super(channel);
}
private SubscriberStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected SubscriberStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new SubscriberStub(channel, callOptions);
}
/**
*
* Creates a subscription to a given topic.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public void createSubscription(com.google.pubsub.v1.Subscription request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getCreateSubscriptionMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Gets the configuration details of a subscription.
*
*/
public void getSubscription(com.google.pubsub.v1.GetSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getGetSubscriptionMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates an existing subscription. Note that certain properties of a
* subscription, such as its topic, are not modifiable.
* NOTE: The style guide requires body: "subscription" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public void updateSubscription(com.google.pubsub.v1.UpdateSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getUpdateSubscriptionMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Lists matching subscriptions.
*
*/
public void listSubscriptions(com.google.pubsub.v1.ListSubscriptionsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getListSubscriptionsMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes an existing subscription. All messages retained in the subscription
* are immediately dropped. Calls to `Pull` after deletion will return
* `NOT_FOUND`. After a subscription is deleted, a new one may be created with
* the same name, but the new one has no association with the old
* subscription or its topic unless the same topic is specified.
*
*/
public void deleteSubscription(com.google.pubsub.v1.DeleteSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getDeleteSubscriptionMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Modifies the ack deadline for a specific message. This method is useful
* to indicate that more time is needed to process a message by the
* subscriber, or to make the message available for redelivery if the
* processing was interrupted. Note that this does not modify the
* subscription-level `ackDeadlineSeconds` used for subsequent messages.
*
*/
public void modifyAckDeadline(com.google.pubsub.v1.ModifyAckDeadlineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getModifyAckDeadlineMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Acknowledges the messages associated with the `ack_ids` in the
* `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
* from the subscription.
* Acknowledging a message whose ack deadline has expired may succeed,
* but such a message may be redelivered later. Acknowledging a message more
* than once will not result in an error.
*
*/
public void acknowledge(com.google.pubsub.v1.AcknowledgeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getAcknowledgeMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Pulls messages from the server. Returns an empty list if there are no
* messages available in the backlog. The server may return `UNAVAILABLE` if
* there are too many concurrent pull requests pending for the given
* subscription.
*
*/
public void pull(com.google.pubsub.v1.PullRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getPullMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* (EXPERIMENTAL) StreamingPull is an experimental feature. This RPC will
* respond with UNIMPLEMENTED errors unless you have been invited to test
* this feature. Contact cloud-pubsub@google.com with any questions.
* Establishes a stream with the server, which sends messages down to the
* client. The client streams acknowledgements and ack deadline modifications
* back to the server. The server will close the stream and return the status
* on any error. The server may close the stream with status `OK` to reassign
* server-side resources, in which case, the client should re-establish the
* stream. `UNAVAILABLE` may also be returned in the case of a transient error
* (e.g., a server restart). These should also be retried by the client. Flow
* control can be achieved by configuring the underlying RPC channel.
*
*/
public io.grpc.stub.StreamObserver streamingPull(
io.grpc.stub.StreamObserver responseObserver) {
return asyncBidiStreamingCall(
getChannel().newCall(getStreamingPullMethodHelper(), getCallOptions()), responseObserver);
}
/**
*
* Modifies the `PushConfig` for a specified subscription.
* This may be used to change a push subscription to a pull one (signified by
* an empty `PushConfig`) or vice versa, or change the endpoint URL and other
* attributes of a push subscription. Messages will accumulate for delivery
* continuously through the call regardless of changes to the `PushConfig`.
*
*/
public void modifyPushConfig(com.google.pubsub.v1.ModifyPushConfigRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getModifyPushConfigMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Lists the existing snapshots.
*
*/
public void listSnapshots(com.google.pubsub.v1.ListSnapshotsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getListSnapshotsMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a snapshot from the requested subscription.
* If the snapshot already exists, returns `ALREADY_EXISTS`.
* If the requested subscription doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Snapshot object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public void createSnapshot(com.google.pubsub.v1.CreateSnapshotRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getCreateSnapshotMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates an existing snapshot. Note that certain properties of a snapshot
* are not modifiable.
* NOTE: The style guide requires body: "snapshot" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public void updateSnapshot(com.google.pubsub.v1.UpdateSnapshotRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getUpdateSnapshotMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Removes an existing snapshot. All messages retained in the snapshot
* are immediately dropped. After a snapshot is deleted, a new one may be
* created with the same name, but the new one has no association with the old
* snapshot or its subscription, unless the same subscription is specified.
*
*/
public void deleteSnapshot(com.google.pubsub.v1.DeleteSnapshotRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getDeleteSnapshotMethodHelper(), getCallOptions()), request, responseObserver);
}
/**
*
* Seeks an existing subscription to a point in time or to a given snapshot,
* whichever is provided in the request.
*
*/
public void seek(com.google.pubsub.v1.SeekRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getSeekMethodHelper(), getCallOptions()), request, responseObserver);
}
}
/**
*
* The service that an application uses to manipulate subscriptions and to
* consume messages from a subscription via the `Pull` method.
*
*/
public static final class SubscriberBlockingStub extends io.grpc.stub.AbstractStub {
private SubscriberBlockingStub(io.grpc.Channel channel) {
super(channel);
}
private SubscriberBlockingStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected SubscriberBlockingStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new SubscriberBlockingStub(channel, callOptions);
}
/**
*
* Creates a subscription to a given topic.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public com.google.pubsub.v1.Subscription createSubscription(com.google.pubsub.v1.Subscription request) {
return blockingUnaryCall(
getChannel(), getCreateSubscriptionMethodHelper(), getCallOptions(), request);
}
/**
*
* Gets the configuration details of a subscription.
*
*/
public com.google.pubsub.v1.Subscription getSubscription(com.google.pubsub.v1.GetSubscriptionRequest request) {
return blockingUnaryCall(
getChannel(), getGetSubscriptionMethodHelper(), getCallOptions(), request);
}
/**
*
* Updates an existing subscription. Note that certain properties of a
* subscription, such as its topic, are not modifiable.
* NOTE: The style guide requires body: "subscription" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public com.google.pubsub.v1.Subscription updateSubscription(com.google.pubsub.v1.UpdateSubscriptionRequest request) {
return blockingUnaryCall(
getChannel(), getUpdateSubscriptionMethodHelper(), getCallOptions(), request);
}
/**
*
* Lists matching subscriptions.
*
*/
public com.google.pubsub.v1.ListSubscriptionsResponse listSubscriptions(com.google.pubsub.v1.ListSubscriptionsRequest request) {
return blockingUnaryCall(
getChannel(), getListSubscriptionsMethodHelper(), getCallOptions(), request);
}
/**
*
* Deletes an existing subscription. All messages retained in the subscription
* are immediately dropped. Calls to `Pull` after deletion will return
* `NOT_FOUND`. After a subscription is deleted, a new one may be created with
* the same name, but the new one has no association with the old
* subscription or its topic unless the same topic is specified.
*
*/
public com.google.protobuf.Empty deleteSubscription(com.google.pubsub.v1.DeleteSubscriptionRequest request) {
return blockingUnaryCall(
getChannel(), getDeleteSubscriptionMethodHelper(), getCallOptions(), request);
}
/**
*
* Modifies the ack deadline for a specific message. This method is useful
* to indicate that more time is needed to process a message by the
* subscriber, or to make the message available for redelivery if the
* processing was interrupted. Note that this does not modify the
* subscription-level `ackDeadlineSeconds` used for subsequent messages.
*
*/
public com.google.protobuf.Empty modifyAckDeadline(com.google.pubsub.v1.ModifyAckDeadlineRequest request) {
return blockingUnaryCall(
getChannel(), getModifyAckDeadlineMethodHelper(), getCallOptions(), request);
}
/**
*
* Acknowledges the messages associated with the `ack_ids` in the
* `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
* from the subscription.
* Acknowledging a message whose ack deadline has expired may succeed,
* but such a message may be redelivered later. Acknowledging a message more
* than once will not result in an error.
*
*/
public com.google.protobuf.Empty acknowledge(com.google.pubsub.v1.AcknowledgeRequest request) {
return blockingUnaryCall(
getChannel(), getAcknowledgeMethodHelper(), getCallOptions(), request);
}
/**
*
* Pulls messages from the server. Returns an empty list if there are no
* messages available in the backlog. The server may return `UNAVAILABLE` if
* there are too many concurrent pull requests pending for the given
* subscription.
*
*/
public com.google.pubsub.v1.PullResponse pull(com.google.pubsub.v1.PullRequest request) {
return blockingUnaryCall(
getChannel(), getPullMethodHelper(), getCallOptions(), request);
}
/**
*
* Modifies the `PushConfig` for a specified subscription.
* This may be used to change a push subscription to a pull one (signified by
* an empty `PushConfig`) or vice versa, or change the endpoint URL and other
* attributes of a push subscription. Messages will accumulate for delivery
* continuously through the call regardless of changes to the `PushConfig`.
*
*/
public com.google.protobuf.Empty modifyPushConfig(com.google.pubsub.v1.ModifyPushConfigRequest request) {
return blockingUnaryCall(
getChannel(), getModifyPushConfigMethodHelper(), getCallOptions(), request);
}
/**
*
* Lists the existing snapshots.
*
*/
public com.google.pubsub.v1.ListSnapshotsResponse listSnapshots(com.google.pubsub.v1.ListSnapshotsRequest request) {
return blockingUnaryCall(
getChannel(), getListSnapshotsMethodHelper(), getCallOptions(), request);
}
/**
*
* Creates a snapshot from the requested subscription.
* If the snapshot already exists, returns `ALREADY_EXISTS`.
* If the requested subscription doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Snapshot object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public com.google.pubsub.v1.Snapshot createSnapshot(com.google.pubsub.v1.CreateSnapshotRequest request) {
return blockingUnaryCall(
getChannel(), getCreateSnapshotMethodHelper(), getCallOptions(), request);
}
/**
*
* Updates an existing snapshot. Note that certain properties of a snapshot
* are not modifiable.
* NOTE: The style guide requires body: "snapshot" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public com.google.pubsub.v1.Snapshot updateSnapshot(com.google.pubsub.v1.UpdateSnapshotRequest request) {
return blockingUnaryCall(
getChannel(), getUpdateSnapshotMethodHelper(), getCallOptions(), request);
}
/**
*
* Removes an existing snapshot. All messages retained in the snapshot
* are immediately dropped. After a snapshot is deleted, a new one may be
* created with the same name, but the new one has no association with the old
* snapshot or its subscription, unless the same subscription is specified.
*
*/
public com.google.protobuf.Empty deleteSnapshot(com.google.pubsub.v1.DeleteSnapshotRequest request) {
return blockingUnaryCall(
getChannel(), getDeleteSnapshotMethodHelper(), getCallOptions(), request);
}
/**
*
* Seeks an existing subscription to a point in time or to a given snapshot,
* whichever is provided in the request.
*
*/
public com.google.pubsub.v1.SeekResponse seek(com.google.pubsub.v1.SeekRequest request) {
return blockingUnaryCall(
getChannel(), getSeekMethodHelper(), getCallOptions(), request);
}
}
/**
*
* The service that an application uses to manipulate subscriptions and to
* consume messages from a subscription via the `Pull` method.
*
*/
public static final class SubscriberFutureStub extends io.grpc.stub.AbstractStub {
private SubscriberFutureStub(io.grpc.Channel channel) {
super(channel);
}
private SubscriberFutureStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected SubscriberFutureStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new SubscriberFutureStub(channel, callOptions);
}
/**
*
* Creates a subscription to a given topic.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public com.google.common.util.concurrent.ListenableFuture createSubscription(
com.google.pubsub.v1.Subscription request) {
return futureUnaryCall(
getChannel().newCall(getCreateSubscriptionMethodHelper(), getCallOptions()), request);
}
/**
*
* Gets the configuration details of a subscription.
*
*/
public com.google.common.util.concurrent.ListenableFuture getSubscription(
com.google.pubsub.v1.GetSubscriptionRequest request) {
return futureUnaryCall(
getChannel().newCall(getGetSubscriptionMethodHelper(), getCallOptions()), request);
}
/**
*
* Updates an existing subscription. Note that certain properties of a
* subscription, such as its topic, are not modifiable.
* NOTE: The style guide requires body: "subscription" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateSubscription(
com.google.pubsub.v1.UpdateSubscriptionRequest request) {
return futureUnaryCall(
getChannel().newCall(getUpdateSubscriptionMethodHelper(), getCallOptions()), request);
}
/**
*
* Lists matching subscriptions.
*
*/
public com.google.common.util.concurrent.ListenableFuture listSubscriptions(
com.google.pubsub.v1.ListSubscriptionsRequest request) {
return futureUnaryCall(
getChannel().newCall(getListSubscriptionsMethodHelper(), getCallOptions()), request);
}
/**
*
* Deletes an existing subscription. All messages retained in the subscription
* are immediately dropped. Calls to `Pull` after deletion will return
* `NOT_FOUND`. After a subscription is deleted, a new one may be created with
* the same name, but the new one has no association with the old
* subscription or its topic unless the same topic is specified.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteSubscription(
com.google.pubsub.v1.DeleteSubscriptionRequest request) {
return futureUnaryCall(
getChannel().newCall(getDeleteSubscriptionMethodHelper(), getCallOptions()), request);
}
/**
*
* Modifies the ack deadline for a specific message. This method is useful
* to indicate that more time is needed to process a message by the
* subscriber, or to make the message available for redelivery if the
* processing was interrupted. Note that this does not modify the
* subscription-level `ackDeadlineSeconds` used for subsequent messages.
*
*/
public com.google.common.util.concurrent.ListenableFuture modifyAckDeadline(
com.google.pubsub.v1.ModifyAckDeadlineRequest request) {
return futureUnaryCall(
getChannel().newCall(getModifyAckDeadlineMethodHelper(), getCallOptions()), request);
}
/**
*
* Acknowledges the messages associated with the `ack_ids` in the
* `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
* from the subscription.
* Acknowledging a message whose ack deadline has expired may succeed,
* but such a message may be redelivered later. Acknowledging a message more
* than once will not result in an error.
*
*/
public com.google.common.util.concurrent.ListenableFuture acknowledge(
com.google.pubsub.v1.AcknowledgeRequest request) {
return futureUnaryCall(
getChannel().newCall(getAcknowledgeMethodHelper(), getCallOptions()), request);
}
/**
*
* Pulls messages from the server. Returns an empty list if there are no
* messages available in the backlog. The server may return `UNAVAILABLE` if
* there are too many concurrent pull requests pending for the given
* subscription.
*
*/
public com.google.common.util.concurrent.ListenableFuture pull(
com.google.pubsub.v1.PullRequest request) {
return futureUnaryCall(
getChannel().newCall(getPullMethodHelper(), getCallOptions()), request);
}
/**
*
* Modifies the `PushConfig` for a specified subscription.
* This may be used to change a push subscription to a pull one (signified by
* an empty `PushConfig`) or vice versa, or change the endpoint URL and other
* attributes of a push subscription. Messages will accumulate for delivery
* continuously through the call regardless of changes to the `PushConfig`.
*
*/
public com.google.common.util.concurrent.ListenableFuture modifyPushConfig(
com.google.pubsub.v1.ModifyPushConfigRequest request) {
return futureUnaryCall(
getChannel().newCall(getModifyPushConfigMethodHelper(), getCallOptions()), request);
}
/**
*
* Lists the existing snapshots.
*
*/
public com.google.common.util.concurrent.ListenableFuture listSnapshots(
com.google.pubsub.v1.ListSnapshotsRequest request) {
return futureUnaryCall(
getChannel().newCall(getListSnapshotsMethodHelper(), getCallOptions()), request);
}
/**
*
* Creates a snapshot from the requested subscription.
* If the snapshot already exists, returns `ALREADY_EXISTS`.
* If the requested subscription doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
* to the
* [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
* The generated name is populated in the returned Snapshot object.
* Note that for REST API requests, you must specify a name in the request.
*
*/
public com.google.common.util.concurrent.ListenableFuture createSnapshot(
com.google.pubsub.v1.CreateSnapshotRequest request) {
return futureUnaryCall(
getChannel().newCall(getCreateSnapshotMethodHelper(), getCallOptions()), request);
}
/**
*
* Updates an existing snapshot. Note that certain properties of a snapshot
* are not modifiable.
* NOTE: The style guide requires body: "snapshot" instead of body: "*".
* Keeping the latter for internal consistency in V1, however it should be
* corrected in V2. See
* https://cloud.google.com/apis/design/standard_methods#update for details.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateSnapshot(
com.google.pubsub.v1.UpdateSnapshotRequest request) {
return futureUnaryCall(
getChannel().newCall(getUpdateSnapshotMethodHelper(), getCallOptions()), request);
}
/**
*
* Removes an existing snapshot. All messages retained in the snapshot
* are immediately dropped. After a snapshot is deleted, a new one may be
* created with the same name, but the new one has no association with the old
* snapshot or its subscription, unless the same subscription is specified.
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteSnapshot(
com.google.pubsub.v1.DeleteSnapshotRequest request) {
return futureUnaryCall(
getChannel().newCall(getDeleteSnapshotMethodHelper(), getCallOptions()), request);
}
/**
*
* Seeks an existing subscription to a point in time or to a given snapshot,
* whichever is provided in the request.
*
*/
public com.google.common.util.concurrent.ListenableFuture seek(
com.google.pubsub.v1.SeekRequest request) {
return futureUnaryCall(
getChannel().newCall(getSeekMethodHelper(), getCallOptions()), request);
}
}
private static final int METHODID_CREATE_SUBSCRIPTION = 0;
private static final int METHODID_GET_SUBSCRIPTION = 1;
private static final int METHODID_UPDATE_SUBSCRIPTION = 2;
private static final int METHODID_LIST_SUBSCRIPTIONS = 3;
private static final int METHODID_DELETE_SUBSCRIPTION = 4;
private static final int METHODID_MODIFY_ACK_DEADLINE = 5;
private static final int METHODID_ACKNOWLEDGE = 6;
private static final int METHODID_PULL = 7;
private static final int METHODID_MODIFY_PUSH_CONFIG = 8;
private static final int METHODID_LIST_SNAPSHOTS = 9;
private static final int METHODID_CREATE_SNAPSHOT = 10;
private static final int METHODID_UPDATE_SNAPSHOT = 11;
private static final int METHODID_DELETE_SNAPSHOT = 12;
private static final int METHODID_SEEK = 13;
private static final int METHODID_STREAMING_PULL = 14;
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 SubscriberImplBase serviceImpl;
private final int methodId;
MethodHandlers(SubscriberImplBase 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_CREATE_SUBSCRIPTION:
serviceImpl.createSubscription((com.google.pubsub.v1.Subscription) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_SUBSCRIPTION:
serviceImpl.getSubscription((com.google.pubsub.v1.GetSubscriptionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_SUBSCRIPTION:
serviceImpl.updateSubscription((com.google.pubsub.v1.UpdateSubscriptionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_SUBSCRIPTIONS:
serviceImpl.listSubscriptions((com.google.pubsub.v1.ListSubscriptionsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_SUBSCRIPTION:
serviceImpl.deleteSubscription((com.google.pubsub.v1.DeleteSubscriptionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_MODIFY_ACK_DEADLINE:
serviceImpl.modifyAckDeadline((com.google.pubsub.v1.ModifyAckDeadlineRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_ACKNOWLEDGE:
serviceImpl.acknowledge((com.google.pubsub.v1.AcknowledgeRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_PULL:
serviceImpl.pull((com.google.pubsub.v1.PullRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_MODIFY_PUSH_CONFIG:
serviceImpl.modifyPushConfig((com.google.pubsub.v1.ModifyPushConfigRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_SNAPSHOTS:
serviceImpl.listSnapshots((com.google.pubsub.v1.ListSnapshotsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_SNAPSHOT:
serviceImpl.createSnapshot((com.google.pubsub.v1.CreateSnapshotRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_SNAPSHOT:
serviceImpl.updateSnapshot((com.google.pubsub.v1.UpdateSnapshotRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_SNAPSHOT:
serviceImpl.deleteSnapshot((com.google.pubsub.v1.DeleteSnapshotRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SEEK:
serviceImpl.seek((com.google.pubsub.v1.SeekRequest) 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) {
case METHODID_STREAMING_PULL:
return (io.grpc.stub.StreamObserver) serviceImpl.streamingPull(
(io.grpc.stub.StreamObserver) responseObserver);
default:
throw new AssertionError();
}
}
}
private static abstract class SubscriberBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
SubscriberBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.google.pubsub.v1.PubsubProto.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("Subscriber");
}
}
private static final class SubscriberFileDescriptorSupplier
extends SubscriberBaseDescriptorSupplier {
SubscriberFileDescriptorSupplier() {}
}
private static final class SubscriberMethodDescriptorSupplier
extends SubscriberBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
SubscriberMethodDescriptorSupplier(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 (SubscriberGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new SubscriberFileDescriptorSupplier())
.addMethod(getCreateSubscriptionMethodHelper())
.addMethod(getGetSubscriptionMethodHelper())
.addMethod(getUpdateSubscriptionMethodHelper())
.addMethod(getListSubscriptionsMethodHelper())
.addMethod(getDeleteSubscriptionMethodHelper())
.addMethod(getModifyAckDeadlineMethodHelper())
.addMethod(getAcknowledgeMethodHelper())
.addMethod(getPullMethodHelper())
.addMethod(getStreamingPullMethodHelper())
.addMethod(getModifyPushConfigMethodHelper())
.addMethod(getListSnapshotsMethodHelper())
.addMethod(getCreateSnapshotMethodHelper())
.addMethod(getUpdateSnapshotMethodHelper())
.addMethod(getDeleteSnapshotMethodHelper())
.addMethod(getSeekMethodHelper())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy