Class ImportModelEvaluationRequest.Builder (3.29.0)

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

Request message for ModelService.ImportModelEvaluation

Protobuf type google.cloud.aiplatform.v1.ImportModelEvaluationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportModelEvaluationRequest build()
Returns
TypeDescription
ImportModelEvaluationRequest

buildPartial()

public ImportModelEvaluationRequest buildPartial()
Returns
TypeDescription
ImportModelEvaluationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ImportModelEvaluationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportModelEvaluationRequest.Builder
Overrides

clearModelEvaluation()

public ImportModelEvaluationRequest.Builder clearModelEvaluation()

Required. Model evaluation resource to be imported.

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

Returns
TypeDescription
ImportModelEvaluationRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportModelEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ImportModelEvaluationRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportModelEvaluationRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportModelEvaluationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelEvaluation()

public ModelEvaluation getModelEvaluation()

Required. Model evaluation resource to be imported.

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

Returns
TypeDescription
ModelEvaluation

The modelEvaluation.

getModelEvaluationBuilder()

public ModelEvaluation.Builder getModelEvaluationBuilder()

Required. Model evaluation resource to be imported.

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

Returns
TypeDescription
ModelEvaluation.Builder

getModelEvaluationOrBuilder()

public ModelEvaluationOrBuilder getModelEvaluationOrBuilder()

Required. Model evaluation resource to be imported.

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

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

The bytes for parent.

hasModelEvaluation()

public boolean hasModelEvaluation()

Required. Model evaluation resource to be imported.

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

Returns
TypeDescription
boolean

Whether the modelEvaluation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportModelEvaluationRequest other)

public ImportModelEvaluationRequest.Builder mergeFrom(ImportModelEvaluationRequest other)
Parameter
NameDescription
otherImportModelEvaluationRequest
Returns
TypeDescription
ImportModelEvaluationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportModelEvaluationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportModelEvaluationRequest.Builder
Overrides

mergeModelEvaluation(ModelEvaluation value)

public ImportModelEvaluationRequest.Builder mergeModelEvaluation(ModelEvaluation value)

Required. Model evaluation resource to be imported.

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

Parameter
NameDescription
valueModelEvaluation
Returns
TypeDescription
ImportModelEvaluationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelEvaluation(ModelEvaluation value)

public ImportModelEvaluationRequest.Builder setModelEvaluation(ModelEvaluation value)

Required. Model evaluation resource to be imported.

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

Parameter
NameDescription
valueModelEvaluation
Returns
TypeDescription
ImportModelEvaluationRequest.Builder

setModelEvaluation(ModelEvaluation.Builder builderForValue)

public ImportModelEvaluationRequest.Builder setModelEvaluation(ModelEvaluation.Builder builderForValue)

Required. Model evaluation resource to be imported.

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

Parameter
NameDescription
builderForValueModelEvaluation.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportModelEvaluationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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