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