public static final class StudySpec.ParameterSpec.IntegerValueSpec extends GeneratedMessageV3 implements StudySpec.ParameterSpec.IntegerValueSpecOrBuilder
Value specification for a parameter in INTEGER
type.
Protobuf type google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec
Fields
public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value
public static final int MAX_VALUE_FIELD_NUMBER
Field Value
public static final int MIN_VALUE_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.IntegerValueSpec getDefaultInstance()
Returns
public StudySpec.ParameterSpec.IntegerValueSpec getDefaultInstanceForType()
Returns
public long getDefaultValue()
A default value for an INTEGER
parameter that is assumed to be a
relatively good starting point. Unset value signals that there is no
offered starting point.
Currently only supported by the Vertex AI Vizier service. Not supported
by HyperparamterTuningJob or TrainingPipeline.
optional int64 default_value = 4;
Returns
Type | Description |
long | The defaultValue.
|
public static final Descriptors.Descriptor getDescriptor()
Returns
public long getMaxValue()
Required. Inclusive maximum value of the parameter.
int64 max_value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
long | The maxValue.
|
public long getMinValue()
Required. Inclusive minimum value of the parameter.
int64 min_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
long | The minValue.
|
public Parser<StudySpec.ParameterSpec.IntegerValueSpec> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasDefaultValue()
A default value for an INTEGER
parameter that is assumed to be a
relatively good starting point. Unset value signals that there is no
offered starting point.
Currently only supported by the Vertex AI Vizier service. Not supported
by HyperparamterTuningJob or TrainingPipeline.
optional int64 default_value = 4;
Returns
Type | Description |
boolean | Whether the defaultValue field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static StudySpec.ParameterSpec.IntegerValueSpec.Builder newBuilder()
Returns
public static StudySpec.ParameterSpec.IntegerValueSpec.Builder newBuilder(StudySpec.ParameterSpec.IntegerValueSpec prototype)
Parameter
Returns
public StudySpec.ParameterSpec.IntegerValueSpec.Builder newBuilderForType()
Returns
protected StudySpec.ParameterSpec.IntegerValueSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.IntegerValueSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.IntegerValueSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<StudySpec.ParameterSpec.IntegerValueSpec> parser()
Returns
public StudySpec.ParameterSpec.IntegerValueSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions