Enum NetworkPeeringConnectionStatus.UpdateStrategy

java.lang.Object
java.lang.Enum<NetworkPeeringConnectionStatus.UpdateStrategy>
com.google.cloud.compute.v1.NetworkPeeringConnectionStatus.UpdateStrategy
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<NetworkPeeringConnectionStatus.UpdateStrategy>
Enclosing class:
NetworkPeeringConnectionStatus

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 Details

    • UNDEFINED_UPDATE_STRATEGY

      public static final NetworkPeeringConnectionStatus.UpdateStrategy UNDEFINED_UPDATE_STRATEGY
       A value indicating that the enum field is not set.
       
      UNDEFINED_UPDATE_STRATEGY = 0;
    • CONSENSUS

      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;
    • INDEPENDENT

      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;
    • UNSPECIFIED

      public static final NetworkPeeringConnectionStatus.UpdateStrategy UNSPECIFIED
       Peerings with update strategy UNSPECIFIED are created with
       update strategy INDEPENDENT.
       
      UNSPECIFIED = 526786327;
    • UNRECOGNIZED

      public static final NetworkPeeringConnectionStatus.UpdateStrategy UNRECOGNIZED
  • Field Details

    • UNDEFINED_UPDATE_STRATEGY_VALUE

      public static final int UNDEFINED_UPDATE_STRATEGY_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_UPDATE_STRATEGY = 0;
      See Also:
    • CONSENSUS_VALUE

      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;
      See Also:
    • INDEPENDENT_VALUE

      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;
      See Also:
    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Peerings with update strategy UNSPECIFIED are created with
       update strategy INDEPENDENT.
       
      UNSPECIFIED = 526786327;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static NetworkPeeringConnectionStatus.UpdateStrategy forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<NetworkPeeringConnectionStatus.UpdateStrategy> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static NetworkPeeringConnectionStatus.UpdateStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null