Interface EndpointOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Endpoint, Endpoint.Builder

    public interface EndpointOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getIpAddress()
      IP address.
      com.google.protobuf.ByteString getIpAddressBytes()
      IP address.
      int getPort()
      Port number.
      NetworkProtocol getProtocol()
      Network protocol (e.g., TCP, UDP) associated with this endpoint.
      int getProtocolValue()
      Network protocol (e.g., TCP, UDP) associated with this endpoint.
      • 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

        java.lang.String getIpAddress()
         IP address. It should contain an IPv4 or IPv6 string literal, e.g.
         "192.168.0.1" or "2001:db8::1".
         
        string ip_address = 1;
        Returns:
        The ipAddress.
      • getIpAddressBytes

        com.google.protobuf.ByteString getIpAddressBytes()
         IP address. It should contain an IPv4 or IPv6 string literal, e.g.
         "192.168.0.1" or "2001:db8::1".
         
        string ip_address = 1;
        Returns:
        The bytes for ipAddress.
      • getPort

        int getPort()
         Port number.
         
        int32 port = 2;
        Returns:
        The port.
      • getProtocolValue

        int getProtocolValue()
         Network protocol (e.g., TCP, UDP) associated with this endpoint.
         
        .grpc.gcp.NetworkProtocol protocol = 3;
        Returns:
        The enum numeric value on the wire for protocol.
      • getProtocol

        NetworkProtocol getProtocol()
         Network protocol (e.g., TCP, UDP) associated with this endpoint.
         
        .grpc.gcp.NetworkProtocol protocol = 3;
        Returns:
        The protocol.