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