Class CreateDataLabelingJobRequest (3.31.0)

public final class CreateDataLabelingJobRequest extends GeneratedMessageV3 implements CreateDataLabelingJobRequestOrBuilder

Request message for JobService.CreateDataLabelingJob.

Protobuf type google.cloud.aiplatform.v1.CreateDataLabelingJobRequest

Static Fields

DATA_LABELING_JOB_FIELD_NUMBER

public static final int DATA_LABELING_JOB_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateDataLabelingJobRequest getDefaultInstance()
Returns
TypeDescription
CreateDataLabelingJobRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateDataLabelingJobRequest.Builder newBuilder()
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder

newBuilder(CreateDataLabelingJobRequest prototype)

public static CreateDataLabelingJobRequest.Builder newBuilder(CreateDataLabelingJobRequest prototype)
Parameter
NameDescription
prototypeCreateDataLabelingJobRequest
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateDataLabelingJobRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataLabelingJobRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateDataLabelingJobRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateDataLabelingJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateDataLabelingJobRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateDataLabelingJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateDataLabelingJobRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataLabelingJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateDataLabelingJobRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDataLabelingJobRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateDataLabelingJobRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateDataLabelingJobRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDataLabelingJobRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateDataLabelingJobRequest> parser()
Returns
TypeDescription
Parser<CreateDataLabelingJobRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataLabelingJob()

public DataLabelingJob getDataLabelingJob()

Required. The DataLabelingJob to create.

.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataLabelingJob

The dataLabelingJob.

getDataLabelingJobOrBuilder()

public DataLabelingJobOrBuilder getDataLabelingJobOrBuilder()

Required. The DataLabelingJob to create.

.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataLabelingJobOrBuilder

getDefaultInstanceForType()

public CreateDataLabelingJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDataLabelingJobRequest

getParent()

public String getParent()

Required. The parent of the DataLabelingJob. 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 parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateDataLabelingJobRequest> getParserForType()
Returns
TypeDescription
Parser<CreateDataLabelingJobRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDataLabelingJob()

public boolean hasDataLabelingJob()

Required. The DataLabelingJob to create.

.google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataLabelingJob field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateDataLabelingJobRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateDataLabelingJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateDataLabelingJobRequest.Builder toBuilder()
Returns
TypeDescription
CreateDataLabelingJobRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException