public final class ModifyAckDeadlineRequest extends GeneratedMessageV3 implements ModifyAckDeadlineRequestOrBuilder
Request for the ModifyAckDeadline method.
Protobuf type google.pubsub.v1.ModifyAckDeadlineRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModifyAckDeadlineRequestImplements
ModifyAckDeadlineRequestOrBuilderStatic Fields
ACK_DEADLINE_SECONDS_FIELD_NUMBER
public static final int ACK_DEADLINE_SECONDS_FIELD_NUMBER
Type | Description |
int |
ACK_IDS_FIELD_NUMBER
public static final int ACK_IDS_FIELD_NUMBER
Type | Description |
int |
SUBSCRIPTION_FIELD_NUMBER
public static final int SUBSCRIPTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ModifyAckDeadlineRequest getDefaultInstance()
Type | Description |
ModifyAckDeadlineRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ModifyAckDeadlineRequest.Builder newBuilder()
Type | Description |
ModifyAckDeadlineRequest.Builder |
newBuilder(ModifyAckDeadlineRequest prototype)
public static ModifyAckDeadlineRequest.Builder newBuilder(ModifyAckDeadlineRequest prototype)
Name | Description |
prototype | ModifyAckDeadlineRequest |
Type | Description |
ModifyAckDeadlineRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ModifyAckDeadlineRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModifyAckDeadlineRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ModifyAckDeadlineRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ModifyAckDeadlineRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ModifyAckDeadlineRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ModifyAckDeadlineRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ModifyAckDeadlineRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ModifyAckDeadlineRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ModifyAckDeadlineRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ModifyAckDeadlineRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ModifyAckDeadlineRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ModifyAckDeadlineRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ModifyAckDeadlineRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ModifyAckDeadlineRequest> parser()
Type | Description |
Parser<ModifyAckDeadlineRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAckDeadlineSeconds()
public int getAckDeadlineSeconds()
Required. The new ack deadline with respect to the time this request was
sent to the Pub/Sub system. For example, if the value is 10, the new ack
deadline will expire 10 seconds after the ModifyAckDeadline
call was
made. Specifying zero might immediately make the message available for
delivery to another subscriber client. This typically results in an
increase in the rate of message redeliveries (that is, duplicates).
The minimum deadline you can specify is 0 seconds.
The maximum deadline you can specify is 600 seconds (10 minutes).
int32 ack_deadline_seconds = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The ackDeadlineSeconds. |
getAckIds(int index)
public String getAckIds(int index)
Required. List of acknowledgment IDs.
repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The ackIds at the given index. |
getAckIdsBytes(int index)
public ByteString getAckIdsBytes(int index)
Required. List of acknowledgment IDs.
repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the ackIds at the given index. |
getAckIdsCount()
public int getAckIdsCount()
Required. List of acknowledgment IDs.
repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The count of ackIds. |
getAckIdsList()
public ProtocolStringList getAckIdsList()
Required. List of acknowledgment IDs.
repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProtocolStringList | A list containing the ackIds. |
getDefaultInstanceForType()
public ModifyAckDeadlineRequest getDefaultInstanceForType()
Type | Description |
ModifyAckDeadlineRequest |
getParserForType()
public Parser<ModifyAckDeadlineRequest> getParserForType()
Type | Description |
Parser<ModifyAckDeadlineRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSubscription()
public String getSubscription()
Required. The name of the subscription.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The subscription. |
getSubscriptionBytes()
public ByteString getSubscriptionBytes()
Required. The name of the subscription.
Format is projects/{project}/subscriptions/{sub}
.
string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for subscription. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ModifyAckDeadlineRequest.Builder newBuilderForType()
Type | Description |
ModifyAckDeadlineRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ModifyAckDeadlineRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ModifyAckDeadlineRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ModifyAckDeadlineRequest.Builder toBuilder()
Type | Description |
ModifyAckDeadlineRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |