Class PipelineCondition (1.25.0)

public final class PipelineCondition extends GeneratedMessageV3 implements PipelineConditionOrBuilder

PipelineCondition contains all conditions relevant to a Delivery Pipeline.

Protobuf type google.cloud.deploy.v1.PipelineCondition

Static Fields

PIPELINE_READY_CONDITION_FIELD_NUMBER

public static final int PIPELINE_READY_CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

TARGETS_PRESENT_CONDITION_FIELD_NUMBER

public static final int TARGETS_PRESENT_CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

TARGETS_TYPE_CONDITION_FIELD_NUMBER

public static final int TARGETS_TYPE_CONDITION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PipelineCondition getDefaultInstance()
Returns
TypeDescription
PipelineCondition

getDescriptor()

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

newBuilder()

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

newBuilder(PipelineCondition prototype)

public static PipelineCondition.Builder newBuilder(PipelineCondition prototype)
Parameter
NameDescription
prototypePipelineCondition
Returns
TypeDescription
PipelineCondition.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PipelineCondition getDefaultInstanceForType()
Returns
TypeDescription
PipelineCondition

getParserForType()

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

getPipelineReadyCondition()

public PipelineReadyCondition getPipelineReadyCondition()

Details around the Pipeline's overall status.

.google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1;

Returns
TypeDescription
PipelineReadyCondition

The pipelineReadyCondition.

getPipelineReadyConditionOrBuilder()

public PipelineReadyConditionOrBuilder getPipelineReadyConditionOrBuilder()

Details around the Pipeline's overall status.

.google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1;

Returns
TypeDescription
PipelineReadyConditionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetsPresentCondition()

public TargetsPresentCondition getTargetsPresentCondition()

Details around targets enumerated in the pipeline.

.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3;

Returns
TypeDescription
TargetsPresentCondition

The targetsPresentCondition.

getTargetsPresentConditionOrBuilder()

public TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder()

Details around targets enumerated in the pipeline.

.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3;

Returns
TypeDescription
TargetsPresentConditionOrBuilder

getTargetsTypeCondition()

public TargetsTypeCondition getTargetsTypeCondition()

Details on the whether the targets enumerated in the pipeline are of the same type.

.google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;

Returns
TypeDescription
TargetsTypeCondition

The targetsTypeCondition.

getTargetsTypeConditionOrBuilder()

public TargetsTypeConditionOrBuilder getTargetsTypeConditionOrBuilder()

Details on the whether the targets enumerated in the pipeline are of the same type.

.google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;

Returns
TypeDescription
TargetsTypeConditionOrBuilder

hasPipelineReadyCondition()

public boolean hasPipelineReadyCondition()

Details around the Pipeline's overall status.

.google.cloud.deploy.v1.PipelineReadyCondition pipeline_ready_condition = 1;

Returns
TypeDescription
boolean

Whether the pipelineReadyCondition field is set.

hasTargetsPresentCondition()

public boolean hasTargetsPresentCondition()

Details around targets enumerated in the pipeline.

.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3;

Returns
TypeDescription
boolean

Whether the targetsPresentCondition field is set.

hasTargetsTypeCondition()

public boolean hasTargetsTypeCondition()

Details on the whether the targets enumerated in the pipeline are of the same type.

.google.cloud.deploy.v1.TargetsTypeCondition targets_type_condition = 4;

Returns
TypeDescription
boolean

Whether the targetsTypeCondition 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 PipelineCondition.Builder newBuilderForType()
Returns
TypeDescription
PipelineCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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