Class NetworkPeeringConnectionStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
com.google.cloud.compute.v1.NetworkPeeringConnectionStatus.Builder
All Implemented Interfaces:
NetworkPeeringConnectionStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NetworkPeeringConnectionStatus

public static final class NetworkPeeringConnectionStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder> 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
  • 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.Builder<NetworkPeeringConnectionStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public NetworkPeeringConnectionStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkPeeringConnectionStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NetworkPeeringConnectionStatus.Builder>
    • mergeFrom

      public NetworkPeeringConnectionStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkPeeringConnectionStatus.Builder>
      Throws:
      IOException
    • 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.
    • setConsensusState

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

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

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

      public NetworkPeeringConnectionStatus.Builder clearConsensusState()
       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;
    • getConsensusStateBuilder

      public NetworkPeeringConnectionStatusConsensusState.Builder getConsensusStateBuilder()
       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;
    • 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.
    • setTrafficConfiguration

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

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

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

      public NetworkPeeringConnectionStatus.Builder clearTrafficConfiguration()
       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;
    • getTrafficConfigurationBuilder

      public NetworkPeeringConnectionStatusTrafficConfiguration.Builder getTrafficConfigurationBuilder()
       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;
    • 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.
    • setUpdateStrategy

      public NetworkPeeringConnectionStatus.Builder setUpdateStrategy(String value)
       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;
      Parameters:
      value - The updateStrategy to set.
      Returns:
      This builder for chaining.
    • clearUpdateStrategy

      public NetworkPeeringConnectionStatus.Builder clearUpdateStrategy()
       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;
      Returns:
      This builder for chaining.
    • setUpdateStrategyBytes

      public NetworkPeeringConnectionStatus.Builder setUpdateStrategyBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for updateStrategy to set.
      Returns:
      This builder for chaining.