Package com.google.cloud.compute.v1
Interface BgpRouteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BgpRoute,BgpRoute.Builder
@Generated
public interface BgpRouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAsPaths(int index) Output only.intOutput only.Output only.getAsPathsOrBuilder(int index) Output only.List<? extends BgpRouteAsPathOrBuilder>Output only.getCommunities(int index) Output only.com.google.protobuf.ByteStringgetCommunitiesBytes(int index) Output only.intOutput only.Output only.Output only.Output only.intgetMed()Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanhasMed()Output only.booleanOutput only.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
-
getAsPathsList
List<BgpRouteAsPath> getAsPathsList()Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; -
getAsPaths
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; -
getAsPathsCount
int getAsPathsCount()Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; -
getAsPathsOrBuilderList
List<? extends BgpRouteAsPathOrBuilder> getAsPathsOrBuilderList()Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; -
getAsPathsOrBuilder
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; -
getCommunitiesList
Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Returns:
- A list containing the communities.
-
getCommunitiesCount
int getCommunitiesCount()Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Returns:
- The count of communities.
-
getCommunities
Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Parameters:
index- The index of the element to return.- Returns:
- The communities at the given index.
-
getCommunitiesBytes
com.google.protobuf.ByteString getCommunitiesBytes(int index) Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the communities at the given index.
-
hasDestination
boolean hasDestination()Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;- Returns:
- Whether the destination field is set.
-
getDestination
BgpRouteNetworkLayerReachabilityInformation getDestination()Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;- Returns:
- The destination.
-
getDestinationOrBuilder
BgpRouteNetworkLayerReachabilityInformationOrBuilder getDestinationOrBuilder()Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710; -
hasMed
boolean hasMed()Output only. [Output only] BGP multi-exit discriminator
optional uint32 med = 107980;- Returns:
- Whether the med field is set.
-
getMed
int getMed()Output only. [Output only] BGP multi-exit discriminator
optional uint32 med = 107980;- Returns:
- The med.
-
hasOrigin
boolean hasOrigin()Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;- Returns:
- Whether the origin field is set.
-
getOrigin
String getOrigin()Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;- Returns:
- The origin.
-
getOriginBytes
com.google.protobuf.ByteString getOriginBytes()Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;- Returns:
- The bytes for origin.
-