|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.ClientInfo.Builder>
com.baidu.noah.naming.msg.NamingProtos.ClientInfo.Builder
public static final class NamingProtos.ClientInfo.Builder
Protobuf type ClientInfo
| 方法摘要 | |
|---|---|
NamingProtos.ClientInfo |
build()
|
NamingProtos.ClientInfo |
buildPartial()
|
NamingProtos.ClientInfo.Builder |
clear()
|
NamingProtos.ClientInfo.Builder |
clearDescription()
optional string description = 3; |
NamingProtos.ClientInfo.Builder |
clearName()
optional string name = 2; |
NamingProtos.ClientInfo.Builder |
clearType()
required int32 type = 1 [default = 0]; |
NamingProtos.ClientInfo.Builder |
clearVersion()
optional string version = 4; |
NamingProtos.ClientInfo.Builder |
clone()
|
NamingProtos.ClientInfo |
getDefaultInstanceForType()
|
String |
getDescription()
optional string description = 3; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 3; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
|
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType()
|
String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
int |
getType()
required int32 type = 1 [default = 0]; |
String |
getVersion()
optional string version = 4; |
com.google.protobuf.ByteString |
getVersionBytes()
optional string version = 4; |
boolean |
hasDescription()
optional string description = 3; |
boolean |
hasName()
optional string name = 2; |
boolean |
hasType()
required int32 type = 1 [default = 0]; |
boolean |
hasVersion()
optional string version = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable()
|
boolean |
isInitialized()
|
NamingProtos.ClientInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
NamingProtos.ClientInfo.Builder |
mergeFrom(com.google.protobuf.Message other)
|
NamingProtos.ClientInfo.Builder |
mergeFrom(NamingProtos.ClientInfo other)
|
NamingProtos.ClientInfo.Builder |
setDescription(String value)
optional string description = 3; |
NamingProtos.ClientInfo.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 3; |
NamingProtos.ClientInfo.Builder |
setName(String value)
optional string name = 2; |
NamingProtos.ClientInfo.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 2; |
NamingProtos.ClientInfo.Builder |
setType(int value)
required int32 type = 1 [default = 0]; |
NamingProtos.ClientInfo.Builder |
setVersion(String value)
optional string version = 4; |
NamingProtos.ClientInfo.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
optional string version = 4; |
| 从类 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 |
| 方法详细信息 |
|---|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.protobuf.GeneratedMessage.Builder<NamingProtos.ClientInfo.Builder> 中的 internalGetFieldAccessorTablepublic NamingProtos.ClientInfo.Builder clear()
com.google.protobuf.Message.Builder 中的 clearcom.google.protobuf.MessageLite.Builder 中的 clearcom.google.protobuf.GeneratedMessage.Builder<NamingProtos.ClientInfo.Builder> 中的 clearpublic NamingProtos.ClientInfo.Builder clone()
com.google.protobuf.Message.Builder 中的 clonecom.google.protobuf.MessageLite.Builder 中的 clonecom.google.protobuf.GeneratedMessage.Builder<NamingProtos.ClientInfo.Builder> 中的 clonepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
com.google.protobuf.Message.Builder 中的 getDescriptorForTypecom.google.protobuf.MessageOrBuilder 中的 getDescriptorForTypecom.google.protobuf.GeneratedMessage.Builder<NamingProtos.ClientInfo.Builder> 中的 getDescriptorForTypepublic NamingProtos.ClientInfo getDefaultInstanceForType()
com.google.protobuf.MessageLiteOrBuilder 中的 getDefaultInstanceForTypecom.google.protobuf.MessageOrBuilder 中的 getDefaultInstanceForTypepublic NamingProtos.ClientInfo build()
com.google.protobuf.Message.Builder 中的 buildcom.google.protobuf.MessageLite.Builder 中的 buildpublic NamingProtos.ClientInfo buildPartial()
com.google.protobuf.Message.Builder 中的 buildPartialcom.google.protobuf.MessageLite.Builder 中的 buildPartialpublic NamingProtos.ClientInfo.Builder mergeFrom(com.google.protobuf.Message other)
com.google.protobuf.Message.Builder 中的 mergeFromcom.google.protobuf.AbstractMessage.Builder<NamingProtos.ClientInfo.Builder> 中的 mergeFrompublic NamingProtos.ClientInfo.Builder mergeFrom(NamingProtos.ClientInfo other)
public final boolean isInitialized()
com.google.protobuf.MessageLiteOrBuilder 中的 isInitializedcom.google.protobuf.GeneratedMessage.Builder<NamingProtos.ClientInfo.Builder> 中的 isInitialized
public NamingProtos.ClientInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
com.google.protobuf.Message.Builder 中的 mergeFromcom.google.protobuf.MessageLite.Builder 中的 mergeFromcom.google.protobuf.AbstractMessage.Builder<NamingProtos.ClientInfo.Builder> 中的 mergeFromIOExceptionpublic boolean hasType()
required int32 type = 1 [default = 0];
NamingProtos.ClientInfoOrBuilder 中的 hasTypepublic int getType()
required int32 type = 1 [default = 0];
NamingProtos.ClientInfoOrBuilder 中的 getTypepublic NamingProtos.ClientInfo.Builder setType(int value)
required int32 type = 1 [default = 0];
public NamingProtos.ClientInfo.Builder clearType()
required int32 type = 1 [default = 0];
public boolean hasName()
optional string name = 2;
NamingProtos.ClientInfoOrBuilder 中的 hasNamepublic String getName()
optional string name = 2;
NamingProtos.ClientInfoOrBuilder 中的 getNamepublic com.google.protobuf.ByteString getNameBytes()
optional string name = 2;
NamingProtos.ClientInfoOrBuilder 中的 getNameBytespublic NamingProtos.ClientInfo.Builder setName(String value)
optional string name = 2;
public NamingProtos.ClientInfo.Builder clearName()
optional string name = 2;
public NamingProtos.ClientInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 2;
public boolean hasDescription()
optional string description = 3;
NamingProtos.ClientInfoOrBuilder 中的 hasDescriptionpublic String getDescription()
optional string description = 3;
NamingProtos.ClientInfoOrBuilder 中的 getDescriptionpublic com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 3;
NamingProtos.ClientInfoOrBuilder 中的 getDescriptionBytespublic NamingProtos.ClientInfo.Builder setDescription(String value)
optional string description = 3;
public NamingProtos.ClientInfo.Builder clearDescription()
optional string description = 3;
public NamingProtos.ClientInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 3;
public boolean hasVersion()
optional string version = 4;
NamingProtos.ClientInfoOrBuilder 中的 hasVersionpublic String getVersion()
optional string version = 4;
NamingProtos.ClientInfoOrBuilder 中的 getVersionpublic com.google.protobuf.ByteString getVersionBytes()
optional string version = 4;
NamingProtos.ClientInfoOrBuilder 中的 getVersionBytespublic NamingProtos.ClientInfo.Builder setVersion(String value)
optional string version = 4;
public NamingProtos.ClientInfo.Builder clearVersion()
optional string version = 4;
public NamingProtos.ClientInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
optional string version = 4;
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||