public static enum NetworkPeeringConnectionStatus.UpdateStrategy extends Enum<NetworkPeeringConnectionStatus.UpdateStrategy> implements com.google.protobuf.ProtocolMessageEnum
The update strategy determines the update/delete semantics for this peering connection.Protobuf enum
google.cloud.compute.v1.NetworkPeeringConnectionStatus.UpdateStrategy| Enum Constant and Description |
|---|
CONSENSUS
Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering.
|
INDEPENDENT
In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering.
|
UNDEFINED_UPDATE_STRATEGY
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED
Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSENSUS_VALUE
Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering.
|
static int |
INDEPENDENT_VALUE
In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering.
|
static int |
UNDEFINED_UPDATE_STRATEGY_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_VALUE
Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkPeeringConnectionStatus.UpdateStrategy |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NetworkPeeringConnectionStatus.UpdateStrategy> |
internalGetValueMap() |
static NetworkPeeringConnectionStatus.UpdateStrategy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkPeeringConnectionStatus.UpdateStrategy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkPeeringConnectionStatus.UpdateStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkPeeringConnectionStatus.UpdateStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkPeeringConnectionStatus.UpdateStrategy UNDEFINED_UPDATE_STRATEGY
A value indicating that the enum field is not set.
UNDEFINED_UPDATE_STRATEGY = 0;public static final NetworkPeeringConnectionStatus.UpdateStrategy CONSENSUS
Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering. To delete a peering with the consensus update strategy, both the peerings must request the deletion of the peering before the peering can be deleted.
CONSENSUS = 203373655;public static final NetworkPeeringConnectionStatus.UpdateStrategy INDEPENDENT
In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering. This is the default value if the field is unspecified.
INDEPENDENT = 127011674;public static final NetworkPeeringConnectionStatus.UpdateStrategy UNSPECIFIED
Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT.
UNSPECIFIED = 526786327;public static final NetworkPeeringConnectionStatus.UpdateStrategy UNRECOGNIZED
public static final int UNDEFINED_UPDATE_STRATEGY_VALUE
A value indicating that the enum field is not set.
UNDEFINED_UPDATE_STRATEGY = 0;public static final int CONSENSUS_VALUE
Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering. To delete a peering with the consensus update strategy, both the peerings must request the deletion of the peering before the peering can be deleted.
CONSENSUS = 203373655;public static final int INDEPENDENT_VALUE
In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering. This is the default value if the field is unspecified.
INDEPENDENT = 127011674;public static final int UNSPECIFIED_VALUE
Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT.
UNSPECIFIED = 526786327;public static NetworkPeeringConnectionStatus.UpdateStrategy[] values()
for (NetworkPeeringConnectionStatus.UpdateStrategy c : NetworkPeeringConnectionStatus.UpdateStrategy.values()) System.out.println(c);
public static NetworkPeeringConnectionStatus.UpdateStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static NetworkPeeringConnectionStatus.UpdateStrategy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkPeeringConnectionStatus.UpdateStrategy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkPeeringConnectionStatus.UpdateStrategy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NetworkPeeringConnectionStatus.UpdateStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.