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
Static Fields
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 | |
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
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
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
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