Class Release.ReleaseReadyCondition (1.27.0)

public static final class Release.ReleaseReadyCondition extends GeneratedMessageV3 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 Fields

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Release.ReleaseReadyCondition getDefaultInstance()
Returns
TypeDescription
Release.ReleaseReadyCondition

getDescriptor()

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

newBuilder()

public static Release.ReleaseReadyCondition.Builder newBuilder()
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder

newBuilder(Release.ReleaseReadyCondition prototype)

public static Release.ReleaseReadyCondition.Builder newBuilder(Release.ReleaseReadyCondition prototype)
Parameter
NameDescription
prototypeRelease.ReleaseReadyCondition
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder

parseDelimitedFrom(InputStream input)

public static Release.ReleaseReadyCondition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Release.ReleaseReadyCondition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Release.ReleaseReadyCondition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Release.ReleaseReadyCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Release.ReleaseReadyCondition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Release.ReleaseReadyCondition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Release.ReleaseReadyCondition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Release.ReleaseReadyCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Release.ReleaseReadyCondition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Release.ReleaseReadyCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Release.ReleaseReadyCondition> parser()
Returns
TypeDescription
Parser<ReleaseReadyCondition>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Release.ReleaseReadyCondition getDefaultInstanceForType()
Returns
TypeDescription
Release.ReleaseReadyCondition

getParserForType()

public Parser<Release.ReleaseReadyCondition> getParserForType()
Returns
TypeDescription
Parser<ReleaseReadyCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
boolean

The status.

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 Release.ReleaseReadyCondition.Builder newBuilderForType()
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Release.ReleaseReadyCondition.Builder toBuilder()
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder

writeTo(CodedOutputStream output)

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