Class RunJobRequest.Overrides (0.29.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
TypeDescription
int

TASK_COUNT_FIELD_NUMBER

public static final int TASK_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

TIMEOUT_FIELD_NUMBER

public static final int TIMEOUT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunJobRequest.Overrides getDefaultInstance()
Returns
TypeDescription
RunJobRequest.Overrides

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RunJobRequest.Overrides.Builder newBuilder()
Returns
TypeDescription
RunJobRequest.Overrides.Builder

newBuilder(RunJobRequest.Overrides prototype)

public static RunJobRequest.Overrides.Builder newBuilder(RunJobRequest.Overrides prototype)
Parameter
NameDescription
prototypeRunJobRequest.Overrides
Returns
TypeDescription
RunJobRequest.Overrides.Builder

parseDelimitedFrom(InputStream input)

public static RunJobRequest.Overrides parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RunJobRequest.Overrides parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunJobRequest.Overrides parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunJobRequest.Overrides parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RunJobRequest.Overrides parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RunJobRequest.Overrides parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride

getContainerOverridesCount()

public int getContainerOverridesCount()

Per container override specification.

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

Returns
TypeDescription
int

getContainerOverridesList()

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

getDefaultInstanceForType()

public RunJobRequest.Overrides getDefaultInstanceForType()
Returns
TypeDescription
RunJobRequest.Overrides

getParserForType()

public Parser<RunJobRequest.Overrides> getParserForType()
Returns
TypeDescription
Parser<Overrides>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeout field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RunJobRequest.Overrides.Builder newBuilderForType()
Returns
TypeDescription
RunJobRequest.Overrides.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunJobRequest.Overrides.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RunJobRequest.Overrides.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RunJobRequest.Overrides.Builder toBuilder()
Returns
TypeDescription
RunJobRequest.Overrides.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException