Package com.google.cloud.compute.v1
Class BgpRoute
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.BgpRoute
- All Implemented Interfaces:
BgpRouteOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class BgpRoute
extends com.google.protobuf.GeneratedMessage
implements BgpRouteOrBuilder
Protobuf type
google.cloud.compute.v1.BgpRoute- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumOutput only.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAsPaths(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.com.google.protobuf.ProtocolStringListOutput only.static BgpRoutestatic final com.google.protobuf.Descriptors.DescriptorOutput only.Output only.intgetMed()Output only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<BgpRoute>intbooleanOutput only.inthashCode()booleanhasMed()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic BgpRoute.Builderstatic BgpRoute.BuildernewBuilder(BgpRoute prototype) protected BgpRoute.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BgpRouteparseDelimitedFrom(InputStream input) static BgpRouteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BgpRouteparseFrom(byte[] data) static BgpRouteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BgpRouteparseFrom(com.google.protobuf.ByteString data) static BgpRouteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BgpRouteparseFrom(com.google.protobuf.CodedInputStream input) static BgpRouteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BgpRouteparseFrom(InputStream input) static BgpRouteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BgpRouteparseFrom(ByteBuffer data) static BgpRouteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BgpRoute>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AS_PATHS_FIELD_NUMBER
public static final int AS_PATHS_FIELD_NUMBER- See Also:
-
COMMUNITIES_FIELD_NUMBER
public static final int COMMUNITIES_FIELD_NUMBER- See Also:
-
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER- See Also:
-
MED_FIELD_NUMBER
public static final int MED_FIELD_NUMBER- See Also:
-
ORIGIN_FIELD_NUMBER
public static final int ORIGIN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAsPathsList
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;- Specified by:
getAsPathsListin interfaceBgpRouteOrBuilder
-
getAsPathsOrBuilderList
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;- Specified by:
getAsPathsOrBuilderListin interfaceBgpRouteOrBuilder
-
getAsPathsCount
public int getAsPathsCount()Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;- Specified by:
getAsPathsCountin interfaceBgpRouteOrBuilder
-
getAsPaths
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;- Specified by:
getAsPathsin interfaceBgpRouteOrBuilder
-
getAsPathsOrBuilder
Output only. [Output only] AS-PATH for the route
repeated .google.cloud.compute.v1.BgpRouteAsPath as_paths = 137568929;- Specified by:
getAsPathsOrBuilderin interfaceBgpRouteOrBuilder
-
getCommunitiesList
public com.google.protobuf.ProtocolStringList getCommunitiesList()Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Specified by:
getCommunitiesListin interfaceBgpRouteOrBuilder- Returns:
- A list containing the communities.
-
getCommunitiesCount
public int getCommunitiesCount()Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Specified by:
getCommunitiesCountin interfaceBgpRouteOrBuilder- Returns:
- The count of communities.
-
getCommunities
Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Specified by:
getCommunitiesin interfaceBgpRouteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The communities at the given index.
-
getCommunitiesBytes
public com.google.protobuf.ByteString getCommunitiesBytes(int index) Output only. [Output only] BGP communities in human-readable A:B format.
repeated string communities = 188262983;- Specified by:
getCommunitiesBytesin interfaceBgpRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the communities at the given index.
-
hasDestination
public 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;- Specified by:
hasDestinationin interfaceBgpRouteOrBuilder- Returns:
- Whether the destination field is set.
-
getDestination
Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;- Specified by:
getDestinationin interfaceBgpRouteOrBuilder- Returns:
- The destination.
-
getDestinationOrBuilder
Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
optional .google.cloud.compute.v1.BgpRouteNetworkLayerReachabilityInformation destination = 180765710;- Specified by:
getDestinationOrBuilderin interfaceBgpRouteOrBuilder
-
hasMed
public boolean hasMed()Output only. [Output only] BGP multi-exit discriminator
optional uint32 med = 107980;- Specified by:
hasMedin interfaceBgpRouteOrBuilder- Returns:
- Whether the med field is set.
-
getMed
public int getMed()Output only. [Output only] BGP multi-exit discriminator
optional uint32 med = 107980;- Specified by:
getMedin interfaceBgpRouteOrBuilder- Returns:
- The med.
-
hasOrigin
public 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;- Specified by:
hasOriginin interfaceBgpRouteOrBuilder- Returns:
- Whether the origin field is set.
-
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;- Specified by:
getOriginin interfaceBgpRouteOrBuilder- Returns:
- The origin.
-
getOriginBytes
public 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;- Specified by:
getOriginBytesin interfaceBgpRouteOrBuilder- Returns:
- The bytes for origin.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BgpRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BgpRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BgpRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BgpRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BgpRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BgpRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BgpRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BgpRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BgpRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BgpRoute.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-