Class CreateNasJobRequest.Builder (3.52.0)

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

Request message for JobService.CreateNasJob.

Protobuf type google.cloud.aiplatform.v1beta1.CreateNasJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearNasJob()

public CreateNasJobRequest.Builder clearNasJob()

Required. The NasJob to create.

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

Returns
Type Description
CreateNasJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the nasJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NasJob
Returns
Type Description
CreateNasJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNasJob(NasJob value)

public CreateNasJobRequest.Builder setNasJob(NasJob value)

Required. The NasJob to create.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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