Package io.grpc.channelz.v1
Interface Address.TcpIpAddressOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Address.TcpIpAddress
,Address.TcpIpAddress.Builder
- Enclosing class:
- Address
public static interface Address.TcpIpAddressOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteString
getIpAddress()
Either the IPv4 or IPv6 address in bytes.int
getPort()
0-64k, or -1 if not appropriate.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getIpAddress
ByteString getIpAddress()
Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16 bytes in length.
bytes ip_address = 1;
- Returns:
- The ipAddress.
-
getPort
int getPort()
0-64k, or -1 if not appropriate.
int32 port = 2;
- Returns:
- The port.
-
-