Package com.google.cloud.aiplatform.v1
Class Trial
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1.Trial
-
- All Implemented Interfaces:
TrialOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Trial extends com.google.protobuf.GeneratedMessageV3 implements TrialOrBuilder
A message representing a Trial. A Trial contains a unique set of Parameters that has been or will be evaluated, along with the objective metrics got by running the Trial.
Protobuf typegoogle.cloud.aiplatform.v1.Trial- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrial.BuilderA message representing a Trial.static classTrial.ParameterA message representing a parameter to be tuned.static interfaceTrial.ParameterOrBuilderstatic classTrial.StateDescribes a Trial state.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_ID_FIELD_NUMBERstatic intCUSTOM_JOB_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intFINAL_MEASUREMENT_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINFEASIBLE_REASON_FIELD_NUMBERstatic intMEASUREMENTS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPARAMETERS_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intWEB_ACCESS_URIS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsWebAccessUris(String key)Output only.booleanequals(Object obj)StringgetClientId()Output only.com.google.protobuf.ByteStringgetClientIdBytes()Output only.StringgetCustomJob()Output only.com.google.protobuf.ByteStringgetCustomJobBytes()Output only.static TrialgetDefaultInstance()TrialgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.MeasurementgetFinalMeasurement()Output only.MeasurementOrBuildergetFinalMeasurementOrBuilder()Output only.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.StringgetInfeasibleReason()Output only.com.google.protobuf.ByteStringgetInfeasibleReasonBytes()Output only.MeasurementgetMeasurements(int index)Output only.intgetMeasurementsCount()Output only.List<Measurement>getMeasurementsList()Output only.MeasurementOrBuildergetMeasurementsOrBuilder(int index)Output only.List<? extends MeasurementOrBuilder>getMeasurementsOrBuilderList()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Trial.ParametergetParameters(int index)Output only.intgetParametersCount()Output only.List<Trial.Parameter>getParametersList()Output only.Trial.ParameterOrBuildergetParametersOrBuilder(int index)Output only.List<? extends Trial.ParameterOrBuilder>getParametersOrBuilderList()Output only.com.google.protobuf.Parser<Trial>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.Trial.StategetState()Output only.intgetStateValue()Output only.Map<String,String>getWebAccessUris()Deprecated.intgetWebAccessUrisCount()Output only.Map<String,String>getWebAccessUrisMap()Output only.StringgetWebAccessUrisOrDefault(String key, String defaultValue)Output only.StringgetWebAccessUrisOrThrow(String key)Output only.booleanhasEndTime()Output only.booleanhasFinalMeasurement()Output only.inthashCode()booleanhasStartTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Trial.BuildernewBuilder()static Trial.BuildernewBuilder(Trial prototype)Trial.BuildernewBuilderForType()protected Trial.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TrialparseDelimitedFrom(InputStream input)static TrialparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TrialparseFrom(byte[] data)static TrialparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TrialparseFrom(com.google.protobuf.ByteString data)static TrialparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TrialparseFrom(com.google.protobuf.CodedInputStream input)static TrialparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TrialparseFrom(InputStream input)static TrialparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TrialparseFrom(ByteBuffer data)static TrialparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Trial>parser()Trial.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_MEASUREMENT_FIELD_NUMBER
public static final int FINAL_MEASUREMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEASUREMENTS_FIELD_NUMBER
public static final int MEASUREMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFEASIBLE_REASON_FIELD_NUMBER
public static final int INFEASIBLE_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_JOB_FIELD_NUMBER
public static final int CUSTOM_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEB_ACCESS_URIS_FIELD_NUMBER
public static final int WEB_ACCESS_URIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Resource name of the Trial assigned by the service.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceTrialOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the Trial assigned by the service.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceTrialOrBuilder- Returns:
- The bytes for name.
-
getId
public String getId()
Output only. The identifier of the Trial assigned by the service.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceTrialOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Output only. The identifier of the Trial assigned by the service.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceTrialOrBuilder- Returns:
- The bytes for id.
-
getStateValue
public int getStateValue()
Output only. The detailed state of the Trial.
.google.cloud.aiplatform.v1.Trial.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceTrialOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public Trial.State getState()
Output only. The detailed state of the Trial.
.google.cloud.aiplatform.v1.Trial.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceTrialOrBuilder- Returns:
- The state.
-
getParametersList
public List<Trial.Parameter> getParametersList()
Output only. The parameters of the Trial.
repeated .google.cloud.aiplatform.v1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParametersListin interfaceTrialOrBuilder
-
getParametersOrBuilderList
public List<? extends Trial.ParameterOrBuilder> getParametersOrBuilderList()
Output only. The parameters of the Trial.
repeated .google.cloud.aiplatform.v1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParametersOrBuilderListin interfaceTrialOrBuilder
-
getParametersCount
public int getParametersCount()
Output only. The parameters of the Trial.
repeated .google.cloud.aiplatform.v1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParametersCountin interfaceTrialOrBuilder
-
getParameters
public Trial.Parameter getParameters(int index)
Output only. The parameters of the Trial.
repeated .google.cloud.aiplatform.v1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParametersin interfaceTrialOrBuilder
-
getParametersOrBuilder
public Trial.ParameterOrBuilder getParametersOrBuilder(int index)
Output only. The parameters of the Trial.
repeated .google.cloud.aiplatform.v1.Trial.Parameter parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getParametersOrBuilderin interfaceTrialOrBuilder
-
hasFinalMeasurement
public boolean hasFinalMeasurement()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFinalMeasurementin interfaceTrialOrBuilder- Returns:
- Whether the finalMeasurement field is set.
-
getFinalMeasurement
public Measurement getFinalMeasurement()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFinalMeasurementin interfaceTrialOrBuilder- Returns:
- The finalMeasurement.
-
getFinalMeasurementOrBuilder
public MeasurementOrBuilder getFinalMeasurementOrBuilder()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFinalMeasurementOrBuilderin interfaceTrialOrBuilder
-
getMeasurementsList
public List<Measurement> getMeasurementsList()
Output only. A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
repeated .google.cloud.aiplatform.v1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMeasurementsListin interfaceTrialOrBuilder
-
getMeasurementsOrBuilderList
public List<? extends MeasurementOrBuilder> getMeasurementsOrBuilderList()
Output only. A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
repeated .google.cloud.aiplatform.v1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMeasurementsOrBuilderListin interfaceTrialOrBuilder
-
getMeasurementsCount
public int getMeasurementsCount()
Output only. A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
repeated .google.cloud.aiplatform.v1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMeasurementsCountin interfaceTrialOrBuilder
-
getMeasurements
public Measurement getMeasurements(int index)
Output only. A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
repeated .google.cloud.aiplatform.v1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMeasurementsin interfaceTrialOrBuilder
-
getMeasurementsOrBuilder
public MeasurementOrBuilder getMeasurementsOrBuilder(int index)
Output only. A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.
repeated .google.cloud.aiplatform.v1.Measurement measurements = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMeasurementsOrBuilderin interfaceTrialOrBuilder
-
hasStartTime
public boolean hasStartTime()
Output only. Time when the Trial was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceTrialOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Output only. Time when the Trial was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceTrialOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time when the Trial was started.
.google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceTrialOrBuilder
-
hasEndTime
public boolean hasEndTime()
Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceTrialOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceTrialOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceTrialOrBuilder
-
getClientId
public String getClientId()
Output only. The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
string client_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClientIdin interfaceTrialOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
Output only. The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.
string client_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClientIdBytesin interfaceTrialOrBuilder- Returns:
- The bytes for clientId.
-
getInfeasibleReason
public String getInfeasibleReason()
Output only. A human readable string describing why the Trial is infeasible. This is set only if Trial state is `INFEASIBLE`.
string infeasible_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInfeasibleReasonin interfaceTrialOrBuilder- Returns:
- The infeasibleReason.
-
getInfeasibleReasonBytes
public com.google.protobuf.ByteString getInfeasibleReasonBytes()
Output only. A human readable string describing why the Trial is infeasible. This is set only if Trial state is `INFEASIBLE`.
string infeasible_reason = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInfeasibleReasonBytesin interfaceTrialOrBuilder- Returns:
- The bytes for infeasibleReason.
-
getCustomJob
public String getCustomJob()
Output only. The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
string custom_job = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCustomJobin interfaceTrialOrBuilder- Returns:
- The customJob.
-
getCustomJobBytes
public com.google.protobuf.ByteString getCustomJobBytes()
Output only. The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.
string custom_job = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCustomJobBytesin interfaceTrialOrBuilder- Returns:
- The bytes for customJob.
-
getWebAccessUrisCount
public int getWebAccessUrisCount()
Description copied from interface:TrialOrBuilderOutput only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a [HyperparameterTuningJob][google.cloud.aiplatform.v1.HyperparameterTuningJob] and the job's [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] field is `true`. The keys are names of each node used for the trial; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWebAccessUrisCountin interfaceTrialOrBuilder
-
containsWebAccessUris
public boolean containsWebAccessUris(String key)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a [HyperparameterTuningJob][google.cloud.aiplatform.v1.HyperparameterTuningJob] and the job's [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] field is `true`. The keys are names of each node used for the trial; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsWebAccessUrisin interfaceTrialOrBuilder
-
getWebAccessUris
@Deprecated public Map<String,String> getWebAccessUris()
Deprecated.UsegetWebAccessUrisMap()instead.- Specified by:
getWebAccessUrisin interfaceTrialOrBuilder
-
getWebAccessUrisMap
public Map<String,String> getWebAccessUrisMap()
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a [HyperparameterTuningJob][google.cloud.aiplatform.v1.HyperparameterTuningJob] and the job's [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] field is `true`. The keys are names of each node used for the trial; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWebAccessUrisMapin interfaceTrialOrBuilder
-
getWebAccessUrisOrDefault
public String getWebAccessUrisOrDefault(String key, String defaultValue)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a [HyperparameterTuningJob][google.cloud.aiplatform.v1.HyperparameterTuningJob] and the job's [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] field is `true`. The keys are names of each node used for the trial; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWebAccessUrisOrDefaultin interfaceTrialOrBuilder
-
getWebAccessUrisOrThrow
public String getWebAccessUrisOrThrow(String key)
Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a [HyperparameterTuningJob][google.cloud.aiplatform.v1.HyperparameterTuningJob] and the job's [trial_job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] field is `true`. The keys are names of each node used for the trial; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.
map<string, string> web_access_uris = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWebAccessUrisOrThrowin interfaceTrialOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Trial parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trial parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trial parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trial parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trial parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trial parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trial parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Trial parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Trial parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Trial parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Trial parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Trial parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Trial.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Trial.Builder newBuilder()
-
newBuilder
public static Trial.Builder newBuilder(Trial prototype)
-
toBuilder
public Trial.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Trial.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Trial getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Trial> parser()
-
getParserForType
public com.google.protobuf.Parser<Trial> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Trial getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-