Interface CorroborateContentRequestOrBuilder (3.56.0)

public interface CorroborateContentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract Content getContent()

Optional. Input content to corroborate, only text format is supported for now.

optional .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Content

The content.

getContentOrBuilder()

public abstract ContentOrBuilder getContentOrBuilder()

Optional. Input content to corroborate, only text format is supported for now.

optional .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContentOrBuilder

getFacts(int index)

public abstract Fact getFacts(int index)

Optional. Facts used to generate the text can also be used to corroborate the text.

repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Fact

getFactsCount()

public abstract int getFactsCount()

Optional. Facts used to generate the text can also be used to corroborate the text.

repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFactsList()

public abstract List<Fact> getFactsList()

Optional. Facts used to generate the text can also be used to corroborate the text.

repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Fact>

getFactsOrBuilder(int index)

public abstract FactOrBuilder getFactsOrBuilder(int index)

Optional. Facts used to generate the text can also be used to corroborate the text.

repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FactOrBuilder

getFactsOrBuilderList()

public abstract List<? extends FactOrBuilder> getFactsOrBuilderList()

Optional. Facts used to generate the text can also be used to corroborate the text.

repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.FactOrBuilder>

getParameters()

public abstract CorroborateContentRequest.Parameters getParameters()

Optional. Parameters that can be set to override default settings per request.

.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CorroborateContentRequest.Parameters

The parameters.

getParametersOrBuilder()

public abstract CorroborateContentRequest.ParametersOrBuilder getParametersOrBuilder()

Optional. Parameters that can be set to override default settings per request.

.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CorroborateContentRequest.ParametersOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the Location from which to corroborate text. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the Location from which to corroborate text. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasContent()

public abstract boolean hasContent()

Optional. Input content to corroborate, only text format is supported for now.

optional .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the content field is set.

hasParameters()

public abstract boolean hasParameters()

Optional. Parameters that can be set to override default settings per request.

.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the parameters field is set.