Interface PartOrBuilder (3.35.0)

public interface PartOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataCase()

public abstract Part.DataCase getDataCase()
Returns
TypeDescription
Part.DataCase

getFileData()

public abstract FileData getFileData()

Optional. URI based data.

.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FileData

The fileData.

getFileDataOrBuilder()

public abstract FileDataOrBuilder getFileDataOrBuilder()

Optional. URI based data.

.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FileDataOrBuilder

getFunctionCall()

public abstract FunctionCall getFunctionCall()

Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.

.google.cloud.aiplatform.v1.FunctionCall function_call = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FunctionCall

The functionCall.

getFunctionCallOrBuilder()

public abstract FunctionCallOrBuilder getFunctionCallOrBuilder()

Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.

.google.cloud.aiplatform.v1.FunctionCall function_call = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FunctionCallOrBuilder

getFunctionResponse()

public abstract FunctionResponse getFunctionResponse()

Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.

.google.cloud.aiplatform.v1.FunctionResponse function_response = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FunctionResponse

The functionResponse.

getFunctionResponseOrBuilder()

public abstract FunctionResponseOrBuilder getFunctionResponseOrBuilder()

Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.

.google.cloud.aiplatform.v1.FunctionResponse function_response = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FunctionResponseOrBuilder

getInlineData()

public abstract Blob getInlineData()

Optional. Inlined bytes data.

.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Blob

The inlineData.

getInlineDataOrBuilder()

public abstract BlobOrBuilder getInlineDataOrBuilder()

Optional. Inlined bytes data.

.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
BlobOrBuilder

getMetadataCase()

public abstract Part.MetadataCase getMetadataCase()
Returns
TypeDescription
Part.MetadataCase

getText()

public abstract String getText()

Optional. Text part (can be code).

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

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Optional. Text part (can be code).

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

Returns
TypeDescription
ByteString

The bytes for text.

getVideoMetadata()

public abstract VideoMetadata getVideoMetadata()

Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.

.google.cloud.aiplatform.v1.VideoMetadata video_metadata = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
VideoMetadata

The videoMetadata.

getVideoMetadataOrBuilder()

public abstract VideoMetadataOrBuilder getVideoMetadataOrBuilder()

Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.

.google.cloud.aiplatform.v1.VideoMetadata video_metadata = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
VideoMetadataOrBuilder

hasFileData()

public abstract boolean hasFileData()

Optional. URI based data.

.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the fileData field is set.

hasFunctionCall()

public abstract boolean hasFunctionCall()

Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values.

.google.cloud.aiplatform.v1.FunctionCall function_call = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the functionCall field is set.

hasFunctionResponse()

public abstract boolean hasFunctionResponse()

Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.

.google.cloud.aiplatform.v1.FunctionResponse function_response = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the functionResponse field is set.

hasInlineData()

public abstract boolean hasInlineData()

Optional. Inlined bytes data.

.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the inlineData field is set.

hasText()

public abstract boolean hasText()

Optional. Text part (can be code).

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

Returns
TypeDescription
boolean

Whether the text field is set.

hasVideoMetadata()

public abstract boolean hasVideoMetadata()

Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.

.google.cloud.aiplatform.v1.VideoMetadata video_metadata = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the videoMetadata field is set.