Class DeploymentJobs (1.51.0)

public final class DeploymentJobs extends GeneratedMessageV3 implements DeploymentJobsOrBuilder

Deployment job composition.

Protobuf type google.cloud.deploy.v1.DeploymentJobs

Static Fields

DEPLOY_JOB_FIELD_NUMBER

public static final int DEPLOY_JOB_FIELD_NUMBER
Field Value
Type Description
int

POSTDEPLOY_JOB_FIELD_NUMBER

public static final int POSTDEPLOY_JOB_FIELD_NUMBER
Field Value
Type Description
int

PREDEPLOY_JOB_FIELD_NUMBER

public static final int PREDEPLOY_JOB_FIELD_NUMBER
Field Value
Type Description
int

VERIFY_JOB_FIELD_NUMBER

public static final int VERIFY_JOB_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentJobs getDefaultInstance()
Returns
Type Description
DeploymentJobs

getDescriptor()

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

newBuilder()

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

newBuilder(DeploymentJobs prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeploymentJobs getDefaultInstanceForType()
Returns
Type Description
DeploymentJobs

getDeployJob()

public Job getDeployJob()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job

The deployJob.

getDeployJobOrBuilder()

public JobOrBuilder getDeployJobOrBuilder()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobOrBuilder

getParserForType()

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

getPostdeployJob()

public Job getPostdeployJob()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job

The postdeployJob.

getPostdeployJobOrBuilder()

public JobOrBuilder getPostdeployJobOrBuilder()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobOrBuilder

getPredeployJob()

public Job getPredeployJob()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job

The predeployJob.

getPredeployJobOrBuilder()

public JobOrBuilder getPredeployJobOrBuilder()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVerifyJob()

public Job getVerifyJob()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

.google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Job

The verifyJob.

getVerifyJobOrBuilder()

public JobOrBuilder getVerifyJobOrBuilder()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

.google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobOrBuilder

hasDeployJob()

public boolean hasDeployJob()

Output only. The deploy Job. This is the deploy job in the phase.

.google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deployJob field is set.

hasPostdeployJob()

public boolean hasPostdeployJob()

Output only. The postdeploy Job, which is the last job on the phase.

.google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the postdeployJob field is set.

hasPredeployJob()

public boolean hasPredeployJob()

Output only. The predeploy Job, which is the first job on the phase.

.google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the predeployJob field is set.

hasVerifyJob()

public boolean hasVerifyJob()

Output only. The verify Job. Runs after a deploy if the deploy succeeds.

.google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the verifyJob field is set.

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 DeploymentJobs.Builder newBuilderForType()
Returns
Type Description
DeploymentJobs.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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