Interface ExampleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Example, Example.Builder

@Generated public interface ExampleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasStoredContentsExample

      boolean hasStoredContentsExample()
       An example of chat history and its expected outcome to be used with
       GenerateContent.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExample stored_contents_example = 6;
      Returns:
      Whether the storedContentsExample field is set.
    • getStoredContentsExample

      StoredContentsExample getStoredContentsExample()
       An example of chat history and its expected outcome to be used with
       GenerateContent.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExample stored_contents_example = 6;
      Returns:
      The storedContentsExample.
    • getStoredContentsExampleOrBuilder

      StoredContentsExampleOrBuilder getStoredContentsExampleOrBuilder()
       An example of chat history and its expected outcome to be used with
       GenerateContent.
       
      .google.cloud.aiplatform.v1beta1.StoredContentsExample stored_contents_example = 6;
    • getDisplayName

      String getDisplayName()
       Optional. The display name for Example.
       
      string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. The display name for Example.
       
      string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getExampleId

      String getExampleId()
       Optional. Immutable. Unique identifier of an example. If not specified when
       upserting new examples, the example_id will be generated.
       
      string example_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The exampleId.
    • getExampleIdBytes

      com.google.protobuf.ByteString getExampleIdBytes()
       Optional. Immutable. Unique identifier of an example. If not specified when
       upserting new examples, the example_id will be generated.
       
      string example_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for exampleId.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Timestamp when this Example was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this Example was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this Example was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getExampleTypeCase

      Example.ExampleTypeCase getExampleTypeCase()