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

      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];
    • getFacts

      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];
    • 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

      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];
    • 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

       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

       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];