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
public interface ExchangedPeeringRouteOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDestRange()
The destination range of the route.com.google.protobuf.ByteString
getDestRangeBytes()
The destination range of the route.boolean
getImported()
True if the peering route has been imported from a peer.String
getNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.com.google.protobuf.ByteString
getNextHopRegionBytes()
The region of peering route next hop, only applies to dynamic routes.int
getPriority()
The priority of the peering route.String
getType()
The type of the peering route.com.google.protobuf.ByteString
getTypeBytes()
The type of the peering route.boolean
hasDestRange()
The destination range of the route.boolean
hasImported()
True if the peering route has been imported from a peer.boolean
hasNextHopRegion()
The region of peering route next hop, only applies to dynamic routes.boolean
hasPriority()
The priority of the peering route.boolean
hasType()
The type of the peering route.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-