com.baidu.noah.naming.msg
接口 ServiceProtos.HostIpPairOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
ServiceProtos.HostIpPair, ServiceProtos.HostIpPair.Builder
包容类:
ServiceProtos

public static interface ServiceProtos.HostIpPairOrBuilder
extends com.google.protobuf.MessageOrBuilder


方法摘要
 int getHostIp()
          optional uint32 host_ip = 2;
 String getHostName()
          optional string host_name = 1;
 com.google.protobuf.ByteString getHostNameBytes()
          optional string host_name = 1;
 boolean hasHostIp()
          optional uint32 host_ip = 2;
 boolean hasHostName()
          optional string host_name = 1;
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
从接口 com.google.protobuf.MessageLiteOrBuilder 继承的方法
isInitialized
 

方法详细信息

hasHostName

boolean hasHostName()
optional string host_name = 1;


getHostName

String getHostName()
optional string host_name = 1;


getHostNameBytes

com.google.protobuf.ByteString getHostNameBytes()
optional string host_name = 1;


hasHostIp

boolean hasHostIp()
optional uint32 host_ip = 2;


getHostIp

int getHostIp()
optional uint32 host_ip = 2;



Copyright © 2016. All rights reserved.