Class CreateTrainingPipelineRequest.Builder (3.77.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateTrainingPipelineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateTrainingPipelineRequest build()
public CreateTrainingPipelineRequest buildPartial()
public CreateTrainingPipelineRequest.Builder clear()
Overrides
public CreateTrainingPipelineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateTrainingPipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateTrainingPipelineRequest.Builder clearTrainingPipeline()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateTrainingPipelineRequest.Builder clone()
Overrides
public CreateTrainingPipelineRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
public TrainingPipeline getTrainingPipeline()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
public TrainingPipeline.Builder getTrainingPipelineBuilder()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
public TrainingPipelineOrBuilder getTrainingPipelineOrBuilder()
Required. The TrainingPipeline to create.
.google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
public final boolean isInitialized()
Overrides
public CreateTrainingPipelineRequest.Builder mergeFrom(CreateTrainingPipelineRequest other)
public CreateTrainingPipelineRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateTrainingPipelineRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
public final CreateTrainingPipelineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateTrainingPipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public CreateTrainingPipelineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
public final CreateTrainingPipelineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]