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
Static Fields
ACK_IDS_FIELD_NUMBER
public static final int ACK_IDS_FIELD_NUMBER
Field Value
INVALID_ACK_IDS_FIELD_NUMBER
public static final int INVALID_ACK_IDS_FIELD_NUMBER
Field Value
UNORDERED_ACK_IDS_FIELD_NUMBER
public static final int UNORDERED_ACK_IDS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StreamingPullResponse.AcknowledgeConfirmation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder()
Returns
newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
Parameter
Returns
public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StreamingPullResponse.AcknowledgeConfirmation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAckIds(int index)
public String getAckIds(int index)
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [ctype = CORD];
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)
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [ctype = CORD];
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()
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [ctype = CORD];
Returns
Type | Description |
int | The count of ackIds.
|
getAckIdsList()
public ProtocolStringList getAckIdsList()
Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [ctype = CORD];
Returns
getDefaultInstanceForType()
public StreamingPullResponse.AcknowledgeConfirmation getDefaultInstanceForType()
Returns
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 [ctype = CORD];
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)
List of acknowledgement IDs that were malformed or whose acknowledgement
deadline has expired.
repeated string invalid_ack_ids = 2 [ctype = CORD];
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()
List of acknowledgement IDs that were malformed or whose acknowledgement
deadline has expired.
repeated string invalid_ack_ids = 2 [ctype = CORD];
Returns
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 [ctype = CORD];
Returns
getParserForType()
public Parser<StreamingPullResponse.AcknowledgeConfirmation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUnorderedAckIds(int index)
public String getUnorderedAckIds(int index)
List of acknowledgement IDs that were out of order.
repeated string unordered_ack_ids = 3 [ctype = CORD];
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)
List of acknowledgement IDs that were out of order.
repeated string unordered_ack_ids = 3 [ctype = CORD];
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()
List of acknowledgement IDs that were out of order.
repeated string unordered_ack_ids = 3 [ctype = CORD];
Returns
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 [ctype = CORD];
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StreamingPullResponse.AcknowledgeConfirmation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions