Package com.google.cloud.aiplatform.v1
Class StudySpec.ParameterSpec.ConditionalParameterSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder>
com.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.Builder
- All Implemented Interfaces:
StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StudySpec.ParameterSpec.ConditionalParameterSpec
public static final class StudySpec.ParameterSpec.ConditionalParameterSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder>
implements StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder
Represents a parameter spec with condition from its parent parameter.Protobuf type
google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.The spec for matching values from a parent parameter of `CATEGORICAL` type.The spec for matching values from a parent parameter of `DISCRETE` type.The spec for matching values from a parent parameter of `INTEGER` type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.Required.Required.The spec for matching values from a parent parameter of `CATEGORICAL` type.The spec for matching values from a parent parameter of `CATEGORICAL` type.The spec for matching values from a parent parameter of `CATEGORICAL` type.The spec for matching values from a parent parameter of `DISCRETE` type.The spec for matching values from a parent parameter of `DISCRETE` type.The spec for matching values from a parent parameter of `DISCRETE` type.The spec for matching values from a parent parameter of `INTEGER` type.The spec for matching values from a parent parameter of `INTEGER` type.The spec for matching values from a parent parameter of `INTEGER` type.booleanRequired.booleanThe spec for matching values from a parent parameter of `CATEGORICAL` type.booleanThe spec for matching values from a parent parameter of `DISCRETE` type.booleanThe spec for matching values from a parent parameter of `INTEGER` type.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.mergeParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value) The spec for matching values from a parent parameter of `CATEGORICAL` type.mergeParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value) The spec for matching values from a parent parameter of `DISCRETE` type.The spec for matching values from a parent parameter of `INTEGER` type.Required.setParameterSpec(StudySpec.ParameterSpec.Builder builderForValue) Required.setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value) The spec for matching values from a parent parameter of `CATEGORICAL` type.setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder builderForValue) The spec for matching values from a parent parameter of `CATEGORICAL` type.setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value) The spec for matching values from a parent parameter of `DISCRETE` type.setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder builderForValue) The spec for matching values from a parent parameter of `DISCRETE` type.The spec for matching values from a parent parameter of `INTEGER` type.setParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder builderForValue) The spec for matching values from a parent parameter of `INTEGER` type.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.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.GeneratedMessage.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder>
-
mergeFrom
public StudySpec.ParameterSpec.ConditionalParameterSpec.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<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder>- Throws:
IOException
-
getParentValueConditionCase
public StudySpec.ParameterSpec.ConditionalParameterSpec.ParentValueConditionCase getParentValueConditionCase()- Specified by:
getParentValueConditionCasein interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder
-
clearParentValueCondition
-
hasParentDiscreteValues
public boolean hasParentDiscreteValues()The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;- Specified by:
hasParentDiscreteValuesin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- Whether the parentDiscreteValues field is set.
-
getParentDiscreteValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition getParentDiscreteValues()The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;- Specified by:
getParentDiscreteValuesin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- The parentDiscreteValues.
-
setParentDiscreteValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value) The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2; -
setParentDiscreteValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder builderForValue) The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2; -
mergeParentDiscreteValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value) The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2; -
clearParentDiscreteValues
The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2; -
getParentDiscreteValuesBuilder
public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder getParentDiscreteValuesBuilder()The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2; -
getParentDiscreteValuesOrBuilder
public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder getParentDiscreteValuesOrBuilder()The spec for matching values from a parent parameter of `DISCRETE` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;- Specified by:
getParentDiscreteValuesOrBuilderin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder
-
hasParentIntValues
public boolean hasParentIntValues()The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;- Specified by:
hasParentIntValuesin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- Whether the parentIntValues field is set.
-
getParentIntValues
The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;- Specified by:
getParentIntValuesin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- The parentIntValues.
-
setParentIntValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition value) The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3; -
setParentIntValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder builderForValue) The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3; -
mergeParentIntValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition value) The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3; -
clearParentIntValues
The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3; -
getParentIntValuesBuilder
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder getParentIntValuesBuilder()The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3; -
getParentIntValuesOrBuilder
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionOrBuilder getParentIntValuesOrBuilder()The spec for matching values from a parent parameter of `INTEGER` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;- Specified by:
getParentIntValuesOrBuilderin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder
-
hasParentCategoricalValues
public boolean hasParentCategoricalValues()The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;- Specified by:
hasParentCategoricalValuesin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- Whether the parentCategoricalValues field is set.
-
getParentCategoricalValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition getParentCategoricalValues()The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;- Specified by:
getParentCategoricalValuesin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- The parentCategoricalValues.
-
setParentCategoricalValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value) The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4; -
setParentCategoricalValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder builderForValue) The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4; -
mergeParentCategoricalValues
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value) The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4; -
clearParentCategoricalValues
The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4; -
getParentCategoricalValuesBuilder
public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder getParentCategoricalValuesBuilder()The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4; -
getParentCategoricalValuesOrBuilder
public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionOrBuilder getParentCategoricalValuesOrBuilder()The spec for matching values from a parent parameter of `CATEGORICAL` type.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;- Specified by:
getParentCategoricalValuesOrBuilderin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder
-
hasParameterSpec
public boolean hasParameterSpec()Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasParameterSpecin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- Whether the parameterSpec field is set.
-
getParameterSpec
Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParameterSpecin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder- Returns:
- The parameterSpec.
-
setParameterSpec
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParameterSpec(StudySpec.ParameterSpec value) Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
setParameterSpec
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParameterSpec(StudySpec.ParameterSpec.Builder builderForValue) Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeParameterSpec
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParameterSpec(StudySpec.ParameterSpec value) Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearParameterSpec
Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
getParameterSpecBuilder
Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED]; -
getParameterSpecOrBuilder
Required. The spec for a conditional parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParameterSpecOrBuilderin interfaceStudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder
-