Package io.grpc.binarylog.v1
Interface AddressOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Address
,Address.Builder
public interface AddressOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAddress()
string address = 2;
ByteString
getAddressBytes()
string address = 2;
int
getIpPort()
only for TYPE_IPV4 and TYPE_IPV6Address.Type
getType()
.grpc.binarylog.v1.Address.Type type = 1;
int
getTypeValue()
.grpc.binarylog.v1.Address.Type type = 1;
-
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
-
getTypeValue
int getTypeValue()
.grpc.binarylog.v1.Address.Type type = 1;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Address.Type getType()
.grpc.binarylog.v1.Address.Type type = 1;
- Returns:
- The type.
-
getAddress
String getAddress()
string address = 2;
- Returns:
- The address.
-
getAddressBytes
ByteString getAddressBytes()
string address = 2;
- Returns:
- The bytes for address.
-
getIpPort
int getIpPort()
only for TYPE_IPV4 and TYPE_IPV6
uint32 ip_port = 3;
- Returns:
- The ipPort.
-
-