Class TrialContext.Builder (3.55.0)

public static final class TrialContext.Builder extends GeneratedMessageV3.Builder<TrialContext.Builder> implements TrialContextOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.TrialContext

Static Methods

getDescriptor()

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

Methods

addAllParameters(Iterable<? extends Trial.Parameter> values)

public TrialContext.Builder addAllParameters(Iterable<? extends Trial.Parameter> values)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Trial.Parameter>
Returns
Type Description
TrialContext.Builder

addParameters(Trial.Parameter value)

public TrialContext.Builder addParameters(Trial.Parameter value)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
value Trial.Parameter
Returns
Type Description
TrialContext.Builder

addParameters(Trial.Parameter.Builder builderForValue)

public TrialContext.Builder addParameters(Trial.Parameter.Builder builderForValue)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
builderForValue Trial.Parameter.Builder
Returns
Type Description
TrialContext.Builder

addParameters(int index, Trial.Parameter value)

public TrialContext.Builder addParameters(int index, Trial.Parameter value)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameters
Name Description
index int
value Trial.Parameter
Returns
Type Description
TrialContext.Builder

addParameters(int index, Trial.Parameter.Builder builderForValue)

public TrialContext.Builder addParameters(int index, Trial.Parameter.Builder builderForValue)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameters
Name Description
index int
builderForValue Trial.Parameter.Builder
Returns
Type Description
TrialContext.Builder

addParametersBuilder()

public Trial.Parameter.Builder addParametersBuilder()

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Returns
Type Description
Trial.Parameter.Builder

addParametersBuilder(int index)

public Trial.Parameter.Builder addParametersBuilder(int index)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
Trial.Parameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrialContext build()
Returns
Type Description
TrialContext

buildPartial()

public TrialContext buildPartial()
Returns
Type Description
TrialContext

clear()

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

clearDescription()

public TrialContext.Builder clearDescription()

A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.

string description = 1;

Returns
Type Description
TrialContext.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public TrialContext.Builder clearParameters()

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Returns
Type Description
TrialContext.Builder

clone()

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

getDefaultInstanceForType()

public TrialContext getDefaultInstanceForType()
Returns
Type Description
TrialContext

getDescription()

public String getDescription()

A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getParameters(int index)

public Trial.Parameter getParameters(int index)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
Trial.Parameter

getParametersBuilder(int index)

public Trial.Parameter.Builder getParametersBuilder(int index)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
Trial.Parameter.Builder

getParametersBuilderList()

public List<Trial.Parameter.Builder> getParametersBuilderList()

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Returns
Type Description
int

getParametersList()

public List<Trial.Parameter> getParametersList()

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Returns
Type Description
List<Parameter>

getParametersOrBuilder(int index)

public Trial.ParameterOrBuilder getParametersOrBuilder(int index)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
Trial.ParameterOrBuilder

getParametersOrBuilderList()

public List<? extends Trial.ParameterOrBuilder> getParametersOrBuilderList()

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.Trial.ParameterOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrialContext other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeParameters(int index)

public TrialContext.Builder removeParameters(int index)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
TrialContext.Builder

setDescription(String value)

public TrialContext.Builder setDescription(String value)

A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.

string description = 1;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
TrialContext.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public TrialContext.Builder setDescriptionBytes(ByteString value)

A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.

string description = 1;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
TrialContext.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParameters(int index, Trial.Parameter value)

public TrialContext.Builder setParameters(int index, Trial.Parameter value)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameters
Name Description
index int
value Trial.Parameter
Returns
Type Description
TrialContext.Builder

setParameters(int index, Trial.Parameter.Builder builderForValue)

public TrialContext.Builder setParameters(int index, Trial.Parameter.Builder builderForValue)

If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;

Parameters
Name Description
index int
builderForValue Trial.Parameter.Builder
Returns
Type Description
TrialContext.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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