Class CoherenceInput.Builder (3.41.0)

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

Input for coherence metric.

Protobuf type google.cloud.aiplatform.v1beta1.CoherenceInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CoherenceInput build()
Returns
TypeDescription
CoherenceInput

buildPartial()

public CoherenceInput buildPartial()
Returns
TypeDescription
CoherenceInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public CoherenceInput.Builder clearInstance()

Required. Coherence instance.

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

Returns
TypeDescription
CoherenceInput.Builder

clearMetricSpec()

public CoherenceInput.Builder clearMetricSpec()

Required. Spec for coherence score metric.

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

Returns
TypeDescription
CoherenceInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CoherenceInput getDefaultInstanceForType()
Returns
TypeDescription
CoherenceInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public CoherenceInstance getInstance()

Required. Coherence instance.

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

Returns
TypeDescription
CoherenceInstance

The instance.

getInstanceBuilder()

public CoherenceInstance.Builder getInstanceBuilder()

Required. Coherence instance.

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

Returns
TypeDescription
CoherenceInstance.Builder

getInstanceOrBuilder()

public CoherenceInstanceOrBuilder getInstanceOrBuilder()

Required. Coherence instance.

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

Returns
TypeDescription
CoherenceInstanceOrBuilder

getMetricSpec()

public CoherenceSpec getMetricSpec()

Required. Spec for coherence score metric.

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

Returns
TypeDescription
CoherenceSpec

The metricSpec.

getMetricSpecBuilder()

public CoherenceSpec.Builder getMetricSpecBuilder()

Required. Spec for coherence score metric.

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

Returns
TypeDescription
CoherenceSpec.Builder

getMetricSpecOrBuilder()

public CoherenceSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for coherence score metric.

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

Returns
TypeDescription
CoherenceSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Coherence instance.

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

Returns
TypeDescription
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for coherence score metric.

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

public CoherenceInput.Builder mergeFrom(CoherenceInput other)
Parameter
NameDescription
otherCoherenceInput
Returns
TypeDescription
CoherenceInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(CoherenceInstance value)

public CoherenceInput.Builder mergeInstance(CoherenceInstance value)

Required. Coherence instance.

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

Parameter
NameDescription
valueCoherenceInstance
Returns
TypeDescription
CoherenceInput.Builder

mergeMetricSpec(CoherenceSpec value)

public CoherenceInput.Builder mergeMetricSpec(CoherenceSpec value)

Required. Spec for coherence score metric.

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

Parameter
NameDescription
valueCoherenceSpec
Returns
TypeDescription
CoherenceInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(CoherenceInstance value)

public CoherenceInput.Builder setInstance(CoherenceInstance value)

Required. Coherence instance.

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

Parameter
NameDescription
valueCoherenceInstance
Returns
TypeDescription
CoherenceInput.Builder

setInstance(CoherenceInstance.Builder builderForValue)

public CoherenceInput.Builder setInstance(CoherenceInstance.Builder builderForValue)

Required. Coherence instance.

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

Parameter
NameDescription
builderForValueCoherenceInstance.Builder
Returns
TypeDescription
CoherenceInput.Builder

setMetricSpec(CoherenceSpec value)

public CoherenceInput.Builder setMetricSpec(CoherenceSpec value)

Required. Spec for coherence score metric.

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

Parameter
NameDescription
valueCoherenceSpec
Returns
TypeDescription
CoherenceInput.Builder

setMetricSpec(CoherenceSpec.Builder builderForValue)

public CoherenceInput.Builder setMetricSpec(CoherenceSpec.Builder builderForValue)

Required. Spec for coherence score metric.

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

Parameter
NameDescription
builderForValueCoherenceSpec.Builder
Returns
TypeDescription
CoherenceInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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