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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RunJobRequest.Overrides.Builder newBuilder()
newBuilder(RunJobRequest.Overrides prototype)
public static RunJobRequest.Overrides.Builder newBuilder(RunJobRequest.Overrides prototype)
public static RunJobRequest.Overrides parseDelimitedFrom(InputStream input)
public static RunJobRequest.Overrides parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RunJobRequest.Overrides parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RunJobRequest.Overrides parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RunJobRequest.Overrides parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunJobRequest.Overrides parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunJobRequest.Overrides parseFrom(CodedInputStream input)
public static RunJobRequest.Overrides parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RunJobRequest.Overrides parseFrom(InputStream input)
public static RunJobRequest.Overrides parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RunJobRequest.Overrides parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RunJobRequest.Overrides parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RunJobRequest.Overrides> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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
|
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()
getParserForType()
public Parser<RunJobRequest.Overrides> getParserForType()
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;
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RunJobRequest.Overrides.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RunJobRequest.Overrides.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RunJobRequest.Overrides.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides