Class TrialContext.Builder (3.34.0)

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

Next ID: 3

Protobuf type google.cloud.aiplatform.v1.TrialContext

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Trial.Parameter>
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
valueTrial.Parameter
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
builderForValueTrial.Parameter.Builder
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameters
NameDescription
indexint
valueTrial.Parameter
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameters
NameDescription
indexint
builderForValueTrial.Parameter.Builder
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Trial.Parameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrialContext build()
Returns
TypeDescription
TrialContext

buildPartial()

public TrialContext buildPartial()
Returns
TypeDescription
TrialContext

clear()

public TrialContext.Builder clear()
Returns
TypeDescription
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
TypeDescription
TrialContext.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TrialContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Returns
TypeDescription
TrialContext.Builder

clone()

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

getDefaultInstanceForType()

public TrialContext getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.Trial.ParameterOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TrialContext other)

public TrialContext.Builder mergeFrom(TrialContext other)
Parameter
NameDescription
otherTrialContext
Returns
TypeDescription
TrialContext.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrialContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

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

The bytes for description to set.

Returns
TypeDescription
TrialContext.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TrialContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameters
NameDescription
indexint
valueTrial.Parameter
Returns
TypeDescription
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.v1.Trial.Parameter parameters = 2;

Parameters
NameDescription
indexint
builderForValueTrial.Parameter.Builder
Returns
TypeDescription
TrialContext.Builder

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

public TrialContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TrialContext.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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