Class StreamingPullResponse.ModifyAckDeadlineConfirmation (1.121.1)

public static final class StreamingPullResponse.ModifyAckDeadlineConfirmation extends GeneratedMessageV3 implements StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder

Acknowledgement IDs sent in one or more previous requests to modify the deadline for a specific message.

Protobuf type google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamingPullResponse.ModifyAckDeadlineConfirmation

Static Fields

ACK_IDS_FIELD_NUMBER

public static final int ACK_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

INVALID_ACK_IDS_FIELD_NUMBER

public static final int INVALID_ACK_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingPullResponse.ModifyAckDeadlineConfirmation getDefaultInstance()
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder newBuilder()
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

newBuilder(StreamingPullResponse.ModifyAckDeadlineConfirmation prototype)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder newBuilder(StreamingPullResponse.ModifyAckDeadlineConfirmation prototype)
Parameter
NameDescription
prototypeStreamingPullResponse.ModifyAckDeadlineConfirmation
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

parseDelimitedFrom(InputStream input)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingPullResponse.ModifyAckDeadlineConfirmation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StreamingPullResponse.ModifyAckDeadlineConfirmation> parser()
Returns
TypeDescription
Parser<ModifyAckDeadlineConfirmation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAckIds(int index)

public String getAckIds(int index)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of ackIds.

getAckIdsList()

public ProtocolStringList getAckIdsList()

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Returns
TypeDescription
ProtocolStringList

A list containing the ackIds.

getDefaultInstanceForType()

public StreamingPullResponse.ModifyAckDeadlineConfirmation getDefaultInstanceForType()
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the invalidAckIds.

getParserForType()

public Parser<StreamingPullResponse.ModifyAckDeadlineConfirmation> getParserForType()
Returns
TypeDescription
Parser<ModifyAckDeadlineConfirmation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder newBuilderForType()
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder toBuilder()
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException