Class RunJobRequest (0.23.0)

publicfinalclass RunJobRequestextendsGeneratedMessageV3implementsRunJobRequestOrBuilder

Request message to create a new Execution of a Job.

Protobuf type google.cloud.run.v2.RunJobRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)

Static Fields

ETAG_FIELD_NUMBER

publicstaticfinalintETAG_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

publicstaticfinalintVALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticRunJobRequestgetDefaultInstance()
Returns
Type Description
RunJobRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticRunJobRequest.BuildernewBuilder()
Returns
Type Description
RunJobRequest.Builder

newBuilder(RunJobRequest prototype)

publicstaticRunJobRequest.BuildernewBuilder(RunJobRequestprototype)
Parameter
Name Description
prototype RunJobRequest
Returns
Type Description
RunJobRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticRunJobRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RunJobRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRunJobRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticRunJobRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
RunJobRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticRunJobRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticRunJobRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
RunJobRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticRunJobRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticRunJobRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RunJobRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRunJobRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticRunJobRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RunJobRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRunJobRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticRunJobRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RunJobRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticRunJobRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<RunJobRequest>parser()
Returns
Type Description
Parser<RunJobRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicRunJobRequestgetDefaultInstanceForType()
Returns
Type Description
RunJobRequest

getEtag()

publicStringgetEtag()

A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

string etag = 3;

Returns
Type Description
String

The etag.

getEtagBytes()

publicByteStringgetEtagBytes()

A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

string etag = 3;

Returns
Type Description
ByteString

The bytes for etag.

getName()

publicStringgetName()

Required. The full name of the Job. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number.

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

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Required. The full name of the Job. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number.

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<RunJobRequest>getParserForType()
Returns
Type Description
Parser<RunJobRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getValidateOnly()

publicbooleangetValidateOnly()

Indicates that the request should be validated without actually deleting any resources.

bool validate_only = 2;

Returns
Type Description
boolean

The validateOnly.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicRunJobRequest.BuildernewBuilderForType()
Returns
Type Description
RunJobRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedRunJobRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RunJobRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicRunJobRequest.BuildertoBuilder()
Returns
Type Description
RunJobRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.