Package com.google.cloud.aiplatform.v1
Interface CorroborateContentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CorroborateContentRequest,CorroborateContentRequest.Builder
@Generated
public interface CorroborateContentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.getFacts(int index) Optional.intOptional.Optional.getFactsOrBuilder(int index) Optional.List<? extends FactOrBuilder>Optional.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasContent
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:
- Whether the content field is set.
-
getContent
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:
- The content.
-
getContentOrBuilder
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]; -
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]; -
getFacts
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]; -
getFactsCount
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]; -
getFactsOrBuilderList
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]; -
getFactsOrBuilder
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]; -
hasParameters
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:
- Whether the parameters field is set.
-
getParameters
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:
- The parameters.
-
getParametersOrBuilder
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];
-