Class DeploymentOperationSummary.Builder

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

public static final class DeploymentOperationSummary.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeploymentOperationSummary.Builder> implements DeploymentOperationSummaryOrBuilder
 The summary of the deployment operation.
 
Protobuf type google.cloud.config.v1.DeploymentOperationSummary
  • 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<DeploymentOperationSummary.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<DeploymentOperationSummary.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<DeploymentOperationSummary.Builder>
    • getDefaultInstanceForType

      public DeploymentOperationSummary 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 DeploymentOperationSummary buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public DeploymentOperationSummary.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<DeploymentOperationSummary.Builder>
      Throws:
      IOException
    • getDeploymentStepValue

      public int getDeploymentStepValue()
       Output only. The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentStepValue in interface DeploymentOperationSummaryOrBuilder
      Returns:
      The enum numeric value on the wire for deploymentStep.
    • setDeploymentStepValue

      public DeploymentOperationSummary.Builder setDeploymentStepValue(int value)
       Output only. The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for deploymentStep to set.
      Returns:
      This builder for chaining.
    • getDeploymentStep

      public DeploymentOperationMetadata.DeploymentStep getDeploymentStep()
       Output only. The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentStep in interface DeploymentOperationSummaryOrBuilder
      Returns:
      The deploymentStep.
    • setDeploymentStep

       Output only. The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The deploymentStep to set.
      Returns:
      This builder for chaining.
    • clearDeploymentStep

      public DeploymentOperationSummary.Builder clearDeploymentStep()
       Output only. The current step the deployment operation is running.
       
      .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getBuild

      public String getBuild()
       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getBuild in interface DeploymentOperationSummaryOrBuilder
      Returns:
      The build.
    • getBuildBytes

      public com.google.protobuf.ByteString getBuildBytes()
       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getBuildBytes in interface DeploymentOperationSummaryOrBuilder
      Returns:
      The bytes for build.
    • setBuild

      public DeploymentOperationSummary.Builder setBuild(String value)
       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The build to set.
      Returns:
      This builder for chaining.
    • clearBuild

       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setBuildBytes

      public DeploymentOperationSummary.Builder setBuildBytes(com.google.protobuf.ByteString value)
       Output only. Cloud Build instance UUID associated with this operation.
       
      string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLogs in interface DeploymentOperationSummaryOrBuilder
      Returns:
      The logs.
    • getLogsBytes

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

       Output only. Location of Deployment operations logs in
       `gs://{bucket}/{object}` format.
       
      string logs = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLogsBytes

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

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

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

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

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

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

      public String getArtifacts()
       Output only. Location of Deployment operations artifacts in
       `gs://{bucket}/{object}` format.
       
      string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifacts in interface DeploymentOperationSummaryOrBuilder
      Returns:
      The artifacts.
    • getArtifactsBytes

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

      public DeploymentOperationSummary.Builder setArtifacts(String value)
       Output only. Location of Deployment operations artifacts in
       `gs://{bucket}/{object}` format.
       
      string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The artifacts to set.
      Returns:
      This builder for chaining.
    • clearArtifacts

      public DeploymentOperationSummary.Builder clearArtifacts()
       Output only. Location of Deployment operations artifacts in
       `gs://{bucket}/{object}` format.
       
      string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setArtifactsBytes

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