Class CreateBatchPredictionJobRequest.Builder (3.84.0)

public static final class CreateBatchPredictionJobRequest.Builder extends GeneratedMessage.Builder<CreateBatchPredictionJobRequest.Builder> implements CreateBatchPredictionJobRequestOrBuilder

Request message for JobService.CreateBatchPredictionJob.

Protobuf type google.cloud.aiplatform.v1beta1.CreateBatchPredictionJobRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateBatchPredictionJobRequest build()
Returns
Type Description
CreateBatchPredictionJobRequest

buildPartial()

public CreateBatchPredictionJobRequest buildPartial()
Returns
Type Description
CreateBatchPredictionJobRequest

clear()

public CreateBatchPredictionJobRequest.Builder clear()
Returns
Type Description
CreateBatchPredictionJobRequest.Builder
Overrides

clearBatchPredictionJob()

public CreateBatchPredictionJobRequest.Builder clearBatchPredictionJob()

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBatchPredictionJobRequest.Builder

clearParent()

public CreateBatchPredictionJobRequest.Builder clearParent()

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateBatchPredictionJobRequest.Builder

This builder for chaining.

getBatchPredictionJob()

public BatchPredictionJob getBatchPredictionJob()

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchPredictionJob

The batchPredictionJob.

getBatchPredictionJobBuilder()

public BatchPredictionJob.Builder getBatchPredictionJobBuilder()

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchPredictionJob.Builder

getBatchPredictionJobOrBuilder()

public BatchPredictionJobOrBuilder getBatchPredictionJobOrBuilder()

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchPredictionJobOrBuilder

getDefaultInstanceForType()

public CreateBatchPredictionJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateBatchPredictionJobRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasBatchPredictionJob()

public boolean hasBatchPredictionJob()

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the batchPredictionJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBatchPredictionJob(BatchPredictionJob value)

public CreateBatchPredictionJobRequest.Builder mergeBatchPredictionJob(BatchPredictionJob value)

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BatchPredictionJob
Returns
Type Description
CreateBatchPredictionJobRequest.Builder

mergeFrom(CreateBatchPredictionJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBatchPredictionJob(BatchPredictionJob value)

public CreateBatchPredictionJobRequest.Builder setBatchPredictionJob(BatchPredictionJob value)

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BatchPredictionJob
Returns
Type Description
CreateBatchPredictionJobRequest.Builder

setBatchPredictionJob(BatchPredictionJob.Builder builderForValue)

public CreateBatchPredictionJobRequest.Builder setBatchPredictionJob(BatchPredictionJob.Builder builderForValue)

Required. The BatchPredictionJob to create.

.google.cloud.aiplatform.v1beta1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BatchPredictionJob.Builder
Returns
Type Description
CreateBatchPredictionJobRequest.Builder

setParent(String value)

public CreateBatchPredictionJobRequest.Builder setParent(String value)

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateBatchPredictionJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateBatchPredictionJobRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the BatchPredictionJob in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateBatchPredictionJobRequest.Builder

This builder for chaining.