Если вы получаете подобные ошибки сборки при использовании protobufs с java, смотрите ниже.
The method getOptions() from the type Descriptors.Descriptor refers to the missing type MessageOptions
The import com.google.protobuf.DescriptorProtos cannot be resolved
FileDescriptorProto cannot be resolved to a type