Class DeploymentUnitProgress (0.68.0)

public final class DeploymentUnitProgress extends GeneratedMessage implements DeploymentUnitProgressOrBuilder

The progress of a deployment unit provisioning or deprovisioning.

Protobuf type google.cloud.config.v1.DeploymentUnitProgress

Static Fields

DEPLOYMENT_FIELD_NUMBER

public static final int DEPLOYMENT_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_OPERATION_SUMMARY_FIELD_NUMBER

public static final int DEPLOYMENT_OPERATION_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

INTENT_FIELD_NUMBER

public static final int INTENT_FIELD_NUMBER
Field Value
Type Description
int

STATE_DESCRIPTION_FIELD_NUMBER

public static final int STATE_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

UNIT_ID_FIELD_NUMBER

public static final int UNIT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeploymentUnitProgress getDefaultInstance()
Returns
Type Description
DeploymentUnitProgress

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DeploymentUnitProgress.Builder newBuilder()
Returns
Type Description
DeploymentUnitProgress.Builder

newBuilder(DeploymentUnitProgress prototype)

public static DeploymentUnitProgress.Builder newBuilder(DeploymentUnitProgress prototype)
Parameter
Name Description
prototype DeploymentUnitProgress
Returns
Type Description
DeploymentUnitProgress.Builder

parseDelimitedFrom(InputStream input)

public static DeploymentUnitProgress parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentUnitProgress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DeploymentUnitProgress parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeploymentUnitProgress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeploymentUnitProgress parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeploymentUnitProgress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeploymentUnitProgress parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentUnitProgress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DeploymentUnitProgress parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeploymentUnitProgress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DeploymentUnitProgress parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeploymentUnitProgress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentUnitProgress
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DeploymentUnitProgress> parser()
Returns
Type Description
Parser<DeploymentUnitProgress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DeploymentUnitProgress getDefaultInstanceForType()
Returns
Type Description
DeploymentUnitProgress

getDeployment()

public String getDeployment()

Output only. The name of the deployment to be provisioned. Format: 'projects/{project}/locations/{location}/deployments/{deployment}'.

string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The deployment.

getDeploymentBytes()

public ByteString getDeploymentBytes()

Output only. The name of the deployment to be provisioned. Format: 'projects/{project}/locations/{location}/deployments/{deployment}'.

string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for deployment.

getDeploymentOperationSummary()

public DeploymentOperationSummary getDeploymentOperationSummary()

Output only. The summary of the deployment operation.

.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentOperationSummary

The deploymentOperationSummary.

getDeploymentOperationSummaryOrBuilder()

public DeploymentOperationSummaryOrBuilder getDeploymentOperationSummaryOrBuilder()

Output only. The summary of the deployment operation.

.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentOperationSummaryOrBuilder

getError()

public Status getError()

Output only. Holds the error status of the deployment unit provisioning.

.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. Holds the error status of the deployment unit provisioning.

.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getIntent()

public DeploymentUnitProgress.Intent getIntent()

Output only. The intent of the deployment unit.

.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentUnitProgress.Intent

The intent.

getIntentValue()

public int getIntentValue()

Output only. The intent of the deployment unit.

.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for intent.

getParserForType()

public Parser<DeploymentUnitProgress> getParserForType()
Returns
Type Description
Parser<DeploymentUnitProgress>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public DeploymentUnitProgress.State getState()

Output only. The current step of the deployment unit provisioning.

.google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentUnitProgress.State

The state.

getStateDescription()

public String getStateDescription()

Output only. Additional information regarding the current state.

string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The stateDescription.

getStateDescriptionBytes()

public ByteString getStateDescriptionBytes()

Output only. Additional information regarding the current state.

string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for stateDescription.

getStateValue()

public int getStateValue()

Output only. The current step of the deployment unit provisioning.

.google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUnitId()

public String getUnitId()

Output only. The unit id of the deployment unit to be provisioned.

string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The unitId.

getUnitIdBytes()

public ByteString getUnitIdBytes()

Output only. The unit id of the deployment unit to be provisioned.

string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for unitId.

hasDeploymentOperationSummary()

public boolean hasDeploymentOperationSummary()

Output only. The summary of the deployment operation.

.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deploymentOperationSummary field is set.

hasError()

public boolean hasError()

Output only. Holds the error status of the deployment unit provisioning.

.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeploymentUnitProgress.Builder newBuilderForType()
Returns
Type Description
DeploymentUnitProgress.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DeploymentUnitProgress.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeploymentUnitProgress.Builder
Overrides

toBuilder()

public DeploymentUnitProgress.Builder toBuilder()
Returns
Type Description
DeploymentUnitProgress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException