Class CreateNasJobRequest.Builder (3.84.0)

public static final class CreateNasJobRequest.Builder extends GeneratedMessage.Builder<CreateNasJobRequest.Builder> implements CreateNasJobRequestOrBuilder

Request message for JobService.CreateNasJob.

Protobuf type google.cloud.aiplatform.v1.CreateNasJobRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateNasJobRequest build()
Returns
Type Description
CreateNasJobRequest

buildPartial()

public CreateNasJobRequest buildPartial()
Returns
Type Description
CreateNasJobRequest

clear()

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

clearNasJob()

public CreateNasJobRequest.Builder clearNasJob()

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateNasJobRequest.Builder

clearParent()

public CreateNasJobRequest.Builder clearParent()

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

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

Returns
Type Description
CreateNasJobRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateNasJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateNasJobRequest

getDescriptorForType()

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

getNasJob()

public NasJob getNasJob()

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NasJob

The nasJob.

getNasJobBuilder()

public NasJob.Builder getNasJobBuilder()

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NasJob.Builder

getNasJobOrBuilder()

public NasJobOrBuilder getNasJobOrBuilder()

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NasJobOrBuilder

getParent()

public String getParent()

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

hasNasJob()

public boolean hasNasJob()

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the nasJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateNasJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNasJob(NasJob value)

public CreateNasJobRequest.Builder mergeNasJob(NasJob value)

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NasJob
Returns
Type Description
CreateNasJobRequest.Builder

setNasJob(NasJob value)

public CreateNasJobRequest.Builder setNasJob(NasJob value)

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NasJob
Returns
Type Description
CreateNasJobRequest.Builder

setNasJob(NasJob.Builder builderForValue)

public CreateNasJobRequest.Builder setNasJob(NasJob.Builder builderForValue)

Required. The NasJob to create.

.google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NasJob.Builder
Returns
Type Description
CreateNasJobRequest.Builder

setParent(String value)

public CreateNasJobRequest.Builder setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

public CreateNasJobRequest.Builder setParentBytes(ByteString value)

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

This builder for chaining.