Class StreamingPullResponse.AcknowledgeConfirmation (1.129.3)

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.AcknowledgeConfirmation

Static Fields

ACK_IDS_FIELD_NUMBER

public static final int ACK_IDS_FIELD_NUMBER
Field Value
Type Description
int

INVALID_ACK_IDS_FIELD_NUMBER

public static final int INVALID_ACK_IDS_FIELD_NUMBER
Field Value
Type Description
int

TEMPORARY_FAILED_ACK_IDS_FIELD_NUMBER

public static final int TEMPORARY_FAILED_ACK_IDS_FIELD_NUMBER
Field Value
Type Description
int

UNORDERED_ACK_IDS_FIELD_NUMBER

public static final int UNORDERED_ACK_IDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamingPullResponse.AcknowledgeConfirmation getDefaultInstance()
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder()
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation.Builder

newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)

public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
Parameter
Name Description
prototype StreamingPullResponse.AcknowledgeConfirmation
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation.Builder

parseDelimitedFrom(InputStream input)

public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamingPullResponse.AcknowledgeConfirmation> parser()
Returns
Type Description
Parser<AcknowledgeConfirmation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAckIds(int index)

public String getAckIds(int index)

Optional. Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ackIds at the given index.

getAckIdsBytes(int index)

public ByteString getAckIdsBytes(int index)

Optional. Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ackIds at the given index.

getAckIdsCount()

public int getAckIdsCount()

Optional. Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of ackIds.

getAckIdsList()

public ProtocolStringList getAckIdsList()

Optional. Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the ackIds.

getDefaultInstanceForType()

public StreamingPullResponse.AcknowledgeConfirmation getDefaultInstanceForType()
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation

getInvalidAckIds(int index)

public String getInvalidAckIds(int index)

Optional. List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The invalidAckIds at the given index.

getInvalidAckIdsBytes(int index)

public ByteString getInvalidAckIdsBytes(int index)

Optional. List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the invalidAckIds at the given index.

getInvalidAckIdsCount()

public int getInvalidAckIdsCount()

Optional. List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of invalidAckIds.

getInvalidAckIdsList()

public ProtocolStringList getInvalidAckIdsList()

Optional. List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the invalidAckIds.

getParserForType()

public Parser<StreamingPullResponse.AcknowledgeConfirmation> getParserForType()
Returns
Type Description
Parser<AcknowledgeConfirmation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTemporaryFailedAckIds(int index)

public String getTemporaryFailedAckIds(int index)

Optional. List of acknowledgement IDs that failed processing with temporary issues.

repeated string temporary_failed_ack_ids = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The temporaryFailedAckIds at the given index.

getTemporaryFailedAckIdsBytes(int index)

public ByteString getTemporaryFailedAckIdsBytes(int index)

Optional. List of acknowledgement IDs that failed processing with temporary issues.

repeated string temporary_failed_ack_ids = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the temporaryFailedAckIds at the given index.

getTemporaryFailedAckIdsCount()

public int getTemporaryFailedAckIdsCount()

Optional. List of acknowledgement IDs that failed processing with temporary issues.

repeated string temporary_failed_ack_ids = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of temporaryFailedAckIds.

getTemporaryFailedAckIdsList()

public ProtocolStringList getTemporaryFailedAckIdsList()

Optional. List of acknowledgement IDs that failed processing with temporary issues.

repeated string temporary_failed_ack_ids = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the temporaryFailedAckIds.

getUnorderedAckIds(int index)

public String getUnorderedAckIds(int index)

Optional. List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unorderedAckIds at the given index.

getUnorderedAckIdsBytes(int index)

public ByteString getUnorderedAckIdsBytes(int index)

Optional. List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unorderedAckIds at the given index.

getUnorderedAckIdsCount()

public int getUnorderedAckIdsCount()

Optional. List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of unorderedAckIds.

getUnorderedAckIdsList()

public ProtocolStringList getUnorderedAckIdsList()

Optional. List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the unorderedAckIds.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType()
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StreamingPullResponse.AcknowledgeConfirmation.Builder toBuilder()
Returns
Type Description
StreamingPullResponse.AcknowledgeConfirmation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException