Package com.google.cloud.deploy.v1
Class Job
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class Job
extends com.google.protobuf.GeneratedMessage
implements JobOrBuilder
Job represents an operation for a `Rollout`.Protobuf type
google.cloud.deploy.v1.Job- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classJob represents an operation for a `Rollout`.static enumstatic enumValid states of a Job.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.Output only.Output only.Output only.static JobOutput only.Output only.static final com.google.protobuf.Descriptors.DescriptorgetId()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<Job>Output only.Output only.Output only.Output only.intOutput only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.Output only.Output only.booleanOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Job.Builderstatic Job.BuildernewBuilder(Job prototype) protected Job.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
SKIP_MESSAGE_FIELD_NUMBER
public static final int SKIP_MESSAGE_FIELD_NUMBER- See Also:
-
JOB_RUN_FIELD_NUMBER
public static final int JOB_RUN_FIELD_NUMBER- See Also:
-
DEPLOY_JOB_FIELD_NUMBER
public static final int DEPLOY_JOB_FIELD_NUMBER- See Also:
-
VERIFY_JOB_FIELD_NUMBER
public static final int VERIFY_JOB_FIELD_NUMBER- See Also:
-
PREDEPLOY_JOB_FIELD_NUMBER
public static final int PREDEPLOY_JOB_FIELD_NUMBER- See Also:
-
POSTDEPLOY_JOB_FIELD_NUMBER
public static final int POSTDEPLOY_JOB_FIELD_NUMBER- See Also:
-
CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
public static final int CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER- See Also:
-
ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
public static final int ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getJobTypeCase
- Specified by:
getJobTypeCasein interfaceJobOrBuilder
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- 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
- Throws:
IOException
-
parseFrom
public static Job parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Job parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Job parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-