Package io.grpc.binarylog.v1
Interface AddressOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Address
,Address.Builder
public interface AddressOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring address = 2;
com.google.protobuf.ByteString
string address = 2;
int
only for TYPE_IPV4 and TYPE_IPV6getType()
.grpc.binarylog.v1.Address.Type type = 1;
int
.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 Details
-
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
com.google.protobuf.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.
-