Class BatchCreateJobsResponse (2.12.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchCreateJobsResponse getDefaultInstance()
Returns
TypeDescription
BatchCreateJobsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchCreateJobsResponse prototype)

public static BatchCreateJobsResponse.Builder newBuilder(BatchCreateJobsResponse prototype)
Parameter
NameDescription
prototypeBatchCreateJobsResponse
Returns
TypeDescription
BatchCreateJobsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchCreateJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.talent.v4.JobResultOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 BatchCreateJobsResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchCreateJobsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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