Package com.google.cloud.compute.v1
Class BfdStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.BfdStatus
- All Implemented Interfaces:
BfdStatusOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class BfdStatus
extends com.google.protobuf.GeneratedMessage
implements BfdStatusOrBuilder
Next free: 15Protobuf type
google.cloud.compute.v1.BfdStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe BFD session initialization mode for this BGP peer.static final classNext free: 15static enumThe diagnostic code specifies the local system's reason for the last change in session state.static enumThe current BFD session state as seen by the transmitting system.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 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 TypeMethodDescriptionbooleanThe BFD session initialization mode for this BGP peer.com.google.protobuf.ByteStringThe BFD session initialization mode for this BGP peer.longUnix timestamp of the most recent config update.Control packet counts for the current BFD session.Control packet counts for the current BFD session.getControlPacketIntervals(int index) Inter-packet time interval statistics for control packets.intInter-packet time interval statistics for control packets.Inter-packet time interval statistics for control packets.getControlPacketIntervalsOrBuilder(int index) Inter-packet time interval statistics for control packets.List<? extends PacketIntervalsOrBuilder>Inter-packet time interval statistics for control packets.static BfdStatusstatic final com.google.protobuf.Descriptors.DescriptorThe diagnostic code specifies the local system's reason for the last change in session state.com.google.protobuf.ByteStringThe diagnostic code specifies the local system's reason for the last change in session state.The current BFD session state as seen by the transmitting system.com.google.protobuf.ByteStringThe current BFD session state as seen by the transmitting system.intNegotiated transmit interval for control packets.com.google.protobuf.Parser<BfdStatus>The most recent Rx control packet for this BFD session.The most recent Rx control packet for this BFD session.intThe most recent Tx control packet for this BFD session.The most recent Tx control packet for this BFD session.longSession uptime in milliseconds.booleanThe BFD session initialization mode for this BGP peer.booleanUnix timestamp of the most recent config update.booleanControl packet counts for the current BFD session.inthashCode()booleanThe diagnostic code specifies the local system's reason for the last change in session state.booleanThe current BFD session state as seen by the transmitting system.booleanNegotiated transmit interval for control packets.booleanThe most recent Rx control packet for this BFD session.booleanThe most recent Tx control packet for this BFD session.booleanSession uptime in milliseconds.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic BfdStatus.Builderstatic BfdStatus.BuildernewBuilder(BfdStatus prototype) protected BfdStatus.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BfdStatusparseDelimitedFrom(InputStream input) static BfdStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BfdStatusparseFrom(byte[] data) static BfdStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BfdStatusparseFrom(com.google.protobuf.ByteString data) static BfdStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BfdStatusparseFrom(com.google.protobuf.CodedInputStream input) static BfdStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BfdStatusparseFrom(InputStream input) static BfdStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BfdStatusparseFrom(ByteBuffer data) static BfdStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BfdStatus>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
-
BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER
public static final int BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER- See Also:
-
CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER
public static final int CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER- See Also:
-
CONTROL_PACKET_COUNTS_FIELD_NUMBER
public static final int CONTROL_PACKET_COUNTS_FIELD_NUMBER- See Also:
-
CONTROL_PACKET_INTERVALS_FIELD_NUMBER
public static final int CONTROL_PACKET_INTERVALS_FIELD_NUMBER- See Also:
-
LOCAL_DIAGNOSTIC_FIELD_NUMBER
public static final int LOCAL_DIAGNOSTIC_FIELD_NUMBER- See Also:
-
LOCAL_STATE_FIELD_NUMBER
public static final int LOCAL_STATE_FIELD_NUMBER- See Also:
-
NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER
public static final int NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER- See Also:
-
RX_PACKET_FIELD_NUMBER
public static final int RX_PACKET_FIELD_NUMBER- See Also:
-
TX_PACKET_FIELD_NUMBER
public static final int TX_PACKET_FIELD_NUMBER- See Also:
-
UPTIME_MS_FIELD_NUMBER
public static final int UPTIME_MS_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
-
hasBfdSessionInitializationMode
public boolean hasBfdSessionInitializationMode()The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. Check the BfdSessionInitializationMode enum for the list of possible values.
optional string bfd_session_initialization_mode = 218156954;- Specified by:
hasBfdSessionInitializationModein interfaceBfdStatusOrBuilder- Returns:
- Whether the bfdSessionInitializationMode field is set.
-
getBfdSessionInitializationMode
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. Check the BfdSessionInitializationMode enum for the list of possible values.
optional string bfd_session_initialization_mode = 218156954;- Specified by:
getBfdSessionInitializationModein interfaceBfdStatusOrBuilder- Returns:
- The bfdSessionInitializationMode.
-
getBfdSessionInitializationModeBytes
public com.google.protobuf.ByteString getBfdSessionInitializationModeBytes()The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. Check the BfdSessionInitializationMode enum for the list of possible values.
optional string bfd_session_initialization_mode = 218156954;- Specified by:
getBfdSessionInitializationModeBytesin interfaceBfdStatusOrBuilder- Returns:
- The bytes for bfdSessionInitializationMode.
-
hasConfigUpdateTimestampMicros
public boolean hasConfigUpdateTimestampMicros()Unix timestamp of the most recent config update.
optional int64 config_update_timestamp_micros = 457195569;- Specified by:
hasConfigUpdateTimestampMicrosin interfaceBfdStatusOrBuilder- Returns:
- Whether the configUpdateTimestampMicros field is set.
-
getConfigUpdateTimestampMicros
public long getConfigUpdateTimestampMicros()Unix timestamp of the most recent config update.
optional int64 config_update_timestamp_micros = 457195569;- Specified by:
getConfigUpdateTimestampMicrosin interfaceBfdStatusOrBuilder- Returns:
- The configUpdateTimestampMicros.
-
hasControlPacketCounts
public boolean hasControlPacketCounts()Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;- Specified by:
hasControlPacketCountsin interfaceBfdStatusOrBuilder- Returns:
- Whether the controlPacketCounts field is set.
-
getControlPacketCounts
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;- Specified by:
getControlPacketCountsin interfaceBfdStatusOrBuilder- Returns:
- The controlPacketCounts.
-
getControlPacketCountsOrBuilder
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;- Specified by:
getControlPacketCountsOrBuilderin interfaceBfdStatusOrBuilder
-
getControlPacketIntervalsList
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;- Specified by:
getControlPacketIntervalsListin interfaceBfdStatusOrBuilder
-
getControlPacketIntervalsOrBuilderList
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;- Specified by:
getControlPacketIntervalsOrBuilderListin interfaceBfdStatusOrBuilder
-
getControlPacketIntervalsCount
public int getControlPacketIntervalsCount()Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;- Specified by:
getControlPacketIntervalsCountin interfaceBfdStatusOrBuilder
-
getControlPacketIntervals
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;- Specified by:
getControlPacketIntervalsin interfaceBfdStatusOrBuilder
-
getControlPacketIntervalsOrBuilder
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;- Specified by:
getControlPacketIntervalsOrBuilderin interfaceBfdStatusOrBuilder
-
hasLocalDiagnostic
public boolean hasLocalDiagnostic()The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 ofRFC5880 Check the LocalDiagnostic enum for the list of possible values.
optional string local_diagnostic = 463737083;- Specified by:
hasLocalDiagnosticin interfaceBfdStatusOrBuilder- Returns:
- Whether the localDiagnostic field is set.
-
getLocalDiagnostic
The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 ofRFC5880 Check the LocalDiagnostic enum for the list of possible values.
optional string local_diagnostic = 463737083;- Specified by:
getLocalDiagnosticin interfaceBfdStatusOrBuilder- Returns:
- The localDiagnostic.
-
getLocalDiagnosticBytes
public com.google.protobuf.ByteString getLocalDiagnosticBytes()The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 ofRFC5880 Check the LocalDiagnostic enum for the list of possible values.
optional string local_diagnostic = 463737083;- Specified by:
getLocalDiagnosticBytesin interfaceBfdStatusOrBuilder- Returns:
- The bytes for localDiagnostic.
-
hasLocalState
public boolean hasLocalState()The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 ofRFC5880 Check the LocalState enum for the list of possible values.
optional string local_state = 149195453;- Specified by:
hasLocalStatein interfaceBfdStatusOrBuilder- Returns:
- Whether the localState field is set.
-
getLocalState
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 ofRFC5880 Check the LocalState enum for the list of possible values.
optional string local_state = 149195453;- Specified by:
getLocalStatein interfaceBfdStatusOrBuilder- Returns:
- The localState.
-
getLocalStateBytes
public com.google.protobuf.ByteString getLocalStateBytes()The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 ofRFC5880 Check the LocalState enum for the list of possible values.
optional string local_state = 149195453;- Specified by:
getLocalStateBytesin interfaceBfdStatusOrBuilder- Returns:
- The bytes for localState.
-
hasNegotiatedLocalControlTxIntervalMs
public boolean hasNegotiatedLocalControlTxIntervalMs()Negotiated transmit interval for control packets.
optional uint32 negotiated_local_control_tx_interval_ms = 21768340;- Specified by:
hasNegotiatedLocalControlTxIntervalMsin interfaceBfdStatusOrBuilder- Returns:
- Whether the negotiatedLocalControlTxIntervalMs field is set.
-
getNegotiatedLocalControlTxIntervalMs
public int getNegotiatedLocalControlTxIntervalMs()Negotiated transmit interval for control packets.
optional uint32 negotiated_local_control_tx_interval_ms = 21768340;- Specified by:
getNegotiatedLocalControlTxIntervalMsin interfaceBfdStatusOrBuilder- Returns:
- The negotiatedLocalControlTxIntervalMs.
-
hasRxPacket
public boolean hasRxPacket()The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;- Specified by:
hasRxPacketin interfaceBfdStatusOrBuilder- Returns:
- Whether the rxPacket field is set.
-
getRxPacket
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;- Specified by:
getRxPacketin interfaceBfdStatusOrBuilder- Returns:
- The rxPacket.
-
getRxPacketOrBuilder
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;- Specified by:
getRxPacketOrBuilderin interfaceBfdStatusOrBuilder
-
hasTxPacket
public boolean hasTxPacket()The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;- Specified by:
hasTxPacketin interfaceBfdStatusOrBuilder- Returns:
- Whether the txPacket field is set.
-
getTxPacket
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;- Specified by:
getTxPacketin interfaceBfdStatusOrBuilder- Returns:
- The txPacket.
-
getTxPacketOrBuilder
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;- Specified by:
getTxPacketOrBuilderin interfaceBfdStatusOrBuilder
-
hasUptimeMs
public boolean hasUptimeMs()Session uptime in milliseconds. Value will be 0 if session is not up.
optional int64 uptime_ms = 125398365;- Specified by:
hasUptimeMsin interfaceBfdStatusOrBuilder- Returns:
- Whether the uptimeMs field is set.
-
getUptimeMs
public long getUptimeMs()Session uptime in milliseconds. Value will be 0 if session is not up.
optional int64 uptime_ms = 125398365;- Specified by:
getUptimeMsin interfaceBfdStatusOrBuilder- Returns:
- The uptimeMs.
-
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 BfdStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BfdStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BfdStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BfdStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BfdStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BfdStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BfdStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BfdStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BfdStatus 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 BfdStatus.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
-