Class PipelineTaskExecutorDetail.CustomJobDetail.Builder (3.84.0)

public static final class PipelineTaskExecutorDetail.CustomJobDetail.Builder extends GeneratedMessage.Builder<PipelineTaskExecutorDetail.CustomJobDetail.Builder> implements PipelineTaskExecutorDetail.CustomJobDetailOrBuilder

The detailed info for a custom job executor.

Protobuf type google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail

Static Methods

getDescriptor()

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

Methods

addAllFailedJobs(Iterable<String> values)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder addAllFailedJobs(Iterable<String> values)

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The failedJobs to add.

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.

addFailedJobs(String value)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder addFailedJobs(String value)

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The failedJobs to add.

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.

addFailedJobsBytes(ByteString value)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder addFailedJobsBytes(ByteString value)

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the failedJobs to add.

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.

build()

public PipelineTaskExecutorDetail.CustomJobDetail build()
Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail

buildPartial()

public PipelineTaskExecutorDetail.CustomJobDetail buildPartial()
Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail

clear()

public PipelineTaskExecutorDetail.CustomJobDetail.Builder clear()
Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder
Overrides

clearFailedJobs()

public PipelineTaskExecutorDetail.CustomJobDetail.Builder clearFailedJobs()

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.

clearJob()

public PipelineTaskExecutorDetail.CustomJobDetail.Builder clearJob()

Output only. The name of the CustomJob.

string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.

getDefaultInstanceForType()

public PipelineTaskExecutorDetail.CustomJobDetail getDefaultInstanceForType()
Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFailedJobs(int index)

public String getFailedJobs(int index)

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The failedJobs at the given index.

getFailedJobsBytes(int index)

public ByteString getFailedJobsBytes(int index)

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the failedJobs at the given index.

getFailedJobsCount()

public int getFailedJobsCount()

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of failedJobs.

getFailedJobsList()

public ProtocolStringList getFailedJobsList()

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the failedJobs.

getJob()

public String getJob()

Output only. The name of the CustomJob.

string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The job.

getJobBytes()

public ByteString getJobBytes()

Output only. The name of the CustomJob.

string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for job.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PipelineTaskExecutorDetail.CustomJobDetail other)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder mergeFrom(PipelineTaskExecutorDetail.CustomJobDetail other)
Parameter
Name Description
other PipelineTaskExecutorDetail.CustomJobDetail
Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder
Overrides

setFailedJobs(int index, String value)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder setFailedJobs(int index, String value)

Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.

repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The failedJobs to set.

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.

setJob(String value)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder setJob(String value)

Output only. The name of the CustomJob.

string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The job to set.

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.

setJobBytes(ByteString value)

public PipelineTaskExecutorDetail.CustomJobDetail.Builder setJobBytes(ByteString value)

Output only. The name of the CustomJob.

string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for job to set.

Returns
Type Description
PipelineTaskExecutorDetail.CustomJobDetail.Builder

This builder for chaining.