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.v1beta1.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.v1beta1.TrialContext
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.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.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.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.Trial.Parameter.Builder
addParametersBuilder()
If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.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.TrialContext.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TrialContext
build()
TrialContext
buildPartial()
TrialContext.Builder
clear()
TrialContext.Builder
clearDescription()
A human-readable field which can store a description of this context.TrialContext.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TrialContext.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TrialContext.Builder
clearParameters()
If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.Builder
clone()
TrialContext
getDefaultInstanceForType()
String
getDescription()
A human-readable field which can store a description of this context.com.google.protobuf.ByteString
getDescriptionBytes()
A human-readable field which can store a description of this context.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Trial.Parameter
getParameters(int index)
If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.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.List<Trial.Parameter.Builder>
getParametersBuilderList()
If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.int
getParametersCount()
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.ParameterOrBuilder
getParametersOrBuilder(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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TrialContext.Builder
mergeFrom(TrialContext other)
TrialContext.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TrialContext.Builder
mergeFrom(com.google.protobuf.Message other)
TrialContext.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TrialContext.Builder
removeParameters(int index)
If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here.TrialContext.Builder
setDescription(String value)
A human-readable field which can store a description of this context.TrialContext.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A human-readable field which can store a description of this context.TrialContext.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.TrialContext.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TrialContext.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
clear
public TrialContext.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
getDefaultInstanceForType
public TrialContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TrialContext build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TrialContext buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TrialContext.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
setField
public TrialContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
clearField
public TrialContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
clearOneof
public TrialContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
setRepeatedField
public TrialContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
addRepeatedField
public TrialContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
mergeFrom
public TrialContext.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TrialContext.Builder>
-
mergeFrom
public TrialContext.Builder mergeFrom(TrialContext other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getDescription
in 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:
getDescriptionBytes
in 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.v1beta1.Trial.Parameter parameters = 2;
- Specified by:
getParametersList
in 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.v1beta1.Trial.Parameter parameters = 2;
- Specified by:
getParametersCount
in 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.v1beta1.Trial.Parameter parameters = 2;
- Specified by:
getParameters
in 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Trial.Parameter parameters = 2;
- Specified by:
getParametersOrBuilder
in 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.v1beta1.Trial.Parameter parameters = 2;
- Specified by:
getParametersOrBuilderList
in 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.v1beta1.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.v1beta1.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.v1beta1.Trial.Parameter parameters = 2;
-
setUnknownFields
public final TrialContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
mergeUnknownFields
public final TrialContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
-
-