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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportModelEvaluationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportModelEvaluationRequest build()
public ImportModelEvaluationRequest buildPartial()
public ImportModelEvaluationRequest.Builder clear()
Overrides
public ImportModelEvaluationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportModelEvaluationRequest.Builder clearModelEvaluation()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
public ImportModelEvaluationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public ImportModelEvaluationRequest.Builder clone()
Overrides
public ImportModelEvaluationRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ModelEvaluation getModelEvaluation()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
public ModelEvaluation.Builder getModelEvaluationBuilder()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
public ModelEvaluationOrBuilder getModelEvaluationOrBuilder()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
public boolean hasModelEvaluation()
Required. Model evaluation resource to be imported.
.google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the modelEvaluation field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportModelEvaluationRequest.Builder mergeFrom(ImportModelEvaluationRequest other)
public ImportModelEvaluationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportModelEvaluationRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
public final ImportModelEvaluationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportModelEvaluationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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.
|
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.
|
public ImportModelEvaluationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImportModelEvaluationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides