Package com.google.cloud.compute.v1
Class NetworkRoutingConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.NetworkRoutingConfig
- All Implemented Interfaces:
NetworkRoutingConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class NetworkRoutingConfig
extends com.google.protobuf.GeneratedMessage
implements NetworkRoutingConfigOrBuilder
A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.Protobuf type
google.cloud.compute.v1.NetworkRoutingConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers.static enumAllows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm.static final classA routing configuration attached to a network resource.static enumOutput only.static enumThe network-wide routing mode to use.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 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 TypeMethodDescriptionbooleanbooleanEnable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers.com.google.protobuf.ByteStringThe BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers.Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm.com.google.protobuf.ByteStringAllows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm.static NetworkRoutingConfigstatic final com.google.protobuf.Descriptors.DescriptorbooleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<NetworkRoutingConfig>The network-wide routing mode to use.com.google.protobuf.ByteStringThe network-wide routing mode to use.intbooleanEnable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.booleanThe BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers.booleanAllows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm.booleanOutput only.booleanOutput only.inthashCode()booleanThe network-wide routing mode to use.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic NetworkRoutingConfig.Builderstatic NetworkRoutingConfig.BuildernewBuilder(NetworkRoutingConfig prototype) protected NetworkRoutingConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NetworkRoutingConfigparseDelimitedFrom(InputStream input) static NetworkRoutingConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkRoutingConfigparseFrom(byte[] data) static NetworkRoutingConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkRoutingConfigparseFrom(com.google.protobuf.ByteString data) static NetworkRoutingConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkRoutingConfigparseFrom(com.google.protobuf.CodedInputStream input) static NetworkRoutingConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkRoutingConfigparseFrom(InputStream input) static NetworkRoutingConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NetworkRoutingConfigparseFrom(ByteBuffer data) static NetworkRoutingConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NetworkRoutingConfig>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
-
BGP_ALWAYS_COMPARE_MED_FIELD_NUMBER
public static final int BGP_ALWAYS_COMPARE_MED_FIELD_NUMBER- See Also:
-
BGP_BEST_PATH_SELECTION_MODE_FIELD_NUMBER
public static final int BGP_BEST_PATH_SELECTION_MODE_FIELD_NUMBER- See Also:
-
BGP_INTER_REGION_COST_FIELD_NUMBER
public static final int BGP_INTER_REGION_COST_FIELD_NUMBER- See Also:
-
EFFECTIVE_BGP_ALWAYS_COMPARE_MED_FIELD_NUMBER
public static final int EFFECTIVE_BGP_ALWAYS_COMPARE_MED_FIELD_NUMBER- See Also:
-
EFFECTIVE_BGP_INTER_REGION_COST_FIELD_NUMBER
public static final int EFFECTIVE_BGP_INTER_REGION_COST_FIELD_NUMBER- See Also:
-
ROUTING_MODE_FIELD_NUMBER
public static final int ROUTING_MODE_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
-
hasBgpAlwaysCompareMed
public boolean hasBgpAlwaysCompareMed()Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.
optional bool bgp_always_compare_med = 213102902;- Specified by:
hasBgpAlwaysCompareMedin interfaceNetworkRoutingConfigOrBuilder- Returns:
- Whether the bgpAlwaysCompareMed field is set.
-
getBgpAlwaysCompareMed
public boolean getBgpAlwaysCompareMed()Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.
optional bool bgp_always_compare_med = 213102902;- Specified by:
getBgpAlwaysCompareMedin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The bgpAlwaysCompareMed.
-
hasBgpBestPathSelectionMode
public boolean hasBgpBestPathSelectionMode()The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values.
optional string bgp_best_path_selection_mode = 317816297;- Specified by:
hasBgpBestPathSelectionModein interfaceNetworkRoutingConfigOrBuilder- Returns:
- Whether the bgpBestPathSelectionMode field is set.
-
getBgpBestPathSelectionMode
The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values.
optional string bgp_best_path_selection_mode = 317816297;- Specified by:
getBgpBestPathSelectionModein interfaceNetworkRoutingConfigOrBuilder- Returns:
- The bgpBestPathSelectionMode.
-
getBgpBestPathSelectionModeBytes
public com.google.protobuf.ByteString getBgpBestPathSelectionModeBytes()The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values.
optional string bgp_best_path_selection_mode = 317816297;- Specified by:
getBgpBestPathSelectionModeBytesin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The bytes for bgpBestPathSelectionMode.
-
hasBgpInterRegionCost
public boolean hasBgpInterRegionCost()Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT orADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values.
optional string bgp_inter_region_cost = 462142689;- Specified by:
hasBgpInterRegionCostin interfaceNetworkRoutingConfigOrBuilder- Returns:
- Whether the bgpInterRegionCost field is set.
-
getBgpInterRegionCost
Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT orADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values.
optional string bgp_inter_region_cost = 462142689;- Specified by:
getBgpInterRegionCostin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The bgpInterRegionCost.
-
getBgpInterRegionCostBytes
public com.google.protobuf.ByteString getBgpInterRegionCostBytes()Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT orADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values.
optional string bgp_inter_region_cost = 462142689;- Specified by:
getBgpInterRegionCostBytesin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The bytes for bgpInterRegionCost.
-
hasEffectiveBgpAlwaysCompareMed
public boolean hasEffectiveBgpAlwaysCompareMed()Output only. [Output Only] Effective value of the bgp_always_compare_med field.
optional bool effective_bgp_always_compare_med = 214661838;- Specified by:
hasEffectiveBgpAlwaysCompareMedin interfaceNetworkRoutingConfigOrBuilder- Returns:
- Whether the effectiveBgpAlwaysCompareMed field is set.
-
getEffectiveBgpAlwaysCompareMed
public boolean getEffectiveBgpAlwaysCompareMed()Output only. [Output Only] Effective value of the bgp_always_compare_med field.
optional bool effective_bgp_always_compare_med = 214661838;- Specified by:
getEffectiveBgpAlwaysCompareMedin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The effectiveBgpAlwaysCompareMed.
-
hasEffectiveBgpInterRegionCost
public boolean hasEffectiveBgpInterRegionCost()Output only. [Output Only] Effective value of the bgp_inter_region_cost field. Check the EffectiveBgpInterRegionCost enum for the list of possible values.
optional string effective_bgp_inter_region_cost = 185098313;- Specified by:
hasEffectiveBgpInterRegionCostin interfaceNetworkRoutingConfigOrBuilder- Returns:
- Whether the effectiveBgpInterRegionCost field is set.
-
getEffectiveBgpInterRegionCost
Output only. [Output Only] Effective value of the bgp_inter_region_cost field. Check the EffectiveBgpInterRegionCost enum for the list of possible values.
optional string effective_bgp_inter_region_cost = 185098313;- Specified by:
getEffectiveBgpInterRegionCostin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The effectiveBgpInterRegionCost.
-
getEffectiveBgpInterRegionCostBytes
public com.google.protobuf.ByteString getEffectiveBgpInterRegionCostBytes()Output only. [Output Only] Effective value of the bgp_inter_region_cost field. Check the EffectiveBgpInterRegionCost enum for the list of possible values.
optional string effective_bgp_inter_region_cost = 185098313;- Specified by:
getEffectiveBgpInterRegionCostBytesin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The bytes for effectiveBgpInterRegionCost.
-
hasRoutingMode
public boolean hasRoutingMode()The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set toGLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;- Specified by:
hasRoutingModein interfaceNetworkRoutingConfigOrBuilder- Returns:
- Whether the routingMode field is set.
-
getRoutingMode
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set toGLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;- Specified by:
getRoutingModein interfaceNetworkRoutingConfigOrBuilder- Returns:
- The routingMode.
-
getRoutingModeBytes
public com.google.protobuf.ByteString getRoutingModeBytes()The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set toGLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.
optional string routing_mode = 475143548;- Specified by:
getRoutingModeBytesin interfaceNetworkRoutingConfigOrBuilder- Returns:
- The bytes for routingMode.
-
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 NetworkRoutingConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkRoutingConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkRoutingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkRoutingConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkRoutingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkRoutingConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NetworkRoutingConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkRoutingConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NetworkRoutingConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NetworkRoutingConfig 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 NetworkRoutingConfig.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
-