Class BatchPredictionJob.OutputInfo.Builder

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

public static final class BatchPredictionJob.OutputInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchPredictionJob.OutputInfo.Builder> implements BatchPredictionJob.OutputInfoOrBuilder
 Further describes this job's output.
 Supplements
 [output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config].
 
Protobuf type google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfo
  • 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<BatchPredictionJob.OutputInfo.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<BatchPredictionJob.OutputInfo.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<BatchPredictionJob.OutputInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public BatchPredictionJob.OutputInfo.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<BatchPredictionJob.OutputInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public BatchPredictionJob.OutputInfo.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<BatchPredictionJob.OutputInfo.Builder>
      Throws:
      IOException
    • getOutputLocationCase

      public BatchPredictionJob.OutputInfo.OutputLocationCase getOutputLocationCase()
      Specified by:
      getOutputLocationCase in interface BatchPredictionJob.OutputInfoOrBuilder
    • clearOutputLocation

      public BatchPredictionJob.OutputInfo.Builder clearOutputLocation()
    • hasGcsOutputDirectory

      public boolean hasGcsOutputDirectory()
       Output only. The full path of the Cloud Storage directory created, into
       which the prediction output is written.
       
      string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasGcsOutputDirectory in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      Whether the gcsOutputDirectory field is set.
    • getGcsOutputDirectory

      public String getGcsOutputDirectory()
       Output only. The full path of the Cloud Storage directory created, into
       which the prediction output is written.
       
      string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcsOutputDirectory in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The gcsOutputDirectory.
    • getGcsOutputDirectoryBytes

      public com.google.protobuf.ByteString getGcsOutputDirectoryBytes()
       Output only. The full path of the Cloud Storage directory created, into
       which the prediction output is written.
       
      string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcsOutputDirectoryBytes in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The bytes for gcsOutputDirectory.
    • setGcsOutputDirectory

      public BatchPredictionJob.OutputInfo.Builder setGcsOutputDirectory(String value)
       Output only. The full path of the Cloud Storage directory created, into
       which the prediction output is written.
       
      string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The gcsOutputDirectory to set.
      Returns:
      This builder for chaining.
    • clearGcsOutputDirectory

      public BatchPredictionJob.OutputInfo.Builder clearGcsOutputDirectory()
       Output only. The full path of the Cloud Storage directory created, into
       which the prediction output is written.
       
      string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setGcsOutputDirectoryBytes

      public BatchPredictionJob.OutputInfo.Builder setGcsOutputDirectoryBytes(com.google.protobuf.ByteString value)
       Output only. The full path of the Cloud Storage directory created, into
       which the prediction output is written.
       
      string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for gcsOutputDirectory to set.
      Returns:
      This builder for chaining.
    • hasBigqueryOutputDataset

      public boolean hasBigqueryOutputDataset()
       Output only. The path of the BigQuery dataset created, in
       `bq://projectId.bqDatasetId`
       format, into which the prediction output is written.
       
      string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBigqueryOutputDataset in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      Whether the bigqueryOutputDataset field is set.
    • getBigqueryOutputDataset

      public String getBigqueryOutputDataset()
       Output only. The path of the BigQuery dataset created, in
       `bq://projectId.bqDatasetId`
       format, into which the prediction output is written.
       
      string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBigqueryOutputDataset in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The bigqueryOutputDataset.
    • getBigqueryOutputDatasetBytes

      public com.google.protobuf.ByteString getBigqueryOutputDatasetBytes()
       Output only. The path of the BigQuery dataset created, in
       `bq://projectId.bqDatasetId`
       format, into which the prediction output is written.
       
      string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBigqueryOutputDatasetBytes in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The bytes for bigqueryOutputDataset.
    • setBigqueryOutputDataset

      public BatchPredictionJob.OutputInfo.Builder setBigqueryOutputDataset(String value)
       Output only. The path of the BigQuery dataset created, in
       `bq://projectId.bqDatasetId`
       format, into which the prediction output is written.
       
      string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bigqueryOutputDataset to set.
      Returns:
      This builder for chaining.
    • clearBigqueryOutputDataset

      public BatchPredictionJob.OutputInfo.Builder clearBigqueryOutputDataset()
       Output only. The path of the BigQuery dataset created, in
       `bq://projectId.bqDatasetId`
       format, into which the prediction output is written.
       
      string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBigqueryOutputDatasetBytes

      public BatchPredictionJob.OutputInfo.Builder setBigqueryOutputDatasetBytes(com.google.protobuf.ByteString value)
       Output only. The path of the BigQuery dataset created, in
       `bq://projectId.bqDatasetId`
       format, into which the prediction output is written.
       
      string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for bigqueryOutputDataset to set.
      Returns:
      This builder for chaining.
    • hasVertexMultimodalDatasetName

      public boolean hasVertexMultimodalDatasetName()
       Output only. The resource name of the Vertex Managed Dataset created,
       into which the prediction output is written. Format:
       `projects/{project}/locations/{location}/datasets/{dataset}`
       
      string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasVertexMultimodalDatasetName in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      Whether the vertexMultimodalDatasetName field is set.
    • getVertexMultimodalDatasetName

      public String getVertexMultimodalDatasetName()
       Output only. The resource name of the Vertex Managed Dataset created,
       into which the prediction output is written. Format:
       `projects/{project}/locations/{location}/datasets/{dataset}`
       
      string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getVertexMultimodalDatasetName in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The vertexMultimodalDatasetName.
    • getVertexMultimodalDatasetNameBytes

      public com.google.protobuf.ByteString getVertexMultimodalDatasetNameBytes()
       Output only. The resource name of the Vertex Managed Dataset created,
       into which the prediction output is written. Format:
       `projects/{project}/locations/{location}/datasets/{dataset}`
       
      string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getVertexMultimodalDatasetNameBytes in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The bytes for vertexMultimodalDatasetName.
    • setVertexMultimodalDatasetName

      public BatchPredictionJob.OutputInfo.Builder setVertexMultimodalDatasetName(String value)
       Output only. The resource name of the Vertex Managed Dataset created,
       into which the prediction output is written. Format:
       `projects/{project}/locations/{location}/datasets/{dataset}`
       
      string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The vertexMultimodalDatasetName to set.
      Returns:
      This builder for chaining.
    • clearVertexMultimodalDatasetName

      public BatchPredictionJob.OutputInfo.Builder clearVertexMultimodalDatasetName()
       Output only. The resource name of the Vertex Managed Dataset created,
       into which the prediction output is written. Format:
       `projects/{project}/locations/{location}/datasets/{dataset}`
       
      string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setVertexMultimodalDatasetNameBytes

      public BatchPredictionJob.OutputInfo.Builder setVertexMultimodalDatasetNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the Vertex Managed Dataset created,
       into which the prediction output is written. Format:
       `projects/{project}/locations/{location}/datasets/{dataset}`
       
      string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for vertexMultimodalDatasetName to set.
      Returns:
      This builder for chaining.
    • getBigqueryOutputTable

      public String getBigqueryOutputTable()
       Output only. The name of the BigQuery table created, in
       `predictions_<timestamp>`
       format, into which the prediction output is written.
       Can be used by UI to generate the BigQuery output path, for example.
       
      string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBigqueryOutputTable in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The bigqueryOutputTable.
    • getBigqueryOutputTableBytes

      public com.google.protobuf.ByteString getBigqueryOutputTableBytes()
       Output only. The name of the BigQuery table created, in
       `predictions_<timestamp>`
       format, into which the prediction output is written.
       Can be used by UI to generate the BigQuery output path, for example.
       
      string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBigqueryOutputTableBytes in interface BatchPredictionJob.OutputInfoOrBuilder
      Returns:
      The bytes for bigqueryOutputTable.
    • setBigqueryOutputTable

      public BatchPredictionJob.OutputInfo.Builder setBigqueryOutputTable(String value)
       Output only. The name of the BigQuery table created, in
       `predictions_<timestamp>`
       format, into which the prediction output is written.
       Can be used by UI to generate the BigQuery output path, for example.
       
      string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bigqueryOutputTable to set.
      Returns:
      This builder for chaining.
    • clearBigqueryOutputTable

      public BatchPredictionJob.OutputInfo.Builder clearBigqueryOutputTable()
       Output only. The name of the BigQuery table created, in
       `predictions_<timestamp>`
       format, into which the prediction output is written.
       Can be used by UI to generate the BigQuery output path, for example.
       
      string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBigqueryOutputTableBytes

      public BatchPredictionJob.OutputInfo.Builder setBigqueryOutputTableBytes(com.google.protobuf.ByteString value)
       Output only. The name of the BigQuery table created, in
       `predictions_<timestamp>`
       format, into which the prediction output is written.
       Can be used by UI to generate the BigQuery output path, for example.
       
      string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for bigqueryOutputTable to set.
      Returns:
      This builder for chaining.