Class Release.ReleaseReadyCondition.Builder (1.32.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Release.ReleaseReadyCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Release.ReleaseReadyCondition.Builder clear()
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Release.ReleaseReadyCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Release.ReleaseReadyCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Release.ReleaseReadyCondition.Builder

This builder for chaining.

clone()

public Release.ReleaseReadyCondition.Builder clone()
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The status.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Release.ReleaseReadyCondition other)

public Release.ReleaseReadyCondition.Builder mergeFrom(Release.ReleaseReadyCondition other)
Parameter
NameDescription
otherRelease.ReleaseReadyCondition
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Release.ReleaseReadyCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Release.ReleaseReadyCondition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Release.ReleaseReadyCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Release.ReleaseReadyCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Release.ReleaseReadyCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The status to set.

Returns
TypeDescription
Release.ReleaseReadyCondition.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Release.ReleaseReadyCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Release.ReleaseReadyCondition.Builder
Overrides