Package grpc.reflection.v1alpha
Interface Reflection.FileDescriptorResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Reflection.FileDescriptorResponse,Reflection.FileDescriptorResponse.Builder
- Enclosing class:
- Reflection
public static interface Reflection.FileDescriptorResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetFileDescriptorProto(int index) Serialized FileDescriptorProto messages.intSerialized FileDescriptorProto messages.List<com.google.protobuf.ByteString>Serialized FileDescriptorProto messages.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFileDescriptorProtoList
List<com.google.protobuf.ByteString> getFileDescriptorProtoList()Serialized FileDescriptorProto messages. We avoid taking a dependency on descriptor.proto, which uses proto2 only features, by making them opaque bytes instead.
repeated bytes file_descriptor_proto = 1;- Returns:
- A list containing the fileDescriptorProto.
-
getFileDescriptorProtoCount
int getFileDescriptorProtoCount()Serialized FileDescriptorProto messages. We avoid taking a dependency on descriptor.proto, which uses proto2 only features, by making them opaque bytes instead.
repeated bytes file_descriptor_proto = 1;- Returns:
- The count of fileDescriptorProto.
-
getFileDescriptorProto
com.google.protobuf.ByteString getFileDescriptorProto(int index) Serialized FileDescriptorProto messages. We avoid taking a dependency on descriptor.proto, which uses proto2 only features, by making them opaque bytes instead.
repeated bytes file_descriptor_proto = 1;- Parameters:
index- The index of the element to return.- Returns:
- The fileDescriptorProto at the given index.
-