public final class CreateCustomJobRequest extends GeneratedMessageV3 implements CreateCustomJobRequestOrBuilder
Request message for
JobService.CreateCustomJob.
Protobuf type google.cloud.aiplatform.v1beta1.CreateCustomJobRequest
Static Fields
public static final int CUSTOM_JOB_FIELD_NUMBER
Field Value
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
public static CreateCustomJobRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateCustomJobRequest.Builder newBuilder()
Returns
public static CreateCustomJobRequest.Builder newBuilder(CreateCustomJobRequest prototype)
Parameter
Returns
public static CreateCustomJobRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateCustomJobRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateCustomJobRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateCustomJobRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CustomJob getCustomJob()
Required. The CustomJob to create.
.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CustomJobOrBuilder getCustomJobOrBuilder()
Required. The CustomJob to create.
.google.cloud.aiplatform.v1beta1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateCustomJobRequest getDefaultInstanceForType()
Returns
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.
|
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
public Parser<CreateCustomJobRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateCustomJobRequest.Builder newBuilderForType()
Returns
protected CreateCustomJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateCustomJobRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions