Class NasTrialDetail.Builder (3.50.0)

public static final class NasTrialDetail.Builder extends GeneratedMessageV3.Builder<NasTrialDetail.Builder> implements NasTrialDetailOrBuilder

Represents a NasTrial details along with its parameters. If there is a corresponding train NasTrial, the train NasTrial is also returned.

Protobuf type google.cloud.aiplatform.v1beta1.NasTrialDetail

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NasTrialDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NasTrialDetail.Builder
Overrides

build()

public NasTrialDetail build()
Returns
Type Description
NasTrialDetail

buildPartial()

public NasTrialDetail buildPartial()
Returns
Type Description
NasTrialDetail

clear()

public NasTrialDetail.Builder clear()
Returns
Type Description
NasTrialDetail.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NasTrialDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NasTrialDetail.Builder
Overrides

clearName()

public NasTrialDetail.Builder clearName()

Output only. Resource name of the NasTrialDetail.

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

Returns
Type Description
NasTrialDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NasTrialDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NasTrialDetail.Builder
Overrides

clearParameters()

public NasTrialDetail.Builder clearParameters()

The parameters for the NasJob NasTrial.

string parameters = 2;

Returns
Type Description
NasTrialDetail.Builder

This builder for chaining.

clearSearchTrial()

public NasTrialDetail.Builder clearSearchTrial()

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Returns
Type Description
NasTrialDetail.Builder

clearTrainTrial()

public NasTrialDetail.Builder clearTrainTrial()

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Returns
Type Description
NasTrialDetail.Builder

clone()

public NasTrialDetail.Builder clone()
Returns
Type Description
NasTrialDetail.Builder
Overrides

getDefaultInstanceForType()

public NasTrialDetail getDefaultInstanceForType()
Returns
Type Description
NasTrialDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Output only. Resource name of the NasTrialDetail.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the NasTrialDetail.

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

Returns
Type Description
ByteString

The bytes for name.

getParameters()

public String getParameters()

The parameters for the NasJob NasTrial.

string parameters = 2;

Returns
Type Description
String

The parameters.

getParametersBytes()

public ByteString getParametersBytes()

The parameters for the NasJob NasTrial.

string parameters = 2;

Returns
Type Description
ByteString

The bytes for parameters.

getSearchTrial()

public NasTrial getSearchTrial()

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Returns
Type Description
NasTrial

The searchTrial.

getSearchTrialBuilder()

public NasTrial.Builder getSearchTrialBuilder()

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Returns
Type Description
NasTrial.Builder

getSearchTrialOrBuilder()

public NasTrialOrBuilder getSearchTrialOrBuilder()

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Returns
Type Description
NasTrialOrBuilder

getTrainTrial()

public NasTrial getTrainTrial()

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Returns
Type Description
NasTrial

The trainTrial.

getTrainTrialBuilder()

public NasTrial.Builder getTrainTrialBuilder()

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Returns
Type Description
NasTrial.Builder

getTrainTrialOrBuilder()

public NasTrialOrBuilder getTrainTrialOrBuilder()

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Returns
Type Description
NasTrialOrBuilder

hasSearchTrial()

public boolean hasSearchTrial()

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Returns
Type Description
boolean

Whether the searchTrial field is set.

hasTrainTrial()

public boolean hasTrainTrial()

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Returns
Type Description
boolean

Whether the trainTrial field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NasTrialDetail other)

public NasTrialDetail.Builder mergeFrom(NasTrialDetail other)
Parameter
Name Description
other NasTrialDetail
Returns
Type Description
NasTrialDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NasTrialDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrialDetail.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NasTrialDetail.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NasTrialDetail.Builder
Overrides

mergeSearchTrial(NasTrial value)

public NasTrialDetail.Builder mergeSearchTrial(NasTrial value)

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Parameter
Name Description
value NasTrial
Returns
Type Description
NasTrialDetail.Builder

mergeTrainTrial(NasTrial value)

public NasTrialDetail.Builder mergeTrainTrial(NasTrial value)

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Parameter
Name Description
value NasTrial
Returns
Type Description
NasTrialDetail.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NasTrialDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NasTrialDetail.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NasTrialDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NasTrialDetail.Builder
Overrides

setName(String value)

public NasTrialDetail.Builder setName(String value)

Output only. Resource name of the NasTrialDetail.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
NasTrialDetail.Builder

This builder for chaining.

setNameBytes(ByteString value)

public NasTrialDetail.Builder setNameBytes(ByteString value)

Output only. Resource name of the NasTrialDetail.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
NasTrialDetail.Builder

This builder for chaining.

setParameters(String value)

public NasTrialDetail.Builder setParameters(String value)

The parameters for the NasJob NasTrial.

string parameters = 2;

Parameter
Name Description
value String

The parameters to set.

Returns
Type Description
NasTrialDetail.Builder

This builder for chaining.

setParametersBytes(ByteString value)

public NasTrialDetail.Builder setParametersBytes(ByteString value)

The parameters for the NasJob NasTrial.

string parameters = 2;

Parameter
Name Description
value ByteString

The bytes for parameters to set.

Returns
Type Description
NasTrialDetail.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NasTrialDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NasTrialDetail.Builder
Overrides

setSearchTrial(NasTrial value)

public NasTrialDetail.Builder setSearchTrial(NasTrial value)

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Parameter
Name Description
value NasTrial
Returns
Type Description
NasTrialDetail.Builder

setSearchTrial(NasTrial.Builder builderForValue)

public NasTrialDetail.Builder setSearchTrial(NasTrial.Builder builderForValue)

The requested search NasTrial.

.google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3;

Parameter
Name Description
builderForValue NasTrial.Builder
Returns
Type Description
NasTrialDetail.Builder

setTrainTrial(NasTrial value)

public NasTrialDetail.Builder setTrainTrial(NasTrial value)

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Parameter
Name Description
value NasTrial
Returns
Type Description
NasTrialDetail.Builder

setTrainTrial(NasTrial.Builder builderForValue)

public NasTrialDetail.Builder setTrainTrial(NasTrial.Builder builderForValue)

The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training.

.google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4;

Parameter
Name Description
builderForValue NasTrial.Builder
Returns
Type Description
NasTrialDetail.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NasTrialDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NasTrialDetail.Builder
Overrides