Class CreatePipelineJobRequest.Builder (3.22.0)

public static final class CreatePipelineJobRequest.Builder extends GeneratedMessageV3.Builder<CreatePipelineJobRequest.Builder> implements CreatePipelineJobRequestOrBuilder

Request message for PipelineService.CreatePipelineJob.

Protobuf type google.cloud.aiplatform.v1.CreatePipelineJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePipelineJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

build()

public CreatePipelineJobRequest build()
Returns
TypeDescription
CreatePipelineJobRequest

buildPartial()

public CreatePipelineJobRequest buildPartial()
Returns
TypeDescription
CreatePipelineJobRequest

clear()

public CreatePipelineJobRequest.Builder clear()
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreatePipelineJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePipelineJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

clearParent()

public CreatePipelineJobRequest.Builder clearParent()

Required. The resource name of the Location to create the PipelineJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreatePipelineJobRequest.Builder

This builder for chaining.

clearPipelineJob()

public CreatePipelineJobRequest.Builder clearPipelineJob()

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreatePipelineJobRequest.Builder

clearPipelineJobId()

public CreatePipelineJobRequest.Builder clearPipelineJobId()

The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated.

This value should be less than 128 characters, and valid characters are /a-z-/.

string pipeline_job_id = 3;

Returns
TypeDescription
CreatePipelineJobRequest.Builder

This builder for chaining.

clone()

public CreatePipelineJobRequest.Builder clone()
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePipelineJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreatePipelineJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the Location to create the PipelineJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create the PipelineJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getPipelineJob()

public PipelineJob getPipelineJob()

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PipelineJob

The pipelineJob.

getPipelineJobBuilder()

public PipelineJob.Builder getPipelineJobBuilder()

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PipelineJob.Builder

getPipelineJobId()

public String getPipelineJobId()

The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated.

This value should be less than 128 characters, and valid characters are /a-z-/.

string pipeline_job_id = 3;

Returns
TypeDescription
String

The pipelineJobId.

getPipelineJobIdBytes()

public ByteString getPipelineJobIdBytes()

The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated.

This value should be less than 128 characters, and valid characters are /a-z-/.

string pipeline_job_id = 3;

Returns
TypeDescription
ByteString

The bytes for pipelineJobId.

getPipelineJobOrBuilder()

public PipelineJobOrBuilder getPipelineJobOrBuilder()

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PipelineJobOrBuilder

hasPipelineJob()

public boolean hasPipelineJob()

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the pipelineJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreatePipelineJobRequest other)

public CreatePipelineJobRequest.Builder mergeFrom(CreatePipelineJobRequest other)
Parameter
NameDescription
otherCreatePipelineJobRequest
Returns
TypeDescription
CreatePipelineJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreatePipelineJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreatePipelineJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

mergePipelineJob(PipelineJob value)

public CreatePipelineJobRequest.Builder mergePipelineJob(PipelineJob value)

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePipelineJob
Returns
TypeDescription
CreatePipelineJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePipelineJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePipelineJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

setParent(String value)

public CreatePipelineJobRequest.Builder setParent(String value)

Required. The resource name of the Location to create the PipelineJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreatePipelineJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreatePipelineJobRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the PipelineJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreatePipelineJobRequest.Builder

This builder for chaining.

setPipelineJob(PipelineJob value)

public CreatePipelineJobRequest.Builder setPipelineJob(PipelineJob value)

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePipelineJob
Returns
TypeDescription
CreatePipelineJobRequest.Builder

setPipelineJob(PipelineJob.Builder builderForValue)

public CreatePipelineJobRequest.Builder setPipelineJob(PipelineJob.Builder builderForValue)

Required. The PipelineJob to create.

.google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValuePipelineJob.Builder
Returns
TypeDescription
CreatePipelineJobRequest.Builder

setPipelineJobId(String value)

public CreatePipelineJobRequest.Builder setPipelineJobId(String value)

The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated.

This value should be less than 128 characters, and valid characters are /a-z-/.

string pipeline_job_id = 3;

Parameter
NameDescription
valueString

The pipelineJobId to set.

Returns
TypeDescription
CreatePipelineJobRequest.Builder

This builder for chaining.

setPipelineJobIdBytes(ByteString value)

public CreatePipelineJobRequest.Builder setPipelineJobIdBytes(ByteString value)

The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated.

This value should be less than 128 characters, and valid characters are /a-z-/.

string pipeline_job_id = 3;

Parameter
NameDescription
valueByteString

The bytes for pipelineJobId to set.

Returns
TypeDescription
CreatePipelineJobRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreatePipelineJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePipelineJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePipelineJobRequest.Builder
Overrides