Package com.google.cloud.aiplatform.v1
Class TrialContext.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
- com.google.cloud.aiplatform.v1.TrialContext.Builder
-
- All Implemented Interfaces:
TrialContextOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TrialContext
public static final class TrialContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder> implements TrialContextOrBuilder
Next ID: 3
Protobuf typegoogle.cloud.aiplatform.v1.TrialContext
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TrialContext.BuilderaddAllParameters(Iterable<? extends Trial.Parameter> values)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.BuilderaddParameters(int index, Trial.Parameter value)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.BuilderaddParameters(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.TrialContext.BuilderaddParameters(Trial.Parameter value)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.BuilderaddParameters(Trial.Parameter.Builder builderForValue)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.Trial.Parameter.BuilderaddParametersBuilder()If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.Trial.Parameter.BuilderaddParametersBuilder(int index)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TrialContextbuild()TrialContextbuildPartial()TrialContext.Builderclear()TrialContext.BuilderclearDescription()A human-readable field which can store a description of this context.TrialContext.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TrialContext.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TrialContext.BuilderclearParameters()If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.Builderclone()TrialContextgetDefaultInstanceForType()StringgetDescription()A human-readable field which can store a description of this context.com.google.protobuf.ByteStringgetDescriptionBytes()A human-readable field which can store a description of this context.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Trial.ParametergetParameters(int index)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.Trial.Parameter.BuildergetParametersBuilder(int index)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.List<Trial.Parameter.Builder>getParametersBuilderList()If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.intgetParametersCount()If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.List<Trial.Parameter>getParametersList()If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.Trial.ParameterOrBuildergetParametersOrBuilder(int index)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.List<? extends Trial.ParameterOrBuilder>getParametersOrBuilderList()If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TrialContext.BuildermergeFrom(TrialContext other)TrialContext.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TrialContext.BuildermergeFrom(com.google.protobuf.Message other)TrialContext.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TrialContext.BuilderremoveParameters(int index)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.BuildersetDescription(String value)A human-readable field which can store a description of this context.TrialContext.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A human-readable field which can store a description of this context.TrialContext.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TrialContext.BuildersetParameters(int index, Trial.Parameter value)If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.BuildersetParameters(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.TrialContext.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TrialContext.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
clear
public TrialContext.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
getDefaultInstanceForType
public TrialContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TrialContext build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TrialContext buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TrialContext.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
setField
public TrialContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
clearField
public TrialContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
clearOneof
public TrialContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
setRepeatedField
public TrialContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
addRepeatedField
public TrialContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
mergeFrom
public TrialContext.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TrialContext.Builder>
-
mergeFrom
public TrialContext.Builder mergeFrom(TrialContext other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
mergeFrom
public TrialContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TrialContext.Builder>- Throws:
IOException
-
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;- Specified by:
getDescriptionin interfaceTrialContextOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.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;- Specified by:
getDescriptionBytesin interfaceTrialContextOrBuilder- Returns:
- The bytes for description.
-
setDescription
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;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDescriptionBytes
public TrialContext.Builder setDescriptionBytes(com.google.protobuf.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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getParametersListin interfaceTrialContextOrBuilder
-
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;- Specified by:
getParametersCountin interfaceTrialContextOrBuilder
-
getParameters
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;- Specified by:
getParametersin interfaceTrialContextOrBuilder
-
setParameters
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;
-
setParameters
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;
-
addParameters
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;
-
addParameters
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;
-
addParameters
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;
-
addParameters
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;
-
addAllParameters
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;
-
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;
-
removeParameters
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;
-
getParametersBuilder
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;
-
getParametersOrBuilder
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;- Specified by:
getParametersOrBuilderin interfaceTrialContextOrBuilder
-
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;- Specified by:
getParametersOrBuilderListin interfaceTrialContextOrBuilder
-
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;
-
addParametersBuilder
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;
-
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;
-
setUnknownFields
public final TrialContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
mergeUnknownFields
public final TrialContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
-