Class Release.ReleaseReadyCondition.Builder (1.47.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Release.ReleaseReadyCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Release.ReleaseReadyCondition.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Release.ReleaseReadyCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Release.ReleaseReadyCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Release.ReleaseReadyCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Release.ReleaseReadyCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Release.ReleaseReadyCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Release.ReleaseReadyCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Release.ReleaseReadyCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Release.ReleaseReadyCondition.Builder
Overrides