public interface PartOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Part.DataCase |
getDataCase() |
FileData |
getFileData()
Optional.
|
FileDataOrBuilder |
getFileDataOrBuilder()
Optional.
|
FunctionCall |
getFunctionCall()
Optional.
|
FunctionCallOrBuilder |
getFunctionCallOrBuilder()
Optional.
|
FunctionResponse |
getFunctionResponse()
Optional.
|
FunctionResponseOrBuilder |
getFunctionResponseOrBuilder()
Optional.
|
Blob |
getInlineData()
Optional.
|
BlobOrBuilder |
getInlineDataOrBuilder()
Optional.
|
Part.MetadataCase |
getMetadataCase() |
String |
getText()
Optional.
|
com.google.protobuf.ByteString |
getTextBytes()
Optional.
|
VideoMetadata |
getVideoMetadata()
Optional.
|
VideoMetadataOrBuilder |
getVideoMetadataOrBuilder()
Optional.
|
boolean |
hasFileData()
Optional.
|
boolean |
hasFunctionCall()
Optional.
|
boolean |
hasFunctionResponse()
Optional.
|
boolean |
hasInlineData()
Optional.
|
boolean |
hasText()
Optional.
|
boolean |
hasVideoMetadata()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasText()
Optional. Text part (can be code).
string text = 1 [(.google.api.field_behavior) = OPTIONAL];String getText()
Optional. Text part (can be code).
string text = 1 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getTextBytes()
Optional. Text part (can be code).
string text = 1 [(.google.api.field_behavior) = OPTIONAL];boolean hasInlineData()
Optional. Inlined bytes data.
.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
Blob getInlineData()
Optional. Inlined bytes data.
.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
BlobOrBuilder getInlineDataOrBuilder()
Optional. Inlined bytes data.
.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
boolean hasFileData()
Optional. URI based data.
.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
FileData getFileData()
Optional. URI based data.
.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
FileDataOrBuilder getFileDataOrBuilder()
Optional. URI based data.
.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
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];
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];
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];
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];
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];
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];
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];
Part.DataCase getDataCase()
Part.MetadataCase getMetadataCase()
Copyright © 2024 Google LLC. All rights reserved.