Class SummarizationVerbosityInput.Builder (3.41.0)

public static final class SummarizationVerbosityInput.Builder extends GeneratedMessageV3.Builder<SummarizationVerbosityInput.Builder> implements SummarizationVerbosityInputOrBuilder

Input for summarization verbosity metric.

Protobuf type google.cloud.aiplatform.v1beta1.SummarizationVerbosityInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SummarizationVerbosityInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

build()

public SummarizationVerbosityInput build()
Returns
TypeDescription
SummarizationVerbosityInput

buildPartial()

public SummarizationVerbosityInput buildPartial()
Returns
TypeDescription
SummarizationVerbosityInput

clear()

public SummarizationVerbosityInput.Builder clear()
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SummarizationVerbosityInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

clearInstance()

public SummarizationVerbosityInput.Builder clearInstance()

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbosityInput.Builder

clearMetricSpec()

public SummarizationVerbosityInput.Builder clearMetricSpec()

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbosityInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SummarizationVerbosityInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

clone()

public SummarizationVerbosityInput.Builder clone()
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

getDefaultInstanceForType()

public SummarizationVerbosityInput getDefaultInstanceForType()
Returns
TypeDescription
SummarizationVerbosityInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public SummarizationVerbosityInstance getInstance()

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbosityInstance

The instance.

getInstanceBuilder()

public SummarizationVerbosityInstance.Builder getInstanceBuilder()

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbosityInstance.Builder

getInstanceOrBuilder()

public SummarizationVerbosityInstanceOrBuilder getInstanceOrBuilder()

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbosityInstanceOrBuilder

getMetricSpec()

public SummarizationVerbositySpec getMetricSpec()

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbositySpec

The metricSpec.

getMetricSpecBuilder()

public SummarizationVerbositySpec.Builder getMetricSpecBuilder()

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbositySpec.Builder

getMetricSpecOrBuilder()

public SummarizationVerbositySpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SummarizationVerbositySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SummarizationVerbosityInput other)

public SummarizationVerbosityInput.Builder mergeFrom(SummarizationVerbosityInput other)
Parameter
NameDescription
otherSummarizationVerbosityInput
Returns
TypeDescription
SummarizationVerbosityInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SummarizationVerbosityInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SummarizationVerbosityInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

mergeInstance(SummarizationVerbosityInstance value)

public SummarizationVerbosityInput.Builder mergeInstance(SummarizationVerbosityInstance value)

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSummarizationVerbosityInstance
Returns
TypeDescription
SummarizationVerbosityInput.Builder

mergeMetricSpec(SummarizationVerbositySpec value)

public SummarizationVerbosityInput.Builder mergeMetricSpec(SummarizationVerbositySpec value)

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSummarizationVerbositySpec
Returns
TypeDescription
SummarizationVerbosityInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SummarizationVerbosityInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SummarizationVerbosityInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

setInstance(SummarizationVerbosityInstance value)

public SummarizationVerbosityInput.Builder setInstance(SummarizationVerbosityInstance value)

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSummarizationVerbosityInstance
Returns
TypeDescription
SummarizationVerbosityInput.Builder

setInstance(SummarizationVerbosityInstance.Builder builderForValue)

public SummarizationVerbosityInput.Builder setInstance(SummarizationVerbosityInstance.Builder builderForValue)

Required. Summarization verbosity instance.

.google.cloud.aiplatform.v1beta1.SummarizationVerbosityInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSummarizationVerbosityInstance.Builder
Returns
TypeDescription
SummarizationVerbosityInput.Builder

setMetricSpec(SummarizationVerbositySpec value)

public SummarizationVerbosityInput.Builder setMetricSpec(SummarizationVerbositySpec value)

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSummarizationVerbositySpec
Returns
TypeDescription
SummarizationVerbosityInput.Builder

setMetricSpec(SummarizationVerbositySpec.Builder builderForValue)

public SummarizationVerbosityInput.Builder setMetricSpec(SummarizationVerbositySpec.Builder builderForValue)

Required. Spec for summarization verbosity score metric.

.google.cloud.aiplatform.v1beta1.SummarizationVerbositySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSummarizationVerbositySpec.Builder
Returns
TypeDescription
SummarizationVerbosityInput.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SummarizationVerbosityInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SummarizationVerbosityInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SummarizationVerbosityInput.Builder
Overrides