Class CreateBatchPredictionJobRequest.Builder (3.42.0)

public static final class CreateBatchPredictionJobRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateBatchPredictionJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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