Class PipelineReadyCondition.Builder (1.16.0)

public static final class PipelineReadyCondition.Builder extends GeneratedMessageV3.Builder<PipelineReadyCondition.Builder> implements PipelineReadyConditionOrBuilder

PipelineReadyCondition contains information around the status of the Pipeline.

Protobuf type google.cloud.deploy.v1.PipelineReadyCondition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PipelineReadyCondition build()
Returns
TypeDescription
PipelineReadyCondition

buildPartial()

public PipelineReadyCondition buildPartial()
Returns
TypeDescription
PipelineReadyCondition

clear()

public PipelineReadyCondition.Builder clear()
Returns
TypeDescription
PipelineReadyCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PipelineReadyCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PipelineReadyCondition.Builder
Overrides

clearStatus()

public PipelineReadyCondition.Builder clearStatus()

True if the Pipeline is in a valid state. Otherwise at least one condition in PipelineCondition 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 Pipeline.

bool status = 3;

Returns
TypeDescription
PipelineReadyCondition.Builder

This builder for chaining.

clearUpdateTime()

public PipelineReadyCondition.Builder clearUpdateTime()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
PipelineReadyCondition.Builder

clone()

public PipelineReadyCondition.Builder clone()
Returns
TypeDescription
PipelineReadyCondition.Builder
Overrides

getDefaultInstanceForType()

public PipelineReadyCondition getDefaultInstanceForType()
Returns
TypeDescription
PipelineReadyCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStatus()

public boolean getStatus()

True if the Pipeline is in a valid state. Otherwise at least one condition in PipelineCondition 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 Pipeline.

bool status = 3;

Returns
TypeDescription
boolean

The status.

getUpdateTime()

public Timestamp getUpdateTime()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PipelineReadyCondition other)

public PipelineReadyCondition.Builder mergeFrom(PipelineReadyCondition other)
Parameter
NameDescription
otherPipelineReadyCondition
Returns
TypeDescription
PipelineReadyCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public PipelineReadyCondition.Builder mergeUpdateTime(Timestamp value)

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PipelineReadyCondition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PipelineReadyCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PipelineReadyCondition.Builder
Overrides

setStatus(boolean value)

public PipelineReadyCondition.Builder setStatus(boolean value)

True if the Pipeline is in a valid state. Otherwise at least one condition in PipelineCondition 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 Pipeline.

bool status = 3;

Parameter
NameDescription
valueboolean

The status to set.

Returns
TypeDescription
PipelineReadyCondition.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public PipelineReadyCondition.Builder setUpdateTime(Timestamp value)

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PipelineReadyCondition.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public PipelineReadyCondition.Builder setUpdateTime(Timestamp.Builder builderForValue)

Last time the condition was updated.

.google.protobuf.Timestamp update_time = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
PipelineReadyCondition.Builder