Class AutomationRuleCondition

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.AutomationRuleCondition
All Implemented Interfaces:
AutomationRuleConditionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AutomationRuleCondition extends com.google.protobuf.GeneratedMessage implements AutomationRuleConditionOrBuilder
 `AutomationRuleCondition` contains conditions relevant to an
 `Automation` rule.
 
Protobuf type google.cloud.deploy.v1.AutomationRuleCondition
See Also:
  • Field Details

    • TARGETS_PRESENT_CONDITION_FIELD_NUMBER

      public static final int TARGETS_PRESENT_CONDITION_FIELD_NUMBER
      See Also:
    • TIMED_PROMOTE_RELEASE_CONDITION_FIELD_NUMBER

      public static final int TIMED_PROMOTE_RELEASE_CONDITION_FIELD_NUMBER
      See Also:
  • 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
    • getRuleTypeConditionCase

      public AutomationRuleCondition.RuleTypeConditionCase getRuleTypeConditionCase()
      Specified by:
      getRuleTypeConditionCase in interface AutomationRuleConditionOrBuilder
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AutomationRuleCondition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutomationRuleCondition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutomationRuleCondition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutomationRuleCondition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutomationRuleCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutomationRuleCondition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutomationRuleCondition parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AutomationRuleCondition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AutomationRuleCondition parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AutomationRuleCondition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AutomationRuleCondition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AutomationRuleCondition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static AutomationRuleCondition.Builder newBuilder()
    • newBuilder

      public static AutomationRuleCondition.Builder newBuilder(AutomationRuleCondition prototype)
    • toBuilder

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

      protected AutomationRuleCondition.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AutomationRuleCondition getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AutomationRuleCondition> parser()
    • getParserForType

      public com.google.protobuf.Parser<AutomationRuleCondition> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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