接口 AddressOrBuilder

  • 所有超级接口:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    所有已知实现类:
    Address, Address.Builder

    public interface AddressOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      String getHost()
      string host = 1;
      com.google.protobuf.ByteString getHostBytes()
      string host = 1;
      int getPort()
      int32 port = 2;
      • 从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 从接口继承的方法 com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 方法详细资料

      • getHost

        String getHost()
        string host = 1;
        返回:
        The host.
      • getHostBytes

        com.google.protobuf.ByteString getHostBytes()
        string host = 1;
        返回:
        The bytes for host.
      • getPort

        int getPort()
        int32 port = 2;
        返回:
        The port.