public static final class CoherenceInput.Builder extends GeneratedMessageV3.Builder<CoherenceInput.Builder> implements CoherenceInputOrBuilder
Input for coherence metric.
Protobuf type google.cloud.aiplatform.v1.CoherenceInput
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CoherenceInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CoherenceInput build()
public CoherenceInput buildPartial()
public CoherenceInput.Builder clear()
Overrides
public CoherenceInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CoherenceInput.Builder clearInstance()
Required. Coherence instance.
.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public CoherenceInput.Builder clearMetricSpec()
Required. Spec for coherence score metric.
.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public CoherenceInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CoherenceInput.Builder clone()
Overrides
public CoherenceInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public CoherenceInstance getInstance()
Required. Coherence instance.
.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public CoherenceInstance.Builder getInstanceBuilder()
Required. Coherence instance.
.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public CoherenceInstanceOrBuilder getInstanceOrBuilder()
Required. Coherence instance.
.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public CoherenceSpec getMetricSpec()
Required. Spec for coherence score metric.
.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public CoherenceSpec.Builder getMetricSpecBuilder()
Required. Spec for coherence score metric.
.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public CoherenceSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for coherence score metric.
.google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CoherenceInput.Builder mergeFrom(CoherenceInput other)
public CoherenceInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CoherenceInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public CoherenceInput.Builder mergeInstance(CoherenceInstance value)
Required. Coherence instance.
.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public final CoherenceInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CoherenceInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CoherenceInput.Builder setInstance(CoherenceInstance value)
Required. Coherence instance.
.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public CoherenceInput.Builder setInstance(CoherenceInstance.Builder builderForValue)
Required. Coherence instance.
.google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
public CoherenceInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CoherenceInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides