Class DeploymentOperationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeploymentOperationMetadata.Builder>
com.google.cloud.config.v1.DeploymentOperationMetadata.Builder
All Implemented Interfaces:
DeploymentOperationMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeploymentOperationMetadata

public static final class DeploymentOperationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeploymentOperationMetadata.Builder> implements DeploymentOperationMetadataOrBuilder
 Ephemeral metadata content describing the state of a deployment operation.
 
Protobuf type google.cloud.config.v1.DeploymentOperationMetadata
  • 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<DeploymentOperationMetadata.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<DeploymentOperationMetadata.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<DeploymentOperationMetadata.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DeploymentOperationMetadata.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<DeploymentOperationMetadata.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<DeploymentOperationMetadata.Builder>
    • mergeFrom

      public DeploymentOperationMetadata.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<DeploymentOperationMetadata.Builder>
      Throws:
      IOException
    • getStepValue

      public int getStepValue()
       The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;
      Specified by:
      getStepValue in interface DeploymentOperationMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for step.
    • setStepValue

      public DeploymentOperationMetadata.Builder setStepValue(int value)
       The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;
      Parameters:
      value - The enum numeric value on the wire for step to set.
      Returns:
      This builder for chaining.
    • getStep

       The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;
      Specified by:
      getStep in interface DeploymentOperationMetadataOrBuilder
      Returns:
      The step.
    • setStep

       The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;
      Parameters:
      value - The step to set.
      Returns:
      This builder for chaining.
    • clearStep

       The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;
      Returns:
      This builder for chaining.
    • hasApplyResults

      public boolean hasApplyResults()
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
      Specified by:
      hasApplyResults in interface DeploymentOperationMetadataOrBuilder
      Returns:
      Whether the applyResults field is set.
    • getApplyResults

      public ApplyResults getApplyResults()
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
      Specified by:
      getApplyResults in interface DeploymentOperationMetadataOrBuilder
      Returns:
      The applyResults.
    • setApplyResults

      public DeploymentOperationMetadata.Builder setApplyResults(ApplyResults value)
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
    • setApplyResults

      public DeploymentOperationMetadata.Builder setApplyResults(ApplyResults.Builder builderForValue)
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
    • mergeApplyResults

      public DeploymentOperationMetadata.Builder mergeApplyResults(ApplyResults value)
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
    • clearApplyResults

      public DeploymentOperationMetadata.Builder clearApplyResults()
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
    • getApplyResultsBuilder

      public ApplyResults.Builder getApplyResultsBuilder()
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
    • getApplyResultsOrBuilder

      public ApplyResultsOrBuilder getApplyResultsOrBuilder()
       Outputs and artifacts from applying a deployment.
       
      .google.cloud.config.v1.ApplyResults apply_results = 2;
      Specified by:
      getApplyResultsOrBuilder in interface DeploymentOperationMetadataOrBuilder
    • getBuild

      public String getBuild()
       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBuild in interface DeploymentOperationMetadataOrBuilder
      Returns:
      The build.
    • getBuildBytes

      public com.google.protobuf.ByteString getBuildBytes()
       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBuildBytes in interface DeploymentOperationMetadataOrBuilder
      Returns:
      The bytes for build.
    • setBuild

       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The build to set.
      Returns:
      This builder for chaining.
    • clearBuild

       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBuildBytes

      public DeploymentOperationMetadata.Builder setBuildBytes(com.google.protobuf.ByteString value)
       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for build to set.
      Returns:
      This builder for chaining.
    • getLogs

      public String getLogs()
       Output only. Location of Deployment operations logs in
       `gs://{bucket}/{object}` format.
       
      string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLogs in interface DeploymentOperationMetadataOrBuilder
      Returns:
      The logs.
    • getLogsBytes

      public com.google.protobuf.ByteString getLogsBytes()
       Output only. Location of Deployment operations logs in
       `gs://{bucket}/{object}` format.
       
      string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLogsBytes in interface DeploymentOperationMetadataOrBuilder
      Returns:
      The bytes for logs.
    • setLogs

       Output only. Location of Deployment operations logs in
       `gs://{bucket}/{object}` format.
       
      string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The logs to set.
      Returns:
      This builder for chaining.
    • clearLogs

       Output only. Location of Deployment operations logs in
       `gs://{bucket}/{object}` format.
       
      string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLogsBytes

      public DeploymentOperationMetadata.Builder setLogsBytes(com.google.protobuf.ByteString value)
       Output only. Location of Deployment operations logs in
       `gs://{bucket}/{object}` format.
       
      string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for logs to set.
      Returns:
      This builder for chaining.