Class IgnoreJobRequest.Builder

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

public static final class IgnoreJobRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<IgnoreJobRequest.Builder> implements IgnoreJobRequestOrBuilder
 The request object used by `IgnoreJob`.
 
Protobuf type google.cloud.deploy.v1.IgnoreJobRequest
  • 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<IgnoreJobRequest.Builder>
    • clear

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

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

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

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

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

      public IgnoreJobRequest.Builder mergeFrom(IgnoreJobRequest other)
    • isInitialized

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

      public IgnoreJobRequest.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<IgnoreJobRequest.Builder>
      Throws:
      IOException
    • getRollout

      public String getRollout()
       Required. Name of the Rollout. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
       
      string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getRollout in interface IgnoreJobRequestOrBuilder
      Returns:
      The rollout.
    • getRolloutBytes

      public com.google.protobuf.ByteString getRolloutBytes()
       Required. Name of the Rollout. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
       
      string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getRolloutBytes in interface IgnoreJobRequestOrBuilder
      Returns:
      The bytes for rollout.
    • setRollout

      public IgnoreJobRequest.Builder setRollout(String value)
       Required. Name of the Rollout. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
       
      string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The rollout to set.
      Returns:
      This builder for chaining.
    • clearRollout

      public IgnoreJobRequest.Builder clearRollout()
       Required. Name of the Rollout. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
       
      string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRolloutBytes

      public IgnoreJobRequest.Builder setRolloutBytes(com.google.protobuf.ByteString value)
       Required. Name of the Rollout. Format is
       `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
       
      string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for rollout to set.
      Returns:
      This builder for chaining.
    • getPhaseId

      public String getPhaseId()
       Required. The phase ID the Job to ignore belongs to.
       
      string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPhaseId in interface IgnoreJobRequestOrBuilder
      Returns:
      The phaseId.
    • getPhaseIdBytes

      public com.google.protobuf.ByteString getPhaseIdBytes()
       Required. The phase ID the Job to ignore belongs to.
       
      string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPhaseIdBytes in interface IgnoreJobRequestOrBuilder
      Returns:
      The bytes for phaseId.
    • setPhaseId

      public IgnoreJobRequest.Builder setPhaseId(String value)
       Required. The phase ID the Job to ignore belongs to.
       
      string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The phaseId to set.
      Returns:
      This builder for chaining.
    • clearPhaseId

      public IgnoreJobRequest.Builder clearPhaseId()
       Required. The phase ID the Job to ignore belongs to.
       
      string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setPhaseIdBytes

      public IgnoreJobRequest.Builder setPhaseIdBytes(com.google.protobuf.ByteString value)
       Required. The phase ID the Job to ignore belongs to.
       
      string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for phaseId to set.
      Returns:
      This builder for chaining.
    • getJobId

      public String getJobId()
       Required. The job ID for the Job to ignore.
       
      string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJobId in interface IgnoreJobRequestOrBuilder
      Returns:
      The jobId.
    • getJobIdBytes

      public com.google.protobuf.ByteString getJobIdBytes()
       Required. The job ID for the Job to ignore.
       
      string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJobIdBytes in interface IgnoreJobRequestOrBuilder
      Returns:
      The bytes for jobId.
    • setJobId

      public IgnoreJobRequest.Builder setJobId(String value)
       Required. The job ID for the Job to ignore.
       
      string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The jobId to set.
      Returns:
      This builder for chaining.
    • clearJobId

      public IgnoreJobRequest.Builder clearJobId()
       Required. The job ID for the Job to ignore.
       
      string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setJobIdBytes

      public IgnoreJobRequest.Builder setJobIdBytes(com.google.protobuf.ByteString value)
       Required. The job ID for the Job to ignore.
       
      string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for jobId to set.
      Returns:
      This builder for chaining.
    • getOverrideDeployPolicyList

      public com.google.protobuf.ProtocolStringList getOverrideDeployPolicyList()
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOverrideDeployPolicyList in interface IgnoreJobRequestOrBuilder
      Returns:
      A list containing the overrideDeployPolicy.
    • getOverrideDeployPolicyCount

      public int getOverrideDeployPolicyCount()
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOverrideDeployPolicyCount in interface IgnoreJobRequestOrBuilder
      Returns:
      The count of overrideDeployPolicy.
    • getOverrideDeployPolicy

      public String getOverrideDeployPolicy(int index)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOverrideDeployPolicy in interface IgnoreJobRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The overrideDeployPolicy at the given index.
    • getOverrideDeployPolicyBytes

      public com.google.protobuf.ByteString getOverrideDeployPolicyBytes(int index)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOverrideDeployPolicyBytes in interface IgnoreJobRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the overrideDeployPolicy at the given index.
    • setOverrideDeployPolicy

      public IgnoreJobRequest.Builder setOverrideDeployPolicy(int index, String value)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The overrideDeployPolicy to set.
      Returns:
      This builder for chaining.
    • addOverrideDeployPolicy

      public IgnoreJobRequest.Builder addOverrideDeployPolicy(String value)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The overrideDeployPolicy to add.
      Returns:
      This builder for chaining.
    • addAllOverrideDeployPolicy

      public IgnoreJobRequest.Builder addAllOverrideDeployPolicy(Iterable<String> values)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The overrideDeployPolicy to add.
      Returns:
      This builder for chaining.
    • clearOverrideDeployPolicy

      public IgnoreJobRequest.Builder clearOverrideDeployPolicy()
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addOverrideDeployPolicyBytes

      public IgnoreJobRequest.Builder addOverrideDeployPolicyBytes(com.google.protobuf.ByteString value)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
       
      repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the overrideDeployPolicy to add.
      Returns:
      This builder for chaining.