Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat(generator): update protoc to v3.15.3 #377

Merged
merged 1 commit into from Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -213,6 +213,24 @@ public NumAttemptsCase getNumAttemptsCase() {
}

public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The maximum number of attempts for a task.
* Cloud Tasks will attempt the task `max_attempts` times (that
* is, if the first attempt fails, then there will be
* `max_attempts - 1` retries). Must be &gt; 0.
* </pre>
*
* <code>int32 max_attempts = 1;</code>
*
* @return Whether the maxAttempts field is set.
*/
@java.lang.Override
public boolean hasMaxAttempts() {
return numAttemptsCase_ == 1;
}
/**
*
*
Expand All @@ -236,6 +254,21 @@ public int getMaxAttempts() {
}

public static final int UNLIMITED_ATTEMPTS_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* If true, then the number of attempts is unlimited.
* </pre>
*
* <code>bool unlimited_attempts = 2;</code>
*
* @return Whether the unlimitedAttempts field is set.
*/
@java.lang.Override
public boolean hasUnlimitedAttempts() {
return numAttemptsCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -1017,6 +1050,23 @@ public Builder clearNumAttempts() {
return this;
}

/**
*
*
* <pre>
* The maximum number of attempts for a task.
* Cloud Tasks will attempt the task `max_attempts` times (that
* is, if the first attempt fails, then there will be
* `max_attempts - 1` retries). Must be &gt; 0.
* </pre>
*
* <code>int32 max_attempts = 1;</code>
*
* @return Whether the maxAttempts field is set.
*/
public boolean hasMaxAttempts() {
return numAttemptsCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -1081,6 +1131,20 @@ public Builder clearMaxAttempts() {
return this;
}

/**
*
*
* <pre>
* If true, then the number of attempts is unlimited.
* </pre>
*
* <code>bool unlimited_attempts = 2;</code>
*
* @return Whether the unlimitedAttempts field is set.
*/
public boolean hasUnlimitedAttempts() {
return numAttemptsCase_ == 2;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,21 @@ public interface RetryConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RetryConfig)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* The maximum number of attempts for a task.
* Cloud Tasks will attempt the task `max_attempts` times (that
* is, if the first attempt fails, then there will be
* `max_attempts - 1` retries). Must be &gt; 0.
* </pre>
*
* <code>int32 max_attempts = 1;</code>
*
* @return Whether the maxAttempts field is set.
*/
boolean hasMaxAttempts();
/**
*
*
Expand All @@ -39,6 +54,18 @@ public interface RetryConfigOrBuilder
*/
int getMaxAttempts();

/**
*
*
* <pre>
* If true, then the number of attempts is unlimited.
* </pre>
*
* <code>bool unlimited_attempts = 2;</code>
*
* @return Whether the unlimitedAttempts field is set.
*/
boolean hasUnlimitedAttempts();
/**
*
*
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-tasks.git",
"sha": "a3856385cfd835e6bf031bd606cf8ef9c0b84e04"
"sha": "6acdf7483c1e60f48b2a981087c669242d542ae6"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{
Expand Down