Package com.google.cloud.compute.v1
Interface NetworksAddPeeringRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworksAddPeeringRequest,NetworksAddPeeringRequest.Builder
@Generated
public interface NetworksAddPeeringRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThis field will be deprecated soon.getName()Name of the peering, which should conform to RFC1035.com.google.protobuf.ByteStringName of the peering, which should conform to RFC1035.Network peering parameters.Network peering parameters.URL of the peer network.com.google.protobuf.ByteStringURL of the peer network.booleanThis field will be deprecated soon.booleanhasName()Name of the peering, which should conform to RFC1035.booleanNetwork peering parameters.booleanURL of the peer network.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAutoCreateRoutes
boolean hasAutoCreateRoutes()This field will be deprecated soon. Useexchange_subnet_routes in network_peering 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. Useexchange_subnet_routes in network_peering 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.
-
hasName
boolean hasName()Name of the peering, which should conform to RFC1035.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the peering, which should conform to RFC1035.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the peering, which should conform to RFC1035.
optional string name = 3373707;- Returns:
- The bytes for name.
-
hasNetworkPeering
boolean hasNetworkPeering()Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network,exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;- Returns:
- Whether the networkPeering field is set.
-
getNetworkPeering
NetworkPeering getNetworkPeering()Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network,exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;- Returns:
- The networkPeering.
-
getNetworkPeeringOrBuilder
NetworkPeeringOrBuilder getNetworkPeeringOrBuilder()Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network,exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.
optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767; -
hasPeerNetwork
boolean hasPeerNetwork()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 peer_network = 500625489;- Returns:
- Whether the peerNetwork field is set.
-
getPeerNetwork
String getPeerNetwork()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 peer_network = 500625489;- Returns:
- The peerNetwork.
-
getPeerNetworkBytes
com.google.protobuf.ByteString getPeerNetworkBytes()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 peer_network = 500625489;- Returns:
- The bytes for peerNetwork.
-