public static final class ContentsExample.Builder extends GeneratedMessageV3.Builder<ContentsExample.Builder> implements ContentsExampleOrBuilder
   
   A single example of a conversation with the model.
 Protobuf type google.cloud.aiplatform.v1beta1.ContentsExample
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  addAllContents(Iterable<? extends Content> values)
  
    public ContentsExample.Builder addAllContents(Iterable<? extends Content> values)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.Content>
 | 
    
  
  
  
  addAllExpectedContents(Iterable<? extends ContentsExample.ExpectedContent> values)
  
    public ContentsExample.Builder addAllExpectedContents(Iterable<? extends ContentsExample.ExpectedContent> values)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent>
 | 
    
  
  
  
  addContents(Content value)
  
    public ContentsExample.Builder addContents(Content value)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | value | Content
 | 
    
  
  
  
  addContents(Content.Builder builderForValue)
  
    public ContentsExample.Builder addContents(Content.Builder builderForValue)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
addContents(int index, Content value)
  
    public ContentsExample.Builder addContents(int index, Content value)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameters | 
      
        | Name | Description | 
      
        | index | int
 | 
      
        | value | Content
 | 
    
  
  
  
  addContents(int index, Content.Builder builderForValue)
  
    public ContentsExample.Builder addContents(int index, Content.Builder builderForValue)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
addContentsBuilder()
  
    public Content.Builder addContentsBuilder()
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
addContentsBuilder(int index)
  
    public Content.Builder addContentsBuilder(int index)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  addExpectedContents(ContentsExample.ExpectedContent value)
  
    public ContentsExample.Builder addExpectedContents(ContentsExample.ExpectedContent value)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
addExpectedContents(ContentsExample.ExpectedContent.Builder builderForValue)
  
    public ContentsExample.Builder addExpectedContents(ContentsExample.ExpectedContent.Builder builderForValue)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
addExpectedContents(int index, ContentsExample.ExpectedContent value)
  
    public ContentsExample.Builder addExpectedContents(int index, ContentsExample.ExpectedContent value)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
addExpectedContents(int index, ContentsExample.ExpectedContent.Builder builderForValue)
  
    public ContentsExample.Builder addExpectedContents(int index, ContentsExample.ExpectedContent.Builder builderForValue)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
addExpectedContentsBuilder()
  
    public ContentsExample.ExpectedContent.Builder addExpectedContentsBuilder()
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
addExpectedContentsBuilder(int index)
  
    public ContentsExample.ExpectedContent.Builder addExpectedContentsBuilder(int index)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public ContentsExample.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  build()
  
    public ContentsExample build()
   
  
  
  buildPartial()
  
    public ContentsExample buildPartial()
   
  
  
  clear()
  
    public ContentsExample.Builder clear()
   
  
  Overrides
  
  
  clearContents()
  
    public ContentsExample.Builder clearContents()
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
clearExpectedContents()
  
    public ContentsExample.Builder clearExpectedContents()
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
clearField(Descriptors.FieldDescriptor field)
  
    public ContentsExample.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public ContentsExample.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clone()
  
    public ContentsExample.Builder clone()
   
  
  Overrides
  
  
  getContents(int index)
  
    public Content getContents(int index)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getContentsBuilder(int index)
  
    public Content.Builder getContentsBuilder(int index)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getContentsBuilderList()
  
    public List<Content.Builder> getContentsBuilderList()
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
getContentsCount()
  
    public int getContentsCount()
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  getContentsList()
  
    public List<Content> getContentsList()
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
getContentsOrBuilder(int index)
  
    public ContentOrBuilder getContentsOrBuilder(int index)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getContentsOrBuilderList()
  
    public List<? extends ContentOrBuilder> getContentsOrBuilderList()
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder> |  | 
    
  
  
  getDefaultInstanceForType()
  
    public ContentsExample getDefaultInstanceForType()
   
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  getExpectedContents(int index)
  
    public ContentsExample.ExpectedContent getExpectedContents(int index)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getExpectedContentsBuilder(int index)
  
    public ContentsExample.ExpectedContent.Builder getExpectedContentsBuilder(int index)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getExpectedContentsBuilderList()
  
    public List<ContentsExample.ExpectedContent.Builder> getExpectedContentsBuilderList()
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
getExpectedContentsCount()
  
    public int getExpectedContentsCount()
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  getExpectedContentsList()
  
    public List<ContentsExample.ExpectedContent> getExpectedContentsList()
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
getExpectedContentsOrBuilder(int index)
  
    public ContentsExample.ExpectedContentOrBuilder getExpectedContentsOrBuilder(int index)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getExpectedContentsOrBuilderList()
  
    public List<? extends ContentsExample.ExpectedContentOrBuilder> getExpectedContentsOrBuilderList()
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContentOrBuilder> |  | 
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  mergeFrom(ContentsExample other)
  
    public ContentsExample.Builder mergeFrom(ContentsExample other)
   
  
  
  
  mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
  
    public ContentsExample.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  mergeFrom(Message other)
  
    public ContentsExample.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | other | Message
 | 
    
  
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final ContentsExample.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  removeContents(int index)
  
    public ContentsExample.Builder removeContents(int index)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  removeExpectedContents(int index)
  
    public ContentsExample.Builder removeExpectedContents(int index)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  setContents(int index, Content value)
  
    public ContentsExample.Builder setContents(int index, Content value)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameters | 
      
        | Name | Description | 
      
        | index | int
 | 
      
        | value | Content
 | 
    
  
  
  
  setContents(int index, Content.Builder builderForValue)
  
    public ContentsExample.Builder setContents(int index, Content.Builder builderForValue)
   
   Required. The content of the conversation with the model that resulted in
 the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = REQUIRED];
 
setExpectedContents(int index, ContentsExample.ExpectedContent value)
  
    public ContentsExample.Builder setExpectedContents(int index, ContentsExample.ExpectedContent value)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
setExpectedContents(int index, ContentsExample.ExpectedContent.Builder builderForValue)
  
    public ContentsExample.Builder setExpectedContents(int index, ContentsExample.ExpectedContent.Builder builderForValue)
   
   Required. The expected output for the given contents. To represent
 multi-step reasoning, this is a repeated field that contains the iterative
 steps of the expected output.
 
 repeated .google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent expected_contents = 2 [(.google.api.field_behavior) = REQUIRED];
 
setField(Descriptors.FieldDescriptor field, Object value)
  
    public ContentsExample.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public ContentsExample.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final ContentsExample.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides