Class RolloutPlanWaveValidation.Builder (1.105.0)

public static final class RolloutPlanWaveValidation.Builder extends GeneratedMessage.Builder<RolloutPlanWaveValidation.Builder> implements RolloutPlanWaveValidationOrBuilder

The validation to be performed before progressing to the next wave.

Protobuf type google.cloud.compute.v1.RolloutPlanWaveValidation

Static Methods

getDescriptor()

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

Methods

build()

public RolloutPlanWaveValidation build()
Returns
Type Description
RolloutPlanWaveValidation

buildPartial()

public RolloutPlanWaveValidation buildPartial()
Returns
Type Description
RolloutPlanWaveValidation

clear()

public RolloutPlanWaveValidation.Builder clear()
Returns
Type Description
RolloutPlanWaveValidation.Builder
Overrides

clearTimeBasedValidationMetadata()

public RolloutPlanWaveValidation.Builder clearTimeBasedValidationMetadata()

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Returns
Type Description
RolloutPlanWaveValidation.Builder

clearType()

public RolloutPlanWaveValidation.Builder clearType()

Required. The type of the validation. If a type of validation is associated with a metadata object, the appropriate metadata field mapping to the validation type must be provided in the validation message. Possible values are in quotes below alongside an explanation: "manual": The system waits for an end-user approval API before progressing to the next wave. "time": The system waits for a user specified duration before progressing to the next wave. TimeBasedValidation must be provided.

optional string type = 3575610;

Returns
Type Description
RolloutPlanWaveValidation.Builder

This builder for chaining.

getDefaultInstanceForType()

public RolloutPlanWaveValidation getDefaultInstanceForType()
Returns
Type Description
RolloutPlanWaveValidation

getDescriptorForType()

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

getTimeBasedValidationMetadata()

public RolloutPlanWaveValidationTimeBasedValidationMetadata getTimeBasedValidationMetadata()

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Returns
Type Description
RolloutPlanWaveValidationTimeBasedValidationMetadata

The timeBasedValidationMetadata.

getTimeBasedValidationMetadataBuilder()

public RolloutPlanWaveValidationTimeBasedValidationMetadata.Builder getTimeBasedValidationMetadataBuilder()

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Returns
Type Description
RolloutPlanWaveValidationTimeBasedValidationMetadata.Builder

getTimeBasedValidationMetadataOrBuilder()

public RolloutPlanWaveValidationTimeBasedValidationMetadataOrBuilder getTimeBasedValidationMetadataOrBuilder()

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Returns
Type Description
RolloutPlanWaveValidationTimeBasedValidationMetadataOrBuilder

getType()

public String getType()

Required. The type of the validation. If a type of validation is associated with a metadata object, the appropriate metadata field mapping to the validation type must be provided in the validation message. Possible values are in quotes below alongside an explanation: "manual": The system waits for an end-user approval API before progressing to the next wave. "time": The system waits for a user specified duration before progressing to the next wave. TimeBasedValidation must be provided.

optional string type = 3575610;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Required. The type of the validation. If a type of validation is associated with a metadata object, the appropriate metadata field mapping to the validation type must be provided in the validation message. Possible values are in quotes below alongside an explanation: "manual": The system waits for an end-user approval API before progressing to the next wave. "time": The system waits for a user specified duration before progressing to the next wave. TimeBasedValidation must be provided.

optional string type = 3575610;

Returns
Type Description
ByteString

The bytes for type.

hasTimeBasedValidationMetadata()

public boolean hasTimeBasedValidationMetadata()

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Returns
Type Description
boolean

Whether the timeBasedValidationMetadata field is set.

hasType()

public boolean hasType()

Required. The type of the validation. If a type of validation is associated with a metadata object, the appropriate metadata field mapping to the validation type must be provided in the validation message. Possible values are in quotes below alongside an explanation: "manual": The system waits for an end-user approval API before progressing to the next wave. "time": The system waits for a user specified duration before progressing to the next wave. TimeBasedValidation must be provided.

optional string type = 3575610;

Returns
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RolloutPlanWaveValidation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeBasedValidationMetadata(RolloutPlanWaveValidationTimeBasedValidationMetadata value)

public RolloutPlanWaveValidation.Builder mergeTimeBasedValidationMetadata(RolloutPlanWaveValidationTimeBasedValidationMetadata value)

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Parameter
Name Description
value RolloutPlanWaveValidationTimeBasedValidationMetadata
Returns
Type Description
RolloutPlanWaveValidation.Builder

setTimeBasedValidationMetadata(RolloutPlanWaveValidationTimeBasedValidationMetadata value)

public RolloutPlanWaveValidation.Builder setTimeBasedValidationMetadata(RolloutPlanWaveValidationTimeBasedValidationMetadata value)

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Parameter
Name Description
value RolloutPlanWaveValidationTimeBasedValidationMetadata
Returns
Type Description
RolloutPlanWaveValidation.Builder

setTimeBasedValidationMetadata(RolloutPlanWaveValidationTimeBasedValidationMetadata.Builder builderForValue)

public RolloutPlanWaveValidation.Builder setTimeBasedValidationMetadata(RolloutPlanWaveValidationTimeBasedValidationMetadata.Builder builderForValue)

Optional. Metadata required if type = "time".

optional .google.cloud.compute.v1.RolloutPlanWaveValidationTimeBasedValidationMetadata time_based_validation_metadata = 69499575;

Parameter
Name Description
builderForValue RolloutPlanWaveValidationTimeBasedValidationMetadata.Builder
Returns
Type Description
RolloutPlanWaveValidation.Builder

setType(String value)

public RolloutPlanWaveValidation.Builder setType(String value)

Required. The type of the validation. If a type of validation is associated with a metadata object, the appropriate metadata field mapping to the validation type must be provided in the validation message. Possible values are in quotes below alongside an explanation: "manual": The system waits for an end-user approval API before progressing to the next wave. "time": The system waits for a user specified duration before progressing to the next wave. TimeBasedValidation must be provided.

optional string type = 3575610;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
RolloutPlanWaveValidation.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public RolloutPlanWaveValidation.Builder setTypeBytes(ByteString value)

Required. The type of the validation. If a type of validation is associated with a metadata object, the appropriate metadata field mapping to the validation type must be provided in the validation message. Possible values are in quotes below alongside an explanation: "manual": The system waits for an end-user approval API before progressing to the next wave. "time": The system waits for a user specified duration before progressing to the next wave. TimeBasedValidation must be provided.

optional string type = 3575610;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
RolloutPlanWaveValidation.Builder

This builder for chaining.