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.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAckIds(String value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAckIds(String value)
Optional. Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The ackIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addAckIdsBytes(ByteString value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAckIdsBytes(ByteString value)
Optional. Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the ackIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addAllAckIds(Iterable<String> values)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAllAckIds(Iterable<String> values)
Optional. Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The ackIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addAllInvalidAckIds(Iterable<String> values)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAllInvalidAckIds(Iterable<String> values)
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 |
values | Iterable<String> The invalidAckIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addAllTemporaryFailedAckIds(Iterable<String> values)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addAllTemporaryFailedAckIds(Iterable<String> values)
Optional. List of acknowledgement IDs that failed processing with temporary issues.
repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The temporaryFailedAckIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addInvalidAckIds(String value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addInvalidAckIds(String value)
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 |
value | String The invalidAckIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addInvalidAckIdsBytes(ByteString value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addInvalidAckIdsBytes(ByteString value)
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 |
value | ByteString The bytes of the invalidAckIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
addTemporaryFailedAckIds(String value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addTemporaryFailedAckIds(String value)
Optional. List of acknowledgement IDs that failed processing with temporary issues.
repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The temporaryFailedAckIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
addTemporaryFailedAckIdsBytes(ByteString value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder addTemporaryFailedAckIdsBytes(ByteString value)
Optional. List of acknowledgement IDs that failed processing with temporary issues.
repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the temporaryFailedAckIds to add. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
build()
public StreamingPullResponse.ModifyAckDeadlineConfirmation build()
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation |
buildPartial()
public StreamingPullResponse.ModifyAckDeadlineConfirmation buildPartial()
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation |
clear()
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clear()
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
clearAckIds()
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearAckIds()
Optional. Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
clearInvalidAckIds()
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearInvalidAckIds()
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 |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
clearTemporaryFailedAckIds()
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clearTemporaryFailedAckIds()
Optional. List of acknowledgement IDs that failed processing with temporary issues.
repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
clone()
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder clone()
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
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.ModifyAckDeadlineConfirmation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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 = 3 [(.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 = 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 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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the temporaryFailedAckIds. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
mergeFrom(StreamingPullResponse.ModifyAckDeadlineConfirmation other)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeFrom(StreamingPullResponse.ModifyAckDeadlineConfirmation other)
Parameter | |
---|---|
Name | Description |
other | StreamingPullResponse.ModifyAckDeadlineConfirmation |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
setAckIds(int index, String value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setAckIds(int index, String value)
Optional. Successfully processed acknowledgement IDs.
repeated string ack_ids = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The ackIds to set. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
setInvalidAckIds(int index, String value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setInvalidAckIds(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The invalidAckIds to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |
setTemporaryFailedAckIds(int index, String value)
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setTemporaryFailedAckIds(int index, String value)
Optional. List of acknowledgement IDs that failed processing with temporary issues.
repeated string temporary_failed_ack_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The temporaryFailedAckIds to set. |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder |