Class BatchPredictionJob.OutputInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
- com.google.cloud.aiplatform.v1beta1.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.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder> implements BatchPredictionJob.OutputInfoOrBuilder
Further describes this job's output. Supplements [output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config].
Protobuf typegoogle.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputInfo
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
clear
public BatchPredictionJob.OutputInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
getDefaultInstanceForType
public BatchPredictionJob.OutputInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchPredictionJob.OutputInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchPredictionJob.OutputInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchPredictionJob.OutputInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
setField
public BatchPredictionJob.OutputInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
clearField
public BatchPredictionJob.OutputInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
clearOneof
public BatchPredictionJob.OutputInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
setRepeatedField
public BatchPredictionJob.OutputInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
addRepeatedField
public BatchPredictionJob.OutputInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
mergeFrom
public BatchPredictionJob.OutputInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchPredictionJob.OutputInfo.Builder>
-
mergeFrom
public BatchPredictionJob.OutputInfo.Builder mergeFrom(BatchPredictionJob.OutputInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchPredictionJob.OutputInfo.Builder>
- Throws:
IOException
-
getOutputLocationCase
public BatchPredictionJob.OutputInfo.OutputLocationCase getOutputLocationCase()
- Specified by:
getOutputLocationCase
in interfaceBatchPredictionJob.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 interfaceBatchPredictionJob.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 interfaceBatchPredictionJob.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 interfaceBatchPredictionJob.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 interfaceBatchPredictionJob.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 interfaceBatchPredictionJob.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 interfaceBatchPredictionJob.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.
-
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 interfaceBatchPredictionJob.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 interfaceBatchPredictionJob.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.
-
setUnknownFields
public final BatchPredictionJob.OutputInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
mergeUnknownFields
public final BatchPredictionJob.OutputInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchPredictionJob.OutputInfo.Builder>
-
-