Package com.google.cloud.compute.v1
Class RouterBgp
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class RouterBgp extends com.google.protobuf.GeneratedMessageV3 implements RouterBgpOrBuilder
google.cloud.compute.v1.RouterBgp
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RouterBgp.AdvertisedGroups
static class
RouterBgp.AdvertiseMode
User-specified flag to indicate which mode to use for advertisement.static class
RouterBgp.Builder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADVERTISE_MODE_FIELD_NUMBER
static int
ADVERTISED_GROUPS_FIELD_NUMBER
static int
ADVERTISED_IP_RANGES_FIELD_NUMBER
static int
ASN_FIELD_NUMBER
static int
KEEPALIVE_INTERVAL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAdvertisedGroups(int index)
User-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ByteString
getAdvertisedGroupsBytes(int index)
User-specified list of prefix groups to advertise in custom mode.int
getAdvertisedGroupsCount()
User-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ProtocolStringList
getAdvertisedGroupsList()
User-specified list of prefix groups to advertise in custom mode.RouterAdvertisedIpRange
getAdvertisedIpRanges(int index)
User-specified list of individual IP ranges to advertise in custom mode.int
getAdvertisedIpRangesCount()
User-specified list of individual IP ranges to advertise in custom mode.List<RouterAdvertisedIpRange>
getAdvertisedIpRangesList()
User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRangeOrBuilder
getAdvertisedIpRangesOrBuilder(int index)
User-specified list of individual IP ranges to advertise in custom mode.List<? extends RouterAdvertisedIpRangeOrBuilder>
getAdvertisedIpRangesOrBuilderList()
User-specified list of individual IP ranges to advertise in custom mode.String
getAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.com.google.protobuf.ByteString
getAdvertiseModeBytes()
User-specified flag to indicate which mode to use for advertisement.int
getAsn()
Local BGP Autonomous System Number (ASN).static RouterBgp
getDefaultInstance()
RouterBgp
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getKeepaliveInterval()
The interval in seconds between BGP keepalive messages that are sent to the peer.com.google.protobuf.Parser<RouterBgp>
getParserForType()
int
getSerializedSize()
boolean
hasAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.boolean
hasAsn()
Local BGP Autonomous System Number (ASN).int
hashCode()
boolean
hasKeepaliveInterval()
The interval in seconds between BGP keepalive messages that are sent to the peer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static RouterBgp.Builder
newBuilder()
static RouterBgp.Builder
newBuilder(RouterBgp prototype)
RouterBgp.Builder
newBuilderForType()
protected RouterBgp.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static RouterBgp
parseDelimitedFrom(InputStream input)
static RouterBgp
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterBgp
parseFrom(byte[] data)
static RouterBgp
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterBgp
parseFrom(com.google.protobuf.ByteString data)
static RouterBgp
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterBgp
parseFrom(com.google.protobuf.CodedInputStream input)
static RouterBgp
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterBgp
parseFrom(InputStream input)
static RouterBgp
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RouterBgp
parseFrom(ByteBuffer data)
static RouterBgp
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<RouterBgp>
parser()
RouterBgp.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ADVERTISE_MODE_FIELD_NUMBER
public static final int ADVERTISE_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISED_GROUPS_FIELD_NUMBER
public static final int ADVERTISED_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISED_IP_RANGES_FIELD_NUMBER
public static final int ADVERTISED_IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASN_FIELD_NUMBER
public static final int ASN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEEPALIVE_INTERVAL_FIELD_NUMBER
public static final int KEEPALIVE_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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:
hasAdvertiseMode
in interfaceRouterBgpOrBuilder
- Returns:
- Whether the advertiseMode field is set.
-
getAdvertiseMode
public String 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:
getAdvertiseMode
in 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:
getAdvertiseModeBytes
in 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:
getAdvertisedGroupsList
in 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:
getAdvertisedGroupsCount
in interfaceRouterBgpOrBuilder
- Returns:
- The count of advertisedGroups.
-
getAdvertisedGroups
public String getAdvertisedGroups(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:
getAdvertisedGroups
in 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:
getAdvertisedGroupsBytes
in interfaceRouterBgpOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the advertisedGroups at the given index.
-
getAdvertisedIpRangesList
public List<RouterAdvertisedIpRange> 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:
getAdvertisedIpRangesList
in interfaceRouterBgpOrBuilder
-
getAdvertisedIpRangesOrBuilderList
public List<? extends RouterAdvertisedIpRangeOrBuilder> 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:
getAdvertisedIpRangesOrBuilderList
in 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:
getAdvertisedIpRangesCount
in interfaceRouterBgpOrBuilder
-
getAdvertisedIpRanges
public RouterAdvertisedIpRange getAdvertisedIpRanges(int index)
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:
getAdvertisedIpRanges
in interfaceRouterBgpOrBuilder
-
getAdvertisedIpRangesOrBuilder
public RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRangesOrBuilder(int index)
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:
getAdvertisedIpRangesOrBuilder
in interfaceRouterBgpOrBuilder
-
hasAsn
public boolean hasAsn()
Local BGP Autonomous System Number (ASN). Must be an RFC6996 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:
hasAsn
in interfaceRouterBgpOrBuilder
- Returns:
- Whether the asn field is set.
-
getAsn
public int getAsn()
Local BGP Autonomous System Number (ASN). Must be an RFC6996 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:
getAsn
in interfaceRouterBgpOrBuilder
- Returns:
- The asn.
-
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:
hasKeepaliveInterval
in 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:
getKeepaliveInterval
in interfaceRouterBgpOrBuilder
- Returns:
- The keepaliveInterval.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
public static RouterBgp parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterBgp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouterBgp parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouterBgp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterBgp parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouterBgp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RouterBgp.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RouterBgp.Builder newBuilder()
-
newBuilder
public static RouterBgp.Builder newBuilder(RouterBgp prototype)
-
toBuilder
public RouterBgp.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouterBgp.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RouterBgp getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RouterBgp> parser()
-
getParserForType
public com.google.protobuf.Parser<RouterBgp> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RouterBgp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-