public static final class StudySpec.ParameterSpec extends com.google.protobuf.GeneratedMessageV3 implements StudySpec.ParameterSpecOrBuilder
Represents a single parameter to optimize.Protobuf type
google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec| Modifier and Type | Class and Description |
|---|---|
static class |
StudySpec.ParameterSpec.Builder
Represents a single parameter to optimize.
|
static class |
StudySpec.ParameterSpec.CategoricalValueSpec
Value specification for a parameter in `CATEGORICAL` type.
|
static interface |
StudySpec.ParameterSpec.CategoricalValueSpecOrBuilder |
static class |
StudySpec.ParameterSpec.ConditionalParameterSpec
Represents a parameter spec with condition from its parent parameter.
|
static interface |
StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder |
static class |
StudySpec.ParameterSpec.DiscreteValueSpec
Value specification for a parameter in `DISCRETE` type.
|
static interface |
StudySpec.ParameterSpec.DiscreteValueSpecOrBuilder |
static class |
StudySpec.ParameterSpec.DoubleValueSpec
Value specification for a parameter in `DOUBLE` type.
|
static interface |
StudySpec.ParameterSpec.DoubleValueSpecOrBuilder |
static class |
StudySpec.ParameterSpec.IntegerValueSpec
Value specification for a parameter in `INTEGER` type.
|
static interface |
StudySpec.ParameterSpec.IntegerValueSpecOrBuilder |
static class |
StudySpec.ParameterSpec.ParameterValueSpecCase |
static class |
StudySpec.ParameterSpec.ScaleType
The type of scaling that should be applied to this parameter.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CATEGORICAL_VALUE_SPEC_FIELD_NUMBER |
static int |
CONDITIONAL_PARAMETER_SPECS_FIELD_NUMBER |
static int |
DISCRETE_VALUE_SPEC_FIELD_NUMBER |
static int |
DOUBLE_VALUE_SPEC_FIELD_NUMBER |
static int |
INTEGER_VALUE_SPEC_FIELD_NUMBER |
static int |
PARAMETER_ID_FIELD_NUMBER |
static int |
SCALE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StudySpec.ParameterSpec.CategoricalValueSpec |
getCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
|
StudySpec.ParameterSpec.CategoricalValueSpecOrBuilder |
getCategoricalValueSpecOrBuilder()
The value spec for a 'CATEGORICAL' parameter.
|
StudySpec.ParameterSpec.ConditionalParameterSpec |
getConditionalParameterSpecs(int index)
A conditional parameter node is active if the parameter's value matches
the conditional node's parent_value_condition.
|
int |
getConditionalParameterSpecsCount()
A conditional parameter node is active if the parameter's value matches
the conditional node's parent_value_condition.
|
List<StudySpec.ParameterSpec.ConditionalParameterSpec> |
getConditionalParameterSpecsList()
A conditional parameter node is active if the parameter's value matches
the conditional node's parent_value_condition.
|
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.
|
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.
|
static StudySpec.ParameterSpec |
getDefaultInstance() |
StudySpec.ParameterSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
StudySpec.ParameterSpec.DiscreteValueSpec |
getDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
|
StudySpec.ParameterSpec.DiscreteValueSpecOrBuilder |
getDiscreteValueSpecOrBuilder()
The value spec for a 'DISCRETE' parameter.
|
StudySpec.ParameterSpec.DoubleValueSpec |
getDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
|
StudySpec.ParameterSpec.DoubleValueSpecOrBuilder |
getDoubleValueSpecOrBuilder()
The value spec for a 'DOUBLE' parameter.
|
StudySpec.ParameterSpec.IntegerValueSpec |
getIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
|
StudySpec.ParameterSpec.IntegerValueSpecOrBuilder |
getIntegerValueSpecOrBuilder()
The value spec for an 'INTEGER' parameter.
|
String |
getParameterId()
Required.
|
com.google.protobuf.ByteString |
getParameterIdBytes()
Required.
|
StudySpec.ParameterSpec.ParameterValueSpecCase |
getParameterValueSpecCase() |
com.google.protobuf.Parser<StudySpec.ParameterSpec> |
getParserForType() |
StudySpec.ParameterSpec.ScaleType |
getScaleType()
How the parameter should be scaled.
|
int |
getScaleTypeValue()
How the parameter should be scaled.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
|
boolean |
hasDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
|
boolean |
hasDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
|
int |
hashCode() |
boolean |
hasIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StudySpec.ParameterSpec.Builder |
newBuilder() |
static StudySpec.ParameterSpec.Builder |
newBuilder(StudySpec.ParameterSpec prototype) |
StudySpec.ParameterSpec.Builder |
newBuilderForType() |
protected StudySpec.ParameterSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StudySpec.ParameterSpec |
parseDelimitedFrom(InputStream input) |
static StudySpec.ParameterSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec.ParameterSpec |
parseFrom(byte[] data) |
static StudySpec.ParameterSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec.ParameterSpec |
parseFrom(ByteBuffer data) |
static StudySpec.ParameterSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec.ParameterSpec |
parseFrom(com.google.protobuf.ByteString data) |
static StudySpec.ParameterSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec.ParameterSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StudySpec.ParameterSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec.ParameterSpec |
parseFrom(InputStream input) |
static StudySpec.ParameterSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StudySpec.ParameterSpec> |
parser() |
StudySpec.ParameterSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DOUBLE_VALUE_SPEC_FIELD_NUMBER
public static final int INTEGER_VALUE_SPEC_FIELD_NUMBER
public static final int CATEGORICAL_VALUE_SPEC_FIELD_NUMBER
public static final int DISCRETE_VALUE_SPEC_FIELD_NUMBER
public static final int PARAMETER_ID_FIELD_NUMBER
public static final int SCALE_TYPE_FIELD_NUMBER
public static final int CONDITIONAL_PARAMETER_SPECS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public StudySpec.ParameterSpec.ParameterValueSpecCase getParameterValueSpecCase()
getParameterValueSpecCase in interface StudySpec.ParameterSpecOrBuilderpublic boolean hasDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
hasDoubleValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.DoubleValueSpec getDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
getDoubleValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.DoubleValueSpecOrBuilder getDoubleValueSpecOrBuilder()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
getDoubleValueSpecOrBuilder in interface StudySpec.ParameterSpecOrBuilderpublic boolean hasIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
hasIntegerValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.IntegerValueSpec getIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
getIntegerValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.IntegerValueSpecOrBuilder getIntegerValueSpecOrBuilder()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
getIntegerValueSpecOrBuilder in interface StudySpec.ParameterSpecOrBuilderpublic boolean hasCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
hasCategoricalValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.CategoricalValueSpec getCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
getCategoricalValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.CategoricalValueSpecOrBuilder getCategoricalValueSpecOrBuilder()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
getCategoricalValueSpecOrBuilder in interface StudySpec.ParameterSpecOrBuilderpublic boolean hasDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
hasDiscreteValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.DiscreteValueSpec getDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
getDiscreteValueSpec in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.DiscreteValueSpecOrBuilder getDiscreteValueSpecOrBuilder()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
getDiscreteValueSpecOrBuilder in interface StudySpec.ParameterSpecOrBuilderpublic String 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];getParameterId in interface StudySpec.ParameterSpecOrBuilderpublic 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];getParameterIdBytes in interface StudySpec.ParameterSpecOrBuilderpublic int getScaleTypeValue()
How the parameter should be scaled. Leave unset for `CATEGORICAL` parameters.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ScaleType scale_type = 6;
getScaleTypeValue in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.ScaleType getScaleType()
How the parameter should be scaled. Leave unset for `CATEGORICAL` parameters.
.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ScaleType scale_type = 6;
getScaleType in interface StudySpec.ParameterSpecOrBuilderpublic List<StudySpec.ParameterSpec.ConditionalParameterSpec> 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.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;
getConditionalParameterSpecsList in interface StudySpec.ParameterSpecOrBuilderpublic 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.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;
getConditionalParameterSpecsOrBuilderList in interface StudySpec.ParameterSpecOrBuilderpublic 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.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;
getConditionalParameterSpecsCount in interface StudySpec.ParameterSpecOrBuilderpublic StudySpec.ParameterSpec.ConditionalParameterSpec getConditionalParameterSpecs(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.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;
getConditionalParameterSpecs in interface StudySpec.ParameterSpecOrBuilderpublic 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.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;
getConditionalParameterSpecsOrBuilder in interface StudySpec.ParameterSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StudySpec.ParameterSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec.ParameterSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec.ParameterSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec.ParameterSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec.ParameterSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec.ParameterSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec.ParameterSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static StudySpec.ParameterSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StudySpec.ParameterSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StudySpec.ParameterSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StudySpec.ParameterSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StudySpec.ParameterSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StudySpec.ParameterSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StudySpec.ParameterSpec.Builder newBuilder()
public static StudySpec.ParameterSpec.Builder newBuilder(StudySpec.ParameterSpec prototype)
public StudySpec.ParameterSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StudySpec.ParameterSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StudySpec.ParameterSpec getDefaultInstance()
public static com.google.protobuf.Parser<StudySpec.ParameterSpec> parser()
public com.google.protobuf.Parser<StudySpec.ParameterSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StudySpec.ParameterSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.