Class AutomationRuleCondition.Builder

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

public static final class AutomationRuleCondition.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutomationRuleCondition.Builder> implements AutomationRuleConditionOrBuilder
 `AutomationRuleCondition` contains conditions relevant to an
 `Automation` rule.
 
Protobuf type google.cloud.deploy.v1.AutomationRuleCondition
  • 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<AutomationRuleCondition.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<AutomationRuleCondition.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<AutomationRuleCondition.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AutomationRuleCondition.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<AutomationRuleCondition.Builder>
      Throws:
      IOException
    • getRuleTypeConditionCase

      public AutomationRuleCondition.RuleTypeConditionCase getRuleTypeConditionCase()
      Specified by:
      getRuleTypeConditionCase in interface AutomationRuleConditionOrBuilder
    • clearRuleTypeCondition

      public AutomationRuleCondition.Builder clearRuleTypeCondition()
    • hasTargetsPresentCondition

      public boolean hasTargetsPresentCondition()
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTargetsPresentCondition in interface AutomationRuleConditionOrBuilder
      Returns:
      Whether the targetsPresentCondition field is set.
    • getTargetsPresentCondition

      public TargetsPresentCondition getTargetsPresentCondition()
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetsPresentCondition in interface AutomationRuleConditionOrBuilder
      Returns:
      The targetsPresentCondition.
    • setTargetsPresentCondition

      public AutomationRuleCondition.Builder setTargetsPresentCondition(TargetsPresentCondition value)
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setTargetsPresentCondition

      public AutomationRuleCondition.Builder setTargetsPresentCondition(TargetsPresentCondition.Builder builderForValue)
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeTargetsPresentCondition

      public AutomationRuleCondition.Builder mergeTargetsPresentCondition(TargetsPresentCondition value)
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearTargetsPresentCondition

      public AutomationRuleCondition.Builder clearTargetsPresentCondition()
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getTargetsPresentConditionBuilder

      public TargetsPresentCondition.Builder getTargetsPresentConditionBuilder()
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getTargetsPresentConditionOrBuilder

      public TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder()
       Optional. Details around targets enumerated in the rule.
       
      .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetsPresentConditionOrBuilder in interface AutomationRuleConditionOrBuilder
    • hasTimedPromoteReleaseCondition

      public boolean hasTimedPromoteReleaseCondition()
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTimedPromoteReleaseCondition in interface AutomationRuleConditionOrBuilder
      Returns:
      Whether the timedPromoteReleaseCondition field is set.
    • getTimedPromoteReleaseCondition

      public TimedPromoteReleaseCondition getTimedPromoteReleaseCondition()
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimedPromoteReleaseCondition in interface AutomationRuleConditionOrBuilder
      Returns:
      The timedPromoteReleaseCondition.
    • setTimedPromoteReleaseCondition

      public AutomationRuleCondition.Builder setTimedPromoteReleaseCondition(TimedPromoteReleaseCondition value)
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setTimedPromoteReleaseCondition

      public AutomationRuleCondition.Builder setTimedPromoteReleaseCondition(TimedPromoteReleaseCondition.Builder builderForValue)
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeTimedPromoteReleaseCondition

      public AutomationRuleCondition.Builder mergeTimedPromoteReleaseCondition(TimedPromoteReleaseCondition value)
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearTimedPromoteReleaseCondition

      public AutomationRuleCondition.Builder clearTimedPromoteReleaseCondition()
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getTimedPromoteReleaseConditionBuilder

      public TimedPromoteReleaseCondition.Builder getTimedPromoteReleaseConditionBuilder()
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getTimedPromoteReleaseConditionOrBuilder

      public TimedPromoteReleaseConditionOrBuilder getTimedPromoteReleaseConditionOrBuilder()
       Optional. TimedPromoteReleaseCondition contains rule conditions specific
       to a an Automation with a timed promote release rule defined.
       
      .google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimedPromoteReleaseConditionOrBuilder in interface AutomationRuleConditionOrBuilder