Class ListOptimalTrialsRequest.Builder (3.53.0)

public static final class ListOptimalTrialsRequest.Builder extends GeneratedMessageV3.Builder<ListOptimalTrialsRequest.Builder> implements ListOptimalTrialsRequestOrBuilder

Request message for VizierService.ListOptimalTrials.

Protobuf type google.cloud.aiplatform.v1beta1.ListOptimalTrialsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListOptimalTrialsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

build()

public ListOptimalTrialsRequest build()
Returns
Type Description
ListOptimalTrialsRequest

buildPartial()

public ListOptimalTrialsRequest buildPartial()
Returns
Type Description
ListOptimalTrialsRequest

clear()

public ListOptimalTrialsRequest.Builder clear()
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListOptimalTrialsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOptimalTrialsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

clearParent()

public ListOptimalTrialsRequest.Builder clearParent()

Required. The name of the Study that the optimal Trial belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListOptimalTrialsRequest.Builder

This builder for chaining.

clone()

public ListOptimalTrialsRequest.Builder clone()
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListOptimalTrialsRequest getDefaultInstanceForType()
Returns
Type Description
ListOptimalTrialsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The name of the Study that the optimal Trial belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the Study that the optimal Trial belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListOptimalTrialsRequest other)

public ListOptimalTrialsRequest.Builder mergeFrom(ListOptimalTrialsRequest other)
Parameter
Name Description
other ListOptimalTrialsRequest
Returns
Type Description
ListOptimalTrialsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListOptimalTrialsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListOptimalTrialsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOptimalTrialsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListOptimalTrialsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

setParent(String value)

public ListOptimalTrialsRequest.Builder setParent(String value)

Required. The name of the Study that the optimal Trial belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListOptimalTrialsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListOptimalTrialsRequest.Builder setParentBytes(ByteString value)

Required. The name of the Study that the optimal Trial belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListOptimalTrialsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListOptimalTrialsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOptimalTrialsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOptimalTrialsRequest.Builder
Overrides