Package com.google.cloud.compute.v1
Interface NetworkRoutingConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkRoutingConfig
,NetworkRoutingConfig.Builder
public interface NetworkRoutingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getRoutingMode()
The network-wide routing mode to use.com.google.protobuf.ByteString
getRoutingModeBytes()
The network-wide routing mode to use.boolean
hasRoutingMode()
The network-wide routing mode to use.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRoutingMode
boolean hasRoutingMode()
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
- Returns:
- Whether the routingMode field is set.
-
getRoutingMode
String getRoutingMode()
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
- Returns:
- The routingMode.
-
getRoutingModeBytes
com.google.protobuf.ByteString getRoutingModeBytes()
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;
- Returns:
- The bytes for routingMode.
-
-