@java.lang.Override public com.google.pubsub.v1.PullRequest getDefaultInstanceForType() { return com.google.pubsub.v1.PullRequest.getDefaultInstance(); }
/** * * * <pre> * The subscription from which messages should be pulled. * Format is `projects/{project}/subscriptions/{sub}`. * </pre> * * <code>string subscription = 1;</code> */ public Builder clearSubscription() { subscription_ = getDefaultInstance().getSubscription(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.PullRequest other) { if (other == com.google.pubsub.v1.PullRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (other.getReturnImmediately() != false) { setReturnImmediately(other.getReturnImmediately()); } if (other.getMaxMessages() != 0) { setMaxMessages(other.getMaxMessages()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.pubsub.v1.PullRequest, com.google.pubsub.v1.PullResponse> getPullMethodHelper() { io.grpc.MethodDescriptor<com.google.pubsub.v1.PullRequest, com.google.pubsub.v1.PullResponse> getPullMethod; if ((getPullMethod = SubscriberGrpc.getPullMethod) == null) { synchronized (SubscriberGrpc.class) { if ((getPullMethod = SubscriberGrpc.getPullMethod) == null) { SubscriberGrpc.getPullMethod = getPullMethod = io.grpc.MethodDescriptor .<com.google.pubsub.v1.PullRequest, com.google.pubsub.v1.PullResponse> 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; }
@java.lang.Override public com.google.pubsub.v1.PullRequest getDefaultInstanceForType() { return com.google.pubsub.v1.PullRequest.getDefaultInstance(); }
public com.google.pubsub.v1.PullRequest getDefaultInstanceForType() { return com.google.pubsub.v1.PullRequest.getDefaultInstance(); }
public com.google.pubsub.v1.PullRequest getDefaultInstanceForType() { return com.google.pubsub.v1.PullRequest.getDefaultInstance(); }
/** * <pre> * The subscription from which messages should be pulled. * </pre> * * <code>optional string subscription = 1;</code> */ public Builder clearSubscription() { subscription_ = getDefaultInstance().getSubscription(); onChanged(); return this; } /**
/** * <code>optional string subscription = 1;</code> * * <pre> * The subscription from which messages should be pulled. * </pre> */ public Builder clearSubscription() { subscription_ = getDefaultInstance().getSubscription(); onChanged(); return this; } /**
/** * * * <pre> * The subscription from which messages should be pulled. * Format is `projects/{project}/subscriptions/{sub}`. * </pre> * * <code>string subscription = 1;</code> */ public Builder clearSubscription() { subscription_ = getDefaultInstance().getSubscription(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.PullRequest other) { if (other == com.google.pubsub.v1.PullRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (other.getReturnImmediately() != false) { setReturnImmediately(other.getReturnImmediately()); } if (other.getMaxMessages() != 0) { setMaxMessages(other.getMaxMessages()); } onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.PullRequest other) { if (other == com.google.pubsub.v1.PullRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (other.getReturnImmediately() != false) { setReturnImmediately(other.getReturnImmediately()); } if (other.getMaxMessages() != 0) { setMaxMessages(other.getMaxMessages()); } onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.PullRequest other) { if (other == com.google.pubsub.v1.PullRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (other.getReturnImmediately() != false) { setReturnImmediately(other.getReturnImmediately()); } if (other.getMaxMessages() != 0) { setMaxMessages(other.getMaxMessages()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.pubsub.v1.PullRequest, com.google.pubsub.v1.PullResponse> getPullMethodHelper() { io.grpc.MethodDescriptor<com.google.pubsub.v1.PullRequest, com.google.pubsub.v1.PullResponse> getPullMethod; if ((getPullMethod = SubscriberGrpc.getPullMethod) == null) { synchronized (SubscriberGrpc.class) { if ((getPullMethod = SubscriberGrpc.getPullMethod) == null) { SubscriberGrpc.getPullMethod = getPullMethod = io.grpc.MethodDescriptor .<com.google.pubsub.v1.PullRequest, com.google.pubsub.v1.PullResponse> 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; }