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 class
Job.Builder
Job represents an operation for a `Rollout`.static class
Job.JobTypeCase
static class
Job.State
Valid 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 int
ADVANCE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
static int
CREATE_CHILD_ROLLOUT_JOB_FIELD_NUMBER
static int
DEPLOY_JOB_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
JOB_RUN_FIELD_NUMBER
static int
POSTDEPLOY_JOB_FIELD_NUMBER
static int
PREDEPLOY_JOB_FIELD_NUMBER
static int
SKIP_MESSAGE_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
VERIFY_JOB_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AdvanceChildRolloutJob
getAdvanceChildRolloutJob()
Output only.AdvanceChildRolloutJobOrBuilder
getAdvanceChildRolloutJobOrBuilder()
Output only.CreateChildRolloutJob
getCreateChildRolloutJob()
Output only.CreateChildRolloutJobOrBuilder
getCreateChildRolloutJobOrBuilder()
Output only.static Job
getDefaultInstance()
Job
getDefaultInstanceForType()
DeployJob
getDeployJob()
Output only.DeployJobOrBuilder
getDeployJobOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.String
getJobRun()
Output only.com.google.protobuf.ByteString
getJobRunBytes()
Output only.Job.JobTypeCase
getJobTypeCase()
com.google.protobuf.Parser<Job>
getParserForType()
PostdeployJob
getPostdeployJob()
Output only.PostdeployJobOrBuilder
getPostdeployJobOrBuilder()
Output only.PredeployJob
getPredeployJob()
Output only.PredeployJobOrBuilder
getPredeployJobOrBuilder()
Output only.int
getSerializedSize()
String
getSkipMessage()
Output only.com.google.protobuf.ByteString
getSkipMessageBytes()
Output only.Job.State
getState()
Output only.int
getStateValue()
Output only.VerifyJob
getVerifyJob()
Output only.VerifyJobOrBuilder
getVerifyJobOrBuilder()
Output only.boolean
hasAdvanceChildRolloutJob()
Output only.boolean
hasCreateChildRolloutJob()
Output only.boolean
hasDeployJob()
Output only.int
hashCode()
boolean
hasPostdeployJob()
Output only.boolean
hasPredeployJob()
Output only.boolean
hasVerifyJob()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Job.Builder
newBuilder()
static Job.Builder
newBuilder(Job prototype)
Job.Builder
newBuilderForType()
protected Job.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Job
parseDelimitedFrom(InputStream input)
static Job
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(byte[] data)
static Job
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(com.google.protobuf.ByteString data)
static Job
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(com.google.protobuf.CodedInputStream input)
static Job
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(InputStream input)
static Job
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Job
parseFrom(ByteBuffer data)
static Job
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Job>
parser()
Job.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getJobTypeCase
public Job.JobTypeCase getJobTypeCase()
- Specified by:
getJobTypeCase
in interfaceJobOrBuilder
-
getId
public String getId()
Output only. The ID of the Job.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getId
in 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:
getIdBytes
in 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:
getStateValue
in 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:
getState
in 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:
getSkipMessage
in 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:
getSkipMessageBytes
in 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:
getJobRun
in 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:
getJobRunBytes
in 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:
hasDeployJob
in 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:
getDeployJob
in 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:
getDeployJobOrBuilder
in 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:
hasVerifyJob
in 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:
getVerifyJob
in 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:
getVerifyJobOrBuilder
in 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:
hasPredeployJob
in 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:
getPredeployJob
in 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:
getPredeployJobOrBuilder
in 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:
hasPostdeployJob
in 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:
getPostdeployJob
in 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:
getPostdeployJobOrBuilder
in 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:
hasCreateChildRolloutJob
in 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:
getCreateChildRolloutJob
in 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:
getCreateChildRolloutJobOrBuilder
in 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:
hasAdvanceChildRolloutJob
in 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:
getAdvanceChildRolloutJob
in 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:
getAdvanceChildRolloutJobOrBuilder
in interfaceJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Job.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-