Class DeploymentJobs.Builder

  • All Implemented Interfaces:
    DeploymentJobsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    DeploymentJobs

    public static final class DeploymentJobs.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
    implements DeploymentJobsOrBuilder
     Deployment job composition.
     
    Protobuf type google.cloud.deploy.v1.DeploymentJobs
    • 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<DeploymentJobs.Builder>
      • clear

        public DeploymentJobs.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.GeneratedMessageV3.Builder<DeploymentJobs.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<DeploymentJobs.Builder>
      • getDefaultInstanceForType

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

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

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

        public DeploymentJobs.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
      • setField

        public DeploymentJobs.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
      • clearField

        public DeploymentJobs.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
      • clearOneof

        public DeploymentJobs.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
      • setRepeatedField

        public DeploymentJobs.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
      • addRepeatedField

        public DeploymentJobs.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
      • mergeFrom

        public DeploymentJobs.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<DeploymentJobs.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeploymentJobs.Builder>
      • mergeFrom

        public DeploymentJobs.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<DeploymentJobs.Builder>
        Throws:
        IOException
      • hasDeployJob

        public boolean hasDeployJob()
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDeployJob in interface DeploymentJobsOrBuilder
        Returns:
        Whether the deployJob field is set.
      • getDeployJob

        public Job getDeployJob()
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeployJob in interface DeploymentJobsOrBuilder
        Returns:
        The deployJob.
      • setDeployJob

        public DeploymentJobs.Builder setDeployJob​(Job value)
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setDeployJob

        public DeploymentJobs.Builder setDeployJob​(Job.Builder builderForValue)
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeDeployJob

        public DeploymentJobs.Builder mergeDeployJob​(Job value)
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDeployJob

        public DeploymentJobs.Builder clearDeployJob()
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDeployJobBuilder

        public Job.Builder getDeployJobBuilder()
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDeployJobOrBuilder

        public JobOrBuilder getDeployJobOrBuilder()
         Output only. The deploy Job. This is the deploy job in the phase.
         
        .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeployJobOrBuilder in interface DeploymentJobsOrBuilder
      • hasVerifyJob

        public boolean hasVerifyJob()
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasVerifyJob in interface DeploymentJobsOrBuilder
        Returns:
        Whether the verifyJob field is set.
      • getVerifyJob

        public Job getVerifyJob()
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVerifyJob in interface DeploymentJobsOrBuilder
        Returns:
        The verifyJob.
      • setVerifyJob

        public DeploymentJobs.Builder setVerifyJob​(Job value)
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setVerifyJob

        public DeploymentJobs.Builder setVerifyJob​(Job.Builder builderForValue)
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeVerifyJob

        public DeploymentJobs.Builder mergeVerifyJob​(Job value)
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearVerifyJob

        public DeploymentJobs.Builder clearVerifyJob()
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getVerifyJobBuilder

        public Job.Builder getVerifyJobBuilder()
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getVerifyJobOrBuilder

        public JobOrBuilder getVerifyJobOrBuilder()
         Output only. The verify Job. Runs after a deploy if the deploy succeeds.
         
        .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVerifyJobOrBuilder in interface DeploymentJobsOrBuilder
      • hasPredeployJob

        public boolean hasPredeployJob()
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPredeployJob in interface DeploymentJobsOrBuilder
        Returns:
        Whether the predeployJob field is set.
      • getPredeployJob

        public Job getPredeployJob()
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPredeployJob in interface DeploymentJobsOrBuilder
        Returns:
        The predeployJob.
      • setPredeployJob

        public DeploymentJobs.Builder setPredeployJob​(Job value)
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setPredeployJob

        public DeploymentJobs.Builder setPredeployJob​(Job.Builder builderForValue)
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergePredeployJob

        public DeploymentJobs.Builder mergePredeployJob​(Job value)
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearPredeployJob

        public DeploymentJobs.Builder clearPredeployJob()
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPredeployJobBuilder

        public Job.Builder getPredeployJobBuilder()
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPredeployJobOrBuilder

        public JobOrBuilder getPredeployJobOrBuilder()
         Output only. The predeploy Job. This is the predeploy job in the phase.
         This is the first job of the phase.
         
        .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPredeployJobOrBuilder in interface DeploymentJobsOrBuilder
      • hasPostdeployJob

        public boolean hasPostdeployJob()
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPostdeployJob in interface DeploymentJobsOrBuilder
        Returns:
        Whether the postdeployJob field is set.
      • getPostdeployJob

        public Job getPostdeployJob()
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPostdeployJob in interface DeploymentJobsOrBuilder
        Returns:
        The postdeployJob.
      • setPostdeployJob

        public DeploymentJobs.Builder setPostdeployJob​(Job value)
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setPostdeployJob

        public DeploymentJobs.Builder setPostdeployJob​(Job.Builder builderForValue)
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergePostdeployJob

        public DeploymentJobs.Builder mergePostdeployJob​(Job value)
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearPostdeployJob

        public DeploymentJobs.Builder clearPostdeployJob()
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPostdeployJobBuilder

        public Job.Builder getPostdeployJobBuilder()
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPostdeployJobOrBuilder

        public JobOrBuilder getPostdeployJobOrBuilder()
         Output only. The postdeploy Job. This is the postdeploy job in the phase.
         This is the last job of the phase.
         
        .google.cloud.deploy.v1.Job postdeploy_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPostdeployJobOrBuilder in interface DeploymentJobsOrBuilder
      • setUnknownFields

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

        public final DeploymentJobs.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<DeploymentJobs.Builder>