Interface RouteInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteInfo
,RouteInfo.Builder
public interface RouteInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDestIpRange()
Destination IP range of the route.com.google.protobuf.ByteString
getDestIpRangeBytes()
Destination IP range of the route.String
getDestPortRanges(int index)
Destination port ranges of the route.com.google.protobuf.ByteString
getDestPortRangesBytes(int index)
Destination port ranges of the route.int
getDestPortRangesCount()
Destination port ranges of the route.List<String>
getDestPortRangesList()
Destination port ranges of the route.String
getDisplayName()
Name of a route.com.google.protobuf.ByteString
getDisplayNameBytes()
Name of a route.String
getInstanceTags(int index)
Instance tags of the route.com.google.protobuf.ByteString
getInstanceTagsBytes(int index)
Instance tags of the route.int
getInstanceTagsCount()
Instance tags of the route.List<String>
getInstanceTagsList()
Instance tags of the route.String
getNccHubUri()
URI of a NCC Hub.com.google.protobuf.ByteString
getNccHubUriBytes()
URI of a NCC Hub.String
getNccSpokeUri()
URI of a NCC Spoke.com.google.protobuf.ByteString
getNccSpokeUriBytes()
URI of a NCC Spoke.String
getNetworkUri()
URI of a Compute Engine network.com.google.protobuf.ByteString
getNetworkUriBytes()
URI of a Compute Engine network.String
getNextHop()
Next hop of the route.com.google.protobuf.ByteString
getNextHopBytes()
Next hop of the route.RouteInfo.NextHopType
getNextHopType()
Type of next hop.int
getNextHopTypeValue()
Type of next hop.int
getPriority()
Priority of the route.String
getProtocols(int index)
Protocols of the route.com.google.protobuf.ByteString
getProtocolsBytes(int index)
Protocols of the route.int
getProtocolsCount()
Protocols of the route.List<String>
getProtocolsList()
Protocols of the route.RouteInfo.RouteScope
getRouteScope()
Indicates where route is applicable.int
getRouteScopeValue()
Indicates where route is applicable.RouteInfo.RouteType
getRouteType()
Type of route.int
getRouteTypeValue()
Type of route.String
getSrcIpRange()
Source IP address range of the route.com.google.protobuf.ByteString
getSrcIpRangeBytes()
Source IP address range of the route.String
getSrcPortRanges(int index)
Source port ranges of the route.com.google.protobuf.ByteString
getSrcPortRangesBytes(int index)
Source port ranges of the route.int
getSrcPortRangesCount()
Source port ranges of the route.List<String>
getSrcPortRangesList()
Source port ranges of the route.String
getUri()
URI of a route.com.google.protobuf.ByteString
getUriBytes()
URI of a route.boolean
hasNccHubUri()
URI of a NCC Hub.boolean
hasNccSpokeUri()
URI of a NCC Spoke.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRouteTypeValue
int getRouteTypeValue()
Type of route.
.google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8;
- Returns:
- The enum numeric value on the wire for routeType.
-
getRouteType
RouteInfo.RouteType getRouteType()
Type of route.
.google.cloud.networkmanagement.v1.RouteInfo.RouteType route_type = 8;
- Returns:
- The routeType.
-
getNextHopTypeValue
int getNextHopTypeValue()
Type of next hop.
.google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9;
- Returns:
- The enum numeric value on the wire for nextHopType.
-
getNextHopType
RouteInfo.NextHopType getNextHopType()
Type of next hop.
.google.cloud.networkmanagement.v1.RouteInfo.NextHopType next_hop_type = 9;
- Returns:
- The nextHopType.
-
getRouteScopeValue
int getRouteScopeValue()
Indicates where route is applicable.
.google.cloud.networkmanagement.v1.RouteInfo.RouteScope route_scope = 14;
- Returns:
- The enum numeric value on the wire for routeScope.
-
getRouteScope
RouteInfo.RouteScope getRouteScope()
Indicates where route is applicable.
.google.cloud.networkmanagement.v1.RouteInfo.RouteScope route_scope = 14;
- Returns:
- The routeScope.
-
getDisplayName
String getDisplayName()
Name of a route.
string display_name = 1;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Name of a route.
string display_name = 1;
- Returns:
- The bytes for displayName.
-
getUri
String getUri()
URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.
string uri = 2;
- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.
string uri = 2;
- Returns:
- The bytes for uri.
-
getDestIpRange
String getDestIpRange()
Destination IP range of the route.
string dest_ip_range = 3;
- Returns:
- The destIpRange.
-
getDestIpRangeBytes
com.google.protobuf.ByteString getDestIpRangeBytes()
Destination IP range of the route.
string dest_ip_range = 3;
- Returns:
- The bytes for destIpRange.
-
getNextHop
String getNextHop()
Next hop of the route.
string next_hop = 4;
- Returns:
- The nextHop.
-
getNextHopBytes
com.google.protobuf.ByteString getNextHopBytes()
Next hop of the route.
string next_hop = 4;
- Returns:
- The bytes for nextHop.
-
getNetworkUri
String getNetworkUri()
URI of a Compute Engine network. NETWORK routes only.
string network_uri = 5;
- Returns:
- The networkUri.
-
getNetworkUriBytes
com.google.protobuf.ByteString getNetworkUriBytes()
URI of a Compute Engine network. NETWORK routes only.
string network_uri = 5;
- Returns:
- The bytes for networkUri.
-
getPriority
int getPriority()
Priority of the route.
int32 priority = 6;
- Returns:
- The priority.
-
getInstanceTagsList
List<String> getInstanceTagsList()
Instance tags of the route.
repeated string instance_tags = 7;
- Returns:
- A list containing the instanceTags.
-
getInstanceTagsCount
int getInstanceTagsCount()
Instance tags of the route.
repeated string instance_tags = 7;
- Returns:
- The count of instanceTags.
-
getInstanceTags
String getInstanceTags(int index)
Instance tags of the route.
repeated string instance_tags = 7;
- Parameters:
index
- The index of the element to return.- Returns:
- The instanceTags at the given index.
-
getInstanceTagsBytes
com.google.protobuf.ByteString getInstanceTagsBytes(int index)
Instance tags of the route.
repeated string instance_tags = 7;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instanceTags at the given index.
-
getSrcIpRange
String getSrcIpRange()
Source IP address range of the route. Policy based routes only.
string src_ip_range = 10;
- Returns:
- The srcIpRange.
-
getSrcIpRangeBytes
com.google.protobuf.ByteString getSrcIpRangeBytes()
Source IP address range of the route. Policy based routes only.
string src_ip_range = 10;
- Returns:
- The bytes for srcIpRange.
-
getDestPortRangesList
List<String> getDestPortRangesList()
Destination port ranges of the route. Policy based routes only.
repeated string dest_port_ranges = 11;
- Returns:
- A list containing the destPortRanges.
-
getDestPortRangesCount
int getDestPortRangesCount()
Destination port ranges of the route. Policy based routes only.
repeated string dest_port_ranges = 11;
- Returns:
- The count of destPortRanges.
-
getDestPortRanges
String getDestPortRanges(int index)
Destination port ranges of the route. Policy based routes only.
repeated string dest_port_ranges = 11;
- Parameters:
index
- The index of the element to return.- Returns:
- The destPortRanges at the given index.
-
getDestPortRangesBytes
com.google.protobuf.ByteString getDestPortRangesBytes(int index)
Destination port ranges of the route. Policy based routes only.
repeated string dest_port_ranges = 11;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the destPortRanges at the given index.
-
getSrcPortRangesList
List<String> getSrcPortRangesList()
Source port ranges of the route. Policy based routes only.
repeated string src_port_ranges = 12;
- Returns:
- A list containing the srcPortRanges.
-
getSrcPortRangesCount
int getSrcPortRangesCount()
Source port ranges of the route. Policy based routes only.
repeated string src_port_ranges = 12;
- Returns:
- The count of srcPortRanges.
-
getSrcPortRanges
String getSrcPortRanges(int index)
Source port ranges of the route. Policy based routes only.
repeated string src_port_ranges = 12;
- Parameters:
index
- The index of the element to return.- Returns:
- The srcPortRanges at the given index.
-
getSrcPortRangesBytes
com.google.protobuf.ByteString getSrcPortRangesBytes(int index)
Source port ranges of the route. Policy based routes only.
repeated string src_port_ranges = 12;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the srcPortRanges at the given index.
-
getProtocolsList
List<String> getProtocolsList()
Protocols of the route. Policy based routes only.
repeated string protocols = 13;
- Returns:
- A list containing the protocols.
-
getProtocolsCount
int getProtocolsCount()
Protocols of the route. Policy based routes only.
repeated string protocols = 13;
- Returns:
- The count of protocols.
-
getProtocols
String getProtocols(int index)
Protocols of the route. Policy based routes only.
repeated string protocols = 13;
- Parameters:
index
- The index of the element to return.- Returns:
- The protocols at the given index.
-
getProtocolsBytes
com.google.protobuf.ByteString getProtocolsBytes(int index)
Protocols of the route. Policy based routes only.
repeated string protocols = 13;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the protocols at the given index.
-
hasNccHubUri
boolean hasNccHubUri()
URI of a NCC Hub. NCC_HUB routes only.
optional string ncc_hub_uri = 15;
- Returns:
- Whether the nccHubUri field is set.
-
getNccHubUri
String getNccHubUri()
URI of a NCC Hub. NCC_HUB routes only.
optional string ncc_hub_uri = 15;
- Returns:
- The nccHubUri.
-
getNccHubUriBytes
com.google.protobuf.ByteString getNccHubUriBytes()
URI of a NCC Hub. NCC_HUB routes only.
optional string ncc_hub_uri = 15;
- Returns:
- The bytes for nccHubUri.
-
hasNccSpokeUri
boolean hasNccSpokeUri()
URI of a NCC Spoke. NCC_HUB routes only.
optional string ncc_spoke_uri = 16;
- Returns:
- Whether the nccSpokeUri field is set.
-
getNccSpokeUri
String getNccSpokeUri()
URI of a NCC Spoke. NCC_HUB routes only.
optional string ncc_spoke_uri = 16;
- Returns:
- The nccSpokeUri.
-
getNccSpokeUriBytes
com.google.protobuf.ByteString getNccSpokeUriBytes()
URI of a NCC Spoke. NCC_HUB routes only.
optional string ncc_spoke_uri = 16;
- Returns:
- The bytes for nccSpokeUri.
-
-