Class CreateBatchPredictionJobRequest.Builder (3.32.0)

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

Request message for JobService.CreateBatchPredictionJob.

Protobuf type google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateBatchPredictionJobRequest build()
Returns
TypeDescription
CreateBatchPredictionJobRequest

buildPartial()

public CreateBatchPredictionJobRequest buildPartial()
Returns
TypeDescription
CreateBatchPredictionJobRequest

clear()

public CreateBatchPredictionJobRequest.Builder clear()
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder
Overrides

clearBatchPredictionJob()

public CreateBatchPredictionJobRequest.Builder clearBatchPredictionJob()

Required. The BatchPredictionJob to create.

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

Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateBatchPredictionJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateBatchPredictionJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateBatchPredictionJobRequest.Builder

This builder for chaining.

clone()

public CreateBatchPredictionJobRequest.Builder clone()
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder
Overrides

getBatchPredictionJob()

public BatchPredictionJob getBatchPredictionJob()

Required. The BatchPredictionJob to create.

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

Returns
TypeDescription
BatchPredictionJob

The batchPredictionJob.

getBatchPredictionJobBuilder()

public BatchPredictionJob.Builder getBatchPredictionJobBuilder()

Required. The BatchPredictionJob to create.

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

Returns
TypeDescription
BatchPredictionJob.Builder

getBatchPredictionJobOrBuilder()

public BatchPredictionJobOrBuilder getBatchPredictionJobOrBuilder()

Required. The BatchPredictionJob to create.

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

Returns
TypeDescription
BatchPredictionJobOrBuilder

getDefaultInstanceForType()

public CreateBatchPredictionJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateBatchPredictionJobRequest

getDescriptorForType()

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

The bytes for parent.

hasBatchPredictionJob()

public boolean hasBatchPredictionJob()

Required. The BatchPredictionJob to create.

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

Returns
TypeDescription
boolean

Whether the batchPredictionJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBatchPredictionJob(BatchPredictionJob value)

public CreateBatchPredictionJobRequest.Builder mergeBatchPredictionJob(BatchPredictionJob value)

Required. The BatchPredictionJob to create.

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

Parameter
NameDescription
valueBatchPredictionJob
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder

mergeFrom(CreateBatchPredictionJobRequest other)

public CreateBatchPredictionJobRequest.Builder mergeFrom(CreateBatchPredictionJobRequest other)
Parameter
NameDescription
otherCreateBatchPredictionJobRequest
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateBatchPredictionJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder
Overrides

setBatchPredictionJob(BatchPredictionJob value)

public CreateBatchPredictionJobRequest.Builder setBatchPredictionJob(BatchPredictionJob value)

Required. The BatchPredictionJob to create.

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

Parameter
NameDescription
valueBatchPredictionJob
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder

setBatchPredictionJob(BatchPredictionJob.Builder builderForValue)

public CreateBatchPredictionJobRequest.Builder setBatchPredictionJob(BatchPredictionJob.Builder builderForValue)

Required. The BatchPredictionJob to create.

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

Parameter
NameDescription
builderForValueBatchPredictionJob.Builder
Returns
TypeDescription
CreateBatchPredictionJobRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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