Class TrialContext (3.33.0)

public final class TrialContext extends GeneratedMessageV3 implements TrialContextOrBuilder

Next ID: 3

Protobuf type google.cloud.aiplatform.v1.TrialContext

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TrialContext getDefaultInstance()
Returns
TypeDescription
TrialContext

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TrialContext.Builder newBuilder()
Returns
TypeDescription
TrialContext.Builder

newBuilder(TrialContext prototype)

public static TrialContext.Builder newBuilder(TrialContext prototype)
Parameter
NameDescription
prototypeTrialContext
Returns
TypeDescription
TrialContext.Builder

parseDelimitedFrom(InputStream input)

public static TrialContext parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TrialContext parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrialContext parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TrialContext parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TrialContext parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TrialContext parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TrialContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrialContext
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TrialContext> parser()
Returns
TypeDescription
Parser<TrialContext>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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>

getParserForType()

public Parser<TrialContext> getParserForType()
Returns
TypeDescription
Parser<TrialContext>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TrialContext.Builder newBuilderForType()
Returns
TypeDescription
TrialContext.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrialContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TrialContext.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TrialContext.Builder toBuilder()
Returns
TypeDescription
TrialContext.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException