Class CreateTrainingPipelineRequest.Builder (3.32.0)

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

Request message for PipelineService.CreateTrainingPipeline.

Protobuf type google.cloud.aiplatform.v1.CreateTrainingPipelineRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTrainingPipelineRequest build()
Returns
TypeDescription
CreateTrainingPipelineRequest

buildPartial()

public CreateTrainingPipelineRequest buildPartial()
Returns
TypeDescription
CreateTrainingPipelineRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTrainingPipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateTrainingPipelineRequest.Builder

This builder for chaining.

clearTrainingPipeline()

public CreateTrainingPipelineRequest.Builder clearTrainingPipeline()

Required. The TrainingPipeline to create.

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

Returns
TypeDescription
CreateTrainingPipelineRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateTrainingPipelineRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTrainingPipelineRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getTrainingPipeline()

public TrainingPipeline getTrainingPipeline()

Required. The TrainingPipeline to create.

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

Returns
TypeDescription
TrainingPipeline

The trainingPipeline.

getTrainingPipelineBuilder()

public TrainingPipeline.Builder getTrainingPipelineBuilder()

Required. The TrainingPipeline to create.

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

Returns
TypeDescription
TrainingPipeline.Builder

getTrainingPipelineOrBuilder()

public TrainingPipelineOrBuilder getTrainingPipelineOrBuilder()

Required. The TrainingPipeline to create.

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

Returns
TypeDescription
TrainingPipelineOrBuilder

hasTrainingPipeline()

public boolean hasTrainingPipeline()

Required. The TrainingPipeline to create.

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

Returns
TypeDescription
boolean

Whether the trainingPipeline field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTrainingPipelineRequest other)

public CreateTrainingPipelineRequest.Builder mergeFrom(CreateTrainingPipelineRequest other)
Parameter
NameDescription
otherCreateTrainingPipelineRequest
Returns
TypeDescription
CreateTrainingPipelineRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTrainingPipeline(TrainingPipeline value)

public CreateTrainingPipelineRequest.Builder mergeTrainingPipeline(TrainingPipeline value)

Required. The TrainingPipeline to create.

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

Parameter
NameDescription
valueTrainingPipeline
Returns
TypeDescription
CreateTrainingPipelineRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTrainingPipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateTrainingPipelineRequest.Builder
Overrides

setTrainingPipeline(TrainingPipeline value)

public CreateTrainingPipelineRequest.Builder setTrainingPipeline(TrainingPipeline value)

Required. The TrainingPipeline to create.

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

Parameter
NameDescription
valueTrainingPipeline
Returns
TypeDescription
CreateTrainingPipelineRequest.Builder

setTrainingPipeline(TrainingPipeline.Builder builderForValue)

public CreateTrainingPipelineRequest.Builder setTrainingPipeline(TrainingPipeline.Builder builderForValue)

Required. The TrainingPipeline to create.

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

Parameter
NameDescription
builderForValueTrainingPipeline.Builder
Returns
TypeDescription
CreateTrainingPipelineRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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