Class ResponseRecallInput.Builder (3.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResponseRecallInput build()
Returns
TypeDescription
ResponseRecallInput

buildPartial()

public ResponseRecallInput buildPartial()
Returns
TypeDescription
ResponseRecallInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ResponseRecallInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ResponseRecallInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseRecallInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResponseRecallInput.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ResponseRecallInput getDefaultInstanceForType()
Returns
TypeDescription
ResponseRecallInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public ResponseRecallInstance getInstance()

Required. Response recall instance.

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

Returns
TypeDescription
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
TypeDescription
ResponseRecallInstance.Builder

getInstanceOrBuilder()

public ResponseRecallInstanceOrBuilder getInstanceOrBuilder()

Required. Response recall instance.

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

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

hasInstance()

public boolean hasInstance()

Required. Response recall instance.

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

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

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResponseRecallInput other)

public ResponseRecallInput.Builder mergeFrom(ResponseRecallInput other)
Parameter
NameDescription
otherResponseRecallInput
Returns
TypeDescription
ResponseRecallInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ResponseRecallInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueResponseRecallInstance
Returns
TypeDescription
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
NameDescription
valueResponseRecallSpec
Returns
TypeDescription
ResponseRecallInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ResponseRecallInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResponseRecallInstance
Returns
TypeDescription
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
NameDescription
builderForValueResponseRecallInstance.Builder
Returns
TypeDescription
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
NameDescription
valueResponseRecallSpec
Returns
TypeDescription
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
NameDescription
builderForValueResponseRecallSpec.Builder
Returns
TypeDescription
ResponseRecallInput.Builder

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

public ResponseRecallInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResponseRecallInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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