Package com.google.cloud.compute.v1
Class RouterBgp
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.RouterBgp
- All Implemented Interfaces:
RouterBgpOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RouterBgp
extends com.google.protobuf.GeneratedMessage
implements RouterBgpOrBuilder
Protobuf type
google.cloud.compute.v1.RouterBgp- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumUser-specified flag to indicate which mode to use for advertisement.static final classNested 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 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 TypeMethodDescriptionbooleangetAdvertisedGroups(int index) User-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ByteStringgetAdvertisedGroupsBytes(int index) User-specified list of prefix groups to advertise in custom mode.intUser-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ProtocolStringListUser-specified list of prefix groups to advertise in custom mode.getAdvertisedIpRanges(int index) User-specified list of individual IP ranges to advertise in custom mode.intUser-specified list of individual IP ranges to advertise in custom mode.User-specified list of individual IP ranges to advertise in custom mode.getAdvertisedIpRangesOrBuilder(int index) User-specified list of individual IP ranges to advertise in custom mode.List<? extends RouterAdvertisedIpRangeOrBuilder>User-specified list of individual IP ranges to advertise in custom mode.User-specified flag to indicate which mode to use for advertisement.com.google.protobuf.ByteStringUser-specified flag to indicate which mode to use for advertisement.intgetAsn()Local BGP Autonomous System Number (ASN).static RouterBgpstatic final com.google.protobuf.Descriptors.DescriptorExplicitly specifies a range of valid BGP Identifiers for this Router.com.google.protobuf.ByteStringExplicitly specifies a range of valid BGP Identifiers for this Router.intThe interval in seconds between BGP keepalive messages that are sent to the peer.com.google.protobuf.Parser<RouterBgp>intbooleanUser-specified flag to indicate which mode to use for advertisement.booleanhasAsn()Local BGP Autonomous System Number (ASN).inthashCode()booleanExplicitly specifies a range of valid BGP Identifiers for this Router.booleanThe interval in seconds between BGP keepalive messages that are sent to the peer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RouterBgp.Builderstatic RouterBgp.BuildernewBuilder(RouterBgp prototype) protected RouterBgp.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RouterBgpparseDelimitedFrom(InputStream input) static RouterBgpparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouterBgpparseFrom(byte[] data) static RouterBgpparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouterBgpparseFrom(com.google.protobuf.ByteString data) static RouterBgpparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouterBgpparseFrom(com.google.protobuf.CodedInputStream input) static RouterBgpparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouterBgpparseFrom(InputStream input) static RouterBgpparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouterBgpparseFrom(ByteBuffer data) static RouterBgpparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RouterBgp>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
-
ADVERTISE_MODE_FIELD_NUMBER
public static final int ADVERTISE_MODE_FIELD_NUMBER- See Also:
-
ADVERTISED_GROUPS_FIELD_NUMBER
public static final int ADVERTISED_GROUPS_FIELD_NUMBER- See Also:
-
ADVERTISED_IP_RANGES_FIELD_NUMBER
public static final int ADVERTISED_IP_RANGES_FIELD_NUMBER- See Also:
-
ASN_FIELD_NUMBER
public static final int ASN_FIELD_NUMBER- See Also:
-
IDENTIFIER_RANGE_FIELD_NUMBER
public static final int IDENTIFIER_RANGE_FIELD_NUMBER- See Also:
-
KEEPALIVE_INTERVAL_FIELD_NUMBER
public static final int KEEPALIVE_INTERVAL_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
-
hasAdvertiseMode
public boolean hasAdvertiseMode()User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.
optional string advertise_mode = 312134331;- Specified by:
hasAdvertiseModein interfaceRouterBgpOrBuilder- Returns:
- Whether the advertiseMode field is set.
-
getAdvertiseMode
User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.
optional string advertise_mode = 312134331;- Specified by:
getAdvertiseModein interfaceRouterBgpOrBuilder- Returns:
- The advertiseMode.
-
getAdvertiseModeBytes
public com.google.protobuf.ByteString getAdvertiseModeBytes()User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.
optional string advertise_mode = 312134331;- Specified by:
getAdvertiseModeBytesin interfaceRouterBgpOrBuilder- Returns:
- The bytes for advertiseMode.
-
getAdvertisedGroupsList
public com.google.protobuf.ProtocolStringList getAdvertisedGroupsList()User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.
repeated string advertised_groups = 21065526;- Specified by:
getAdvertisedGroupsListin interfaceRouterBgpOrBuilder- Returns:
- A list containing the advertisedGroups.
-
getAdvertisedGroupsCount
public int getAdvertisedGroupsCount()User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.
repeated string advertised_groups = 21065526;- Specified by:
getAdvertisedGroupsCountin interfaceRouterBgpOrBuilder- Returns:
- The count of advertisedGroups.
-
getAdvertisedGroups
User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.
repeated string advertised_groups = 21065526;- Specified by:
getAdvertisedGroupsin interfaceRouterBgpOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The advertisedGroups at the given index.
-
getAdvertisedGroupsBytes
public com.google.protobuf.ByteString getAdvertisedGroupsBytes(int index) User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. Check the AdvertisedGroups enum for the list of possible values.
repeated string advertised_groups = 21065526;- Specified by:
getAdvertisedGroupsBytesin interfaceRouterBgpOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the advertisedGroups at the given index.
-
getAdvertisedIpRangesList
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;- Specified by:
getAdvertisedIpRangesListin interfaceRouterBgpOrBuilder
-
getAdvertisedIpRangesOrBuilderList
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;- Specified by:
getAdvertisedIpRangesOrBuilderListin interfaceRouterBgpOrBuilder
-
getAdvertisedIpRangesCount
public int getAdvertisedIpRangesCount()User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;- Specified by:
getAdvertisedIpRangesCountin interfaceRouterBgpOrBuilder
-
getAdvertisedIpRanges
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;- Specified by:
getAdvertisedIpRangesin interfaceRouterBgpOrBuilder
-
getAdvertisedIpRangesOrBuilder
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;- Specified by:
getAdvertisedIpRangesOrBuilderin interfaceRouterBgpOrBuilder
-
hasAsn
public boolean hasAsn()Local BGP Autonomous System Number (ASN). Must be anRFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
optional uint32 asn = 96892;- Specified by:
hasAsnin interfaceRouterBgpOrBuilder- Returns:
- Whether the asn field is set.
-
getAsn
public int getAsn()Local BGP Autonomous System Number (ASN). Must be anRFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
optional uint32 asn = 96892;- Specified by:
getAsnin interfaceRouterBgpOrBuilder- Returns:
- The asn.
-
hasIdentifierRange
public boolean hasIdentifierRange()Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Specified by:
hasIdentifierRangein interfaceRouterBgpOrBuilder- Returns:
- Whether the identifierRange field is set.
-
getIdentifierRange
Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Specified by:
getIdentifierRangein interfaceRouterBgpOrBuilder- Returns:
- The identifierRange.
-
getIdentifierRangeBytes
public com.google.protobuf.ByteString getIdentifierRangeBytes()Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Specified by:
getIdentifierRangeBytesin interfaceRouterBgpOrBuilder- Returns:
- The bytes for identifierRange.
-
hasKeepaliveInterval
public boolean hasKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
optional uint32 keepalive_interval = 276771516;- Specified by:
hasKeepaliveIntervalin interfaceRouterBgpOrBuilder- Returns:
- Whether the keepaliveInterval field is set.
-
getKeepaliveInterval
public int getKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
optional uint32 keepalive_interval = 276771516;- Specified by:
getKeepaliveIntervalin interfaceRouterBgpOrBuilder- Returns:
- The keepaliveInterval.
-
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 RouterBgp parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterBgp parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterBgp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterBgp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterBgp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouterBgp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RouterBgp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RouterBgp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RouterBgp 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 RouterBgp.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
-