@java.lang.Override public com.google.pubsub.v1.AcknowledgeRequest getDefaultInstanceForType() { return com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance(); }
/** * * * <pre> * The subscription whose message is being acknowledged. * 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.AcknowledgeRequest other) { if (other == com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (!other.ackIds_.isEmpty()) { if (ackIds_.isEmpty()) { ackIds_ = other.ackIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAckIdsIsMutable(); ackIds_.addAll(other.ackIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.pubsub.v1.AcknowledgeRequest, com.google.protobuf.Empty> getAcknowledgeMethodHelper() { io.grpc.MethodDescriptor<com.google.pubsub.v1.AcknowledgeRequest, com.google.protobuf.Empty> getAcknowledgeMethod; if ((getAcknowledgeMethod = SubscriberGrpc.getAcknowledgeMethod) == null) { synchronized (SubscriberGrpc.class) { if ((getAcknowledgeMethod = SubscriberGrpc.getAcknowledgeMethod) == null) { SubscriberGrpc.getAcknowledgeMethod = getAcknowledgeMethod = io.grpc.MethodDescriptor .<com.google.pubsub.v1.AcknowledgeRequest, com.google.protobuf.Empty> 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; }
@java.lang.Override public com.google.pubsub.v1.AcknowledgeRequest getDefaultInstanceForType() { return com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance(); }
public com.google.pubsub.v1.AcknowledgeRequest getDefaultInstanceForType() { return com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance(); }
public com.google.pubsub.v1.AcknowledgeRequest getDefaultInstanceForType() { return com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance(); }
/** * <code>optional string subscription = 1;</code> * * <pre> * The subscription whose message is being acknowledged. * </pre> */ public Builder clearSubscription() { subscription_ = getDefaultInstance().getSubscription(); onChanged(); return this; } /**
/** * <pre> * The subscription whose message is being acknowledged. * </pre> * * <code>optional string subscription = 1;</code> */ public Builder clearSubscription() { subscription_ = getDefaultInstance().getSubscription(); onChanged(); return this; } /**
/** * * * <pre> * The subscription whose message is being acknowledged. * 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.AcknowledgeRequest other) { if (other == com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (!other.ackIds_.isEmpty()) { if (ackIds_.isEmpty()) { ackIds_ = other.ackIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAckIdsIsMutable(); ackIds_.addAll(other.ackIds_); } onChanged(); } onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.AcknowledgeRequest other) { if (other == com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (!other.ackIds_.isEmpty()) { if (ackIds_.isEmpty()) { ackIds_ = other.ackIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAckIdsIsMutable(); ackIds_.addAll(other.ackIds_); } onChanged(); } onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.AcknowledgeRequest other) { if (other == com.google.pubsub.v1.AcknowledgeRequest.getDefaultInstance()) return this; if (!other.getSubscription().isEmpty()) { subscription_ = other.subscription_; onChanged(); } if (!other.ackIds_.isEmpty()) { if (ackIds_.isEmpty()) { ackIds_ = other.ackIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAckIdsIsMutable(); ackIds_.addAll(other.ackIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.pubsub.v1.AcknowledgeRequest, com.google.protobuf.Empty> getAcknowledgeMethodHelper() { io.grpc.MethodDescriptor<com.google.pubsub.v1.AcknowledgeRequest, com.google.protobuf.Empty> getAcknowledgeMethod; if ((getAcknowledgeMethod = SubscriberGrpc.getAcknowledgeMethod) == null) { synchronized (SubscriberGrpc.class) { if ((getAcknowledgeMethod = SubscriberGrpc.getAcknowledgeMethod) == null) { SubscriberGrpc.getAcknowledgeMethod = getAcknowledgeMethod = io.grpc.MethodDescriptor .<com.google.pubsub.v1.AcknowledgeRequest, com.google.protobuf.Empty> 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; }