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