Interface RunJobRequest.OverridesOrBuilder (0.34.0)

public static interface RunJobRequest.OverridesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
NameDescription
indexint
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride

getContainerOverridesCount()

public abstract int getContainerOverridesCount()

Per container override specification.

repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeout field is set.