public static final class DeploymentUnitProgress.Builder extends GeneratedMessage.Builder<DeploymentUnitProgress.Builder> implements DeploymentUnitProgressOrBuilderThe progress of a deployment unit provisioning or deprovisioning.
Protobuf type google.cloud.config.v1.DeploymentUnitProgress
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeploymentUnitProgress.BuilderImplements
DeploymentUnitProgressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeploymentUnitProgress build()| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress |
|
buildPartial()
public DeploymentUnitProgress buildPartial()| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress |
|
clear()
public DeploymentUnitProgress.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
clearDeployment()
public DeploymentUnitProgress.Builder clearDeployment()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 |
DeploymentUnitProgress.Builder |
This builder for chaining. |
clearDeploymentOperationSummary()
public DeploymentUnitProgress.Builder clearDeploymentOperationSummary()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 |
DeploymentUnitProgress.Builder |
|
clearError()
public DeploymentUnitProgress.Builder clearError()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 |
DeploymentUnitProgress.Builder |
|
clearIntent()
public DeploymentUnitProgress.Builder clearIntent()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.Builder |
This builder for chaining. |
clearState()
public DeploymentUnitProgress.Builder clearState()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.Builder |
This builder for chaining. |
clearStateDescription()
public DeploymentUnitProgress.Builder clearStateDescription()Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
clearUnitId()
public DeploymentUnitProgress.Builder clearUnitId()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 |
DeploymentUnitProgress.Builder |
This builder for chaining. |
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. |
getDeploymentOperationSummaryBuilder()
public DeploymentOperationSummary.Builder getDeploymentOperationSummaryBuilder()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.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getErrorBuilder()
public Status.Builder getErrorBuilder()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.Builder |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeploymentOperationSummary(DeploymentOperationSummary value)
public DeploymentUnitProgress.Builder mergeDeploymentOperationSummary(DeploymentOperationSummary value)Output only. The summary of the deployment operation.
.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentOperationSummary |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
mergeError(Status value)
public DeploymentUnitProgress.Builder mergeError(Status value)Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
mergeFrom(DeploymentUnitProgress other)
public DeploymentUnitProgress.Builder mergeFrom(DeploymentUnitProgress other)| Parameter | |
|---|---|
| Name | Description |
other |
DeploymentUnitProgress |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeploymentUnitProgress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeploymentUnitProgress.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
setDeployment(String value)
public DeploymentUnitProgress.Builder setDeployment(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deployment to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setDeploymentBytes(ByteString value)
public DeploymentUnitProgress.Builder setDeploymentBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deployment to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setDeploymentOperationSummary(DeploymentOperationSummary value)
public DeploymentUnitProgress.Builder setDeploymentOperationSummary(DeploymentOperationSummary value)Output only. The summary of the deployment operation.
.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentOperationSummary |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
setDeploymentOperationSummary(DeploymentOperationSummary.Builder builderForValue)
public DeploymentUnitProgress.Builder setDeploymentOperationSummary(DeploymentOperationSummary.Builder builderForValue)Output only. The summary of the deployment operation.
.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeploymentOperationSummary.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
setError(Status value)
public DeploymentUnitProgress.Builder setError(Status value)Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
setError(Status.Builder builderForValue)
public DeploymentUnitProgress.Builder setError(Status.Builder builderForValue)Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
|
setIntent(DeploymentUnitProgress.Intent value)
public DeploymentUnitProgress.Builder setIntent(DeploymentUnitProgress.Intent value)Output only. The intent of the deployment unit.
.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentUnitProgress.IntentThe intent to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setIntentValue(int value)
public DeploymentUnitProgress.Builder setIntentValue(int value)Output only. The intent of the deployment unit.
.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for intent to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setState(DeploymentUnitProgress.State value)
public DeploymentUnitProgress.Builder setState(DeploymentUnitProgress.State value)Output only. The current step of the deployment unit provisioning.
.google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DeploymentUnitProgress.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setStateDescription(String value)
public DeploymentUnitProgress.Builder setStateDescription(String value)Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stateDescription to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setStateDescriptionBytes(ByteString value)
public DeploymentUnitProgress.Builder setStateDescriptionBytes(ByteString value)Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stateDescription to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setStateValue(int value)
public DeploymentUnitProgress.Builder setStateValue(int value)Output only. The current step of the deployment unit provisioning.
.google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setUnitId(String value)
public DeploymentUnitProgress.Builder setUnitId(String value)Output only. The unit id of the deployment unit to be provisioned.
string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unitId to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |
setUnitIdBytes(ByteString value)
public DeploymentUnitProgress.Builder setUnitIdBytes(ByteString value)Output only. The unit id of the deployment unit to be provisioned.
string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unitId to set. |
| Returns | |
|---|---|
| Type | Description |
DeploymentUnitProgress.Builder |
This builder for chaining. |