Class ListOptimalTrialsRequest.Builder (3.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListOptimalTrialsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides

build()

public ListOptimalTrialsRequest build()
Returns
TypeDescription
ListOptimalTrialsRequest

buildPartial()

public ListOptimalTrialsRequest buildPartial()
Returns
TypeDescription
ListOptimalTrialsRequest

clear()

public ListOptimalTrialsRequest.Builder clear()
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListOptimalTrialsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOptimalTrialsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListOptimalTrialsRequest.Builder

This builder for chaining.

clone()

public ListOptimalTrialsRequest.Builder clone()
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListOptimalTrialsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListOptimalTrialsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListOptimalTrialsRequest other)

public ListOptimalTrialsRequest.Builder mergeFrom(ListOptimalTrialsRequest other)
Parameter
NameDescription
otherListOptimalTrialsRequest
Returns
TypeDescription
ListOptimalTrialsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListOptimalTrialsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListOptimalTrialsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOptimalTrialsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListOptimalTrialsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOptimalTrialsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListOptimalTrialsRequest.Builder
Overrides