Class CorroborateContentRequest.Parameters.Builder (3.84.0)

public static final class CorroborateContentRequest.Parameters.Builder extends GeneratedMessage.Builder<CorroborateContentRequest.Parameters.Builder> implements CorroborateContentRequest.ParametersOrBuilder

Parameters that can be overrided per request.

Protobuf type google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CorroborateContentRequest.Parameters build()
Returns
Type Description
CorroborateContentRequest.Parameters

buildPartial()

public CorroborateContentRequest.Parameters buildPartial()
Returns
Type Description
CorroborateContentRequest.Parameters

clear()

public CorroborateContentRequest.Parameters.Builder clear()
Returns
Type Description
CorroborateContentRequest.Parameters.Builder
Overrides

clearCitationThreshold()

public CorroborateContentRequest.Parameters.Builder clearCitationThreshold()

Optional. Only return claims with citation score larger than the threshold.

double citation_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CorroborateContentRequest.Parameters.Builder

This builder for chaining.

getCitationThreshold()

public double getCitationThreshold()

Optional. Only return claims with citation score larger than the threshold.

double citation_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The citationThreshold.

getDefaultInstanceForType()

public CorroborateContentRequest.Parameters getDefaultInstanceForType()
Returns
Type Description
CorroborateContentRequest.Parameters

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CorroborateContentRequest.Parameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CorroborateContentRequest.Parameters.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CorroborateContentRequest.Parameters.Builder
Overrides

setCitationThreshold(double value)

public CorroborateContentRequest.Parameters.Builder setCitationThreshold(double value)

Optional. Only return claims with citation score larger than the threshold.

double citation_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The citationThreshold to set.

Returns
Type Description
CorroborateContentRequest.Parameters.Builder

This builder for chaining.