|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto
public static final class DescriptorProtos.ServiceDescriptorProto
Protobuf type google.protobuf.ServiceDescriptorProto
Describes a service.
| Nested Class Summary | |
|---|---|
static class |
DescriptorProtos.ServiceDescriptorProto.Builder
Protobuf type google.protobuf.ServiceDescriptorProto |
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
|---|
GeneratedMessage.BuilderParent, GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type> |
| Field Summary | |
|---|---|
static int |
METHOD_FIELD_NUMBER
|
static int |
NAME_FIELD_NUMBER
|
static int |
OPTIONS_FIELD_NUMBER
|
static Parser<DescriptorProtos.ServiceDescriptorProto> |
PARSER
|
| Fields inherited from class com.google.protobuf.GeneratedMessage |
|---|
alwaysUseFieldBuilders |
| Fields inherited from class com.google.protobuf.AbstractMessageLite |
|---|
memoizedHashCode |
| Methods inherited from class com.google.protobuf.GeneratedMessage |
|---|
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField |
| Methods inherited from class com.google.protobuf.AbstractMessage |
|---|
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
|---|
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
|---|
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof |
| Methods inherited from interface com.google.protobuf.MessageLite |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Field Detail |
|---|
public static Parser<DescriptorProtos.ServiceDescriptorProto> PARSER
public static final int NAME_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
| Method Detail |
|---|
public static DescriptorProtos.ServiceDescriptorProto getDefaultInstance()
public DescriptorProtos.ServiceDescriptorProto getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated message classes in that
this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific
class. They return the same thing.
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic final UnknownFieldSet getUnknownFields()
MessageOrBuilderUnknownFieldSet for this message.
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessagepublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage
internalGetFieldAccessorTable in class GeneratedMessagepublic Parser<DescriptorProtos.ServiceDescriptorProto> getParserForType()
MessageLite
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessagepublic boolean hasName()
optional string name = 1;
hasName in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic java.lang.String getName()
optional string name = 1;
getName in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic ByteString getNameBytes()
optional string name = 1;
getNameBytes in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic java.util.List<DescriptorProtos.MethodDescriptorProto> getMethodList()
repeated .google.protobuf.MethodDescriptorProto method = 2;
getMethodList in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.MethodDescriptorProtoOrBuilder> getMethodOrBuilderList()
repeated .google.protobuf.MethodDescriptorProto method = 2;
getMethodOrBuilderList in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic int getMethodCount()
repeated .google.protobuf.MethodDescriptorProto method = 2;
getMethodCount in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic DescriptorProtos.MethodDescriptorProto getMethod(int index)
repeated .google.protobuf.MethodDescriptorProto method = 2;
getMethod in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(int index)
repeated .google.protobuf.MethodDescriptorProto method = 2;
getMethodOrBuilder in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic boolean hasOptions()
optional .google.protobuf.ServiceOptions options = 3;
hasOptions in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic DescriptorProtos.ServiceOptions getOptions()
optional .google.protobuf.ServiceOptions options = 3;
getOptions in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.ServiceOptions options = 3;
getOptionsOrBuilder in interface DescriptorProtos.ServiceDescriptorProtoOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderSee also: MessageOrBuilder.getInitializationErrorString()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessage
public void writeTo(CodedOutputStream output)
throws java.io.IOException
MessageLiteoutput. This does not
flush or close the stream.
writeTo in interface MessageLitewriteTo in class AbstractMessagejava.io.IOExceptionpublic int getSerializedSize()
MessageLite
getSerializedSize in interface MessageLitegetSerializedSize in class AbstractMessage
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
GeneratedMessagereturn super.writeReplace();
writeReplace in class GeneratedMessagejava.io.ObjectStreamException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(ByteString data)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(byte[] data)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry)
throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(CodedInputStream input)
throws java.io.IOException
java.io.IOException
public static DescriptorProtos.ServiceDescriptorProto parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.ServiceDescriptorProto.Builder newBuilder()
public DescriptorProtos.ServiceDescriptorProto.Builder newBuilderForType()
MessageLite
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.ServiceDescriptorProto.Builder newBuilder(DescriptorProtos.ServiceDescriptorProto prototype)
public DescriptorProtos.ServiceDescriptorProto.Builder toBuilder()
MessageLite
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected DescriptorProtos.ServiceDescriptorProto.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType in class GeneratedMessage
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||