Class SummarizationVerbosityInput.Builder (3.52.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SummarizationVerbosityInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides

build()

public SummarizationVerbosityInput build()
Returns
Type Description
SummarizationVerbosityInput

buildPartial()

public SummarizationVerbosityInput buildPartial()
Returns
Type Description
SummarizationVerbosityInput

clear()

public SummarizationVerbosityInput.Builder clear()
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SummarizationVerbosityInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
SummarizationVerbosityInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SummarizationVerbosityInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides

clone()

public SummarizationVerbosityInput.Builder clone()
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides

getDefaultInstanceForType()

public SummarizationVerbosityInput getDefaultInstanceForType()
Returns
Type Description
SummarizationVerbosityInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstance()

public SummarizationVerbosityInstance getInstance()

Required. Summarization verbosity instance.

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

Returns
Type Description
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
Type Description
SummarizationVerbosityInstance.Builder

getInstanceOrBuilder()

public SummarizationVerbosityInstanceOrBuilder getInstanceOrBuilder()

Required. Summarization verbosity instance.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
SummarizationVerbositySpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Summarization verbosity instance.

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

Returns
Type Description
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
Type Description
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SummarizationVerbosityInput other)

public SummarizationVerbosityInput.Builder mergeFrom(SummarizationVerbosityInput other)
Parameter
Name Description
other SummarizationVerbosityInput
Returns
Type Description
SummarizationVerbosityInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SummarizationVerbosityInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SummarizationVerbosityInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value SummarizationVerbosityInstance
Returns
Type Description
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
Name Description
value SummarizationVerbositySpec
Returns
Type Description
SummarizationVerbosityInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SummarizationVerbosityInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SummarizationVerbosityInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value SummarizationVerbosityInstance
Returns
Type Description
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
Name Description
builderForValue SummarizationVerbosityInstance.Builder
Returns
Type Description
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
Name Description
value SummarizationVerbositySpec
Returns
Type Description
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
Name Description
builderForValue SummarizationVerbositySpec.Builder
Returns
Type Description
SummarizationVerbosityInput.Builder

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

public SummarizationVerbosityInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SummarizationVerbosityInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SummarizationVerbosityInput.Builder
Overrides