Class GlobalVmExtensionPolicyRolloutOperationRolloutInput (1.105.0)

public final class GlobalVmExtensionPolicyRolloutOperationRolloutInput extends GeneratedMessage implements GlobalVmExtensionPolicyRolloutOperationRolloutInputOrBuilder

Protobuf type google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperationRolloutInput

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GlobalVmExtensionPolicyRolloutOperationRolloutInput

Static Fields

CONFLICT_BEHAVIOR_FIELD_NUMBER

public static final int CONFLICT_BEHAVIOR_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PREDEFINED_ROLLOUT_PLAN_FIELD_NUMBER

public static final int PREDEFINED_ROLLOUT_PLAN_FIELD_NUMBER
Field Value
Type Description
int

RETRY_UUID_FIELD_NUMBER

public static final int RETRY_UUID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput getDefaultInstance()
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput

getDescriptor()

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

newBuilder()

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder newBuilder()
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

newBuilder(GlobalVmExtensionPolicyRolloutOperationRolloutInput prototype)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder newBuilder(GlobalVmExtensionPolicyRolloutOperationRolloutInput prototype)
Parameter
Name Description
prototype GlobalVmExtensionPolicyRolloutOperationRolloutInput
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

parseDelimitedFrom(InputStream input)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GlobalVmExtensionPolicyRolloutOperationRolloutInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GlobalVmExtensionPolicyRolloutOperationRolloutInput> parser()
Returns
Type Description
Parser<GlobalVmExtensionPolicyRolloutOperationRolloutInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<GlobalVmExtensionPolicyRolloutOperationRolloutInput> getParserForType()
Returns
Type Description
Parser<GlobalVmExtensionPolicyRolloutOperationRolloutInput>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder newBuilderForType()
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder
Overrides

toBuilder()

public GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder toBuilder()
Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException