Class GroundednessSpec.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GroundednessSpec build()
Returns
TypeDescription
GroundednessSpec

buildPartial()

public GroundednessSpec buildPartial()
Returns
TypeDescription
GroundednessSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GroundednessSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GroundednessSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public GroundednessSpec.Builder clearVersion()

Optional. Which version to use for evaluation.

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

Returns
TypeDescription
GroundednessSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GroundednessSpec getDefaultInstanceForType()
Returns
TypeDescription
GroundednessSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public int getVersion()

Optional. Which version to use for evaluation.

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

Returns
TypeDescription
int

The version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GroundednessSpec other)

public GroundednessSpec.Builder mergeFrom(GroundednessSpec other)
Parameter
NameDescription
otherGroundednessSpec
Returns
TypeDescription
GroundednessSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GroundednessSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GroundednessSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final GroundednessSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The version to set.

Returns
TypeDescription
GroundednessSpec.Builder

This builder for chaining.