Package com.google.cloud.deploy.v1
Class Job
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.deploy.v1.Job
-
- All Implemented Interfaces:
JobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Job extends com.google.protobuf.GeneratedMessageV3 implements JobOrBuilder
Job represents an operation for a `Rollout`.
Protobuf typegoogle.cloud.deploy.v1.Job- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJob.BuilderJob represents an operation for a `Rollout`.static classJob.JobTypeCasestatic classJob.StateValid states of a Job.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBERstatic intCREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBERstatic intDEPLOY_JOB_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intJOB_RUN_FIELD_NUMBERstatic intPOSTDEPLOY_JOB_FIELD_NUMBERstatic intPREDEPLOY_JOB_FIELD_NUMBERstatic intSKIP_MESSAGE_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intVERIFY_JOB_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AdvanceChildRolloutJobgetAdvanceChildRolloutJob()Output only.AdvanceChildRolloutJobOrBuildergetAdvanceChildRolloutJobOrBuilder()Output only.CreateChildRolloutJobgetCreateChildRolloutJob()Output only.CreateChildRolloutJobOrBuildergetCreateChildRolloutJobOrBuilder()Output only.static JobgetDefaultInstance()JobgetDefaultInstanceForType()DeployJobgetDeployJob()Output only.DeployJobOrBuildergetDeployJobOrBuilder()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.StringgetJobRun()Output only.com.google.protobuf.ByteStringgetJobRunBytes()Output only.Job.JobTypeCasegetJobTypeCase()com.google.protobuf.Parser<Job>getParserForType()PostdeployJobgetPostdeployJob()Output only.PostdeployJobOrBuildergetPostdeployJobOrBuilder()Output only.PredeployJobgetPredeployJob()Output only.PredeployJobOrBuildergetPredeployJobOrBuilder()Output only.intgetSerializedSize()StringgetSkipMessage()Output only.com.google.protobuf.ByteStringgetSkipMessageBytes()Output only.Job.StategetState()Output only.intgetStateValue()Output only.VerifyJobgetVerifyJob()Output only.VerifyJobOrBuildergetVerifyJobOrBuilder()Output only.booleanhasAdvanceChildRolloutJob()Output only.booleanhasCreateChildRolloutJob()Output only.booleanhasDeployJob()Output only.inthashCode()booleanhasPostdeployJob()Output only.booleanhasPredeployJob()Output only.booleanhasVerifyJob()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Job.BuildernewBuilder()static Job.BuildernewBuilder(Job prototype)Job.BuildernewBuilderForType()protected Job.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static JobparseDelimitedFrom(InputStream input)static JobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(byte[] data)static JobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(com.google.protobuf.ByteString data)static JobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(com.google.protobuf.CodedInputStream input)static JobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(InputStream input)static JobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static JobparseFrom(ByteBuffer data)static JobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Job>parser()Job.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKIP_MESSAGE_FIELD_NUMBER
public static final int SKIP_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_RUN_FIELD_NUMBER
public static final int JOB_RUN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_JOB_FIELD_NUMBER
public static final int DEPLOY_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERIFY_JOB_FIELD_NUMBER
public static final int VERIFY_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREDEPLOY_JOB_FIELD_NUMBER
public static final int PREDEPLOY_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSTDEPLOY_JOB_FIELD_NUMBER
public static final int POSTDEPLOY_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
public static final int CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
public static final int ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getJobTypeCase
public Job.JobTypeCase getJobTypeCase()
- Specified by:
getJobTypeCasein interfaceJobOrBuilder
-
getId
public String getId()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceJobOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for id.
-
getStateValue
public int getStateValue()
Output only. The current state of the Job.
.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public Job.State getState()
Output only. The current state of the Job.
.google.cloud.deploy.v1.Job.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceJobOrBuilder- Returns:
- The state.
-
getSkipMessage
public String getSkipMessage()
Output only. Additional information on why the Job was skipped, if available.
string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkipMessagein interfaceJobOrBuilder- Returns:
- The skipMessage.
-
getSkipMessageBytes
public com.google.protobuf.ByteString getSkipMessageBytes()
Output only. Additional information on why the Job was skipped, if available.
string skip_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkipMessageBytesin interfaceJobOrBuilder- Returns:
- The bytes for skipMessage.
-
getJobRun
public String getJobRun()
Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getJobRunin interfaceJobOrBuilder- Returns:
- The jobRun.
-
getJobRunBytes
public com.google.protobuf.ByteString getJobRunBytes()
Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
string job_run = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getJobRunBytesin interfaceJobOrBuilder- Returns:
- The bytes for jobRun.
-
hasDeployJob
public boolean hasDeployJob()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeployJobin interfaceJobOrBuilder- Returns:
- Whether the deployJob field is set.
-
getDeployJob
public DeployJob getDeployJob()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployJobin interfaceJobOrBuilder- Returns:
- The deployJob.
-
getDeployJobOrBuilder
public DeployJobOrBuilder getDeployJobOrBuilder()
Output only. A deploy Job.
.google.cloud.deploy.v1.DeployJob deploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployJobOrBuilderin interfaceJobOrBuilder
-
hasVerifyJob
public boolean hasVerifyJob()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasVerifyJobin interfaceJobOrBuilder- Returns:
- Whether the verifyJob field is set.
-
getVerifyJob
public VerifyJob getVerifyJob()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVerifyJobin interfaceJobOrBuilder- Returns:
- The verifyJob.
-
getVerifyJobOrBuilder
public VerifyJobOrBuilder getVerifyJobOrBuilder()
Output only. A verify Job.
.google.cloud.deploy.v1.VerifyJob verify_job = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVerifyJobOrBuilderin interfaceJobOrBuilder
-
hasPredeployJob
public boolean hasPredeployJob()
Output only. A predeploy Job.
.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPredeployJobin interfaceJobOrBuilder- Returns:
- Whether the predeployJob field is set.
-
getPredeployJob
public PredeployJob getPredeployJob()
Output only. A predeploy Job.
.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPredeployJobin interfaceJobOrBuilder- Returns:
- The predeployJob.
-
getPredeployJobOrBuilder
public PredeployJobOrBuilder getPredeployJobOrBuilder()
Output only. A predeploy Job.
.google.cloud.deploy.v1.PredeployJob predeploy_job = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPredeployJobOrBuilderin interfaceJobOrBuilder
-
hasPostdeployJob
public boolean hasPostdeployJob()
Output only. A postdeploy Job.
.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPostdeployJobin interfaceJobOrBuilder- Returns:
- Whether the postdeployJob field is set.
-
getPostdeployJob
public PostdeployJob getPostdeployJob()
Output only. A postdeploy Job.
.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPostdeployJobin interfaceJobOrBuilder- Returns:
- The postdeployJob.
-
getPostdeployJobOrBuilder
public PostdeployJobOrBuilder getPostdeployJobOrBuilder()
Output only. A postdeploy Job.
.google.cloud.deploy.v1.PostdeployJob postdeploy_job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPostdeployJobOrBuilderin interfaceJobOrBuilder
-
hasCreateChildRolloutJob
public boolean hasCreateChildRolloutJob()
Output only. A createChildRollout Job.
.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateChildRolloutJobin interfaceJobOrBuilder- Returns:
- Whether the createChildRolloutJob field is set.
-
getCreateChildRolloutJob
public CreateChildRolloutJob getCreateChildRolloutJob()
Output only. A createChildRollout Job.
.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateChildRolloutJobin interfaceJobOrBuilder- Returns:
- The createChildRolloutJob.
-
getCreateChildRolloutJobOrBuilder
public CreateChildRolloutJobOrBuilder getCreateChildRolloutJobOrBuilder()
Output only. A createChildRollout Job.
.google.cloud.deploy.v1.CreateChildRolloutJob create_child_rollout_job = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateChildRolloutJobOrBuilderin interfaceJobOrBuilder
-
hasAdvanceChildRolloutJob
public boolean hasAdvanceChildRolloutJob()
Output only. An advanceChildRollout Job.
.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAdvanceChildRolloutJobin interfaceJobOrBuilder- Returns:
- Whether the advanceChildRolloutJob field is set.
-
getAdvanceChildRolloutJob
public AdvanceChildRolloutJob getAdvanceChildRolloutJob()
Output only. An advanceChildRollout Job.
.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdvanceChildRolloutJobin interfaceJobOrBuilder- Returns:
- The advanceChildRolloutJob.
-
getAdvanceChildRolloutJobOrBuilder
public AdvanceChildRolloutJobOrBuilder getAdvanceChildRolloutJobOrBuilder()
Output only. An advanceChildRollout Job.
.google.cloud.deploy.v1.AdvanceChildRolloutJob advance_child_rollout_job = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdvanceChildRolloutJobOrBuilderin interfaceJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Job parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Job parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Job parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Job parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Job parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Job parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Job.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Job.Builder newBuilder()
-
newBuilder
public static Job.Builder newBuilder(Job prototype)
-
toBuilder
public Job.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Job.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Job getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Job> parser()
-
getParserForType
public com.google.protobuf.Parser<Job> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-