public static final class RunJobRequest.Overrides.Builder extends GeneratedMessageV3.Builder<RunJobRequest.Overrides.Builder> implements RunJobRequest.OverridesOrBuilder
RunJob Overrides that contains Execution fields to be overridden.
Protobuf type google.cloud.run.v2.RunJobRequest.Overrides
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllContainerOverrides(Iterable<? extends RunJobRequest.Overrides.ContainerOverride> values)
public RunJobRequest.Overrides.Builder addAllContainerOverrides(Iterable<? extends RunJobRequest.Overrides.ContainerOverride> values)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride>
|
addContainerOverrides(RunJobRequest.Overrides.ContainerOverride value)
public RunJobRequest.Overrides.Builder addContainerOverrides(RunJobRequest.Overrides.ContainerOverride value)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
addContainerOverrides(RunJobRequest.Overrides.ContainerOverride.Builder builderForValue)
public RunJobRequest.Overrides.Builder addContainerOverrides(RunJobRequest.Overrides.ContainerOverride.Builder builderForValue)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
addContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride value)
public RunJobRequest.Overrides.Builder addContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride value)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
addContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride.Builder builderForValue)
public RunJobRequest.Overrides.Builder addContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride.Builder builderForValue)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
addContainerOverridesBuilder()
public RunJobRequest.Overrides.ContainerOverride.Builder addContainerOverridesBuilder()
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
addContainerOverridesBuilder(int index)
public RunJobRequest.Overrides.ContainerOverride.Builder addContainerOverridesBuilder(int index)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunJobRequest.Overrides.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RunJobRequest.Overrides build()
buildPartial()
public RunJobRequest.Overrides buildPartial()
clear()
public RunJobRequest.Overrides.Builder clear()
Overrides
clearContainerOverrides()
public RunJobRequest.Overrides.Builder clearContainerOverrides()
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
clearField(Descriptors.FieldDescriptor field)
public RunJobRequest.Overrides.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunJobRequest.Overrides.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTaskCount()
public RunJobRequest.Overrides.Builder clearTaskCount()
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];
clearTimeout()
public RunJobRequest.Overrides.Builder clearTimeout()
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;
clone()
public RunJobRequest.Overrides.Builder clone()
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
|
getContainerOverridesBuilder(int index)
public RunJobRequest.Overrides.ContainerOverride.Builder getContainerOverridesBuilder(int index)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
Parameter |
---|
Name | Description |
index | int
|
getContainerOverridesBuilderList()
public List<RunJobRequest.Overrides.ContainerOverride.Builder> getContainerOverridesBuilderList()
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getTimeoutBuilder()
public Duration.Builder getTimeoutBuilder()
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;
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RunJobRequest.Overrides other)
public RunJobRequest.Overrides.Builder mergeFrom(RunJobRequest.Overrides other)
public RunJobRequest.Overrides.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunJobRequest.Overrides.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTimeout(Duration value)
public RunJobRequest.Overrides.Builder mergeTimeout(Duration value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunJobRequest.Overrides.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeContainerOverrides(int index)
public RunJobRequest.Overrides.Builder removeContainerOverrides(int index)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
Parameter |
---|
Name | Description |
index | int
|
setContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride value)
public RunJobRequest.Overrides.Builder setContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride value)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
setContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride.Builder builderForValue)
public RunJobRequest.Overrides.Builder setContainerOverrides(int index, RunJobRequest.Overrides.ContainerOverride.Builder builderForValue)
Per container override specification.
repeated .google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride container_overrides = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public RunJobRequest.Overrides.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunJobRequest.Overrides.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTaskCount(int value)
public RunJobRequest.Overrides.Builder setTaskCount(int value)
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];
Parameter |
---|
Name | Description |
value | int
The taskCount to set.
|
setTimeout(Duration value)
public RunJobRequest.Overrides.Builder setTimeout(Duration value)
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;
setTimeout(Duration.Builder builderForValue)
public RunJobRequest.Overrides.Builder setTimeout(Duration.Builder builderForValue)
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;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RunJobRequest.Overrides.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides