Package com.google.cloud.compute.v1
Interface ExchangedPeeringRouteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExchangedPeeringRoute,ExchangedPeeringRoute.Builder
@Generated
public interface ExchangedPeeringRouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe destination range of the route.com.google.protobuf.ByteStringThe destination range of the route.booleanTrue if the peering route has been imported from a peer.The region of peering route next hop, only applies to dynamic routes.com.google.protobuf.ByteStringThe region of peering route next hop, only applies to dynamic routes.intThe priority of the peering route.getType()The type of the peering route.com.google.protobuf.ByteStringThe type of the peering route.booleanThe destination range of the route.booleanTrue if the peering route has been imported from a peer.booleanThe region of peering route next hop, only applies to dynamic routes.booleanThe priority of the peering route.booleanhasType()The type of the peering route.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
-
hasDestRange
boolean hasDestRange()The destination range of the route.
optional string dest_range = 381327712;- Returns:
- Whether the destRange field is set.
-
getDestRange
String getDestRange()The destination range of the route.
optional string dest_range = 381327712;- Returns:
- The destRange.
-
getDestRangeBytes
com.google.protobuf.ByteString getDestRangeBytes()The destination range of the route.
optional string dest_range = 381327712;- Returns:
- The bytes for destRange.
-
hasImported
boolean hasImported()True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
optional bool imported = 114502404;- Returns:
- Whether the imported field is set.
-
getImported
boolean getImported()True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.
optional bool imported = 114502404;- Returns:
- The imported.
-
hasNextHopRegion
boolean hasNextHopRegion()The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;- Returns:
- Whether the nextHopRegion field is set.
-
getNextHopRegion
String getNextHopRegion()The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;- Returns:
- The nextHopRegion.
-
getNextHopRegionBytes
com.google.protobuf.ByteString getNextHopRegionBytes()The region of peering route next hop, only applies to dynamic routes.
optional string next_hop_region = 122577014;- Returns:
- The bytes for nextHopRegion.
-
hasPriority
boolean hasPriority()The priority of the peering route.
optional uint32 priority = 445151652;- Returns:
- Whether the priority field is set.
-
getPriority
int getPriority()The priority of the peering route.
optional uint32 priority = 445151652;- Returns:
- The priority.
-
hasType
boolean hasType()The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- Whether the type field is set.
-
getType
String getType()The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of the peering route. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The bytes for type.
-