public final class AcknowledgeRequest extends GeneratedMessageV3 implements AcknowledgeRequestOrBuilder
Request for the Acknowledge method.Protobuf type
google.pubsub.v1.AcknowledgeRequest| Modifier and Type | Class and Description |
|---|---|
static class |
AcknowledgeRequest.Builder
Request for the Acknowledge method.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACK_IDS_FIELD_NUMBER |
static int |
SUBSCRIPTION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAckIds(int index)
The acknowledgment ID for the messages being acknowledged that was returned
by the Pub/Sub system in the `Pull` response.
|
ByteString |
getAckIdsBytes(int index)
The acknowledgment ID for the messages being acknowledged that was returned
by the Pub/Sub system in the `Pull` response.
|
int |
getAckIdsCount()
The acknowledgment ID for the messages being acknowledged that was returned
by the Pub/Sub system in the `Pull` response.
|
ProtocolStringList |
getAckIdsList()
The acknowledgment ID for the messages being acknowledged that was returned
by the Pub/Sub system in the `Pull` response.
|
static AcknowledgeRequest |
getDefaultInstance() |
AcknowledgeRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<AcknowledgeRequest> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getSubscription()
The subscription whose message is being acknowledged.
|
ByteString |
getSubscriptionBytes()
The subscription whose message is being acknowledged.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AcknowledgeRequest.Builder |
newBuilder() |
static AcknowledgeRequest.Builder |
newBuilder(AcknowledgeRequest prototype) |
AcknowledgeRequest.Builder |
newBuilderForType() |
protected AcknowledgeRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static AcknowledgeRequest |
parseDelimitedFrom(java.io.InputStream input) |
static AcknowledgeRequest |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static AcknowledgeRequest |
parseFrom(byte[] data) |
static AcknowledgeRequest |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static AcknowledgeRequest |
parseFrom(java.nio.ByteBuffer data) |
static AcknowledgeRequest |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static AcknowledgeRequest |
parseFrom(ByteString data) |
static AcknowledgeRequest |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static AcknowledgeRequest |
parseFrom(CodedInputStream input) |
static AcknowledgeRequest |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static AcknowledgeRequest |
parseFrom(java.io.InputStream input) |
static AcknowledgeRequest |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<AcknowledgeRequest> |
parser() |
AcknowledgeRequest.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SUBSCRIPTION_FIELD_NUMBER
public static final int ACK_IDS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getSubscription()
The subscription whose message is being acknowledged.
Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 1;getSubscription in interface AcknowledgeRequestOrBuilderpublic ByteString getSubscriptionBytes()
The subscription whose message is being acknowledged.
Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 1;getSubscriptionBytes in interface AcknowledgeRequestOrBuilderpublic ProtocolStringList getAckIdsList()
The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.
repeated string ack_ids = 2;getAckIdsList in interface AcknowledgeRequestOrBuilderpublic int getAckIdsCount()
The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.
repeated string ack_ids = 2;getAckIdsCount in interface AcknowledgeRequestOrBuilderpublic java.lang.String getAckIds(int index)
The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.
repeated string ack_ids = 2;getAckIds in interface AcknowledgeRequestOrBuilderpublic ByteString getAckIdsBytes(int index)
The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.
repeated string ack_ids = 2;getAckIdsBytes in interface AcknowledgeRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static AcknowledgeRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AcknowledgeRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AcknowledgeRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AcknowledgeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AcknowledgeRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AcknowledgeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AcknowledgeRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AcknowledgeRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AcknowledgeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AcknowledgeRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AcknowledgeRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AcknowledgeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic AcknowledgeRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static AcknowledgeRequest.Builder newBuilder()
public static AcknowledgeRequest.Builder newBuilder(AcknowledgeRequest prototype)
public AcknowledgeRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected AcknowledgeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static AcknowledgeRequest getDefaultInstance()
public static Parser<AcknowledgeRequest> parser()
public Parser<AcknowledgeRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public AcknowledgeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder