Class RunJobRequest.Overrides (0.45.0)

public static final class RunJobRequest.Overrides extends GeneratedMessageV3 implements RunJobRequest.OverridesOrBuilder

RunJob Overrides that contains Execution fields to be overridden.

Protobuf type google.cloud.run.v2.RunJobRequest.Overrides

Static Fields

CONTAINER_OVERRIDES_FIELD_NUMBER

public static final int CONTAINER_OVERRIDES_FIELD_NUMBER
Field Value
Type Description
int

TASK_COUNT_FIELD_NUMBER

public static final int TASK_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TIMEOUT_FIELD_NUMBER

public static final int TIMEOUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RunJobRequest.Overrides getDefaultInstance()
Returns
Type Description
RunJobRequest.Overrides

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RunJobRequest.Overrides.Builder newBuilder()
Returns
Type Description
RunJobRequest.Overrides.Builder

newBuilder(RunJobRequest.Overrides prototype)

public static RunJobRequest.Overrides.Builder newBuilder(RunJobRequest.Overrides prototype)
Parameter
Name Description
prototype RunJobRequest.Overrides
Returns
Type Description
RunJobRequest.Overrides.Builder

parseDelimitedFrom(InputStream input)

public static RunJobRequest.Overrides parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RunJobRequest.Overrides parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunJobRequest.Overrides parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunJobRequest.Overrides parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RunJobRequest.Overrides parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RunJobRequest.Overrides parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RunJobRequest.Overrides> parser()
Returns
Type Description
Parser<Overrides>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContainerOverrides(int index)

public 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 int getContainerOverridesCount()

Per container override specification.

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

Returns
Type Description
int

getContainerOverridesList()

public 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 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 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>

getDefaultInstanceForType()

public RunJobRequest.Overrides getDefaultInstanceForType()
Returns
Type Description
RunJobRequest.Overrides

getParserForType()

public Parser<RunJobRequest.Overrides> getParserForType()
Returns
Type Description
Parser<Overrides>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTaskCount()

public 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 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 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RunJobRequest.Overrides.Builder newBuilderForType()
Returns
Type Description
RunJobRequest.Overrides.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunJobRequest.Overrides.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RunJobRequest.Overrides.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RunJobRequest.Overrides.Builder toBuilder()
Returns
Type Description
RunJobRequest.Overrides.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException