public static final class GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder extends GeneratedMessage.Builder<GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder> implements GlobalVmExtensionPolicyRolloutOperationRolloutInputOrBuilder Protobuf type
google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperationRolloutInput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GlobalVmExtensionPolicyRolloutOperationRolloutInput.BuilderStatic 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 |
|
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:
insertmethod: If the zonal policy already exists when the insert happens.updatemethod: 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.
updatemethod: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.deletemethod: 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:
insertmethod: If the zonal policy already exists when the insert happens.updatemethod: 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:
insertmethod: If the zonal policy already exists when the insert happens.updatemethod: 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 |
|
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.
updatemethod: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.deletemethod: 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.
updatemethod: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.deletemethod: 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:
insertmethod: If the zonal policy already exists when the insert happens.updatemethod: 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.
updatemethod: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.deletemethod: 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder |
|
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:
insertmethod: If the zonal policy already exists when the insert happens.updatemethod: 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 |
StringThe 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:
insertmethod: If the zonal policy already exists when the insert happens.updatemethod: 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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.
updatemethod: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.deletemethod: 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 |
StringThe 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.
updatemethod: Lets you retry policy rollout without changes. An error occurs if you set retry_uuid but the policy is modified.deletemethod: 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 |
ByteStringThe bytes for retryUuid to set. |
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder |
This builder for chaining. |