Class ImportModelEvaluationRequest.Builder (3.46.0)

public static final class ImportModelEvaluationRequest.Builder extends GeneratedMessageV3.Builder<ImportModelEvaluationRequest.Builder> implements ImportModelEvaluationRequestOrBuilder

Request message for ModelService.ImportModelEvaluation

Protobuf type google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportModelEvaluationRequest build()
Returns
Type Description
ImportModelEvaluationRequest

buildPartial()

public ImportModelEvaluationRequest buildPartial()
Returns
Type Description
ImportModelEvaluationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelEvaluation()

public ImportModelEvaluationRequest.Builder clearModelEvaluation()

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportModelEvaluationRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ImportModelEvaluationRequest.Builder clearParent()

Required. The name of the parent model resource. Format: projects/{project}/locations/{location}/models/{model}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ImportModelEvaluationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportModelEvaluationRequest getDefaultInstanceForType()
Returns
Type Description
ImportModelEvaluationRequest

getDescriptorForType()

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

getModelEvaluation()

public ModelEvaluation getModelEvaluation()

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelEvaluation

The modelEvaluation.

getModelEvaluationBuilder()

public ModelEvaluation.Builder getModelEvaluationBuilder()

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelEvaluation.Builder

getModelEvaluationOrBuilder()

public ModelEvaluationOrBuilder getModelEvaluationOrBuilder()

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelEvaluationOrBuilder

getParent()

public String getParent()

Required. The name of the parent model resource. Format: projects/{project}/locations/{location}/models/{model}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent model resource. Format: projects/{project}/locations/{location}/models/{model}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasModelEvaluation()

public boolean hasModelEvaluation()

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the modelEvaluation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportModelEvaluationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeModelEvaluation(ModelEvaluation value)

public ImportModelEvaluationRequest.Builder mergeModelEvaluation(ModelEvaluation value)

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ModelEvaluation
Returns
Type Description
ImportModelEvaluationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelEvaluation(ModelEvaluation value)

public ImportModelEvaluationRequest.Builder setModelEvaluation(ModelEvaluation value)

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ModelEvaluation
Returns
Type Description
ImportModelEvaluationRequest.Builder

setModelEvaluation(ModelEvaluation.Builder builderForValue)

public ImportModelEvaluationRequest.Builder setModelEvaluation(ModelEvaluation.Builder builderForValue)

Required. Model evaluation resource to be imported.

.google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ModelEvaluation.Builder
Returns
Type Description
ImportModelEvaluationRequest.Builder

setParent(String value)

public ImportModelEvaluationRequest.Builder setParent(String value)

Required. The name of the parent model resource. Format: projects/{project}/locations/{location}/models/{model}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ImportModelEvaluationRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ImportModelEvaluationRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent model resource. Format: projects/{project}/locations/{location}/models/{model}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ImportModelEvaluationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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