Class BatchPredictionJob.OutputInfo.Builder (3.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchPredictionJob.OutputInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder
Overrides

build()

public BatchPredictionJob.OutputInfo build()
Returns
TypeDescription
BatchPredictionJob.OutputInfo

buildPartial()

public BatchPredictionJob.OutputInfo buildPartial()
Returns
TypeDescription
BatchPredictionJob.OutputInfo

clear()

public BatchPredictionJob.OutputInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchPredictionJob.OutputInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchPredictionJob.OutputInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder
Overrides

clearOutputLocation()

public BatchPredictionJob.OutputInfo.Builder clearOutputLocation()
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder

clone()

public BatchPredictionJob.OutputInfo.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for bigqueryOutputTable.

getDefaultInstanceForType()

public BatchPredictionJob.OutputInfo getDefaultInstanceForType()
Returns
TypeDescription
BatchPredictionJob.OutputInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsOutputDirectory.

getOutputLocationCase()

public BatchPredictionJob.OutputInfo.OutputLocationCase getOutputLocationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the gcsOutputDirectory field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchPredictionJob.OutputInfo other)

public BatchPredictionJob.OutputInfo.Builder mergeFrom(BatchPredictionJob.OutputInfo other)
Parameter
NameDescription
otherBatchPredictionJob.OutputInfo
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchPredictionJob.OutputInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchPredictionJob.OutputInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchPredictionJob.OutputInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The bigqueryOutputDataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for bigqueryOutputDataset to set.

Returns
TypeDescription
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
NameDescription
valueString

The bigqueryOutputTable to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for bigqueryOutputTable to set.

Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchPredictionJob.OutputInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsOutputDirectory to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsOutputDirectory to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchPredictionJob.OutputInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchPredictionJob.OutputInfo.Builder
Overrides