Class BatchPredictionJob.OutputInfo.Builder (3.50.0)

public static final class BatchPredictionJob.OutputInfo.Builder extends GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder> implements BatchPredictionJob.OutputInfoOrBuilder

Further describes this job's output. Supplements output_config.

Protobuf type google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchPredictionJob.OutputInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

build()

public BatchPredictionJob.OutputInfo build()
Returns
Type Description
BatchPredictionJob.OutputInfo

buildPartial()

public BatchPredictionJob.OutputInfo buildPartial()
Returns
Type Description
BatchPredictionJob.OutputInfo

clear()

public BatchPredictionJob.OutputInfo.Builder clear()
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

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
Type Description
BatchPredictionJob.OutputInfo.Builder

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
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchPredictionJob.OutputInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

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
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchPredictionJob.OutputInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

clearOutputLocation()

public BatchPredictionJob.OutputInfo.Builder clearOutputLocation()
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

clone()

public BatchPredictionJob.OutputInfo.Builder clone()
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

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];

Returns
Type Description
String

The bigqueryOutputDataset.

getBigqueryOutputDatasetBytes()

public 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];

Returns
Type Description
ByteString

The bytes for bigqueryOutputDataset.

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];

Returns
Type Description
String

The bigqueryOutputTable.

getBigqueryOutputTableBytes()

public 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];

Returns
Type Description
ByteString

The bytes for bigqueryOutputTable.

getDefaultInstanceForType()

public BatchPredictionJob.OutputInfo getDefaultInstanceForType()
Returns
Type Description
BatchPredictionJob.OutputInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
String

The gcsOutputDirectory.

getGcsOutputDirectoryBytes()

public 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];

Returns
Type Description
ByteString

The bytes for gcsOutputDirectory.

getOutputLocationCase()

public BatchPredictionJob.OutputInfo.OutputLocationCase getOutputLocationCase()
Returns
Type Description
BatchPredictionJob.OutputInfo.OutputLocationCase

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];

Returns
Type Description
boolean

Whether the bigqueryOutputDataset field is set.

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];

Returns
Type Description
boolean

Whether the gcsOutputDirectory field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchPredictionJob.OutputInfo other)

public BatchPredictionJob.OutputInfo.Builder mergeFrom(BatchPredictionJob.OutputInfo other)
Parameter
Name Description
other BatchPredictionJob.OutputInfo
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchPredictionJob.OutputInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchPredictionJob.OutputInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchPredictionJob.OutputInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

setBigqueryOutputDataset(String value)

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];

Parameter
Name Description
value String

The bigqueryOutputDataset to set.

Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

setBigqueryOutputDatasetBytes(ByteString value)

public BatchPredictionJob.OutputInfo.Builder setBigqueryOutputDatasetBytes(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];

Parameter
Name Description
value ByteString

The bytes for bigqueryOutputDataset to set.

Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

setBigqueryOutputTable(String value)

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];

Parameter
Name Description
value String

The bigqueryOutputTable to set.

Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

setBigqueryOutputTableBytes(ByteString value)

public BatchPredictionJob.OutputInfo.Builder setBigqueryOutputTableBytes(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];

Parameter
Name Description
value ByteString

The bytes for bigqueryOutputTable to set.

Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchPredictionJob.OutputInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

setGcsOutputDirectory(String value)

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];

Parameter
Name Description
value String

The gcsOutputDirectory to set.

Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

setGcsOutputDirectoryBytes(ByteString value)

public BatchPredictionJob.OutputInfo.Builder setGcsOutputDirectoryBytes(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];

Parameter
Name Description
value ByteString

The bytes for gcsOutputDirectory to set.

Returns
Type Description
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchPredictionJob.OutputInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchPredictionJob.OutputInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchPredictionJob.OutputInfo.Builder
Overrides