Package com.google.cloud.aiplatform.v1
Class StudySpec.ParameterSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.StudySpec.ParameterSpec
- All Implemented Interfaces:
StudySpec.ParameterSpecOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- StudySpec
public static final class StudySpec.ParameterSpec
extends com.google.protobuf.GeneratedMessage
implements StudySpec.ParameterSpecOrBuilder
Represents a single parameter to optimize.Protobuf type
google.cloud.aiplatform.v1.StudySpec.ParameterSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a single parameter to optimize.static final classValue specification for a parameter in `CATEGORICAL` type.static interfacestatic final classRepresents a parameter spec with condition from its parent parameter.static interfacestatic final classValue specification for a parameter in `DISCRETE` type.static interfacestatic final classValue specification for a parameter in `DOUBLE` type.static interfacestatic final classValue specification for a parameter in `INTEGER` type.static interfacestatic enumstatic enumThe type of scaling that should be applied to this parameter.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe value spec for a 'CATEGORICAL' parameter.The value spec for a 'CATEGORICAL' parameter.getConditionalParameterSpecs(int index) A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.intA conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.getConditionalParameterSpecsOrBuilder(int index) A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.static StudySpec.ParameterSpecstatic final com.google.protobuf.Descriptors.DescriptorThe value spec for a 'DISCRETE' parameter.The value spec for a 'DISCRETE' parameter.The value spec for a 'DOUBLE' parameter.The value spec for a 'DOUBLE' parameter.The value spec for an 'INTEGER' parameter.The value spec for an 'INTEGER' parameter.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<StudySpec.ParameterSpec>How the parameter should be scaled.intHow the parameter should be scaled.intbooleanThe value spec for a 'CATEGORICAL' parameter.booleanThe value spec for a 'DISCRETE' parameter.booleanThe value spec for a 'DOUBLE' parameter.inthashCode()booleanThe value spec for an 'INTEGER' parameter.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(StudySpec.ParameterSpec prototype) protected StudySpec.ParameterSpec.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StudySpec.ParameterSpecparseDelimitedFrom(InputStream input) static StudySpec.ParameterSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StudySpec.ParameterSpecparseFrom(byte[] data) static StudySpec.ParameterSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StudySpec.ParameterSpecparseFrom(com.google.protobuf.ByteString data) static StudySpec.ParameterSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StudySpec.ParameterSpecparseFrom(com.google.protobuf.CodedInputStream input) static StudySpec.ParameterSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StudySpec.ParameterSpecparseFrom(InputStream input) static StudySpec.ParameterSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StudySpec.ParameterSpecparseFrom(ByteBuffer data) static StudySpec.ParameterSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StudySpec.ParameterSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DOUBLE_VALUE_SPEC_FIELD_NUMBER
public static final int DOUBLE_VALUE_SPEC_FIELD_NUMBER- See Also:
-
INTEGER_VALUE_SPEC_FIELD_NUMBER
public static final int INTEGER_VALUE_SPEC_FIELD_NUMBER- See Also:
-
CATEGORICAL_VALUE_SPEC_FIELD_NUMBER
public static final int CATEGORICAL_VALUE_SPEC_FIELD_NUMBER- See Also:
-
DISCRETE_VALUE_SPEC_FIELD_NUMBER
public static final int DISCRETE_VALUE_SPEC_FIELD_NUMBER- See Also:
-
PARAMETER_ID_FIELD_NUMBER
public static final int PARAMETER_ID_FIELD_NUMBER- See Also:
-
SCALE_TYPE_FIELD_NUMBER
public static final int SCALE_TYPE_FIELD_NUMBER- See Also:
-
CONDITIONAL_PARAMETER_SPECS_FIELD_NUMBER
public static final int CONDITIONAL_PARAMETER_SPECS_FIELD_NUMBER- See Also:
-
-
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
-
getParameterValueSpecCase
- Specified by:
getParameterValueSpecCasein interfaceStudySpec.ParameterSpecOrBuilder
-
hasDoubleValueSpec
public boolean hasDoubleValueSpec()The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;- Specified by:
hasDoubleValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- Whether the doubleValueSpec field is set.
-
getDoubleValueSpec
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;- Specified by:
getDoubleValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The doubleValueSpec.
-
getDoubleValueSpecOrBuilder
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;- Specified by:
getDoubleValueSpecOrBuilderin interfaceStudySpec.ParameterSpecOrBuilder
-
hasIntegerValueSpec
public boolean hasIntegerValueSpec()The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;- Specified by:
hasIntegerValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- Whether the integerValueSpec field is set.
-
getIntegerValueSpec
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;- Specified by:
getIntegerValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The integerValueSpec.
-
getIntegerValueSpecOrBuilder
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;- Specified by:
getIntegerValueSpecOrBuilderin interfaceStudySpec.ParameterSpecOrBuilder
-
hasCategoricalValueSpec
public boolean hasCategoricalValueSpec()The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;- Specified by:
hasCategoricalValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- Whether the categoricalValueSpec field is set.
-
getCategoricalValueSpec
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;- Specified by:
getCategoricalValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The categoricalValueSpec.
-
getCategoricalValueSpecOrBuilder
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;- Specified by:
getCategoricalValueSpecOrBuilderin interfaceStudySpec.ParameterSpecOrBuilder
-
hasDiscreteValueSpec
public boolean hasDiscreteValueSpec()The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;- Specified by:
hasDiscreteValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- Whether the discreteValueSpec field is set.
-
getDiscreteValueSpec
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;- Specified by:
getDiscreteValueSpecin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The discreteValueSpec.
-
getDiscreteValueSpecOrBuilder
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;- Specified by:
getDiscreteValueSpecOrBuilderin interfaceStudySpec.ParameterSpecOrBuilder
-
getParameterId
Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
string parameter_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParameterIdin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The parameterId.
-
getParameterIdBytes
public com.google.protobuf.ByteString getParameterIdBytes()Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
string parameter_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParameterIdBytesin interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The bytes for parameterId.
-
getScaleTypeValue
public int getScaleTypeValue()How the parameter should be scaled. Leave unset for `CATEGORICAL` parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;- Specified by:
getScaleTypeValuein interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The enum numeric value on the wire for scaleType.
-
getScaleType
How the parameter should be scaled. Leave unset for `CATEGORICAL` parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;- Specified by:
getScaleTypein interfaceStudySpec.ParameterSpecOrBuilder- Returns:
- The scaleType.
-
getConditionalParameterSpecsList
A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;- Specified by:
getConditionalParameterSpecsListin interfaceStudySpec.ParameterSpecOrBuilder
-
getConditionalParameterSpecsOrBuilderList
public List<? extends StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder> getConditionalParameterSpecsOrBuilderList()A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;- Specified by:
getConditionalParameterSpecsOrBuilderListin interfaceStudySpec.ParameterSpecOrBuilder
-
getConditionalParameterSpecsCount
public int getConditionalParameterSpecsCount()A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;- Specified by:
getConditionalParameterSpecsCountin interfaceStudySpec.ParameterSpecOrBuilder
-
getConditionalParameterSpecs
A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;- Specified by:
getConditionalParameterSpecsin interfaceStudySpec.ParameterSpecOrBuilder
-
getConditionalParameterSpecsOrBuilder
public StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder getConditionalParameterSpecsOrBuilder(int index) A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;- Specified by:
getConditionalParameterSpecsOrBuilderin interfaceStudySpec.ParameterSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 StudySpec.ParameterSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StudySpec.ParameterSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StudySpec.ParameterSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StudySpec.ParameterSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-