Class Trial.Parameter (3.11.0)

public static final class Trial.Parameter extends GeneratedMessageV3 implements Trial.ParameterOrBuilder

A message representing a parameter to be tuned.

Protobuf type google.cloud.aiplatform.v1.Trial.Parameter

Static Fields

PARAMETER_ID_FIELD_NUMBER

public static final int PARAMETER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Trial.Parameter getDefaultInstance()
Returns
TypeDescription
Trial.Parameter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Trial.Parameter.Builder newBuilder()
Returns
TypeDescription
Trial.Parameter.Builder

newBuilder(Trial.Parameter prototype)

public static Trial.Parameter.Builder newBuilder(Trial.Parameter prototype)
Parameter
NameDescription
prototypeTrial.Parameter
Returns
TypeDescription
Trial.Parameter.Builder

parseDelimitedFrom(InputStream input)

public static Trial.Parameter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Trial.Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Trial.Parameter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Trial.Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Trial.Parameter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Trial.Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Trial.Parameter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Trial.Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Trial.Parameter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Trial.Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Trial.Parameter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Trial.Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trial.Parameter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Trial.Parameter> parser()
Returns
TypeDescription
Parser<Parameter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Trial.Parameter getDefaultInstanceForType()
Returns
TypeDescription
Trial.Parameter

getParameterId()

public String getParameterId()

Output only. The ID of the parameter. The parameter should be defined in StudySpec's Parameters.

string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The parameterId.

getParameterIdBytes()

public ByteString getParameterIdBytes()

Output only. The ID of the parameter. The parameter should be defined in StudySpec's Parameters.

string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for parameterId.

getParserForType()

public Parser<Trial.Parameter> getParserForType()
Returns
TypeDescription
Parser<Parameter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public Value getValue()

Output only. The value of the parameter. number_value will be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. string_value will be set if a parameter defined in StudySpec is in type 'CATEGORICAL'.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Output only. The value of the parameter. number_value will be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. string_value will be set if a parameter defined in StudySpec is in type 'CATEGORICAL'.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

Output only. The value of the parameter. number_value will be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. string_value will be set if a parameter defined in StudySpec is in type 'CATEGORICAL'.

.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Trial.Parameter.Builder newBuilderForType()
Returns
TypeDescription
Trial.Parameter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Trial.Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Trial.Parameter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Trial.Parameter.Builder toBuilder()
Returns
TypeDescription
Trial.Parameter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException