Class GroundednessSpec.Builder (3.46.0)

public static final class GroundednessSpec.Builder extends GeneratedMessageV3.Builder<GroundednessSpec.Builder> implements GroundednessSpecOrBuilder

Spec for groundedness metric.

Protobuf type google.cloud.aiplatform.v1beta1.GroundednessSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GroundednessSpec build()
Returns
Type Description
GroundednessSpec

buildPartial()

public GroundednessSpec buildPartial()
Returns
Type Description
GroundednessSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public GroundednessSpec.Builder clearVersion()

Optional. Which version to use for evaluation.

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

Returns
Type Description
GroundednessSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GroundednessSpec getDefaultInstanceForType()
Returns
Type Description
GroundednessSpec

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(GroundednessSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(int value)

public GroundednessSpec.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
GroundednessSpec.Builder

This builder for chaining.