Package com.google.cloud.config.v1
Class DeploymentUnitProgress.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
com.google.cloud.config.v1.DeploymentUnitProgress.Builder
- All Implemented Interfaces:
DeploymentUnitProgressOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeploymentUnitProgress
public static final class DeploymentUnitProgress.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
implements DeploymentUnitProgressOrBuilder
The progress of a deployment unit provisioning or deprovisioning.Protobuf type
google.cloud.config.v1.DeploymentUnitProgress-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()Output only.Output only.Output only.Output only.intOutput only.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanhasError()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeError(Status value) Output only.mergeFrom(DeploymentUnitProgress other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDeployment(String value) Output only.setDeploymentBytes(com.google.protobuf.ByteString value) Output only.Output only.setDeploymentOperationSummary(DeploymentOperationSummary.Builder builderForValue) Output only.Output only.setError(Status.Builder builderForValue) Output only.Output only.setIntentValue(int value) Output only.Output only.setStateDescription(String value) Output only.setStateDescriptionBytes(com.google.protobuf.ByteString value) Output only.setStateValue(int value) Output only.Output only.setUnitIdBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeploymentUnitProgress.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
-
mergeFrom
public DeploymentUnitProgress.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeploymentUnitProgress.Builder>- Throws:
IOException
-
getUnitId
Output only. The unit id of the deployment unit to be provisioned.
string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnitIdin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The unitId.
-
getUnitIdBytes
public com.google.protobuf.ByteString getUnitIdBytes()Output only. The unit id of the deployment unit to be provisioned.
string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnitIdBytesin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The bytes for unitId.
-
setUnitId
Output only. The unit id of the deployment unit to be provisioned.
string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The unitId to set.- Returns:
- This builder for chaining.
-
clearUnitId
Output only. The unit id of the deployment unit to be provisioned.
string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnitIdBytes
Output only. The unit id of the deployment unit to be provisioned.
string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for unitId to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getDeploymentin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The deployment.
-
getDeploymentBytes
public com.google.protobuf.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) = { ... }- Specified by:
getDeploymentBytesin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The bytes for deployment.
-
setDeployment
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) = { ... }- Parameters:
value- The deployment to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDeploymentBytes
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) = { ... }- Parameters:
value- The bytes for deployment to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceDeploymentUnitProgressOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current step of the deployment unit provisioning.
.google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStatein interfaceDeploymentUnitProgressOrBuilder- Returns:
- The state.
-
setState
Output only. The current step of the deployment unit provisioning.
.google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getStateDescription
Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDescriptionin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The stateDescription.
-
getStateDescriptionBytes
public com.google.protobuf.ByteString getStateDescriptionBytes()Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDescriptionBytesin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The bytes for stateDescription.
-
setStateDescription
Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stateDescription to set.- Returns:
- This builder for chaining.
-
clearStateDescription
Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStateDescriptionBytes
public DeploymentUnitProgress.Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) Output only. Additional information regarding the current state.
string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for stateDescription to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasDeploymentOperationSummaryin interfaceDeploymentUnitProgressOrBuilder- Returns:
- Whether the deploymentOperationSummary field is set.
-
getDeploymentOperationSummary
Output only. The summary of the deployment operation.
.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentOperationSummaryin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The deploymentOperationSummary.
-
setDeploymentOperationSummary
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]; -
setDeploymentOperationSummary
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]; -
mergeDeploymentOperationSummary
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]; -
clearDeploymentOperationSummary
Output only. The summary of the deployment operation.
.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeploymentOperationSummaryBuilder
Output only. The summary of the deployment operation.
.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeploymentOperationSummaryOrBuilder
Output only. The summary of the deployment operation.
.google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentOperationSummaryOrBuilderin interfaceDeploymentUnitProgressOrBuilder
-
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];- Specified by:
hasErrorin interfaceDeploymentUnitProgressOrBuilder- Returns:
- Whether the error field is set.
-
getError
Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The error.
-
setError
Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setError
Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeError
Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearError
Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorBuilder
Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorOrBuilder
Output only. Holds the error status of the deployment unit provisioning.
.google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceDeploymentUnitProgressOrBuilder
-
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];- Specified by:
getIntentValuein interfaceDeploymentUnitProgressOrBuilder- Returns:
- The enum numeric value on the wire for intent.
-
setIntentValue
Output only. The intent of the deployment unit.
.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for intent to set.- Returns:
- This builder for chaining.
-
getIntent
Output only. The intent of the deployment unit.
.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIntentin interfaceDeploymentUnitProgressOrBuilder- Returns:
- The intent.
-
setIntent
Output only. The intent of the deployment unit.
.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The intent to set.- Returns:
- This builder for chaining.
-
clearIntent
Output only. The intent of the deployment unit.
.google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-