Class CreateTrainingPipelineRequest.Builder (3.54.0)

public static final class CreateTrainingPipelineRequest.Builder extends GeneratedMessageV3.Builder<CreateTrainingPipelineRequest.Builder> implements CreateTrainingPipelineRequestOrBuilder

Request message for PipelineService.CreateTrainingPipeline.

Protobuf type google.cloud.aiplatform.v1beta1.CreateTrainingPipelineRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTrainingPipelineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

build()

public CreateTrainingPipelineRequest build()
Returns
Type Description
CreateTrainingPipelineRequest

buildPartial()

public CreateTrainingPipelineRequest buildPartial()
Returns
Type Description
CreateTrainingPipelineRequest

clear()

public CreateTrainingPipelineRequest.Builder clear()
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateTrainingPipelineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTrainingPipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

clearParent()

public CreateTrainingPipelineRequest.Builder clearParent()

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

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

Returns
Type Description
CreateTrainingPipelineRequest.Builder

This builder for chaining.

clearTrainingPipeline()

public CreateTrainingPipelineRequest.Builder clearTrainingPipeline()

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTrainingPipelineRequest.Builder

clone()

public CreateTrainingPipelineRequest.Builder clone()
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateTrainingPipelineRequest getDefaultInstanceForType()
Returns
Type Description
CreateTrainingPipelineRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

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

Returns
Type Description
ByteString

The bytes for parent.

getTrainingPipeline()

public TrainingPipeline getTrainingPipeline()

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrainingPipeline

The trainingPipeline.

getTrainingPipelineBuilder()

public TrainingPipeline.Builder getTrainingPipelineBuilder()

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrainingPipeline.Builder

getTrainingPipelineOrBuilder()

public TrainingPipelineOrBuilder getTrainingPipelineOrBuilder()

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrainingPipelineOrBuilder

hasTrainingPipeline()

public boolean hasTrainingPipeline()

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the trainingPipeline field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTrainingPipelineRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTrainingPipeline(TrainingPipeline value)

public CreateTrainingPipelineRequest.Builder mergeTrainingPipeline(TrainingPipeline value)

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TrainingPipeline
Returns
Type Description
CreateTrainingPipelineRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTrainingPipelineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTrainingPipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

setParent(String value)

public CreateTrainingPipelineRequest.Builder setParent(String value)

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateTrainingPipelineRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTrainingPipelineRequest.Builder setParentBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateTrainingPipelineRequest.Builder

This builder for chaining.

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

public CreateTrainingPipelineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides

setTrainingPipeline(TrainingPipeline value)

public CreateTrainingPipelineRequest.Builder setTrainingPipeline(TrainingPipeline value)

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TrainingPipeline
Returns
Type Description
CreateTrainingPipelineRequest.Builder

setTrainingPipeline(TrainingPipeline.Builder builderForValue)

public CreateTrainingPipelineRequest.Builder setTrainingPipeline(TrainingPipeline.Builder builderForValue)

Required. The TrainingPipeline to create.

.google.cloud.aiplatform.v1beta1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TrainingPipeline.Builder
Returns
Type Description
CreateTrainingPipelineRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTrainingPipelineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateTrainingPipelineRequest.Builder
Overrides