Class CorroborateContentRequest.Parameters.Builder (3.56.0)

public static final class CorroborateContentRequest.Parameters.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

public CorroborateContentRequest.Parameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CorroborateContentRequest.Parameters.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CorroborateContentRequest.Parameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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