public static final class CreateTrialRequest.Builder extends GeneratedMessage.Builder<CreateTrialRequest.Builder> implements CreateTrialRequestOrBuilderRequest message for VizierService.CreateTrial.
Protobuf type google.cloud.aiplatform.v1beta1.CreateTrialRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateTrialRequest.BuilderImplements
CreateTrialRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateTrialRequest build()| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest |
|
buildPartial()
public CreateTrialRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest |
|
clear()
public CreateTrialRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|
clearParent()
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
This builder for chaining. |
clearTrial()
public CreateTrialRequest.Builder clearTrial()Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|
getDefaultInstanceForType()
public CreateTrialRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getTrial()
public Trial getTrial()Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Trial |
The trial. |
getTrialBuilder()
public Trial.Builder getTrialBuilder()Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Trial.Builder |
|
getTrialOrBuilder()
public TrialOrBuilder getTrialOrBuilder()Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TrialOrBuilder |
|
hasTrial()
public boolean hasTrial()Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the trial field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateTrialRequest other)
public CreateTrialRequest.Builder mergeFrom(CreateTrialRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateTrialRequest |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateTrialRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateTrialRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|
mergeTrial(Trial value)
public CreateTrialRequest.Builder mergeTrial(Trial value)Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Trial |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|
setParent(String value)
public 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateTrialRequest.Builder setParentBytes(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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
This builder for chaining. |
setTrial(Trial value)
public CreateTrialRequest.Builder setTrial(Trial value)Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Trial |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|
setTrial(Trial.Builder builderForValue)
public CreateTrialRequest.Builder setTrial(Trial.Builder builderForValue)Required. The Trial to create.
.google.cloud.aiplatform.v1beta1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Trial.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateTrialRequest.Builder |
|