Package io.grpc.reflection.v1
Interface FileDescriptorResponseOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
FileDescriptorResponse
,FileDescriptorResponse.Builder
public interface FileDescriptorResponseOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteString
getFileDescriptorProto(int index)
Serialized FileDescriptorProto messages.int
getFileDescriptorProtoCount()
Serialized FileDescriptorProto messages.List<ByteString>
getFileDescriptorProtoList()
Serialized FileDescriptorProto messages.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFileDescriptorProtoList
List<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
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.
-
-