Class StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder (1.118.0)

public static final class StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder extends GeneratedMessageV3.Builder<StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

Static Methods

getDescriptor()

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

Methods

addAckIds(String value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAckIds(String value)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Parameter
NameDescription
valueString

The ackIds to add.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

addAckIdsBytes(ByteString value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAckIdsBytes(ByteString value)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Parameter
NameDescription
valueByteString

The bytes of the ackIds to add.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

addAllAckIds(Iterable<String> values)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAllAckIds(Iterable<String> values)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Parameter
NameDescription
valuesIterable<String>

The ackIds to add.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

addAllInvalidAckIds(Iterable<String> values)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAllInvalidAckIds(Iterable<String> values)

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

repeated string invalid_ack_ids = 2 [ctype = CORD];

Parameter
NameDescription
valuesIterable<String>

The invalidAckIds to add.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

addInvalidAckIds(String value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addInvalidAckIds(String value)

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

repeated string invalid_ack_ids = 2 [ctype = CORD];

Parameter
NameDescription
valueString

The invalidAckIds to add.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

addInvalidAckIdsBytes(ByteString value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addInvalidAckIdsBytes(ByteString value)

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

repeated string invalid_ack_ids = 2 [ctype = CORD];

Parameter
NameDescription
valueByteString

The bytes of the invalidAckIds to add.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

build()

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

buildPartial()

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

clear()

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clear()
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

clearAckIds()

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearAckIds()

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

clearInvalidAckIds()

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearInvalidAckIds()

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

repeated string invalid_ack_ids = 2 [ctype = CORD];

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

clone()

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clone()
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

mergeFrom(StreamingPullResponse.ModifyAckDeadlineConfirmation other)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeFrom(StreamingPullResponse.ModifyAckDeadlineConfirmation other)
Parameter
NameDescription
otherStreamingPullResponse.ModifyAckDeadlineConfirmation
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

setAckIds(int index, String value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setAckIds(int index, String value)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The ackIds to set.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

setInvalidAckIds(int index, String value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setInvalidAckIds(int index, String value)

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

repeated string invalid_ack_ids = 2 [ctype = CORD];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The invalidAckIds to set.

Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder
Overrides