com.baidu.noah.naming.msg
类 NamingProtos.LocalNamingAuthResponse

java.lang.Object
  继承者 com.google.protobuf.AbstractMessageLite
      继承者 com.google.protobuf.AbstractMessage
          继承者 com.google.protobuf.GeneratedMessage
              继承者 com.baidu.noah.naming.msg.NamingProtos.LocalNamingAuthResponse
所有已实现的接口:
NamingProtos.LocalNamingAuthResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
包容类:
NamingProtos

public static final class NamingProtos.LocalNamingAuthResponse
extends com.google.protobuf.GeneratedMessage
implements NamingProtos.LocalNamingAuthResponseOrBuilder

Protobuf type LocalNamingAuthResponse

data struct response for local naming-auth-service response
 

另请参见:
序列化表格

嵌套类摘要
static class NamingProtos.LocalNamingAuthResponse.Builder
          Protobuf type LocalNamingAuthResponse data struct response for local naming-auth-service response
 
从类 com.google.protobuf.GeneratedMessage 继承的嵌套类/接口
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
字段摘要
static com.google.protobuf.Parser<NamingProtos.LocalNamingAuthResponse> PARSER
           
static int RETCODE_FIELD_NUMBER
           
static int SERVICE_NAME_FIELD_NUMBER
           
static int TRUSTED_SERVICES_FIELD_NUMBER
           
 
从类 com.google.protobuf.GeneratedMessage 继承的字段
alwaysUseFieldBuilders
 
方法摘要
static NamingProtos.LocalNamingAuthResponse getDefaultInstance()
           
 NamingProtos.LocalNamingAuthResponse getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Parser<NamingProtos.LocalNamingAuthResponse> getParserForType()
           
 int getRetcode()
          optional int32 retcode = 3;
 int getSerializedSize()
           
 String getServiceName()
          optional string service_name = 1;
 com.google.protobuf.ByteString getServiceNameBytes()
          optional string service_name = 1;
 ServiceProtos.ServiceHostList getTrustedServices(int index)
          repeated .ServiceHostList trusted_services = 2;
 int getTrustedServicesCount()
          repeated .ServiceHostList trusted_services = 2;
 List<ServiceProtos.ServiceHostList> getTrustedServicesList()
          repeated .ServiceHostList trusted_services = 2;
 ServiceProtos.ServiceHostListOrBuilder getTrustedServicesOrBuilder(int index)
          repeated .ServiceHostList trusted_services = 2;
 List<? extends ServiceProtos.ServiceHostListOrBuilder> getTrustedServicesOrBuilderList()
          repeated .ServiceHostList trusted_services = 2;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasRetcode()
          optional int32 retcode = 3;
 boolean hasServiceName()
          optional string service_name = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static NamingProtos.LocalNamingAuthResponse.Builder newBuilder()
           
static NamingProtos.LocalNamingAuthResponse.Builder newBuilder(NamingProtos.LocalNamingAuthResponse prototype)
           
 NamingProtos.LocalNamingAuthResponse.Builder newBuilderForType()
           
protected  NamingProtos.LocalNamingAuthResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static NamingProtos.LocalNamingAuthResponse parseDelimitedFrom(InputStream input)
           
static NamingProtos.LocalNamingAuthResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(byte[] data)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.ByteString data)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.CodedInputStream input)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(InputStream input)
           
static NamingProtos.LocalNamingAuthResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 NamingProtos.LocalNamingAuthResponse.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
从类 com.google.protobuf.GeneratedMessage 继承的方法
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
从类 com.google.protobuf.AbstractMessage 继承的方法
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
 
从类 com.google.protobuf.AbstractMessageLite 继承的方法
toByteArray, toByteString, writeDelimitedTo, writeTo
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
从接口 com.google.protobuf.MessageLite 继承的方法
toByteArray, toByteString, writeDelimitedTo, writeTo
 

字段详细信息

PARSER

public static com.google.protobuf.Parser<NamingProtos.LocalNamingAuthResponse> PARSER

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
另请参见:
常量字段值

TRUSTED_SERVICES_FIELD_NUMBER

public static final int TRUSTED_SERVICES_FIELD_NUMBER
另请参见:
常量字段值

RETCODE_FIELD_NUMBER

public static final int RETCODE_FIELD_NUMBER
另请参见:
常量字段值
方法详细信息

getDefaultInstance

public static NamingProtos.LocalNamingAuthResponse getDefaultInstance()

getDefaultInstanceForType

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

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getUnknownFields
覆盖:
com.google.protobuf.GeneratedMessage 中的 getUnknownFields

getDescriptor

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

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
指定者:
com.google.protobuf.GeneratedMessage 中的 internalGetFieldAccessorTable

getParserForType

public com.google.protobuf.Parser<NamingProtos.LocalNamingAuthResponse> getParserForType()
指定者:
接口 com.google.protobuf.Message 中的 getParserForType
指定者:
接口 com.google.protobuf.MessageLite 中的 getParserForType
覆盖:
com.google.protobuf.GeneratedMessage 中的 getParserForType

hasServiceName

public boolean hasServiceName()
optional string service_name = 1;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 hasServiceName

getServiceName

public String getServiceName()
optional string service_name = 1;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getServiceName

getServiceNameBytes

public com.google.protobuf.ByteString getServiceNameBytes()
optional string service_name = 1;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getServiceNameBytes

getTrustedServicesList

public List<ServiceProtos.ServiceHostList> getTrustedServicesList()
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesList

getTrustedServicesOrBuilderList

public List<? extends ServiceProtos.ServiceHostListOrBuilder> getTrustedServicesOrBuilderList()
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesOrBuilderList

getTrustedServicesCount

public int getTrustedServicesCount()
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesCount

getTrustedServices

public ServiceProtos.ServiceHostList getTrustedServices(int index)
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServices

getTrustedServicesOrBuilder

public ServiceProtos.ServiceHostListOrBuilder getTrustedServicesOrBuilder(int index)
repeated .ServiceHostList trusted_services = 2;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getTrustedServicesOrBuilder

hasRetcode

public boolean hasRetcode()
optional int32 retcode = 3;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 hasRetcode

getRetcode

public int getRetcode()
optional int32 retcode = 3;

指定者:
接口 NamingProtos.LocalNamingAuthResponseOrBuilder 中的 getRetcode

isInitialized

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

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
指定者:
接口 com.google.protobuf.MessageLite 中的 writeTo
覆盖:
com.google.protobuf.AbstractMessage 中的 writeTo
抛出:
IOException

getSerializedSize

public int getSerializedSize()
指定者:
接口 com.google.protobuf.MessageLite 中的 getSerializedSize
覆盖:
com.google.protobuf.AbstractMessage 中的 getSerializedSize

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
覆盖:
com.google.protobuf.GeneratedMessage 中的 writeReplace
抛出:
ObjectStreamException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.ByteString data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.ByteString data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(byte[] data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(byte[] data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(InputStream input)
                                                      throws IOException
抛出:
IOException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
抛出:
IOException

parseDelimitedFrom

public static NamingProtos.LocalNamingAuthResponse parseDelimitedFrom(InputStream input)
                                                               throws IOException
抛出:
IOException

parseDelimitedFrom

public static NamingProtos.LocalNamingAuthResponse parseDelimitedFrom(InputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws IOException
抛出:
IOException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.CodedInputStream input)
                                                      throws IOException
抛出:
IOException

parseFrom

public static NamingProtos.LocalNamingAuthResponse parseFrom(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
抛出:
IOException

newBuilder

public static NamingProtos.LocalNamingAuthResponse.Builder newBuilder()

newBuilderForType

public NamingProtos.LocalNamingAuthResponse.Builder newBuilderForType()
指定者:
接口 com.google.protobuf.Message 中的 newBuilderForType
指定者:
接口 com.google.protobuf.MessageLite 中的 newBuilderForType

newBuilder

public static NamingProtos.LocalNamingAuthResponse.Builder newBuilder(NamingProtos.LocalNamingAuthResponse prototype)

toBuilder

public NamingProtos.LocalNamingAuthResponse.Builder toBuilder()
指定者:
接口 com.google.protobuf.Message 中的 toBuilder
指定者:
接口 com.google.protobuf.MessageLite 中的 toBuilder

newBuilderForType

protected NamingProtos.LocalNamingAuthResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
指定者:
com.google.protobuf.GeneratedMessage 中的 newBuilderForType


Copyright © 2016. All rights reserved.