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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DeploymentUnitProgress.Builder>
    • getDefaultInstanceForType

      public DeploymentUnitProgress getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DeploymentUnitProgress build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DeploymentUnitProgress buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DeploymentUnitProgress.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeploymentUnitProgress.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeploymentUnitProgress.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getUnitId in interface DeploymentUnitProgressOrBuilder
      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:
      getUnitIdBytes in interface DeploymentUnitProgressOrBuilder
      Returns:
      The bytes for unitId.
    • setUnitId

      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];
      Parameters:
      value - The unitId to set.
      Returns:
      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:
      This builder for chaining.
    • setUnitIdBytes

      public DeploymentUnitProgress.Builder setUnitIdBytes(com.google.protobuf.ByteString value)
       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

      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) = { ... }
      Specified by:
      getDeployment in interface DeploymentUnitProgressOrBuilder
      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:
      getDeploymentBytes in interface DeploymentUnitProgressOrBuilder
      Returns:
      The bytes for deployment.
    • setDeployment

      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) = { ... }
      Parameters:
      value - The deployment to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setDeploymentBytes

      public DeploymentUnitProgress.Builder setDeploymentBytes(com.google.protobuf.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) = { ... }
      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:
      getStateValue in interface DeploymentUnitProgressOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getState in interface DeploymentUnitProgressOrBuilder
      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

      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:
      This builder for chaining.
    • getStateDescription

      public String getStateDescription()
       Output only. Additional information regarding the current state.
       
      string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateDescription in interface DeploymentUnitProgressOrBuilder
      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:
      getStateDescriptionBytes in interface DeploymentUnitProgressOrBuilder
      Returns:
      The bytes for stateDescription.
    • setStateDescription

      public DeploymentUnitProgress.Builder setStateDescription(String value)
       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

      public DeploymentUnitProgress.Builder 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:
      hasDeploymentOperationSummary in interface DeploymentUnitProgressOrBuilder
      Returns:
      Whether the deploymentOperationSummary field is set.
    • 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];
      Specified by:
      getDeploymentOperationSummary in interface DeploymentUnitProgressOrBuilder
      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

      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];
    • 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];
    • 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];
      Specified by:
      getDeploymentOperationSummaryOrBuilder in interface DeploymentUnitProgressOrBuilder
    • 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:
      hasError in interface DeploymentUnitProgressOrBuilder
      Returns:
      Whether the error field is set.
    • 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];
      Specified by:
      getError in interface DeploymentUnitProgressOrBuilder
      Returns:
      The error.
    • setError

      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];
    • setError

      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];
    • mergeError

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getErrorOrBuilder in interface DeploymentUnitProgressOrBuilder
    • 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:
      getIntentValue in interface DeploymentUnitProgressOrBuilder
      Returns:
      The enum numeric value on the wire for intent.
    • setIntentValue

      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];
      Parameters:
      value - The enum numeric value on the wire for intent to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getIntent in interface DeploymentUnitProgressOrBuilder
      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

      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:
      This builder for chaining.