Class CreateNasJobRequest.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateNasJobRequest build()
Returns
TypeDescription
CreateNasJobRequest

buildPartial()

public CreateNasJobRequest buildPartial()
Returns
TypeDescription
CreateNasJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateNasJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CreateNasJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateNasJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateNasJobRequest

getDescriptorForType()

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

Whether the nasJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateNasJobRequest other)

public CreateNasJobRequest.Builder mergeFrom(CreateNasJobRequest other)
Parameter
NameDescription
otherCreateNasJobRequest
Returns
TypeDescription
CreateNasJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateNasJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNasJob
Returns
TypeDescription
CreateNasJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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