Class NetworkPeeringConnectionStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.NetworkPeeringConnectionStatus
All Implemented Interfaces:
NetworkPeeringConnectionStatusOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class NetworkPeeringConnectionStatus extends com.google.protobuf.GeneratedMessage implements NetworkPeeringConnectionStatusOrBuilder
 [Output Only] Describes the state of a peering connection, not just the
 local peering. This field provides information about the effective settings
 for the connection as a whole, including pending delete/update requests for
 CONSENSUS peerings.
 
Protobuf type google.cloud.compute.v1.NetworkPeeringConnectionStatus
See Also:
  • Field Details

    • CONSENSUS_STATE_FIELD_NUMBER

      public static final int CONSENSUS_STATE_FIELD_NUMBER
      See Also:
    • TRAFFIC_CONFIGURATION_FIELD_NUMBER

      public static final int TRAFFIC_CONFIGURATION_FIELD_NUMBER
      See Also:
    • UPDATE_STRATEGY_FIELD_NUMBER

      public static final int UPDATE_STRATEGY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasConsensusState

      public boolean hasConsensusState()
       The consensus state contains information about the status of update
       and delete for a consensus peering connection.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617;
      Specified by:
      hasConsensusState in interface NetworkPeeringConnectionStatusOrBuilder
      Returns:
      Whether the consensusState field is set.
    • getConsensusState

       The consensus state contains information about the status of update
       and delete for a consensus peering connection.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617;
      Specified by:
      getConsensusState in interface NetworkPeeringConnectionStatusOrBuilder
      Returns:
      The consensusState.
    • getConsensusStateOrBuilder

      public NetworkPeeringConnectionStatusConsensusStateOrBuilder getConsensusStateOrBuilder()
       The consensus state contains information about the status of update
       and delete for a consensus peering connection.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusConsensusState consensus_state = 379772617;
      Specified by:
      getConsensusStateOrBuilder in interface NetworkPeeringConnectionStatusOrBuilder
    • hasTrafficConfiguration

      public boolean hasTrafficConfiguration()
       The active connectivity settings for the peering connection based on the
       settings of the network peerings.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116;
      Specified by:
      hasTrafficConfiguration in interface NetworkPeeringConnectionStatusOrBuilder
      Returns:
      Whether the trafficConfiguration field is set.
    • getTrafficConfiguration

      public NetworkPeeringConnectionStatusTrafficConfiguration getTrafficConfiguration()
       The active connectivity settings for the peering connection based on the
       settings of the network peerings.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116;
      Specified by:
      getTrafficConfiguration in interface NetworkPeeringConnectionStatusOrBuilder
      Returns:
      The trafficConfiguration.
    • getTrafficConfigurationOrBuilder

      public NetworkPeeringConnectionStatusTrafficConfigurationOrBuilder getTrafficConfigurationOrBuilder()
       The active connectivity settings for the peering connection based on the
       settings of the network peerings.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatusTrafficConfiguration traffic_configuration = 133016116;
      Specified by:
      getTrafficConfigurationOrBuilder in interface NetworkPeeringConnectionStatusOrBuilder
    • hasUpdateStrategy

      public boolean hasUpdateStrategy()
       The update strategy determines the update/delete semantics for this
       peering connection.
       Check the UpdateStrategy enum for the list of possible values.
       
      optional string update_strategy = 6123049;
      Specified by:
      hasUpdateStrategy in interface NetworkPeeringConnectionStatusOrBuilder
      Returns:
      Whether the updateStrategy field is set.
    • getUpdateStrategy

      public String getUpdateStrategy()
       The update strategy determines the update/delete semantics for this
       peering connection.
       Check the UpdateStrategy enum for the list of possible values.
       
      optional string update_strategy = 6123049;
      Specified by:
      getUpdateStrategy in interface NetworkPeeringConnectionStatusOrBuilder
      Returns:
      The updateStrategy.
    • getUpdateStrategyBytes

      public com.google.protobuf.ByteString getUpdateStrategyBytes()
       The update strategy determines the update/delete semantics for this
       peering connection.
       Check the UpdateStrategy enum for the list of possible values.
       
      optional string update_strategy = 6123049;
      Specified by:
      getUpdateStrategyBytes in interface NetworkPeeringConnectionStatusOrBuilder
      Returns:
      The bytes for updateStrategy.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NetworkPeeringConnectionStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NetworkPeeringConnectionStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NetworkPeeringConnectionStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NetworkPeeringConnectionStatus.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NetworkPeeringConnectionStatus.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NetworkPeeringConnectionStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NetworkPeeringConnectionStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NetworkPeeringConnectionStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<NetworkPeeringConnectionStatus> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public NetworkPeeringConnectionStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder