public static interface RunJobRequest.OverridesOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContainerOverrides(int index)
public abstract RunJobRequest.Overrides.ContainerOverride getContainerOverrides(int index)Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RunJobRequest.Overrides.ContainerOverride |
|
getContainerOverridesCount()
public abstract int getContainerOverridesCount()Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getContainerOverridesList()
public abstract List<RunJobRequest.Overrides.ContainerOverride> getContainerOverridesList()Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
| Returns | |
|---|---|
| Type | Description |
List<ContainerOverride> |
|
getContainerOverridesOrBuilder(int index)
public abstract RunJobRequest.Overrides.ContainerOverrideOrBuilder getContainerOverridesOrBuilder(int index)Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RunJobRequest.Overrides.ContainerOverrideOrBuilder |
|
getContainerOverridesOrBuilderList()
public abstract List<? extends RunJobRequest.Overrides.ContainerOverrideOrBuilder> getContainerOverridesOrBuilderList()Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverrideOrBuilder> |
|
getDelayExecution()
public abstract boolean getDelayExecution()Optional. If true, the system will start the execution within the next 12 hours depending on available capacity.
optional bool delay_execution = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The delayExecution. |
getTaskCount()
public abstract int getTaskCount()Optional. The desired number of tasks the execution should run. Will replace existing task_count value.
int32 task_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The taskCount. |
getTimeout()
public abstract Duration getTimeout()Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. Will replace existing timeout_seconds value.
.google.protobuf.Duration timeout = 4;
| Returns | |
|---|---|
| Type | Description |
Duration |
The timeout. |
getTimeoutOrBuilder()
public abstract DurationOrBuilder getTimeoutOrBuilder()Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. Will replace existing timeout_seconds value.
.google.protobuf.Duration timeout = 4;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasDelayExecution()
public abstract boolean hasDelayExecution()Optional. If true, the system will start the execution within the next 12 hours depending on available capacity.
optional bool delay_execution = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the delayExecution field is set. |
hasTimeout()
public abstract boolean hasTimeout()Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. Will replace existing timeout_seconds value.
.google.protobuf.Duration timeout = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeout field is set. |