Interface NetworkPeeringOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NetworkPeering, NetworkPeering.Builder

@Generated public interface NetworkPeeringOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAutoCreateRoutes

      boolean hasAutoCreateRoutes()
       This field will be deprecated soon. Use theexchange_subnet_routes field instead.
       Indicates whether full mesh connectivity is created and managed
       automatically between peered networks. Currently this field should always
       be true since Google Compute Engine will automatically create and manage
       subnetwork routes between two networks when peering state isACTIVE.
       
      optional bool auto_create_routes = 57454941;
      Returns:
      Whether the autoCreateRoutes field is set.
    • getAutoCreateRoutes

      boolean getAutoCreateRoutes()
       This field will be deprecated soon. Use theexchange_subnet_routes field instead.
       Indicates whether full mesh connectivity is created and managed
       automatically between peered networks. Currently this field should always
       be true since Google Compute Engine will automatically create and manage
       subnetwork routes between two networks when peering state isACTIVE.
       
      optional bool auto_create_routes = 57454941;
      Returns:
      The autoCreateRoutes.
    • hasConnectionStatus

      boolean hasConnectionStatus()
       Output only. [Output Only] The effective state of the peering connection
       as a whole.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
      Returns:
      Whether the connectionStatus field is set.
    • getConnectionStatus

      NetworkPeeringConnectionStatus getConnectionStatus()
       Output only. [Output Only] The effective state of the peering connection
       as a whole.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
      Returns:
      The connectionStatus.
    • getConnectionStatusOrBuilder

      NetworkPeeringConnectionStatusOrBuilder getConnectionStatusOrBuilder()
       Output only. [Output Only] The effective state of the peering connection
       as a whole.
       
      optional .google.cloud.compute.v1.NetworkPeeringConnectionStatus connection_status = 525629555;
    • hasExchangeSubnetRoutes

      boolean hasExchangeSubnetRoutes()
       Indicates whether full mesh connectivity is created and managed
       automatically between peered networks. Currently this field should always
       be true since Google Compute Engine will automatically create and manage
       subnetwork routes between two networks when peering state isACTIVE.
       
      optional bool exchange_subnet_routes = 26322256;
      Returns:
      Whether the exchangeSubnetRoutes field is set.
    • getExchangeSubnetRoutes

      boolean getExchangeSubnetRoutes()
       Indicates whether full mesh connectivity is created and managed
       automatically between peered networks. Currently this field should always
       be true since Google Compute Engine will automatically create and manage
       subnetwork routes between two networks when peering state isACTIVE.
       
      optional bool exchange_subnet_routes = 26322256;
      Returns:
      The exchangeSubnetRoutes.
    • hasExportCustomRoutes

      boolean hasExportCustomRoutes()
       Whether to export the custom routes to peer network. The default value is
       false.
       
      optional bool export_custom_routes = 60281485;
      Returns:
      Whether the exportCustomRoutes field is set.
    • getExportCustomRoutes

      boolean getExportCustomRoutes()
       Whether to export the custom routes to peer network. The default value is
       false.
       
      optional bool export_custom_routes = 60281485;
      Returns:
      The exportCustomRoutes.
    • hasExportSubnetRoutesWithPublicIp

      boolean hasExportSubnetRoutesWithPublicIp()
       Whether subnet routes with public IP range are exported. The default value
       is true, all subnet routes are exported.IPv4
       special-use ranges are always
       exported to peers and are not controlled by this field.
       
      optional bool export_subnet_routes_with_public_ip = 97940834;
      Returns:
      Whether the exportSubnetRoutesWithPublicIp field is set.
    • getExportSubnetRoutesWithPublicIp

      boolean getExportSubnetRoutesWithPublicIp()
       Whether subnet routes with public IP range are exported. The default value
       is true, all subnet routes are exported.IPv4
       special-use ranges are always
       exported to peers and are not controlled by this field.
       
      optional bool export_subnet_routes_with_public_ip = 97940834;
      Returns:
      The exportSubnetRoutesWithPublicIp.
    • hasImportCustomRoutes

      boolean hasImportCustomRoutes()
       Whether to import the custom routes from peer network. The default value is
       false.
       
      optional bool import_custom_routes = 197982398;
      Returns:
      Whether the importCustomRoutes field is set.
    • getImportCustomRoutes

      boolean getImportCustomRoutes()
       Whether to import the custom routes from peer network. The default value is
       false.
       
      optional bool import_custom_routes = 197982398;
      Returns:
      The importCustomRoutes.
    • hasImportSubnetRoutesWithPublicIp

      boolean hasImportSubnetRoutesWithPublicIp()
       Whether subnet routes with public IP range are imported. The default value
       is false.IPv4
       special-use ranges are always
       imported from peers and are not controlled by this field.
       
      optional bool import_subnet_routes_with_public_ip = 14419729;
      Returns:
      Whether the importSubnetRoutesWithPublicIp field is set.
    • getImportSubnetRoutesWithPublicIp

      boolean getImportSubnetRoutesWithPublicIp()
       Whether subnet routes with public IP range are imported. The default value
       is false.IPv4
       special-use ranges are always
       imported from peers and are not controlled by this field.
       
      optional bool import_subnet_routes_with_public_ip = 14419729;
      Returns:
      The importSubnetRoutesWithPublicIp.
    • hasName

      boolean hasName()
       Name of this peering. Provided by the client when the peering is created.
       The name must comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a
       lowercase letter, and all the following characters must be a dash,
       lowercase letter, or digit, except the last character, which cannot be a
       dash.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Name of this peering. Provided by the client when the peering is created.
       The name must comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a
       lowercase letter, and all the following characters must be a dash,
       lowercase letter, or digit, except the last character, which cannot be a
       dash.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of this peering. Provided by the client when the peering is created.
       The name must comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a
       lowercase letter, and all the following characters must be a dash,
       lowercase letter, or digit, except the last character, which cannot be a
       dash.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • hasNetwork

      boolean hasNetwork()
       The URL of the peer network. It can be either full URL or partial URL. The
       peer network may belong to a different project. If the partial URL does not
       contain project, it is assumed that the peer network is in the same project
       as the current network.
       
      optional string network = 232872494;
      Returns:
      Whether the network field is set.
    • getNetwork

      String getNetwork()
       The URL of the peer network. It can be either full URL or partial URL. The
       peer network may belong to a different project. If the partial URL does not
       contain project, it is assumed that the peer network is in the same project
       as the current network.
       
      optional string network = 232872494;
      Returns:
      The network.
    • getNetworkBytes

      com.google.protobuf.ByteString getNetworkBytes()
       The URL of the peer network. It can be either full URL or partial URL. The
       peer network may belong to a different project. If the partial URL does not
       contain project, it is assumed that the peer network is in the same project
       as the current network.
       
      optional string network = 232872494;
      Returns:
      The bytes for network.
    • hasPeerMtu

      boolean hasPeerMtu()
       Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network.
       
      optional int32 peer_mtu = 69584721;
      Returns:
      Whether the peerMtu field is set.
    • getPeerMtu

      int getPeerMtu()
       Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network.
       
      optional int32 peer_mtu = 69584721;
      Returns:
      The peerMtu.
    • hasStackType

      boolean hasStackType()
       Which IP version(s) of traffic and routes are allowed to be imported or
       exported between peer networks. The default value is IPV4_ONLY.
       Check the StackType enum for the list of possible values.
       
      optional string stack_type = 425908881;
      Returns:
      Whether the stackType field is set.
    • getStackType

      String getStackType()
       Which IP version(s) of traffic and routes are allowed to be imported or
       exported between peer networks. The default value is IPV4_ONLY.
       Check the StackType enum for the list of possible values.
       
      optional string stack_type = 425908881;
      Returns:
      The stackType.
    • getStackTypeBytes

      com.google.protobuf.ByteString getStackTypeBytes()
       Which IP version(s) of traffic and routes are allowed to be imported or
       exported between peer networks. The default value is IPV4_ONLY.
       Check the StackType enum for the list of possible values.
       
      optional string stack_type = 425908881;
      Returns:
      The bytes for stackType.
    • hasState

      boolean hasState()
       Output only. [Output Only] State for the peering.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      Whether the state field is set.
    • getState

      String getState()
       Output only. [Output Only] State for the peering.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      The state.
    • getStateBytes

      com.google.protobuf.ByteString getStateBytes()
       Output only. [Output Only] State for the peering.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      The bytes for state.
    • hasStateDetails

      boolean hasStateDetails()
       Output only. [Output Only] Details about the current state of the peering.
       
      optional string state_details = 95566996;
      Returns:
      Whether the stateDetails field is set.
    • getStateDetails

      String getStateDetails()
       Output only. [Output Only] Details about the current state of the peering.
       
      optional string state_details = 95566996;
      Returns:
      The stateDetails.
    • getStateDetailsBytes

      com.google.protobuf.ByteString getStateDetailsBytes()
       Output only. [Output Only] Details about the current state of the peering.
       
      optional string state_details = 95566996;
      Returns:
      The bytes for stateDetails.
    • hasUpdateStrategy

      boolean hasUpdateStrategy()
       The update strategy determines the semantics for updates and deletes to the
       peering connection configuration.
       Check the UpdateStrategy enum for the list of possible values.
       
      optional string update_strategy = 6123049;
      Returns:
      Whether the updateStrategy field is set.
    • getUpdateStrategy

      String getUpdateStrategy()
       The update strategy determines the semantics for updates and deletes to the
       peering connection configuration.
       Check the UpdateStrategy enum for the list of possible values.
       
      optional string update_strategy = 6123049;
      Returns:
      The updateStrategy.
    • getUpdateStrategyBytes

      com.google.protobuf.ByteString getUpdateStrategyBytes()
       The update strategy determines the semantics for updates and deletes to the
       peering connection configuration.
       Check the UpdateStrategy enum for the list of possible values.
       
      optional string update_strategy = 6123049;
      Returns:
      The bytes for updateStrategy.