com.baidu.noah.naming.msg
类 ServiceProtos.HostIpPair.Builder

java.lang.Object
  继承者 com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      继承者 com.google.protobuf.AbstractMessage.Builder<BuilderType>
          继承者 com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.HostIpPair.Builder>
              继承者 com.baidu.noah.naming.msg.ServiceProtos.HostIpPair.Builder
所有已实现的接口:
ServiceProtos.HostIpPairOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
包容类:
ServiceProtos.HostIpPair

public static final class ServiceProtos.HostIpPair.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.HostIpPair.Builder>
implements ServiceProtos.HostIpPairOrBuilder

Protobuf type HostIpPair


方法摘要
 ServiceProtos.HostIpPair build()
           
 ServiceProtos.HostIpPair buildPartial()
           
 ServiceProtos.HostIpPair.Builder clear()
           
 ServiceProtos.HostIpPair.Builder clearHostIp()
          optional uint32 host_ip = 2;
 ServiceProtos.HostIpPair.Builder clearHostName()
          optional string host_name = 1;
 ServiceProtos.HostIpPair.Builder clone()
           
 ServiceProtos.HostIpPair getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 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;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ServiceProtos.HostIpPair.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ServiceProtos.HostIpPair.Builder mergeFrom(com.google.protobuf.Message other)
           
 ServiceProtos.HostIpPair.Builder mergeFrom(ServiceProtos.HostIpPair other)
           
 ServiceProtos.HostIpPair.Builder setHostIp(int value)
          optional uint32 host_ip = 2;
 ServiceProtos.HostIpPair.Builder setHostName(String value)
          optional string host_name = 1;
 ServiceProtos.HostIpPair.Builder setHostNameBytes(com.google.protobuf.ByteString value)
          optional string host_name = 1;
 
从类 com.google.protobuf.GeneratedMessage.Builder 继承的方法
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
从类 com.google.protobuf.AbstractMessage.Builder 继承的方法
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
从类 com.google.protobuf.AbstractMessageLite.Builder 继承的方法
addAll, newUninitializedMessageException
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

方法详细信息

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
指定者:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.HostIpPair.Builder> 中的 internalGetFieldAccessorTable

clear

public ServiceProtos.HostIpPair.Builder clear()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clear
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clear
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.HostIpPair.Builder> 中的 clear

clone

public ServiceProtos.HostIpPair.Builder clone()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clone
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clone
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.HostIpPair.Builder> 中的 clone

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
指定者:
接口 com.google.protobuf.Message.Builder 中的 getDescriptorForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDescriptorForType
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.HostIpPair.Builder> 中的 getDescriptorForType

getDefaultInstanceForType

public ServiceProtos.HostIpPair getDefaultInstanceForType()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 getDefaultInstanceForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDefaultInstanceForType

build

public ServiceProtos.HostIpPair build()
指定者:
接口 com.google.protobuf.Message.Builder 中的 build
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 build

buildPartial

public ServiceProtos.HostIpPair buildPartial()
指定者:
接口 com.google.protobuf.Message.Builder 中的 buildPartial
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 buildPartial

mergeFrom

public ServiceProtos.HostIpPair.Builder mergeFrom(com.google.protobuf.Message other)
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<ServiceProtos.HostIpPair.Builder> 中的 mergeFrom

mergeFrom

public ServiceProtos.HostIpPair.Builder mergeFrom(ServiceProtos.HostIpPair other)

isInitialized

public final boolean isInitialized()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 isInitialized
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.HostIpPair.Builder> 中的 isInitialized

mergeFrom

public ServiceProtos.HostIpPair.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<ServiceProtos.HostIpPair.Builder> 中的 mergeFrom
抛出:
IOException

hasHostName

public boolean hasHostName()
optional string host_name = 1;

指定者:
接口 ServiceProtos.HostIpPairOrBuilder 中的 hasHostName

getHostName

public String getHostName()
optional string host_name = 1;

指定者:
接口 ServiceProtos.HostIpPairOrBuilder 中的 getHostName

getHostNameBytes

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

指定者:
接口 ServiceProtos.HostIpPairOrBuilder 中的 getHostNameBytes

setHostName

public ServiceProtos.HostIpPair.Builder setHostName(String value)
optional string host_name = 1;


clearHostName

public ServiceProtos.HostIpPair.Builder clearHostName()
optional string host_name = 1;


setHostNameBytes

public ServiceProtos.HostIpPair.Builder setHostNameBytes(com.google.protobuf.ByteString value)
optional string host_name = 1;


hasHostIp

public boolean hasHostIp()
optional uint32 host_ip = 2;

指定者:
接口 ServiceProtos.HostIpPairOrBuilder 中的 hasHostIp

getHostIp

public int getHostIp()
optional uint32 host_ip = 2;

指定者:
接口 ServiceProtos.HostIpPairOrBuilder 中的 getHostIp

setHostIp

public ServiceProtos.HostIpPair.Builder setHostIp(int value)
optional uint32 host_ip = 2;


clearHostIp

public ServiceProtos.HostIpPair.Builder clearHostIp()
optional uint32 host_ip = 2;



Copyright © 2016. All rights reserved.