Interface BgpRouteOrBuilder (1.92.0)

public interface BgpRouteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAsPaths(int index)

public abstract BgpRouteAsPath getAsPaths(int index)

Output only. [Output only] AS-PATH for the route

repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;

Parameter
Name Description
index int
Returns
Type Description
BgpRouteAsPath

getAsPathsCount()

public abstract int getAsPathsCount()

Output only. [Output only] AS-PATH for the route

repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;

Returns
Type Description
int

getAsPathsList()

public abstract List<BgpRouteAsPath> getAsPathsList()

Output only. [Output only] AS-PATH for the route

repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;

Returns
Type Description
List<BgpRouteAsPath>

getAsPathsOrBuilder(int index)

public abstract BgpRouteAsPathOrBuilder getAsPathsOrBuilder(int index)

Output only. [Output only] AS-PATH for the route

repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;

Parameter
Name Description
index int
Returns
Type Description
BgpRouteAsPathOrBuilder

getAsPathsOrBuilderList()

public abstract List<? extends BgpRouteAsPathOrBuilder> getAsPathsOrBuilderList()

Output only. [Output only] AS-PATH for the route

repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.BgpRouteAsPathOrBuilder>

getCommunities(int index)

public abstract String getCommunities(int index)

Output only. [Output only] BGP communities in human-readable A:B format.

repeated string communities = 188262983;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The communities at the given index.

getCommunitiesBytes(int index)

public abstract ByteString getCommunitiesBytes(int index)

Output only. [Output only] BGP communities in human-readable A:B format.

repeated string communities = 188262983;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the communities at the given index.

getCommunitiesCount()

public abstract int getCommunitiesCount()

Output only. [Output only] BGP communities in human-readable A:B format.

repeated string communities = 188262983;

Returns
Type Description
int

The count of communities.

getCommunitiesList()

public abstract List<String> getCommunitiesList()

Output only. [Output only] BGP communities in human-readable A:B format.

repeated string communities = 188262983;

Returns
Type Description
List<String>

A list containing the communities.

getDestination()

public abstract 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
Type Description
BgpRouteNetworkLayerReachabilityInformation

The destination.

getDestinationOrBuilder()

public abstract 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;

Returns
Type Description
BgpRouteNetworkLayerReachabilityInformationOrBuilder

getMed()

public abstract int getMed()

Output only. [Output only] BGP multi-exit discriminator

optional uint32 med = 107980;

Returns
Type Description
int

The med.

getOrigin()

public abstract 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
Type Description
String

The origin.

getOriginBytes()

public abstract 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
Type Description
ByteString

The bytes for origin.

hasDestination()

public abstract 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
Type Description
boolean

Whether the destination field is set.

hasMed()

public abstract boolean hasMed()

Output only. [Output only] BGP multi-exit discriminator

optional uint32 med = 107980;

Returns
Type Description
boolean

Whether the med field is set.

hasOrigin()

public abstract 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
Type Description
boolean

Whether the origin field is set.