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 StringgetDestIpRange()Destination IP range of the route.com.google.protobuf.ByteStringgetDestIpRangeBytes()Destination IP range of the route.StringgetDestPortRanges(int index)Destination port ranges of the route.com.google.protobuf.ByteStringgetDestPortRangesBytes(int index)Destination port ranges of the route.intgetDestPortRangesCount()Destination port ranges of the route.List<String>getDestPortRangesList()Destination port ranges of the route.StringgetDisplayName()Name of a route.com.google.protobuf.ByteStringgetDisplayNameBytes()Name of a route.StringgetInstanceTags(int index)Instance tags of the route.com.google.protobuf.ByteStringgetInstanceTagsBytes(int index)Instance tags of the route.intgetInstanceTagsCount()Instance tags of the route.List<String>getInstanceTagsList()Instance tags of the route.StringgetNccHubUri()URI of a NCC Hub.com.google.protobuf.ByteStringgetNccHubUriBytes()URI of a NCC Hub.StringgetNccSpokeUri()URI of a NCC Spoke.com.google.protobuf.ByteStringgetNccSpokeUriBytes()URI of a NCC Spoke.StringgetNetworkUri()URI of a Compute Engine network.com.google.protobuf.ByteStringgetNetworkUriBytes()URI of a Compute Engine network.StringgetNextHop()Next hop of the route.com.google.protobuf.ByteStringgetNextHopBytes()Next hop of the route.RouteInfo.NextHopTypegetNextHopType()Type of next hop.intgetNextHopTypeValue()Type of next hop.intgetPriority()Priority of the route.StringgetProtocols(int index)Protocols of the route.com.google.protobuf.ByteStringgetProtocolsBytes(int index)Protocols of the route.intgetProtocolsCount()Protocols of the route.List<String>getProtocolsList()Protocols of the route.RouteInfo.RouteScopegetRouteScope()Indicates where route is applicable.intgetRouteScopeValue()Indicates where route is applicable.RouteInfo.RouteTypegetRouteType()Type of route.intgetRouteTypeValue()Type of route.StringgetSrcIpRange()Source IP address range of the route.com.google.protobuf.ByteStringgetSrcIpRangeBytes()Source IP address range of the route.StringgetSrcPortRanges(int index)Source port ranges of the route.com.google.protobuf.ByteStringgetSrcPortRangesBytes(int index)Source port ranges of the route.intgetSrcPortRangesCount()Source port ranges of the route.List<String>getSrcPortRangesList()Source port ranges of the route.StringgetUri()URI of a route.com.google.protobuf.ByteStringgetUriBytes()URI of a route.booleanhasNccHubUri()URI of a NCC Hub.booleanhasNccSpokeUri()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.v1beta1.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.v1beta1.RouteInfo.RouteType route_type = 8;- Returns:
- The routeType.
-
getNextHopTypeValue
int getNextHopTypeValue()
Type of next hop.
.google.cloud.networkmanagement.v1beta1.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.v1beta1.RouteInfo.NextHopType next_hop_type = 9;- Returns:
- The nextHopType.
-
getRouteScopeValue
int getRouteScopeValue()
Indicates where route is applicable.
.google.cloud.networkmanagement.v1beta1.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.v1beta1.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.
-
-