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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int SUBSCRIPTION_FIELD_NUMBER
public static final int ACK_IDS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.lang.String getSubscription()
The subscription whose message is being acknowledged. Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 1;
getSubscription
in interface AcknowledgeRequestOrBuilder
public ByteString getSubscriptionBytes()
The subscription whose message is being acknowledged. Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 1;
getSubscriptionBytes
in interface AcknowledgeRequestOrBuilder
public 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 AcknowledgeRequestOrBuilder
public 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 AcknowledgeRequestOrBuilder
public 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 AcknowledgeRequestOrBuilder
public 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 AcknowledgeRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static AcknowledgeRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AcknowledgeRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AcknowledgeRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AcknowledgeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AcknowledgeRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AcknowledgeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AcknowledgeRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AcknowledgeRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AcknowledgeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AcknowledgeRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AcknowledgeRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static AcknowledgeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public AcknowledgeRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AcknowledgeRequest.Builder newBuilder()
public static AcknowledgeRequest.Builder newBuilder(AcknowledgeRequest prototype)
public AcknowledgeRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AcknowledgeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AcknowledgeRequest getDefaultInstance()
public static Parser<AcknowledgeRequest> parser()
public Parser<AcknowledgeRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AcknowledgeRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder