Class NasTrialDetail.Builder (3.18.0)

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

Represents a NasTrial details along with it's 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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NasTrialDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NasTrialDetail.Builder
Overrides

build()

public NasTrialDetail build()
Returns
TypeDescription
NasTrialDetail

buildPartial()

public NasTrialDetail buildPartial()
Returns
TypeDescription
NasTrialDetail

clear()

public NasTrialDetail.Builder clear()
Returns
TypeDescription
NasTrialDetail.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NasTrialDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NasTrialDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NasTrialDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NasTrialDetail.Builder
Overrides

clearParameters()

public NasTrialDetail.Builder clearParameters()

The parameters for the NasJob NasTrial.

string parameters = 2;

Returns
TypeDescription
NasTrialDetail.Builder

This builder for chaining.

clearSearchTrial()

public NasTrialDetail.Builder clearSearchTrial()

The requested search NasTrial.

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

Returns
TypeDescription
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
TypeDescription
NasTrialDetail.Builder

clone()

public NasTrialDetail.Builder clone()
Returns
TypeDescription
NasTrialDetail.Builder
Overrides

getDefaultInstanceForType()

public NasTrialDetail getDefaultInstanceForType()
Returns
TypeDescription
NasTrialDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Output only. Resource name of the NasTrialDetail.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the NasTrialDetail.

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

Returns
TypeDescription
ByteString

The bytes for name.

getParameters()

public String getParameters()

The parameters for the NasJob NasTrial.

string parameters = 2;

Returns
TypeDescription
String

The parameters.

getParametersBytes()

public ByteString getParametersBytes()

The parameters for the NasJob NasTrial.

string parameters = 2;

Returns
TypeDescription
ByteString

The bytes for parameters.

getSearchTrial()

public NasTrial getSearchTrial()

The requested search NasTrial.

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

Returns
TypeDescription
NasTrial

The searchTrial.

getSearchTrialBuilder()

public NasTrial.Builder getSearchTrialBuilder()

The requested search NasTrial.

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

Returns
TypeDescription
NasTrial.Builder

getSearchTrialOrBuilder()

public NasTrialOrBuilder getSearchTrialOrBuilder()

The requested search NasTrial.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
NasTrialOrBuilder

hasSearchTrial()

public boolean hasSearchTrial()

The requested search NasTrial.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the trainTrial field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NasTrialDetail other)

public NasTrialDetail.Builder mergeFrom(NasTrialDetail other)
Parameter
NameDescription
otherNasTrialDetail
Returns
TypeDescription
NasTrialDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NasTrialDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasTrialDetail.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NasTrialDetail.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNasTrial
Returns
TypeDescription
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
NameDescription
valueNasTrial
Returns
TypeDescription
NasTrialDetail.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NasTrialDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NasTrialDetail.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NasTrialDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The parameters to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parameters to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueNasTrial
Returns
TypeDescription
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
NameDescription
builderForValueNasTrial.Builder
Returns
TypeDescription
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
NameDescription
valueNasTrial
Returns
TypeDescription
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
NameDescription
builderForValueNasTrial.Builder
Returns
TypeDescription
NasTrialDetail.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NasTrialDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NasTrialDetail.Builder
Overrides