Class ResponseRecallInput.Builder (3.42.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResponseRecallInput build()
Returns
Type Description
ResponseRecallInput

buildPartial()

public ResponseRecallInput buildPartial()
Returns
Type Description
ResponseRecallInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public ResponseRecallInput.Builder clearInstance()

Required. Response recall instance.

.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallInput.Builder

clearMetricSpec()

public ResponseRecallInput.Builder clearMetricSpec()

Required. Spec for response recall score metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ResponseRecallInput getDefaultInstanceForType()
Returns
Type Description
ResponseRecallInput

getDescriptorForType()

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

getInstance()

public ResponseRecallInstance getInstance()

Required. Response recall instance.

.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallInstance

The instance.

getInstanceBuilder()

public ResponseRecallInstance.Builder getInstanceBuilder()

Required. Response recall instance.

.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallInstance.Builder

getInstanceOrBuilder()

public ResponseRecallInstanceOrBuilder getInstanceOrBuilder()

Required. Response recall instance.

.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallInstanceOrBuilder

getMetricSpec()

public ResponseRecallSpec getMetricSpec()

Required. Spec for response recall score metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallSpec

The metricSpec.

getMetricSpecBuilder()

public ResponseRecallSpec.Builder getMetricSpecBuilder()

Required. Spec for response recall score metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallSpec.Builder

getMetricSpecOrBuilder()

public ResponseRecallSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for response recall score metric.

.google.cloud.aiplatform.v1beta1.ResponseRecallSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResponseRecallSpecOrBuilder

hasInstance()

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.

hasMetricSpec()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResponseRecallInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(ResponseRecallInstance value)

public ResponseRecallInput.Builder mergeInstance(ResponseRecallInstance value)

Required. Response recall instance.

.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResponseRecallInstance
Returns
Type Description
ResponseRecallInput.Builder

mergeMetricSpec(ResponseRecallSpec value)

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];

Parameter
Name Description
value ResponseRecallSpec
Returns
Type Description
ResponseRecallInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(ResponseRecallInstance value)

public ResponseRecallInput.Builder setInstance(ResponseRecallInstance value)

Required. Response recall instance.

.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResponseRecallInstance
Returns
Type Description
ResponseRecallInput.Builder

setInstance(ResponseRecallInstance.Builder builderForValue)

public ResponseRecallInput.Builder setInstance(ResponseRecallInstance.Builder builderForValue)

Required. Response recall instance.

.google.cloud.aiplatform.v1beta1.ResponseRecallInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ResponseRecallInstance.Builder
Returns
Type Description
ResponseRecallInput.Builder

setMetricSpec(ResponseRecallSpec value)

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];

Parameter
Name Description
value ResponseRecallSpec
Returns
Type Description
ResponseRecallInput.Builder

setMetricSpec(ResponseRecallSpec.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ResponseRecallSpec.Builder
Returns
Type Description
ResponseRecallInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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