Interface AddressOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Address, Address.Builder
@Generated
public interface AddressOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring address = 2;com.google.protobuf.ByteStringstring address = 2;intonly 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
isInitializedMethods 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
-
getAddress
-
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.
-