Class CoherenceInput.Builder (3.52.0)

public static final class CoherenceInput.Builder extends GeneratedMessageV3.Builder<CoherenceInput.Builder> implements CoherenceInputOrBuilder

Input for coherence metric.

Protobuf type google.cloud.aiplatform.v1.CoherenceInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CoherenceInput build()
Returns
Type Description
CoherenceInput

buildPartial()

public CoherenceInput buildPartial()
Returns
Type Description
CoherenceInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public CoherenceInput.Builder clearInstance()

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceInput.Builder

clearMetricSpec()

public CoherenceInput.Builder clearMetricSpec()

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CoherenceInput getDefaultInstanceForType()
Returns
Type Description
CoherenceInput

getDescriptorForType()

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

getInstance()

public CoherenceInstance getInstance()

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceInstance

The instance.

getInstanceBuilder()

public CoherenceInstance.Builder getInstanceBuilder()

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceInstance.Builder

getInstanceOrBuilder()

public CoherenceInstanceOrBuilder getInstanceOrBuilder()

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceInstanceOrBuilder

getMetricSpec()

public CoherenceSpec getMetricSpec()

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceSpec

The metricSpec.

getMetricSpecBuilder()

public CoherenceSpec.Builder getMetricSpecBuilder()

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceSpec.Builder

getMetricSpecOrBuilder()

public CoherenceSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CoherenceSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec 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(CoherenceInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(CoherenceInstance value)

public CoherenceInput.Builder mergeInstance(CoherenceInstance value)

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CoherenceInstance
Returns
Type Description
CoherenceInput.Builder

mergeMetricSpec(CoherenceSpec value)

public CoherenceInput.Builder mergeMetricSpec(CoherenceSpec value)

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CoherenceSpec
Returns
Type Description
CoherenceInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(CoherenceInstance value)

public CoherenceInput.Builder setInstance(CoherenceInstance value)

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CoherenceInstance
Returns
Type Description
CoherenceInput.Builder

setInstance(CoherenceInstance.Builder builderForValue)

public CoherenceInput.Builder setInstance(CoherenceInstance.Builder builderForValue)

Required. Coherence instance.

.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CoherenceInstance.Builder
Returns
Type Description
CoherenceInput.Builder

setMetricSpec(CoherenceSpec value)

public CoherenceInput.Builder setMetricSpec(CoherenceSpec value)

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CoherenceSpec
Returns
Type Description
CoherenceInput.Builder

setMetricSpec(CoherenceSpec.Builder builderForValue)

public CoherenceInput.Builder setMetricSpec(CoherenceSpec.Builder builderForValue)

Required. Spec for coherence score metric.

.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CoherenceSpec.Builder
Returns
Type Description
CoherenceInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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