public static interface RunJobRequest.OverridesOrBuilder extends MessageOrBuilder
Implements
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> |
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 |
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. |