Class DeploymentUnitProgress

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.config.v1.DeploymentUnitProgress
All Implemented Interfaces:
DeploymentUnitProgressOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeploymentUnitProgress extends com.google.protobuf.GeneratedMessage implements DeploymentUnitProgressOrBuilder
 The progress of a deployment unit provisioning or deprovisioning.
 
Protobuf type google.cloud.config.v1.DeploymentUnitProgress
See Also:
  • Field Details

    • UNIT_ID_FIELD_NUMBER

      public static final int UNIT_ID_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_FIELD_NUMBER

      public static final int DEPLOYMENT_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • STATE_DESCRIPTION_FIELD_NUMBER

      public static final int STATE_DESCRIPTION_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_OPERATION_SUMMARY_FIELD_NUMBER

      public static final int DEPLOYMENT_OPERATION_SUMMARY_FIELD_NUMBER
      See Also:
    • ERROR_FIELD_NUMBER

      public static final int ERROR_FIELD_NUMBER
      See Also:
    • INTENT_FIELD_NUMBER

      public static final int INTENT_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DeploymentUnitProgress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeploymentUnitProgress parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeploymentUnitProgress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeploymentUnitProgress parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DeploymentUnitProgress.Builder newBuilder()
    • newBuilder

      public static DeploymentUnitProgress.Builder newBuilder(DeploymentUnitProgress prototype)
    • toBuilder

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

      protected DeploymentUnitProgress.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DeploymentUnitProgress getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DeploymentUnitProgress> parser()
    • getParserForType

      public com.google.protobuf.Parser<DeploymentUnitProgress> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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