Class Release.ReleaseReadyCondition.Builder (1.81.0)

public static final class Release.ReleaseReadyCondition.Builder extends GeneratedMessage.Builder<Release.ReleaseReadyCondition.Builder> implements Release.ReleaseReadyConditionOrBuilder

ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.

Protobuf type google.cloud.deploy.v1.Release.ReleaseReadyCondition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Release.ReleaseReadyCondition build()
Returns
Type Description
Release.ReleaseReadyCondition

buildPartial()

public Release.ReleaseReadyCondition buildPartial()
Returns
Type Description
Release.ReleaseReadyCondition

clear()

public Release.ReleaseReadyCondition.Builder clear()
Returns
Type Description
Release.ReleaseReadyCondition.Builder
Overrides

clearStatus()

public Release.ReleaseReadyCondition.Builder clearStatus()

True if the Release is in a valid state. Otherwise at least one condition in ReleaseCondition is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release.

bool status = 1;

Returns
Type Description
Release.ReleaseReadyCondition.Builder

This builder for chaining.

getDefaultInstanceForType()

public Release.ReleaseReadyCondition getDefaultInstanceForType()
Returns
Type Description
Release.ReleaseReadyCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStatus()

public boolean getStatus()

True if the Release is in a valid state. Otherwise at least one condition in ReleaseCondition is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release.

bool status = 1;

Returns
Type Description
boolean

The status.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Release.ReleaseReadyCondition other)

public Release.ReleaseReadyCondition.Builder mergeFrom(Release.ReleaseReadyCondition other)
Parameter
Name Description
other Release.ReleaseReadyCondition
Returns
Type Description
Release.ReleaseReadyCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Release.ReleaseReadyCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Release.ReleaseReadyCondition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Release.ReleaseReadyCondition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Release.ReleaseReadyCondition.Builder
Overrides

setStatus(boolean value)

public Release.ReleaseReadyCondition.Builder setStatus(boolean value)

True if the Release is in a valid state. Otherwise at least one condition in ReleaseCondition is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release.

bool status = 1;

Parameter
Name Description
value boolean

The status to set.

Returns
Type Description
Release.ReleaseReadyCondition.Builder

This builder for chaining.