public static final class CreateTrialRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateTrialRequest.Builder> implements CreateTrialRequestOrBuilder
Request message for [VizierService.CreateTrial][google.cloud.aiplatform.v1.VizierService.CreateTrial].Protobuf type
google.cloud.aiplatform.v1.CreateTrialRequestaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateTrialRequest.Builder>public CreateTrialRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CreateTrialRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateTrialRequest.Builder>public CreateTrialRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateTrialRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateTrialRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateTrialRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTrialRequest.Builder>public CreateTrialRequest.Builder mergeFrom(CreateTrialRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateTrialRequest.Builder>public CreateTrialRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTrialRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the Study to create the Trial in.
Format: `projects/{project}/locations/{location}/studies/{study}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateTrialRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the Study to create the Trial in.
Format: `projects/{project}/locations/{location}/studies/{study}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateTrialRequestOrBuilderpublic CreateTrialRequest.Builder setParent(String value)
Required. The resource name of the Study to create the Trial in.
Format: `projects/{project}/locations/{location}/studies/{study}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreateTrialRequest.Builder clearParent()
Required. The resource name of the Study to create the Trial in.
Format: `projects/{project}/locations/{location}/studies/{study}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateTrialRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Study to create the Trial in.
Format: `projects/{project}/locations/{location}/studies/{study}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasTrial()
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
hasTrial in interface CreateTrialRequestOrBuilderpublic Trial getTrial()
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
getTrial in interface CreateTrialRequestOrBuilderpublic CreateTrialRequest.Builder setTrial(Trial value)
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateTrialRequest.Builder setTrial(Trial.Builder builderForValue)
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateTrialRequest.Builder mergeTrial(Trial value)
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateTrialRequest.Builder clearTrial()
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
public Trial.Builder getTrialBuilder()
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
public TrialOrBuilder getTrialOrBuilder()
Required. The Trial to create.
.google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
getTrialOrBuilder in interface CreateTrialRequestOrBuilderCopyright © 2026 Google LLC. All rights reserved.