Class ResponseRecallSpec.Builder (3.42.0)

public static final class ResponseRecallSpec.Builder extends GeneratedMessageV3.Builder<ResponseRecallSpec.Builder> implements ResponseRecallSpecOrBuilder

Spec for response recall metric.

Protobuf type google.cloud.aiplatform.v1beta1.ResponseRecallSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResponseRecallSpec build()
Returns
Type Description
ResponseRecallSpec

buildPartial()

public ResponseRecallSpec buildPartial()
Returns
Type Description
ResponseRecallSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public ResponseRecallSpec.Builder clearVersion()

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ResponseRecallSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ResponseRecallSpec getDefaultInstanceForType()
Returns
Type Description
ResponseRecallSpec

getDescriptorForType()

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

getVersion()

public int getVersion()

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResponseRecallSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(int value)

public ResponseRecallSpec.Builder setVersion(int value)

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The version to set.

Returns
Type Description
ResponseRecallSpec.Builder

This builder for chaining.