Interface ContentMap.ContentsOrBuilder (3.64.0)

public static interface ContentMap.ContentsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents(int index)

public abstract Content getContents(int index)

Optional. Repeated contents.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Content

getContentsCount()

public abstract int getContentsCount()

Optional. Repeated contents.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getContentsList()

public abstract List<Content> getContentsList()

Optional. Repeated contents.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Content>

getContentsOrBuilder(int index)

public abstract ContentOrBuilder getContentsOrBuilder(int index)

Optional. Repeated contents.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ContentOrBuilder

getContentsOrBuilderList()

public abstract List<? extends ContentOrBuilder> getContentsOrBuilderList()

Optional. Repeated contents.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder>