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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder()
newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input)
public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StreamingPullResponse.AcknowledgeConfirmation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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];
getDefaultInstanceForType()
public StreamingPullResponse.AcknowledgeConfirmation getDefaultInstanceForType()
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];
getParserForType()
public Parser<StreamingPullResponse.AcknowledgeConfirmation> getParserForType()
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];
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];
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StreamingPullResponse.AcknowledgeConfirmation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides