Interface ContentsExampleOrBuilder (3.64.0)

public interface ContentsExampleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents(int index)

public abstract 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
Returns
Type Description
Content

getContentsCount()

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

Returns
Type Description
List<Content>

getContentsOrBuilder(int index)

public abstract 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
Returns
Type Description
ContentOrBuilder

getContentsOrBuilderList()

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

getExpectedContents(int index)

public abstract 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
Returns
Type Description
ContentsExample.ExpectedContent

getExpectedContentsCount()

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

Returns
Type Description
List<ExpectedContent>

getExpectedContentsOrBuilder(int index)

public abstract 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
Returns
Type Description
ContentsExample.ExpectedContentOrBuilder

getExpectedContentsOrBuilderList()

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