Package com.google.bigtable.v2
Enum PeerInfo.TransportType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PeerInfo.TransportType>
- Enclosing class:
- PeerInfo
public static enum PeerInfo.TransportType
extends Enum<PeerInfo.TransportType>
implements com.google.protobuf.ProtocolMessageEnum
The transport type that the client used to connect to this peer.Protobuf enum
google.bigtable.v2.PeerInfo.TransportType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe client connected to this peer via CloudPath.The client connected to this peer via DirectAccess.The client connected to this peer via an external network (e.g. outside Google Coud).The client connected to this peer via Bigtable Sessions using CloudPath.The client connected to this peer via Bigtable Sessions using DirectAccess.The client connected to this peer via Bigtable Sessions on an external network (e.g. outside Google Cloud).The client connected to this peer via Bigtable Sessions using an unknown transport type.The transport type is unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe client connected to this peer via CloudPath.static final intThe client connected to this peer via DirectAccess.static final intThe client connected to this peer via an external network (e.g. outside Google Coud).static final intThe client connected to this peer via Bigtable Sessions using CloudPath.static final intThe client connected to this peer via Bigtable Sessions using DirectAccess.static final intThe client connected to this peer via Bigtable Sessions on an external network (e.g. outside Google Cloud).static final intThe client connected to this peer via Bigtable Sessions using an unknown transport type.static final intThe transport type is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic PeerInfo.TransportTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PeerInfo.TransportType>static PeerInfo.TransportTypevalueOf(int value) Deprecated.static PeerInfo.TransportTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PeerInfo.TransportTypeReturns the enum constant of this type with the specified name.static PeerInfo.TransportType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRANSPORT_TYPE_UNKNOWN
The transport type is unknown.
TRANSPORT_TYPE_UNKNOWN = 0; -
TRANSPORT_TYPE_EXTERNAL
The client connected to this peer via an external network (e.g. outside Google Coud).
TRANSPORT_TYPE_EXTERNAL = 1; -
TRANSPORT_TYPE_CLOUD_PATH
The client connected to this peer via CloudPath.
TRANSPORT_TYPE_CLOUD_PATH = 2; -
TRANSPORT_TYPE_DIRECT_ACCESS
The client connected to this peer via DirectAccess.
TRANSPORT_TYPE_DIRECT_ACCESS = 3; -
TRANSPORT_TYPE_SESSION_UNKNOWN
The client connected to this peer via Bigtable Sessions using an unknown transport type.
TRANSPORT_TYPE_SESSION_UNKNOWN = 4; -
TRANSPORT_TYPE_SESSION_EXTERNAL
The client connected to this peer via Bigtable Sessions on an external network (e.g. outside Google Cloud).
TRANSPORT_TYPE_SESSION_EXTERNAL = 5; -
TRANSPORT_TYPE_SESSION_CLOUD_PATH
The client connected to this peer via Bigtable Sessions using CloudPath.
TRANSPORT_TYPE_SESSION_CLOUD_PATH = 6; -
TRANSPORT_TYPE_SESSION_DIRECT_ACCESS
The client connected to this peer via Bigtable Sessions using DirectAccess.
TRANSPORT_TYPE_SESSION_DIRECT_ACCESS = 7; -
UNRECOGNIZED
-
-
Field Details
-
TRANSPORT_TYPE_UNKNOWN_VALUE
public static final int TRANSPORT_TYPE_UNKNOWN_VALUEThe transport type is unknown.
TRANSPORT_TYPE_UNKNOWN = 0;- See Also:
-
TRANSPORT_TYPE_EXTERNAL_VALUE
public static final int TRANSPORT_TYPE_EXTERNAL_VALUEThe client connected to this peer via an external network (e.g. outside Google Coud).
TRANSPORT_TYPE_EXTERNAL = 1;- See Also:
-
TRANSPORT_TYPE_CLOUD_PATH_VALUE
public static final int TRANSPORT_TYPE_CLOUD_PATH_VALUEThe client connected to this peer via CloudPath.
TRANSPORT_TYPE_CLOUD_PATH = 2;- See Also:
-
TRANSPORT_TYPE_DIRECT_ACCESS_VALUE
public static final int TRANSPORT_TYPE_DIRECT_ACCESS_VALUEThe client connected to this peer via DirectAccess.
TRANSPORT_TYPE_DIRECT_ACCESS = 3;- See Also:
-
TRANSPORT_TYPE_SESSION_UNKNOWN_VALUE
public static final int TRANSPORT_TYPE_SESSION_UNKNOWN_VALUEThe client connected to this peer via Bigtable Sessions using an unknown transport type.
TRANSPORT_TYPE_SESSION_UNKNOWN = 4;- See Also:
-
TRANSPORT_TYPE_SESSION_EXTERNAL_VALUE
public static final int TRANSPORT_TYPE_SESSION_EXTERNAL_VALUEThe client connected to this peer via Bigtable Sessions on an external network (e.g. outside Google Cloud).
TRANSPORT_TYPE_SESSION_EXTERNAL = 5;- See Also:
-
TRANSPORT_TYPE_SESSION_CLOUD_PATH_VALUE
public static final int TRANSPORT_TYPE_SESSION_CLOUD_PATH_VALUEThe client connected to this peer via Bigtable Sessions using CloudPath.
TRANSPORT_TYPE_SESSION_CLOUD_PATH = 6;- See Also:
-
TRANSPORT_TYPE_SESSION_DIRECT_ACCESS_VALUE
public static final int TRANSPORT_TYPE_SESSION_DIRECT_ACCESS_VALUEThe client connected to this peer via Bigtable Sessions using DirectAccess.
TRANSPORT_TYPE_SESSION_DIRECT_ACCESS = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PeerInfo.TransportType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static PeerInfo.TransportType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-