public final class Phase extends GeneratedMessageV3 implements PhaseOrBuilder
Phase represents a collection of jobs that are logically grouped together
for a Rollout
.
Protobuf type google.cloud.deploy.v1.Phase
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CHILD_ROLLOUT_JOBS_FIELD_NUMBER
public static final int CHILD_ROLLOUT_JOBS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DEPLOYMENT_JOBS_FIELD_NUMBER
public static final int DEPLOYMENT_JOBS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SKIP_MESSAGE_FIELD_NUMBER
public static final int SKIP_MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Phase getDefaultInstance()
Returns |
---|
Type | Description |
Phase | |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Phase.Builder newBuilder()
newBuilder(Phase prototype)
public static Phase.Builder newBuilder(Phase prototype)
Parameter |
---|
Name | Description |
prototype | Phase
|
public static Phase parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Phase | |
public static Phase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Phase | |
parseFrom(byte[] data)
public static Phase parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Phase | |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Phase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Phase | |
parseFrom(ByteString data)
public static Phase parseFrom(ByteString data)
Returns |
---|
Type | Description |
Phase | |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Phase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Phase | |
public static Phase parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Phase | |
public static Phase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Phase | |
public static Phase parseFrom(InputStream input)
Returns |
---|
Type | Description |
Phase | |
public static Phase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Phase | |
parseFrom(ByteBuffer data)
public static Phase parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Phase | |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Phase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Phase | |
parser()
public static Parser<Phase> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getChildRolloutJobs()
public ChildRolloutJobs getChildRolloutJobs()
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChildRolloutJobsOrBuilder()
public ChildRolloutJobsOrBuilder getChildRolloutJobsOrBuilder()
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Phase getDefaultInstanceForType()
Returns |
---|
Type | Description |
Phase | |
getDeploymentJobs()
public DeploymentJobs getDeploymentJobs()
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeploymentJobsOrBuilder()
public DeploymentJobsOrBuilder getDeploymentJobsOrBuilder()
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getId()
Output only. The ID of the Phase.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The id.
|
getIdBytes()
public ByteString getIdBytes()
Output only. The ID of the Phase.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getJobsCase()
public Phase.JobsCase getJobsCase()
getParserForType()
public Parser<Phase> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSkipMessage()
public String getSkipMessage()
Output only. Additional information on why the Phase was skipped, if
available.
string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The skipMessage.
|
getSkipMessageBytes()
public ByteString getSkipMessageBytes()
Output only. Additional information on why the Phase was skipped, if
available.
string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for skipMessage.
|
getState()
public Phase.State getState()
Output only. Current state of the Phase.
.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. Current state of the Phase.
.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasChildRolloutJobs()
public boolean hasChildRolloutJobs()
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the childRolloutJobs field is set.
|
hasDeploymentJobs()
public boolean hasDeploymentJobs()
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the deploymentJobs field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Phase.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Phase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Phase.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides