public final class BgpRoute extends com.google.protobuf.GeneratedMessageV3 implements BgpRouteOrBuilder
Protobuf type
google.cloud.compute.v1.BgpRoute| Modifier and Type | Class and Description |
|---|---|
static class |
BgpRoute.Builder
Protobuf type
google.cloud.compute.v1.BgpRoute |
static class |
BgpRoute.Origin
[Output only] BGP origin (EGP, IGP or INCOMPLETE)
Protobuf enum
google.cloud.compute.v1.BgpRoute.Origin |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AS_PATHS_FIELD_NUMBER |
static int |
COMMUNITIES_FIELD_NUMBER |
static int |
DESTINATION_FIELD_NUMBER |
static int |
MED_FIELD_NUMBER |
static int |
ORIGIN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BgpRouteAsPath |
getAsPaths(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; |
int |
getAsPathsCount()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; |
List<BgpRouteAsPath> |
getAsPathsList()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; |
BgpRouteAsPathOrBuilder |
getAsPathsOrBuilder(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; |
List<? extends BgpRouteAsPathOrBuilder> |
getAsPathsOrBuilderList()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929; |
String |
getCommunities(int index)
[Output only] BGP communities in human-readable A:B format.
|
com.google.protobuf.ByteString |
getCommunitiesBytes(int index)
[Output only] BGP communities in human-readable A:B format.
|
int |
getCommunitiesCount()
[Output only] BGP communities in human-readable A:B format.
|
com.google.protobuf.ProtocolStringList |
getCommunitiesList()
[Output only] BGP communities in human-readable A:B format.
|
static BgpRoute |
getDefaultInstance() |
BgpRoute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
BgpRouteNetworkLayerReachabilityInformation |
getDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
|
BgpRouteNetworkLayerReachabilityInformationOrBuilder |
getDestinationOrBuilder()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
|
int |
getMed()
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980; |
String |
getOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE)
Check the Origin enum for the list of possible values.
|
com.google.protobuf.ByteString |
getOriginBytes()
[Output only] BGP origin (EGP, IGP or INCOMPLETE)
Check the Origin enum for the list of possible values.
|
com.google.protobuf.Parser<BgpRoute> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
|
int |
hashCode() |
boolean |
hasMed()
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980; |
boolean |
hasOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE)
Check the Origin enum for the list of possible values.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BgpRoute.Builder |
newBuilder() |
static BgpRoute.Builder |
newBuilder(BgpRoute prototype) |
BgpRoute.Builder |
newBuilderForType() |
protected BgpRoute.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BgpRoute |
parseDelimitedFrom(InputStream input) |
static BgpRoute |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BgpRoute |
parseFrom(byte[] data) |
static BgpRoute |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BgpRoute |
parseFrom(ByteBuffer data) |
static BgpRoute |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BgpRoute |
parseFrom(com.google.protobuf.ByteString data) |
static BgpRoute |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BgpRoute |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BgpRoute |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BgpRoute |
parseFrom(InputStream input) |
static BgpRoute |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BgpRoute> |
parser() |
BgpRoute.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AS_PATHS_FIELD_NUMBER
public static final int COMMUNITIES_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
public static final int MED_FIELD_NUMBER
public static final int ORIGIN_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<BgpRouteAsPath> getAsPathsList()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;getAsPathsList in interface BgpRouteOrBuilderpublic List<? extends BgpRouteAsPathOrBuilder> getAsPathsOrBuilderList()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;getAsPathsOrBuilderList in interface BgpRouteOrBuilderpublic int getAsPathsCount()
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;getAsPathsCount in interface BgpRouteOrBuilderpublic BgpRouteAsPath getAsPaths(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;getAsPaths in interface BgpRouteOrBuilderpublic BgpRouteAsPathOrBuilder getAsPathsOrBuilder(int index)
[Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;getAsPathsOrBuilder in interface BgpRouteOrBuilderpublic com.google.protobuf.ProtocolStringList getCommunitiesList()
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;getCommunitiesList in interface BgpRouteOrBuilderpublic int getCommunitiesCount()
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;getCommunitiesCount in interface BgpRouteOrBuilderpublic String getCommunities(int index)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;getCommunities in interface BgpRouteOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCommunitiesBytes(int index)
[Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;getCommunitiesBytes in interface BgpRouteOrBuilderindex - The index of the value to return.public boolean hasDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
hasDestination in interface BgpRouteOrBuilderpublic BgpRouteNetworkLayerReachabilityInformation getDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
getDestination in interface BgpRouteOrBuilderpublic BgpRouteNetworkLayerReachabilityInformationOrBuilder getDestinationOrBuilder()
[Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;
getDestinationOrBuilder in interface BgpRouteOrBuilderpublic boolean hasMed()
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980;hasMed in interface BgpRouteOrBuilderpublic int getMed()
[Output only] BGP multi-exit discriminator
optional uint32 med = 107980;getMed in interface BgpRouteOrBuilderpublic boolean hasOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;hasOrigin in interface BgpRouteOrBuilderpublic String getOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;getOrigin in interface BgpRouteOrBuilderpublic com.google.protobuf.ByteString getOriginBytes()
[Output only] BGP origin (EGP, IGP or INCOMPLETE) Check the Origin enum for the list of possible values.
optional string origin = 65122086;getOriginBytes in interface BgpRouteOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BgpRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BgpRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BgpRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BgpRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BgpRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BgpRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BgpRoute parseFrom(InputStream input) throws IOException
IOExceptionpublic static BgpRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BgpRoute parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BgpRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BgpRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BgpRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BgpRoute.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BgpRoute.Builder newBuilder()
public static BgpRoute.Builder newBuilder(BgpRoute prototype)
public BgpRoute.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BgpRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BgpRoute getDefaultInstance()
public static com.google.protobuf.Parser<BgpRoute> parser()
public com.google.protobuf.Parser<BgpRoute> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BgpRoute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.