Class TrialContext (3.52.0)

public final class TrialContext extends GeneratedMessageV3 implements TrialContextOrBuilder

Protobuf type google.cloud.aiplatform.v1.TrialContext

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TrialContext getDefaultInstance()
Returns
Type Description
TrialContext

getDescriptor()

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

newBuilder()

public static TrialContext.Builder newBuilder()
Returns
Type Description
TrialContext.Builder

newBuilder(TrialContext prototype)

public static TrialContext.Builder newBuilder(TrialContext prototype)
Parameter
Name Description
prototype TrialContext
Returns
Type Description
TrialContext.Builder

parseDelimitedFrom(InputStream input)

public static TrialContext parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrialContext
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrialContext
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TrialContext parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TrialContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrialContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrialContext parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TrialContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrialContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TrialContext parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TrialContext
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrialContext
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TrialContext parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrialContext
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrialContext
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TrialContext parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TrialContext
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrialContext
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TrialContext> parser()
Returns
Type Description
Parser<TrialContext>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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
Name Description
index int
Returns
Type Description
Trial.Parameter

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

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

getParserForType()

public Parser<TrialContext> getParserForType()
Returns
Type Description
Parser<TrialContext>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TrialContext.Builder newBuilderForType()
Returns
Type Description
TrialContext.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrialContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TrialContext.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TrialContext.Builder toBuilder()
Returns
Type Description
TrialContext.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException