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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateNasJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateNasJobRequest build()
Returns
public CreateNasJobRequest buildPartial()
Returns
public CreateNasJobRequest.Builder clear()
Returns
Overrides
public CreateNasJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateNasJobRequest.Builder clearNasJob()
Required. The NasJob to create.
.google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateNasJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateNasJobRequest.Builder clone()
Returns
Overrides
public CreateNasJobRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
public NasJob.Builder getNasJobBuilder()
Required. The NasJob to create.
.google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public NasJobOrBuilder getNasJobOrBuilder()
Required. The NasJob to create.
.google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.
|
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
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateNasJobRequest.Builder mergeFrom(CreateNasJobRequest other)
Parameter
Returns
public CreateNasJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateNasJobRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
public final CreateNasJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateNasJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
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
public CreateNasJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateNasJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides