Class CreateCustomJobRequest.Builder (3.43.0)

public static final class CreateCustomJobRequest.Builder extends GeneratedMessageV3.Builder<CreateCustomJobRequest.Builder> implements CreateCustomJobRequestOrBuilder

Request message for JobService.CreateCustomJob.

Protobuf type google.cloud.aiplatform.v1beta1.CreateCustomJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateCustomJobRequest build()
Returns
Type Description
CreateCustomJobRequest

buildPartial()

public CreateCustomJobRequest buildPartial()
Returns
Type Description
CreateCustomJobRequest

clear()

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

clearCustomJob()

public CreateCustomJobRequest.Builder clearCustomJob()

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCustomJobRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateCustomJobRequest.Builder clearParent()

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

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

Returns
Type Description
CreateCustomJobRequest.Builder

This builder for chaining.

clone()

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

getCustomJob()

public CustomJob getCustomJob()

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomJob

The customJob.

getCustomJobBuilder()

public CustomJob.Builder getCustomJobBuilder()

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomJob.Builder

getCustomJobOrBuilder()

public CustomJobOrBuilder getCustomJobOrBuilder()

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomJobOrBuilder

getDefaultInstanceForType()

public CreateCustomJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateCustomJobRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The resource name of the Location to create the CustomJob 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 CustomJob 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.

hasCustomJob()

public boolean hasCustomJob()

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomJob(CustomJob value)

public CreateCustomJobRequest.Builder mergeCustomJob(CustomJob value)

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomJob
Returns
Type Description
CreateCustomJobRequest.Builder

mergeFrom(CreateCustomJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCustomJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateCustomJobRequest.Builder
Overrides

setCustomJob(CustomJob value)

public CreateCustomJobRequest.Builder setCustomJob(CustomJob value)

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomJob
Returns
Type Description
CreateCustomJobRequest.Builder

setCustomJob(CustomJob.Builder builderForValue)

public CreateCustomJobRequest.Builder setCustomJob(CustomJob.Builder builderForValue)

Required. The CustomJob to create.

.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CustomJob.Builder
Returns
Type Description
CreateCustomJobRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateCustomJobRequest.Builder setParent(String value)

Required. The resource name of the Location to create the CustomJob 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
CreateCustomJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateCustomJobRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the CustomJob 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
CreateCustomJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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