Interface ExampleOrBuilder (3.64.0)

public interface ExampleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Timestamp when this Example was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this Example was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

Optional. The display name for Example.

string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Optional. The display name for Example.

string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getExampleId()

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

The exampleId.

getExampleIdBytes()

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

The bytes for exampleId.

getExampleTypeCase()

public abstract Example.ExampleTypeCase getExampleTypeCase()
Returns
Type Description
Example.ExampleTypeCase

getStoredContentsExample()

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

The storedContentsExample.

getStoredContentsExampleOrBuilder()

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

Returns
Type Description
StoredContentsExampleOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Timestamp when this Example was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasStoredContentsExample()

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

Whether the storedContentsExample field is set.