Class AutomationRuleCondition (1.31.0)

public final class AutomationRuleCondition extends GeneratedMessageV3 implements AutomationRuleConditionOrBuilder

AutomationRuleCondition contains conditions relevant to an Automation rule.

Protobuf type google.cloud.deploy.v1.AutomationRuleCondition

Static Fields

TARGETS_PRESENT_CONDITION_FIELD_NUMBER

public static final int TARGETS_PRESENT_CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutomationRuleCondition getDefaultInstance()
Returns
TypeDescription
AutomationRuleCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AutomationRuleCondition.Builder newBuilder()
Returns
TypeDescription
AutomationRuleCondition.Builder

newBuilder(AutomationRuleCondition prototype)

public static AutomationRuleCondition.Builder newBuilder(AutomationRuleCondition prototype)
Parameter
NameDescription
prototypeAutomationRuleCondition
Returns
TypeDescription
AutomationRuleCondition.Builder

parseDelimitedFrom(InputStream input)

public static AutomationRuleCondition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomationRuleCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AutomationRuleCondition parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutomationRuleCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutomationRuleCondition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutomationRuleCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutomationRuleCondition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomationRuleCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AutomationRuleCondition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomationRuleCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AutomationRuleCondition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutomationRuleCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRuleCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AutomationRuleCondition> parser()
Returns
TypeDescription
Parser<AutomationRuleCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AutomationRuleCondition getDefaultInstanceForType()
Returns
TypeDescription
AutomationRuleCondition

getParserForType()

public Parser<AutomationRuleCondition> getParserForType()
Returns
TypeDescription
Parser<AutomationRuleCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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];

Returns
TypeDescription
TargetsPresentCondition

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];

Returns
TypeDescription
TargetsPresentConditionOrBuilder

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];

Returns
TypeDescription
boolean

Whether the targetsPresentCondition field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AutomationRuleCondition.Builder newBuilderForType()
Returns
TypeDescription
AutomationRuleCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutomationRuleCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AutomationRuleCondition.Builder toBuilder()
Returns
TypeDescription
AutomationRuleCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException