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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GroundednessInput build()
Returns
TypeDescription
GroundednessInput

buildPartial()

public GroundednessInput buildPartial()
Returns
TypeDescription
GroundednessInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public GroundednessInput.Builder clearInstance()

Required. Groundedness instance.

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GroundednessInput getDefaultInstanceForType()
Returns
TypeDescription
GroundednessInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public GroundednessInstance getInstance()

Required. Groundedness instance.

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

Returns
TypeDescription
GroundednessInstance

The instance.

getInstanceBuilder()

public GroundednessInstance.Builder getInstanceBuilder()

Required. Groundedness instance.

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

Returns
TypeDescription
GroundednessInstance.Builder

getInstanceOrBuilder()

public GroundednessInstanceOrBuilder getInstanceOrBuilder()

Required. Groundedness instance.

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

Returns
TypeDescription
GroundednessInstanceOrBuilder

getMetricSpec()

public GroundednessSpec getMetricSpec()

Required. Spec for groundedness metric.

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

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

hasInstance()

public boolean hasInstance()

Required. Groundedness instance.

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

Returns
TypeDescription
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
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(GroundednessInput other)

public GroundednessInput.Builder mergeFrom(GroundednessInput other)
Parameter
NameDescription
otherGroundednessInput
Returns
TypeDescription
GroundednessInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GroundednessInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGroundednessInstance
Returns
TypeDescription
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
NameDescription
valueGroundednessSpec
Returns
TypeDescription
GroundednessInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GroundednessInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGroundednessInstance
Returns
TypeDescription
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
NameDescription
builderForValueGroundednessInstance.Builder
Returns
TypeDescription
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
NameDescription
valueGroundednessSpec
Returns
TypeDescription
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
NameDescription
builderForValueGroundednessSpec.Builder
Returns
TypeDescription
GroundednessInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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