Package com.google.cloud.aiplatform.v1
Interface PartOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Part,Part.Builder
@Generated
public interface PartOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.per part media resolution.per part media resolution.getText()Optional.com.google.protobuf.ByteStringOptional.booleanIndicates if the part is thought from the model.com.google.protobuf.ByteStringAn opaque signature for the thought so it can be reused in subsequent requests.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanper part media resolution.booleanhasText()Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasText
boolean hasText()Optional. Text part (can be code).
string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the text field is set.
-
getText
String getText()Optional. Text part (can be code).
string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Optional. Text part (can be code).
string text = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for text.
-
hasInlineData
boolean hasInlineData()Optional. Inlined bytes data.
.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the inlineData field is set.
-
getInlineData
Blob getInlineData()Optional. Inlined bytes data.
.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The inlineData.
-
getInlineDataOrBuilder
BlobOrBuilder getInlineDataOrBuilder()Optional. Inlined bytes data.
.google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasFileData
boolean hasFileData()Optional. URI based data.
.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the fileData field is set.
-
getFileData
FileData getFileData()Optional. URI based data.
.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The fileData.
-
getFileDataOrBuilder
FileDataOrBuilder getFileDataOrBuilder()Optional. URI based data.
.google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasFunctionCall
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:
- Whether the functionCall field is set.
-
getFunctionCall
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:
- The functionCall.
-
getFunctionCallOrBuilder
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]; -
hasFunctionResponse
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:
- Whether the functionResponse field is set.
-
getFunctionResponse
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:
- The functionResponse.
-
getFunctionResponseOrBuilder
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]; -
hasExecutableCode
boolean hasExecutableCode()Optional. Code generated by the model that is meant to be executed.
.google.cloud.aiplatform.v1.ExecutableCode executable_code = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the executableCode field is set.
-
getExecutableCode
ExecutableCode getExecutableCode()Optional. Code generated by the model that is meant to be executed.
.google.cloud.aiplatform.v1.ExecutableCode executable_code = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The executableCode.
-
getExecutableCodeOrBuilder
ExecutableCodeOrBuilder getExecutableCodeOrBuilder()Optional. Code generated by the model that is meant to be executed.
.google.cloud.aiplatform.v1.ExecutableCode executable_code = 8 [(.google.api.field_behavior) = OPTIONAL]; -
hasCodeExecutionResult
boolean hasCodeExecutionResult()Optional. Result of executing the [ExecutableCode].
.google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the codeExecutionResult field is set.
-
getCodeExecutionResult
CodeExecutionResult getCodeExecutionResult()Optional. Result of executing the [ExecutableCode].
.google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The codeExecutionResult.
-
getCodeExecutionResultOrBuilder
CodeExecutionResultOrBuilder getCodeExecutionResultOrBuilder()Optional. Result of executing the [ExecutableCode].
.google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getThought
boolean getThought()Indicates if the part is thought from the model.
bool thought = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The thought.
-
getThoughtSignature
com.google.protobuf.ByteString getThoughtSignature()An opaque signature for the thought so it can be reused in subsequent requests.
bytes thought_signature = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The thoughtSignature.
-
hasVideoMetadata
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:
- Whether the videoMetadata field is set.
-
getVideoMetadata
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:
- The videoMetadata.
-
getVideoMetadataOrBuilder
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]; -
hasMediaResolution
boolean hasMediaResolution()per part media resolution. Media resolution for the input media.
.google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;- Returns:
- Whether the mediaResolution field is set.
-
getMediaResolution
Part.MediaResolution getMediaResolution()per part media resolution. Media resolution for the input media.
.google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;- Returns:
- The mediaResolution.
-
getMediaResolutionOrBuilder
Part.MediaResolutionOrBuilder getMediaResolutionOrBuilder()per part media resolution. Media resolution for the input media.
.google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12; -
getDataCase
Part.DataCase getDataCase() -
getMetadataCase
Part.MetadataCase getMetadataCase()
-