public static final class StreamingPullResponse.AcknowledgeConfirmation extends GeneratedMessageV3 implements StreamingPullResponse.AcknowledgeConfirmationOrBuilder
Acknowledgement IDs sent in one or more previous requests to acknowledge a previously received message.
Protobuf type google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamingPullResponse.AcknowledgeConfirmationStatic Fields
ACK_IDS_FIELD_NUMBER
public static final int ACK_IDS_FIELD_NUMBER
Type | Description |
int |
INVALID_ACK_IDS_FIELD_NUMBER
public static final int INVALID_ACK_IDS_FIELD_NUMBER
Type | Description |
int |
UNORDERED_ACK_IDS_FIELD_NUMBER
public static final int UNORDERED_ACK_IDS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static StreamingPullResponse.AcknowledgeConfirmation getDefaultInstance()
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder()
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation.Builder |
newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
Name | Description |
prototype | StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation.Builder |
parseDelimitedFrom(InputStream input)
public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
IOException |
parseFrom(byte[] data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
IOException |
parseFrom(InputStream input)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<StreamingPullResponse.AcknowledgeConfirmation> parser()
Type | Description |
Parser<AcknowledgeConfirmation> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAckIds(int index)
public String getAckIds(int index)
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The ackIds at the given index. |
getAckIdsBytes(int index)
public ByteString getAckIdsBytes(int index)
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the ackIds at the given index. |
getAckIdsCount()
public int getAckIdsCount()
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1;
Type | Description |
int | The count of ackIds. |
getAckIdsList()
public ProtocolStringList getAckIdsList()
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1;
Type | Description |
ProtocolStringList | A list containing the ackIds. |
getDefaultInstanceForType()
public StreamingPullResponse.AcknowledgeConfirmation getDefaultInstanceForType()
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation |
getInvalidAckIds(int index)
public String getInvalidAckIds(int index)
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.
repeated string invalid_ack_ids = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The invalidAckIds at the given index. |
getInvalidAckIdsBytes(int index)
public ByteString getInvalidAckIdsBytes(int index)
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.
repeated string invalid_ack_ids = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the invalidAckIds at the given index. |
getInvalidAckIdsCount()
public int getInvalidAckIdsCount()
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.
repeated string invalid_ack_ids = 2;
Type | Description |
int | The count of invalidAckIds. |
getInvalidAckIdsList()
public ProtocolStringList getInvalidAckIdsList()
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.
repeated string invalid_ack_ids = 2;
Type | Description |
ProtocolStringList | A list containing the invalidAckIds. |
getParserForType()
public Parser<StreamingPullResponse.AcknowledgeConfirmation> getParserForType()
Type | Description |
Parser<AcknowledgeConfirmation> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUnorderedAckIds(int index)
public String getUnorderedAckIds(int index)
List of acknowledgement IDs that were out of order.
repeated string unordered_ack_ids = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The unorderedAckIds at the given index. |
getUnorderedAckIdsBytes(int index)
public ByteString getUnorderedAckIdsBytes(int index)
List of acknowledgement IDs that were out of order.
repeated string unordered_ack_ids = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the unorderedAckIds at the given index. |
getUnorderedAckIdsCount()
public int getUnorderedAckIdsCount()
List of acknowledgement IDs that were out of order.
repeated string unordered_ack_ids = 3;
Type | Description |
int | The count of unorderedAckIds. |
getUnorderedAckIdsList()
public ProtocolStringList getUnorderedAckIdsList()
List of acknowledgement IDs that were out of order.
repeated string unordered_ack_ids = 3;
Type | Description |
ProtocolStringList | A list containing the unorderedAckIds. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType()
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public StreamingPullResponse.AcknowledgeConfirmation.Builder toBuilder()
Type | Description |
StreamingPullResponse.AcknowledgeConfirmation.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |