Class GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder (1.105.0)

public static final class GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder extends GeneratedMessage.Builder<GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder> implements GlobalVmExtensionPolicyRolloutOperationRolloutInputOrBuilder

Protobuf type google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperationRolloutInput

Static Methods

getDescriptor()

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

Methods

build()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput build()
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput

buildPartial()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput buildPartial()
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput

clear()

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

clearConflictBehavior()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder clearConflictBehavior()

Optional. Specifies the behavior of the rollout if a conflict is detected in a project during a rollout. This only applies to insert and update methods.

A conflict occurs in the following cases:

  • insert method: If the zonal policy already exists when the insert happens.
  • update method: If the zonal policy was modified by a zonal API call outside of this rollout.

    Possible values are the following:

  • "" (empty string): If a conflict occurs, the local value is not overwritten. This is the default behavior.

  • "overwrite": If a conflict occurs, the local value is overwritten with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

clearName()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder clearName()

Optional. The name of the rollout plan. Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

clearPredefinedRolloutPlan()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder clearPredefinedRolloutPlan()

Optional. Specifies the predefined rollout plan for the policy. Valid values are SLOW_ROLLOUT and FAST_ROLLOUT. The recommended value is SLOW_ROLLOUT for progressive rollout. For more information, see Rollout plans for global policies. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

clearRetryUuid()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder clearRetryUuid()

Optional. The UUID that identifies a policy rollout retry attempt for update and delete operations. Set this field only when retrying a rollout for an existing extension policy.

  • update method: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.
  • delete method: Lets you retry policy deletion rollout if the previous deletion rollout is not finished and the policy is in the DELETING state. If you set this field when the policy is not in the DELETING state, an error occurs.

optional string retry_uuid = 472838898;

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

getConflictBehavior()

public String getConflictBehavior()

Optional. Specifies the behavior of the rollout if a conflict is detected in a project during a rollout. This only applies to insert and update methods.

A conflict occurs in the following cases:

  • insert method: If the zonal policy already exists when the insert happens.
  • update method: If the zonal policy was modified by a zonal API call outside of this rollout.

    Possible values are the following:

  • "" (empty string): If a conflict occurs, the local value is not overwritten. This is the default behavior.

  • "overwrite": If a conflict occurs, the local value is overwritten with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
String

The conflictBehavior.

getConflictBehaviorBytes()

public ByteString getConflictBehaviorBytes()

Optional. Specifies the behavior of the rollout if a conflict is detected in a project during a rollout. This only applies to insert and update methods.

A conflict occurs in the following cases:

  • insert method: If the zonal policy already exists when the insert happens.
  • update method: If the zonal policy was modified by a zonal API call outside of this rollout.

    Possible values are the following:

  • "" (empty string): If a conflict occurs, the local value is not overwritten. This is the default behavior.

  • "overwrite": If a conflict occurs, the local value is overwritten with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
ByteString

The bytes for conflictBehavior.

getDefaultInstanceForType()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput getDefaultInstanceForType()
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput

getDescriptorForType()

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

getName()

public String getName()

Optional. The name of the rollout plan. Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. The name of the rollout plan. Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getPredefinedRolloutPlan()

public String getPredefinedRolloutPlan()

Optional. Specifies the predefined rollout plan for the policy. Valid values are SLOW_ROLLOUT and FAST_ROLLOUT. The recommended value is SLOW_ROLLOUT for progressive rollout. For more information, see Rollout plans for global policies. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
String

The predefinedRolloutPlan.

getPredefinedRolloutPlanBytes()

public ByteString getPredefinedRolloutPlanBytes()

Optional. Specifies the predefined rollout plan for the policy. Valid values are SLOW_ROLLOUT and FAST_ROLLOUT. The recommended value is SLOW_ROLLOUT for progressive rollout. For more information, see Rollout plans for global policies. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
ByteString

The bytes for predefinedRolloutPlan.

getRetryUuid()

public String getRetryUuid()

Optional. The UUID that identifies a policy rollout retry attempt for update and delete operations. Set this field only when retrying a rollout for an existing extension policy.

  • update method: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.
  • delete method: Lets you retry policy deletion rollout if the previous deletion rollout is not finished and the policy is in the DELETING state. If you set this field when the policy is not in the DELETING state, an error occurs.

optional string retry_uuid = 472838898;

Returns
Type Description
String

The retryUuid.

getRetryUuidBytes()

public ByteString getRetryUuidBytes()

Optional. The UUID that identifies a policy rollout retry attempt for update and delete operations. Set this field only when retrying a rollout for an existing extension policy.

  • update method: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.
  • delete method: Lets you retry policy deletion rollout if the previous deletion rollout is not finished and the policy is in the DELETING state. If you set this field when the policy is not in the DELETING state, an error occurs.

optional string retry_uuid = 472838898;

Returns
Type Description
ByteString

The bytes for retryUuid.

hasConflictBehavior()

public boolean hasConflictBehavior()

Optional. Specifies the behavior of the rollout if a conflict is detected in a project during a rollout. This only applies to insert and update methods.

A conflict occurs in the following cases:

  • insert method: If the zonal policy already exists when the insert happens.
  • update method: If the zonal policy was modified by a zonal API call outside of this rollout.

    Possible values are the following:

  • "" (empty string): If a conflict occurs, the local value is not overwritten. This is the default behavior.

  • "overwrite": If a conflict occurs, the local value is overwritten with the rollout value.

optional string conflict_behavior = 115729439;

Returns
Type Description
boolean

Whether the conflictBehavior field is set.

hasName()

public boolean hasName()

Optional. The name of the rollout plan. Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasPredefinedRolloutPlan()

public boolean hasPredefinedRolloutPlan()

Optional. Specifies the predefined rollout plan for the policy. Valid values are SLOW_ROLLOUT and FAST_ROLLOUT. The recommended value is SLOW_ROLLOUT for progressive rollout. For more information, see Rollout plans for global policies. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Returns
Type Description
boolean

Whether the predefinedRolloutPlan field is set.

hasRetryUuid()

public boolean hasRetryUuid()

Optional. The UUID that identifies a policy rollout retry attempt for update and delete operations. Set this field only when retrying a rollout for an existing extension policy.

  • update method: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.
  • delete method: Lets you retry policy deletion rollout if the previous deletion rollout is not finished and the policy is in the DELETING state. If you set this field when the policy is not in the DELETING state, an error occurs.

optional string retry_uuid = 472838898;

Returns
Type Description
boolean

Whether the retryUuid field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GlobalVmExtensionPolicyRolloutOperationRolloutInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setConflictBehavior(String value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setConflictBehavior(String value)

Optional. Specifies the behavior of the rollout if a conflict is detected in a project during a rollout. This only applies to insert and update methods.

A conflict occurs in the following cases:

  • insert method: If the zonal policy already exists when the insert happens.
  • update method: If the zonal policy was modified by a zonal API call outside of this rollout.

    Possible values are the following:

  • "" (empty string): If a conflict occurs, the local value is not overwritten. This is the default behavior.

  • "overwrite": If a conflict occurs, the local value is overwritten with the rollout value.

optional string conflict_behavior = 115729439;

Parameter
Name Description
value String

The conflictBehavior to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

setConflictBehaviorBytes(ByteString value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setConflictBehaviorBytes(ByteString value)

Optional. Specifies the behavior of the rollout if a conflict is detected in a project during a rollout. This only applies to insert and update methods.

A conflict occurs in the following cases:

  • insert method: If the zonal policy already exists when the insert happens.
  • update method: If the zonal policy was modified by a zonal API call outside of this rollout.

    Possible values are the following:

  • "" (empty string): If a conflict occurs, the local value is not overwritten. This is the default behavior.

  • "overwrite": If a conflict occurs, the local value is overwritten with the rollout value.

optional string conflict_behavior = 115729439;

Parameter
Name Description
value ByteString

The bytes for conflictBehavior to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

setName(String value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setName(String value)

Optional. The name of the rollout plan. Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setNameBytes(ByteString value)

Optional. The name of the rollout plan. Ex. projects//locations/global/rolloutPlans/.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

setPredefinedRolloutPlan(String value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setPredefinedRolloutPlan(String value)

Optional. Specifies the predefined rollout plan for the policy. Valid values are SLOW_ROLLOUT and FAST_ROLLOUT. The recommended value is SLOW_ROLLOUT for progressive rollout. For more information, see Rollout plans for global policies. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Parameter
Name Description
value String

The predefinedRolloutPlan to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

setPredefinedRolloutPlanBytes(ByteString value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setPredefinedRolloutPlanBytes(ByteString value)

Optional. Specifies the predefined rollout plan for the policy. Valid values are SLOW_ROLLOUT and FAST_ROLLOUT. The recommended value is SLOW_ROLLOUT for progressive rollout. For more information, see Rollout plans for global policies. Check the PredefinedRolloutPlan enum for the list of possible values.

optional string predefined_rollout_plan = 364023440;

Parameter
Name Description
value ByteString

The bytes for predefinedRolloutPlan to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

setRetryUuid(String value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setRetryUuid(String value)

Optional. The UUID that identifies a policy rollout retry attempt for update and delete operations. Set this field only when retrying a rollout for an existing extension policy.

  • update method: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.
  • delete method: Lets you retry policy deletion rollout if the previous deletion rollout is not finished and the policy is in the DELETING state. If you set this field when the policy is not in the DELETING state, an error occurs.

optional string retry_uuid = 472838898;

Parameter
Name Description
value String

The retryUuid to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.

setRetryUuidBytes(ByteString value)

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder setRetryUuidBytes(ByteString value)

Optional. The UUID that identifies a policy rollout retry attempt for update and delete operations. Set this field only when retrying a rollout for an existing extension policy.

  • update method: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.
  • delete method: Lets you retry policy deletion rollout if the previous deletion rollout is not finished and the policy is in the DELETING state. If you set this field when the policy is not in the DELETING state, an error occurs.

optional string retry_uuid = 472838898;

Parameter
Name Description
value ByteString

The bytes for retryUuid to set.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

This builder for chaining.