Class Part.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Part.Builder>
com.google.cloud.aiplatform.v1.Part.Builder
All Implemented Interfaces:
PartOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Part

public static final class Part.Builder extends com.google.protobuf.GeneratedMessage.Builder<Part.Builder> implements PartOrBuilder
 A datatype containing media that is part of a multi-part `Content` message.

 A `Part` consists of data which has an associated datatype. A `Part` can only
 contain one of the accepted types in `Part.data`.

 A `Part` must have a fixed IANA MIME type identifying the type and subtype
 of the media if `inline_data` or `file_data` field is filled with raw bytes.
 
Protobuf type google.cloud.aiplatform.v1.Part
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Part.Builder>
    • clear

      public Part.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Part.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Part.Builder>
    • getDefaultInstanceForType

      public Part getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Part build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Part buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Part.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Part.Builder>
    • mergeFrom

      public Part.Builder mergeFrom(Part other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Part.Builder>
    • mergeFrom

      public Part.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Part.Builder>
      Throws:
      IOException
    • getDataCase

      public Part.DataCase getDataCase()
      Specified by:
      getDataCase in interface PartOrBuilder
    • clearData

      public Part.Builder clearData()
    • getMetadataCase

      public Part.MetadataCase getMetadataCase()
      Specified by:
      getMetadataCase in interface PartOrBuilder
    • clearMetadata

      public Part.Builder clearMetadata()
    • hasText

      public boolean hasText()
       Optional. Text part (can be code).
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasText in interface PartOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public String getText()
       Optional. Text part (can be code).
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getText in interface PartOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
       Optional. Text part (can be code).
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTextBytes in interface PartOrBuilder
      Returns:
      The bytes for text.
    • setText

      public Part.Builder setText(String value)
       Optional. Text part (can be code).
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public Part.Builder clearText()
       Optional. Text part (can be code).
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTextBytes

      public Part.Builder setTextBytes(com.google.protobuf.ByteString value)
       Optional. Text part (can be code).
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.
    • hasInlineData

      public boolean hasInlineData()
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasInlineData in interface PartOrBuilder
      Returns:
      Whether the inlineData field is set.
    • getInlineData

      public Blob getInlineData()
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInlineData in interface PartOrBuilder
      Returns:
      The inlineData.
    • setInlineData

      public Part.Builder setInlineData(Blob value)
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setInlineData

      public Part.Builder setInlineData(Blob.Builder builderForValue)
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeInlineData

      public Part.Builder mergeInlineData(Blob value)
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearInlineData

      public Part.Builder clearInlineData()
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getInlineDataBuilder

      public Blob.Builder getInlineDataBuilder()
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getInlineDataOrBuilder

      public BlobOrBuilder getInlineDataOrBuilder()
       Optional. Inlined bytes data.
       
      .google.cloud.aiplatform.v1.Blob inline_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInlineDataOrBuilder in interface PartOrBuilder
    • hasFileData

      public boolean hasFileData()
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFileData in interface PartOrBuilder
      Returns:
      Whether the fileData field is set.
    • getFileData

      public FileData getFileData()
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileData in interface PartOrBuilder
      Returns:
      The fileData.
    • setFileData

      public Part.Builder setFileData(FileData value)
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setFileData

      public Part.Builder setFileData(FileData.Builder builderForValue)
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeFileData

      public Part.Builder mergeFileData(FileData value)
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearFileData

      public Part.Builder clearFileData()
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getFileDataBuilder

      public FileData.Builder getFileDataBuilder()
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getFileDataOrBuilder

      public FileDataOrBuilder getFileDataOrBuilder()
       Optional. URI based data.
       
      .google.cloud.aiplatform.v1.FileData file_data = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileDataOrBuilder in interface PartOrBuilder
    • hasFunctionCall

      public 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];
      Specified by:
      hasFunctionCall in interface PartOrBuilder
      Returns:
      Whether the functionCall field is set.
    • getFunctionCall

      public 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];
      Specified by:
      getFunctionCall in interface PartOrBuilder
      Returns:
      The functionCall.
    • setFunctionCall

      public Part.Builder setFunctionCall(FunctionCall value)
       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];
    • setFunctionCall

      public Part.Builder setFunctionCall(FunctionCall.Builder builderForValue)
       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];
    • mergeFunctionCall

      public Part.Builder mergeFunctionCall(FunctionCall value)
       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];
    • clearFunctionCall

      public Part.Builder clearFunctionCall()
       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];
    • getFunctionCallBuilder

      public FunctionCall.Builder getFunctionCallBuilder()
       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];
    • getFunctionCallOrBuilder

      public 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];
      Specified by:
      getFunctionCallOrBuilder in interface PartOrBuilder
    • hasFunctionResponse

      public 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];
      Specified by:
      hasFunctionResponse in interface PartOrBuilder
      Returns:
      Whether the functionResponse field is set.
    • getFunctionResponse

      public 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];
      Specified by:
      getFunctionResponse in interface PartOrBuilder
      Returns:
      The functionResponse.
    • setFunctionResponse

      public Part.Builder setFunctionResponse(FunctionResponse value)
       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];
    • setFunctionResponse

      public Part.Builder setFunctionResponse(FunctionResponse.Builder builderForValue)
       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];
    • mergeFunctionResponse

      public Part.Builder mergeFunctionResponse(FunctionResponse value)
       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];
    • clearFunctionResponse

      public Part.Builder clearFunctionResponse()
       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];
    • getFunctionResponseBuilder

      public FunctionResponse.Builder getFunctionResponseBuilder()
       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];
    • getFunctionResponseOrBuilder

      public 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];
      Specified by:
      getFunctionResponseOrBuilder in interface PartOrBuilder
    • hasExecutableCode

      public 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];
      Specified by:
      hasExecutableCode in interface PartOrBuilder
      Returns:
      Whether the executableCode field is set.
    • getExecutableCode

      public 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];
      Specified by:
      getExecutableCode in interface PartOrBuilder
      Returns:
      The executableCode.
    • setExecutableCode

      public Part.Builder setExecutableCode(ExecutableCode value)
       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];
    • setExecutableCode

      public Part.Builder setExecutableCode(ExecutableCode.Builder builderForValue)
       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];
    • mergeExecutableCode

      public Part.Builder mergeExecutableCode(ExecutableCode value)
       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];
    • clearExecutableCode

      public Part.Builder clearExecutableCode()
       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];
    • getExecutableCodeBuilder

      public ExecutableCode.Builder getExecutableCodeBuilder()
       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];
    • getExecutableCodeOrBuilder

      public 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];
      Specified by:
      getExecutableCodeOrBuilder in interface PartOrBuilder
    • hasCodeExecutionResult

      public boolean hasCodeExecutionResult()
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCodeExecutionResult in interface PartOrBuilder
      Returns:
      Whether the codeExecutionResult field is set.
    • getCodeExecutionResult

      public CodeExecutionResult getCodeExecutionResult()
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCodeExecutionResult in interface PartOrBuilder
      Returns:
      The codeExecutionResult.
    • setCodeExecutionResult

      public Part.Builder setCodeExecutionResult(CodeExecutionResult value)
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
    • setCodeExecutionResult

      public Part.Builder setCodeExecutionResult(CodeExecutionResult.Builder builderForValue)
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCodeExecutionResult

      public Part.Builder mergeCodeExecutionResult(CodeExecutionResult value)
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
    • clearCodeExecutionResult

      public Part.Builder clearCodeExecutionResult()
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getCodeExecutionResultBuilder

      public CodeExecutionResult.Builder getCodeExecutionResultBuilder()
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getCodeExecutionResultOrBuilder

      public CodeExecutionResultOrBuilder getCodeExecutionResultOrBuilder()
       Optional. Result of executing the [ExecutableCode].
       
      .google.cloud.aiplatform.v1.CodeExecutionResult code_execution_result = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCodeExecutionResultOrBuilder in interface PartOrBuilder
    • getThought

      public boolean getThought()
       Indicates if the part is thought from the model.
       
      bool thought = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getThought in interface PartOrBuilder
      Returns:
      The thought.
    • setThought

      public Part.Builder setThought(boolean value)
       Indicates if the part is thought from the model.
       
      bool thought = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The thought to set.
      Returns:
      This builder for chaining.
    • clearThought

      public Part.Builder clearThought()
       Indicates if the part is thought from the model.
       
      bool thought = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getThoughtSignature

      public 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];
      Specified by:
      getThoughtSignature in interface PartOrBuilder
      Returns:
      The thoughtSignature.
    • setThoughtSignature

      public Part.Builder setThoughtSignature(com.google.protobuf.ByteString value)
       An opaque signature for the thought so it can be reused in subsequent
       requests.
       
      bytes thought_signature = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The thoughtSignature to set.
      Returns:
      This builder for chaining.
    • clearThoughtSignature

      public Part.Builder clearThoughtSignature()
       An opaque signature for the thought so it can be reused in subsequent
       requests.
       
      bytes thought_signature = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasVideoMetadata

      public 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];
      Specified by:
      hasVideoMetadata in interface PartOrBuilder
      Returns:
      Whether the videoMetadata field is set.
    • getVideoMetadata

      public 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];
      Specified by:
      getVideoMetadata in interface PartOrBuilder
      Returns:
      The videoMetadata.
    • setVideoMetadata

      public Part.Builder setVideoMetadata(VideoMetadata value)
       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];
    • setVideoMetadata

      public Part.Builder setVideoMetadata(VideoMetadata.Builder builderForValue)
       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];
    • mergeVideoMetadata

      public Part.Builder mergeVideoMetadata(VideoMetadata value)
       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];
    • clearVideoMetadata

      public Part.Builder clearVideoMetadata()
       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];
    • getVideoMetadataBuilder

      public VideoMetadata.Builder getVideoMetadataBuilder()
       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];
    • getVideoMetadataOrBuilder

      public 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];
      Specified by:
      getVideoMetadataOrBuilder in interface PartOrBuilder
    • hasMediaResolution

      public boolean hasMediaResolution()
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
      Specified by:
      hasMediaResolution in interface PartOrBuilder
      Returns:
      Whether the mediaResolution field is set.
    • getMediaResolution

      public Part.MediaResolution getMediaResolution()
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
      Specified by:
      getMediaResolution in interface PartOrBuilder
      Returns:
      The mediaResolution.
    • setMediaResolution

      public Part.Builder setMediaResolution(Part.MediaResolution value)
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
    • setMediaResolution

      public Part.Builder setMediaResolution(Part.MediaResolution.Builder builderForValue)
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
    • mergeMediaResolution

      public Part.Builder mergeMediaResolution(Part.MediaResolution value)
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
    • clearMediaResolution

      public Part.Builder clearMediaResolution()
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
    • getMediaResolutionBuilder

      public Part.MediaResolution.Builder getMediaResolutionBuilder()
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
    • getMediaResolutionOrBuilder

      public Part.MediaResolutionOrBuilder getMediaResolutionOrBuilder()
       per part media resolution.
       Media resolution for the input media.
       
      .google.cloud.aiplatform.v1.Part.MediaResolution media_resolution = 12;
      Specified by:
      getMediaResolutionOrBuilder in interface PartOrBuilder