Class GroundednessInput.Builder (3.42.0)

public static final class GroundednessInput.Builder extends GeneratedMessageV3.Builder<GroundednessInput.Builder> implements GroundednessInputOrBuilder

Input for groundedness metric.

Protobuf type google.cloud.aiplatform.v1beta1.GroundednessInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GroundednessInput build()
Returns
Type Description
GroundednessInput

buildPartial()

public GroundednessInput buildPartial()
Returns
Type Description
GroundednessInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public GroundednessInput.Builder clearInstance()

Required. Groundedness instance.

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

Returns
Type Description
GroundednessInput.Builder

clearMetricSpec()

public GroundednessInput.Builder clearMetricSpec()

Required. Spec for groundedness metric.

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

Returns
Type Description
GroundednessInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GroundednessInput getDefaultInstanceForType()
Returns
Type Description
GroundednessInput

getDescriptorForType()

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

getInstance()

public GroundednessInstance getInstance()

Required. Groundedness instance.

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

Returns
Type Description
GroundednessInstance

The instance.

getInstanceBuilder()

public GroundednessInstance.Builder getInstanceBuilder()

Required. Groundedness instance.

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

Returns
Type Description
GroundednessInstance.Builder

getInstanceOrBuilder()

public GroundednessInstanceOrBuilder getInstanceOrBuilder()

Required. Groundedness instance.

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

Returns
Type Description
GroundednessInstanceOrBuilder

getMetricSpec()

public GroundednessSpec getMetricSpec()

Required. Spec for groundedness metric.

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

Returns
Type Description
GroundednessSpec

The metricSpec.

getMetricSpecBuilder()

public GroundednessSpec.Builder getMetricSpecBuilder()

Required. Spec for groundedness metric.

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

Returns
Type Description
GroundednessSpec.Builder

getMetricSpecOrBuilder()

public GroundednessSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for groundedness metric.

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

Returns
Type Description
GroundednessSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Groundedness instance.

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

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for groundedness metric.

.google.cloud.aiplatform.v1beta1.GroundednessSpec 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(GroundednessInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(GroundednessInstance value)

public GroundednessInput.Builder mergeInstance(GroundednessInstance value)

Required. Groundedness instance.

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

Parameter
Name Description
value GroundednessInstance
Returns
Type Description
GroundednessInput.Builder

mergeMetricSpec(GroundednessSpec value)

public GroundednessInput.Builder mergeMetricSpec(GroundednessSpec value)

Required. Spec for groundedness metric.

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

Parameter
Name Description
value GroundednessSpec
Returns
Type Description
GroundednessInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(GroundednessInstance value)

public GroundednessInput.Builder setInstance(GroundednessInstance value)

Required. Groundedness instance.

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

Parameter
Name Description
value GroundednessInstance
Returns
Type Description
GroundednessInput.Builder

setInstance(GroundednessInstance.Builder builderForValue)

public GroundednessInput.Builder setInstance(GroundednessInstance.Builder builderForValue)

Required. Groundedness instance.

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

Parameter
Name Description
builderForValue GroundednessInstance.Builder
Returns
Type Description
GroundednessInput.Builder

setMetricSpec(GroundednessSpec value)

public GroundednessInput.Builder setMetricSpec(GroundednessSpec value)

Required. Spec for groundedness metric.

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

Parameter
Name Description
value GroundednessSpec
Returns
Type Description
GroundednessInput.Builder

setMetricSpec(GroundednessSpec.Builder builderForValue)

public GroundednessInput.Builder setMetricSpec(GroundednessSpec.Builder builderForValue)

Required. Spec for groundedness metric.

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

Parameter
Name Description
builderForValue GroundednessSpec.Builder
Returns
Type Description
GroundednessInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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