Class BatchCreateJobsResponse (2.50.0)

public final class BatchCreateJobsResponse extends GeneratedMessageV3 implements BatchCreateJobsResponseOrBuilder

The result of JobService.BatchCreateJobs. It's used to replace google.longrunning.Operation.response in case of success.

Protobuf type google.cloud.talent.v4.BatchCreateJobsResponse

Static Fields

JOB_RESULTS_FIELD_NUMBER

public static final int JOB_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateJobsResponse getDefaultInstance()
Returns
Type Description
BatchCreateJobsResponse

getDescriptor()

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

newBuilder()

public static BatchCreateJobsResponse.Builder newBuilder()
Returns
Type Description
BatchCreateJobsResponse.Builder

newBuilder(BatchCreateJobsResponse prototype)

public static BatchCreateJobsResponse.Builder newBuilder(BatchCreateJobsResponse prototype)
Parameter
Name Description
prototype BatchCreateJobsResponse
Returns
Type Description
BatchCreateJobsResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateJobsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateJobsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchCreateJobsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateJobsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCreateJobsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateJobsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCreateJobsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateJobsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchCreateJobsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateJobsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchCreateJobsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateJobsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateJobsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchCreateJobsResponse> parser()
Returns
Type Description
Parser<BatchCreateJobsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchCreateJobsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateJobsResponse

getJobResults(int index)

public JobResult getJobResults(int index)

List of job mutation results from a batch create operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobResult

getJobResultsCount()

public int getJobResultsCount()

List of job mutation results from a batch create operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4.JobResult job_results = 1;

Returns
Type Description
int

getJobResultsList()

public List<JobResult> getJobResultsList()

List of job mutation results from a batch create operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4.JobResult job_results = 1;

Returns
Type Description
List<JobResult>

getJobResultsOrBuilder(int index)

public JobResultOrBuilder getJobResultsOrBuilder(int index)

List of job mutation results from a batch create operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobResultOrBuilder

getJobResultsOrBuilderList()

public List<? extends JobResultOrBuilder> getJobResultsOrBuilderList()

List of job mutation results from a batch create operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4.JobResult job_results = 1;

Returns
Type Description
List<? extends com.google.cloud.talent.v4.JobResultOrBuilder>

getParserForType()

public Parser<BatchCreateJobsResponse> getParserForType()
Returns
Type Description
Parser<BatchCreateJobsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchCreateJobsResponse.Builder newBuilderForType()
Returns
Type Description
BatchCreateJobsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCreateJobsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCreateJobsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchCreateJobsResponse.Builder toBuilder()
Returns
Type Description
BatchCreateJobsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException