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
Methods
public CreateTrainingPipelineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateTrainingPipelineRequest build()
Returns
public CreateTrainingPipelineRequest buildPartial()
Returns
public CreateTrainingPipelineRequest.Builder clear()
Returns
Overrides
public CreateTrainingPipelineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateTrainingPipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateTrainingPipelineRequest.Builder clearTrainingPipeline()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateTrainingPipelineRequest.Builder clone()
Returns
Overrides
public CreateTrainingPipelineRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
public TrainingPipeline getTrainingPipeline()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public TrainingPipeline.Builder getTrainingPipelineBuilder()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public TrainingPipelineOrBuilder getTrainingPipelineOrBuilder()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public boolean hasTrainingPipeline()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the trainingPipeline field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateTrainingPipelineRequest.Builder mergeFrom(CreateTrainingPipelineRequest other)
Parameter
Returns
public CreateTrainingPipelineRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateTrainingPipelineRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
public final CreateTrainingPipelineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateTrainingPipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public CreateTrainingPipelineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
public final CreateTrainingPipelineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides