Interface FileDescriptorResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FileDescriptorResponse,FileDescriptorResponse.Builder
public interface FileDescriptorResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
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
getDefaultInstanceForType, isInitialized
-
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 [json_name = "fileDescriptorProto"];- 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 [json_name = "fileDescriptorProto"];- 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 [json_name = "fileDescriptorProto"];- Parameters:
index- The index of the element to return.- Returns:
- The fileDescriptorProto at the given index.
-