public static final class ResponseRecallInput.Builder extends GeneratedMessageV3.Builder<ResponseRecallInput.Builder> implements ResponseRecallInputOrBuilder
Input for response recall metric.
Protobuf type google.cloud.aiplatform.v1beta1.ResponseRecallInput
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 ResponseRecallInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ResponseRecallInput build()
public ResponseRecallInput buildPartial()
public ResponseRecallInput.Builder clear()
Overrides
public ResponseRecallInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ResponseRecallInput.Builder clearInstance()
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInput.Builder clearMetricSpec()
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ResponseRecallInput.Builder clone()
Overrides
public ResponseRecallInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ResponseRecallInstance getInstance()
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInstance.Builder getInstanceBuilder()
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInstanceOrBuilder getInstanceOrBuilder()
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallSpec getMetricSpec()
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallSpec.Builder getMetricSpecBuilder()
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasInstance()
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the instance field is set.
|
public boolean hasMetricSpec()
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the metricSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ResponseRecallInput.Builder mergeFrom(ResponseRecallInput other)
public ResponseRecallInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ResponseRecallInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ResponseRecallInput.Builder mergeInstance(ResponseRecallInstance value)
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInput.Builder mergeMetricSpec(ResponseRecallSpec value)
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final ResponseRecallInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ResponseRecallInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ResponseRecallInput.Builder setInstance(ResponseRecallInstance value)
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInput.Builder setInstance(ResponseRecallInstance.Builder builderForValue)
Required. Response recall instance.
.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInput.Builder setMetricSpec(ResponseRecallSpec value)
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInput.Builder setMetricSpec(ResponseRecallSpec.Builder builderForValue)
Required. Spec for response recall score metric.
.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ResponseRecallInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ResponseRecallInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides