Class PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail (3.55.0)

public static final class PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail extends GeneratedMessageV3 implements PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetailOrBuilder

Persistent resource based runtime detail. For more information, refer to https://cloud.google.com/vertex-ai/docs/training/persistent-resource-overview

Protobuf type google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail

Static Fields

PERSISTENT_RESOURCE_NAME_FIELD_NUMBER

public static final int PERSISTENT_RESOURCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

TASK_RESOURCE_UNAVAILABLE_TIMEOUT_BEHAVIOR_FIELD_NUMBER

public static final int TASK_RESOURCE_UNAVAILABLE_TIMEOUT_BEHAVIOR_FIELD_NUMBER
Field Value
Type Description
int

TASK_RESOURCE_UNAVAILABLE_WAIT_TIME_MS_FIELD_NUMBER

public static final int TASK_RESOURCE_UNAVAILABLE_WAIT_TIME_MS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail getDefaultInstance()
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail

getDescriptor()

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

newBuilder()

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder newBuilder()
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder

newBuilder(PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail prototype)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder newBuilder(PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail prototype)
Parameter
Name Description
prototype PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder

parseDelimitedFrom(InputStream input)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail> parser()
Returns
Type Description
Parser<PersistentResourceRuntimeDetail>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail getDefaultInstanceForType()
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail

getParserForType()

public Parser<PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail> getParserForType()
Returns
Type Description
Parser<PersistentResourceRuntimeDetail>
Overrides

getPersistentResourceName()

public String getPersistentResourceName()

Persistent resource name. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

string persistent_resource_name = 1;

Returns
Type Description
String

The persistentResourceName.

getPersistentResourceNameBytes()

public ByteString getPersistentResourceNameBytes()

Persistent resource name. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

string persistent_resource_name = 1;

Returns
Type Description
ByteString

The bytes for persistentResourceName.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTaskResourceUnavailableTimeoutBehavior()

public PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.TaskResourceUnavailableTimeoutBehavior getTaskResourceUnavailableTimeoutBehavior()

Specifies the behavior to take if the timeout is reached.

.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.TaskResourceUnavailableTimeoutBehavior task_resource_unavailable_timeout_behavior = 3;

Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.TaskResourceUnavailableTimeoutBehavior

The taskResourceUnavailableTimeoutBehavior.

getTaskResourceUnavailableTimeoutBehaviorValue()

public int getTaskResourceUnavailableTimeoutBehaviorValue()

Specifies the behavior to take if the timeout is reached.

.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.TaskResourceUnavailableTimeoutBehavior task_resource_unavailable_timeout_behavior = 3;

Returns
Type Description
int

The enum numeric value on the wire for taskResourceUnavailableTimeoutBehavior.

getTaskResourceUnavailableWaitTimeMs()

public long getTaskResourceUnavailableWaitTimeMs()

The max time a pipeline task waits for the required CPU, memory, or accelerator resource to become available from the specified persistent resource. Default wait time is 0.

int64 task_resource_unavailable_wait_time_ms = 2;

Returns
Type Description
long

The taskResourceUnavailableWaitTimeMs.

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 PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder newBuilderForType()
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder toBuilder()
Returns
Type Description
PipelineJob.RuntimeConfig.PersistentResourceRuntimeDetail.Builder

writeTo(CodedOutputStream output)

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