Class DeploymentOperationMetadata.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public DeploymentOperationMetadata 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • clearStep

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

        public DeploymentOperationMetadata.Builder setBuild​(String value)
         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

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

        public DeploymentOperationMetadata.Builder setLogs​(String 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 logs to set.
        Returns:
        This builder for chaining.
      • clearLogs

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

        public final DeploymentOperationMetadata.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentOperationMetadata.Builder>