public static final class PairwiseSummarizationQualityInput.Builder extends GeneratedMessageV3.Builder<PairwiseSummarizationQualityInput.Builder> implements PairwiseSummarizationQualityInputOrBuilder
Input for pairwise summarization quality metric.
Protobuf type google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput
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 PairwiseSummarizationQualityInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PairwiseSummarizationQualityInput build()
public PairwiseSummarizationQualityInput buildPartial()
public PairwiseSummarizationQualityInput.Builder clear()
Overrides
public PairwiseSummarizationQualityInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PairwiseSummarizationQualityInput.Builder clearInstance()
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInput.Builder clearMetricSpec()
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public PairwiseSummarizationQualityInput.Builder clone()
Overrides
public PairwiseSummarizationQualityInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public PairwiseSummarizationQualityInstance getInstance()
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInstance.Builder getInstanceBuilder()
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInstanceOrBuilder getInstanceOrBuilder()
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualitySpec getMetricSpec()
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualitySpec.Builder getMetricSpecBuilder()
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualitySpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasInstance()
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the instance field is set.
|
public boolean hasMetricSpec()
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec 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 PairwiseSummarizationQualityInput.Builder mergeFrom(PairwiseSummarizationQualityInput other)
public PairwiseSummarizationQualityInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PairwiseSummarizationQualityInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public PairwiseSummarizationQualityInput.Builder mergeInstance(PairwiseSummarizationQualityInstance value)
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInput.Builder mergeMetricSpec(PairwiseSummarizationQualitySpec value)
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final PairwiseSummarizationQualityInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public PairwiseSummarizationQualityInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PairwiseSummarizationQualityInput.Builder setInstance(PairwiseSummarizationQualityInstance value)
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInput.Builder setInstance(PairwiseSummarizationQualityInstance.Builder builderForValue)
Required. Pairwise summarization quality instance.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInput.Builder setMetricSpec(PairwiseSummarizationQualitySpec value)
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInput.Builder setMetricSpec(PairwiseSummarizationQualitySpec.Builder builderForValue)
Required. Spec for pairwise summarization quality score metric.
.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public PairwiseSummarizationQualityInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final PairwiseSummarizationQualityInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides